Web server
JohnsWorkiMacG5:~ jfowler3$ /usr/sbin/apachectl configtest
Syntax OK
JohnsWorkiMacG5:~ jfowler3$ /usr/sbin/apachectl -k restart
httpd not running, trying to start
(13)Permission denied: make_sock: could not bind to address [::]:80
(13)Permission denied: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
JohnsWorkiMacG5:~ jfowler3$ sudo /usr/sbin/apachectl -k restart
Password:
httpd not running, trying to start
(2)No such file or directory: httpd: could not open error log file /private/var/log/apache2/error_log.
Unable to open logs
JohnsWorkiMacG5:~ jfowler3$
The response to configtest should indicate the webserver is up.
The response to -k restart suggests a permissions problem.
So I used sudo and gave the correct password.
I don't know how to interp the last part.
Can anybody suggest what is the problem with my web server?
Thanks.
JF
iMac G5, Mac OS X (10.5.8)