Number of logfiles
Posted: Fri Feb 02, 2007 1:49 pm
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
#------------------------------------------------------------------------------
#
<VirtualHost>
ServerAdmin dieter@dieter.ronigerweg.virto.com
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
</VirtualHost>
#
#------------------------------------------------------------------------------
# Geschäftsseite
#------------------------------------------------------------------------------
#
<VirtualHost>
ServerAdmin dieter@dieter.ronigerweg.virto.com
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
</VirtualHost>
<VirtualHost>
ServerAdmin dieter@dieter.ronigerweg.virto.com
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
</VirtualHost>
<VirtualHost>
ServerAdmin dieter@dieter.ronigerweg.virto.com
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
</VirtualHost>
<Location>
AuthType Basic
AuthName "OpenVMS authentication"
AuthOpenVMSUser On
require user dieter
</Location>
<Location>
AuthType Basic
AuthName "OpenVMS authentication"
AuthOpenVMSUser On
require user dieter
</Location>
#
#------------------------------------------------------------------------------
# Bildarchiv
#------------------------------------------------------------------------------
<VirtualHost>
ServerAdmin dieter@dieter.ronigerweg.virto.com
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
</VirtualHost>
<VirtualHost>
ServerAdmin dieter@dieter.ronigerweg.virto.com
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
</VirtualHost>
#
#------------------------------------------------------------------------------
# Prova TestSeite
#------------------------------------------------------------------------------
#
<VirtualHost>
ServerAdmin dieter@dieter.ronigerweg.virto.com
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
</VirtualHost>
<VirtualHost>
ServerAdmin dieter@dieter.ronigerweg.virto.com
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
</VirtualHost>
#
#------------------------------------------------------------------------------
# Gourmonde Testseite
#
#------------------------------------------------------------------------------
#
<VirtualHost>
ServerAdmin dieter@dieter.ronigerweg.virto.com
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
</VirtualHost>
<VirtualHost>
ServerAdmin dieter@dieter.ronigerweg.virto.com
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
</VirtualHost>
#
#------------------------------------------------------------------------------
# DBWV Testseite
#
#------------------------------------------------------------------------------
#
<VirtualHost>
ServerAdmin dieter@dieter.ronigerweg.virto.com
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
</VirtualHost>
<VirtualHost>
ServerAdmin dieter@dieter.ronigerweg.virto.com
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
</VirtualHost>
----------------------
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?
This works fine:
NameVirtualHost 10.0.1.89
#
#------------------------------------------------------------------------------
# Private Seite
#------------------------------------------------------------------------------
#
<VirtualHost>
ServerAdmin dieter@dieter.ronigerweg.virto.com
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
</VirtualHost>
#
#------------------------------------------------------------------------------
# Geschäftsseite
#------------------------------------------------------------------------------
#
<VirtualHost>
ServerAdmin dieter@dieter.ronigerweg.virto.com
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
</VirtualHost>
<VirtualHost>
ServerAdmin dieter@dieter.ronigerweg.virto.com
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
</VirtualHost>
<VirtualHost>
ServerAdmin dieter@dieter.ronigerweg.virto.com
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
</VirtualHost>
<Location>
AuthType Basic
AuthName "OpenVMS authentication"
AuthOpenVMSUser On
require user dieter
</Location>
<Location>
AuthType Basic
AuthName "OpenVMS authentication"
AuthOpenVMSUser On
require user dieter
</Location>
#
#------------------------------------------------------------------------------
# Bildarchiv
#------------------------------------------------------------------------------
<VirtualHost>
ServerAdmin dieter@dieter.ronigerweg.virto.com
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
</VirtualHost>
<VirtualHost>
ServerAdmin dieter@dieter.ronigerweg.virto.com
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
</VirtualHost>
#
#------------------------------------------------------------------------------
# Prova TestSeite
#------------------------------------------------------------------------------
#
<VirtualHost>
ServerAdmin dieter@dieter.ronigerweg.virto.com
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
</VirtualHost>
<VirtualHost>
ServerAdmin dieter@dieter.ronigerweg.virto.com
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
</VirtualHost>
#
#------------------------------------------------------------------------------
# Gourmonde Testseite
#
#------------------------------------------------------------------------------
#
<VirtualHost>
ServerAdmin dieter@dieter.ronigerweg.virto.com
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
</VirtualHost>
<VirtualHost>
ServerAdmin dieter@dieter.ronigerweg.virto.com
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
</VirtualHost>
#
#------------------------------------------------------------------------------
# DBWV Testseite
#
#------------------------------------------------------------------------------
#
<VirtualHost>
ServerAdmin dieter@dieter.ronigerweg.virto.com
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
</VirtualHost>
<VirtualHost>
ServerAdmin dieter@dieter.ronigerweg.virto.com
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
</VirtualHost>
----------------------
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?