Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I'd like to know where can I find apache's error log.
According to a website that I read, it should be at /var/log/httpd/error_log
But I don't have the httpd directory on /var/log
Check your httpd.conf
The LogFile variable tells you where apache is writing logs. This value is often (always?) relative to the ServerRoot variable.
Chances are it's in /var/log/httpd.
Do you have locate installed? Have you run updatedb recently, or have it cronified? If so, you can do locate error_log.
take a look at your /etc/httpd.conf file and check where you are writing your logs valter. as Raffael says it maybe that you've got them being written to odd locations. check that your httpd server actually started too! :-)
8 years ago
7 years, 9 months ago