PDA

View Full Version : Apache won't restart


maxpico
07-16-2002, 05:31 AM
When I make changes to the httpd.conf in my Mac OS X Server 10.1.4 and I type the command apachectl graceful I get this error

fopen: Permission denied
httpd: could not open error log file /private/var/log/httpd/error_log.
/usr/sbin/apachectl graceful: httpd could not be started

So I must use the sudo command!
I've checked the permission of the error log and the chmod is 644 like the access_log....
How can this be?
Thanks

hayne
07-16-2002, 08:59 AM
It seem likely that you forgot to use 'sudo' when issuing the Apache command.
You need administrator priviledges to run Apache.

By the way, the correct parlance would be to say "the permissions are 644" - not "the chmod is 644".

myrkr
06-20-2005, 06:06 PM
http://forums.macosxhints.com/showthread.php?t=6364&highlight=fopen%3A+Permission+denied