views:

34

answers:

2

Hi, I'm currently getting a 500 error (apparently) on ballpointhosting.com, even though I'm sure I've configured it correctly. Where can I find my error log on Linux?

Willing to provide more details if you need...

+1  A: 
  • RHEL / Red Hat / CentOS / Fedora Linux Apache error file location - /var/log/httpd/error_log
  • Debian / Ubuntu Linux Apache error log file location - /var/log/apache2/error.log
  • FreeBSD Apache error log file location - /var/log/httpd-error.log
Marko
I'm using CentOS, and I can't find /httpd, nor apache2 not http-error.log. All there is (folder wise) is bandwidth, sa and dcpumon o_O.
Sam
Shared host perhaps? Ask your provider.. I'm running CentOS and my log files are in that dir. Sorry I'm unable to help.
Marko
It could be a dns issue...
Sam
It could be anything, even a missing library. I received a 500 error yesterday, it was the mod_rewrite module. So yeah.. @Sam - try searching for the file/folder using *locate*. i.e. *locate error* or *locate log*
Marko
A: 

Check out /var/log/apache2.

This should contain the logs you are looking for.

Hope that helps!

Nick nickgs.com

direct
Thanks, but I don't have this folder o_O
Sam