you need to be root to start it.

use sudo

sudo apachectl start

and enter your admin password.


as far as the 127.0.0.1

you don't have a hostname set for the unix side of things.. Apple hasn't 
made this easy, you need to edit /etc/hostconfig and set the hostname

alternatively, you can set the ServerName in /etc/httpd/httpd.conf



On Tuesday, April 17, 2001, at 12:52 PM, allan wrote:

> hi
>
> this has little to do with perl, just hope someone can help
>
> i have succesfully installed apache from the source code... but when
> starting the server i get the following:
>
> __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)
> 2) why is it trying 127.0.0.1? i havent configured this anywhere
> 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
> system
>
>
> hope someone can help
>
> thanks
> allan
>
>
>

Reply via email to