Help - Search - Members - Calendar
Full Version: failed to open log file /var/log/httpd/suexec_log
The Planet Forums > System Administration > Virtualization
Tom White
I've had a cgi script running fine on a virtual server. Now all of a sudden it started giving the Internal Server Error. The error log file shows: failed to open log file /var/log/httpd/suexec_log.

I can't even see that this file exists. Could it be hidden from my view being on a virtual server?

I'm going crazy trying to figure out what happened!

Tom
scooterh
Try

touch /var/log/httpd/suexec_log

Then restart apache and see if that helps.
Tom White
Thanks for the reply. On a virtual server I don't have access to do anything like that.
eth00
It may also be permissions. If you are using the ev1 webhosting your best bet is just to put in a ticket so somebody with shell access can fix the problem.
Tom White
I figured that was where I would end up. Just thought I'd check in here first and see if there was some easy thing I could do myself.

T
Tom White
This problem has been solved by using another editor on the script and making sure the saved file does NOT have any CR characters.

Tom
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.