Today I have noticed that on one of my DirectAdmin virtual servers the apache log files in "/var/log/httpd/domains" are gone. After some investigation I noticed that in the apcache configuration file for each user, the lines that should wright the logs are commented with #. Here is one example:
<VirtualHost xxx.xxx.xxx.xxx:80 >
ServerName www.domain.com
ServerAlias www.domain.com domain.com
ServerAdmin [email protected]
DocumentRoot /home/domain/domains/domain.mk/public_html
ScriptAlias /cgi-bin/ /home/domain/domains/domain.com/public_html/cgi-bin/
UseCanonicalName OFF
SuexecUserGroup domain domain
#CustomLog /var/log/httpd/domains/domain.com.bytes bytes
#CustomLog /var/log/httpd/domains/domain.com.log combined
#ErrorLog /var/log/httpd/domains/domain.com.error.log
after that I wright a small script which enable them again so it was ok. After that tried with custombuild 1.1 to rebuild apache (just in case) and after the rebuild was done they were disabled again.
p.s. last thing that I have done before notice this was that I upgraded apache, mysql and php using custombuild.
Any help will be appreciated.
Thanks,
<VirtualHost xxx.xxx.xxx.xxx:80 >
ServerName www.domain.com
ServerAlias www.domain.com domain.com
ServerAdmin [email protected]
DocumentRoot /home/domain/domains/domain.mk/public_html
ScriptAlias /cgi-bin/ /home/domain/domains/domain.com/public_html/cgi-bin/
UseCanonicalName OFF
SuexecUserGroup domain domain
#CustomLog /var/log/httpd/domains/domain.com.bytes bytes
#CustomLog /var/log/httpd/domains/domain.com.log combined
#ErrorLog /var/log/httpd/domains/domain.com.error.log
after that I wright a small script which enable them again so it was ok. After that tried with custombuild 1.1 to rebuild apache (just in case) and after the rebuild was done they were disabled again.
p.s. last thing that I have done before notice this was that I upgraded apache, mysql and php using custombuild.
Any help will be appreciated.
Thanks,