You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Axel-Stéphane SMORGRAV <Ax...@europe.adp.com> on 2004/12/13 09:47:25 UTC

[users@httpd] RE: Missing Log Files

Shannon,

You need to make sure that the directory where the Apache logs files are supposed to be created really exists. That's the only reason I can think of why you cannot find the log files.

Are you sure you are looking in the right place? I believe that the "default" configuration puts the log files in APACHE_ROOT/logs, e.g. /usr/local/apache/logs. Take a peek at the Apache configuration file (probably httpd.conf) to determine what directory  the log files are supposed to be in, and then make sure that directory exists.

-ascs 

-----Message d'origine-----
De : Shannon Doyle [mailto:shannon@ecite.com.au] 
Envoyé : vendredi 10 décembre 2004 17:00
À : users@httpd.apache.org
Objet : [users@httpd] Missing Log Files

Hi People,

Using Apache2.0.47 on my mandrake 9.2 system. The installation has been running great up until we had a problem earlier in the week. For some stupid reason someone had removed /var/log and all its contents. I have managed to get all logging back up and running except for apache log's for the main files and all the associated virtual host files.

My research has suggested that apache should just recreate these files on a graceful restart however it appears that is incorrect. I have even tried recreating the directory structure and touching the main files in an attempt to show apache that the files are there to be used. 

Can anyone assit me in getting these files back up and apache re-logging to them.

Kind regards,

Shannon 



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org