>__terminal__
 >[localhost:/applications/apache_1.3.19] aju% /usr/sbin/apachectl start
 >Processing config directory: /private/etc/httpd/users
 >[Mon Apr 16 23:02:25 2001] [alert] httpd: Could not determine the
 >server's fully qualified domain name, using 127.0.0.1 for ServerName
 >fopen: Permission denied
 >httpd: could not open error log file /private/var/log/httpd/error_log.
 >/usr/sbin/apachectl start: httpd could not be started
 >__termninal__
 >
 >questions:
 >1) why wont it start (obvious)

It looks like the permissions of the error_log are incorrect and that's why 
it won't open. Apache always spits out a little hello to the error_log 
whenever it starts - if the permissions aren't accurate (as per the "fopen: 
permission denied" line), then Apache won't start.

 >2) why is it trying 127.0.0.1? i havent configured this anywhere

127.0.0.1 is reserved ip address for your local machine. If you turn on 
your machine after a nice walk in the park, it's secretly known as 
127.0.0.1 or localhost. Because you haven't configured Apache to use a FQDN 
(a fully qualified domain name, like disobey.com), it defaults to the 
reserved local address of 127.0.0.1

 >3) how come i can create anything inside the directory
 >/private/var/log/httpd (let alone delete the directory), where the
 >error_log is supposed to reside? i am the sole administrator on this

I assume you mean "can't". More than likely this is because you aren't root 
access - just because you're the sole administrator doesn't mean you get to 
go around and mess around with system specific files - you would need to be 
root to do so. Telling you how to turn on root is outside this email - do a 
search on macosxhints.com to figure it out.


Morbus Iff
.sig on other machine.
http://www.disobey.com/
http://www.gamegrene.com/

Reply via email to