Operating System - OpenVMS
1860724 Members
8257 Online
110415 Solutions
New Discussion

Re: CSWS 2.1-1 log file problems

 
Dieter Rossbach
Regular Advisor

CSWS 2.1-1 log file problems

No way to upgrade my production system to csws 2.1 at the moment:

I am running CSWS 2.1-1 on my test system and have serious problems with logfiles. When working with virtual hosts, I cannot assign more than two access and errorlog files. Collecting all the access and error logs in up to two files, everything wors fine, as soon as i try to use a third one, apache does not start and does not even generate error messages.

This works fine:

NameVirtualHost 10.0.1.89

#
#------------------------------------------------------------------------------
# Private Seite
#------------------------------------------------------------------------------
#


ServerAdmin [email protected]
DocumentRoot /disk$web/dieter
ServerName dieter.ronigerweg.virto.com
ErrorLog /disk$web/rossbachit/statistik/error-0.log
CustomLog /disk$web/rossbachit/statistik/access-0.log vcombined


#
#------------------------------------------------------------------------------
# Geschäftsseite
#------------------------------------------------------------------------------
#


ServerAdmin [email protected]
DocumentRoot /disk$web/rossbachit
ServerName rossbachit.rossbach.test
ErrorLog /disk$web/rossbachit/statistik/error-1.log
CustomLog /disk$web/rossbachit/statistik/access-1.log vcombined



ServerAdmin [email protected]
DocumentRoot /disk$web/rossbachit
ServerName rossbachit.dyndns.biz
ErrorLog /disk$web/rossbachit/statistik/error-1.log
CustomLog /disk$web/rossbachit/statistik/access-1.log vcombined




ServerAdmin [email protected]
DocumentRoot /disk$web/rossbachit
ServerName rossbachit.dyndns.info
ErrorLog /disk$web/rossbachit/statistik/error-1.log
CustomLog /disk$web/rossbachit/statistik/access-1.log vcombined



AuthType Basic
AuthName "OpenVMS authentication"
AuthOpenVMSUser On
require user dieter



AuthType Basic
AuthName "OpenVMS authentication"
AuthOpenVMSUser On
require user dieter


#
#------------------------------------------------------------------------------
# Bildarchiv
#------------------------------------------------------------------------------


ServerAdmin [email protected]
DocumentRoot /disk$web/bildarchiv
ServerName bildarchiv.rossbach.test
ErrorLog /disk$web/rossbachit/statistik/error-0.log
CustomLog /disk$web/rossbachit/statistik/access-0.log vcombined



ServerAdmin [email protected]
DocumentRoot /disk$web/bildarchiv
ServerName bildarchiv.dyndns.info
ErrorLog /disk$web/rossbachit/statistik/error-0.log
CustomLog /disk$web/rossbachit/statistik/access-0.log vcombined


#
#------------------------------------------------------------------------------
# Prova TestSeite
#------------------------------------------------------------------------------
#

ServerAdmin [email protected]
DocumentRoot /disk$web/prova
ServerName prova.rosbach.test
ErrorLog /disk$web/rossbachit/statistik/error-0.log
CustomLog /disk$web/rossbachit/statistik/access-0.log vcombined



ServerAdmin [email protected]
DocumentRoot /disk$web/prova
ServerName prova.dyndns.info
ErrorLog /disk$web/rossbachit/statistik/error-0.log
CustomLog /disk$web/rossbachit/statistik/access-0.log vcombined



#
#------------------------------------------------------------------------------
# Gourmonde Testseite
#
#------------------------------------------------------------------------------
#

ServerAdmin [email protected]
DocumentRoot /disk$web/gourmonde
ServerName gourmonde.rossbach.test
ErrorLog /disk$web/rossbachit/statistik/error-0.log
CustomLog /disk$web/rossbachit/statistik/access-0.log vcombined



ServerAdmin [email protected]
DocumentRoot /disk$web/gourmonde
ServerName gourmonde.dyndns.info
ErrorLog /disk$web/rossbachit/statistik/error-0.log
CustomLog /disk$web/rossbachit/statistik/access-0.log vcombined


#
#------------------------------------------------------------------------------
# DBWV Testseite
#
#------------------------------------------------------------------------------
#

ServerAdmin [email protected]
DocumentRoot /disk$web/dbwv
ServerName dbwv.rossbach.test
ErrorLog /disk$web/rossbachit/statistik/error-0.log
CustomLog /disk$web/rossbachit/statistik/access-0.log vcombined



ServerAdmin [email protected]
DocumentRoot /disk$web/dbwv
ServerName dbwv.dyndns.info
ErrorLog /disk$web/rossbachit/statistik/error-0.log
CustomLog /disk$web/rossbachit/statistik/access-0.log vcombined


----------------------

as soon as i replace the varios access_0.log files by access_2.log, access_3.log, access-4.log ... apache has a problem.

Interesting aspect: the new log files are created, by remain empty

Any hints?
2 REPLIES 2
Dieter Rossbach
Regular Advisor

Re: CSWS 2.1-1 log file problems

Problem solved:

I had to increase the quotas of the apache user. twice as much as proposed in the release notes helped, but I still do not know, which of all the quotas caused the problem.

Apache itself was not helpful at all. the process apache$sws died without a word, nothing in the error log, nothing in the process log file and even the debug option produced no error message.
Jan van den Ende
Honored Contributor

Re: CSWS 2.1-1 log file problems

Dieter,


Apache itself was not helpful at all. the process apache$sws died without a word, nothing in the error log, nothing in the process log file and even the debug option produced no error message.
<<<

A proces dying unexpectedly usually has no chance to wite such things. However, the system doing the cleanup can, and usually does. The ACCOUNTNG file should contain the process final status.
You _DO_ need to have ACCOUNTING enabled.

hth

Proost.

Have one on me.

jpe
Don't rust yours pelled jacker to fine doll missed aches.