Originally Posted by ctlq
try 'sudo apachectl restart'
ctlq,
Thanks for your reply.
I thought I had tried this but I get:
Last login: Thu Jun 9 20:16:02 on ttyp1
Welcome to Darwin!
SimonMartins-Computer:~ simon$ sudo apachectl restart
Password:
/usr/sbin/apachectl restart: httpd not running, trying to start
Processing config directory: /private/etc/httpd/users/*.conf
<snip>
Processing config file: /private/etc/httpd/users/simon.conf
[Fri Jun 10 07:23:41 2005] [warn] module php4_module is already loaded, skipping
/usr/sbin/apachectl restart: httpd started
SimonMartins-Computer:~ simon$
But
http://127.0.0.1 gives a connection refused.
I don't know what's going on...
?
I just repeated things and I'm still getting:
Last login: Thu Jun 9 20:16:02 on ttyp1
Welcome to Darwin!
SimonMartins-Computer:~ simon$ sudo apachectl restart
Password:
/usr/sbin/apachectl restart: httpd not running, trying to start
Processing config directory: /private/etc/httpd/users/*.conf
<snip>
Processing config file: /private/etc/httpd/users/simon.conf
[Fri Jun 10 07:23:41 2005] [warn] module php4_module is already loaded, skipping
/usr/sbin/apachectl restart: httpd started
SimonMartins-Computer:~ simon$ apachectl graceful
/usr/sbin/apachectl graceful: httpd not running, trying to start
Processing config directory: /private/etc/httpd/users/*.conf
<snip>
Processing config file: /private/etc/httpd/users/simon.conf
[Fri Jun 10 07:30:33 2005] [warn] module php4_module is already loaded, skipping
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
SimonMartins-Computer:~ simon$ apachectl restart
/usr/sbin/apachectl restart: httpd not running, trying to start
Processing config directory: /private/etc/httpd/users/*.conf
<snip>
Processing config file: /private/etc/httpd/users/simon.conf
[Fri Jun 10 07:30:59 2005] [warn] module php4_module is already loaded, skipping
fopen: Permission denied
httpd: could not open error log file /private/var/log/httpd/error_log.
/usr/sbin/apachectl restart: httpd could not be started
SimonMartins-Computer:~ simon$ apachectl start
Processing config directory: /private/etc/httpd/users/*.conf
<snip>
Processing config file: /private/etc/httpd/users/simon.conf
[Fri Jun 10 07:32:08 2005] [warn] module php4_module is already loaded, skipping
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
SimonMartins-Computer:~ simon$ apachectl restart
/usr/sbin/apachectl restart: httpd not running, trying to start
Processing config directory: /private/etc/httpd/users/*.conf
<snip>
Processing config file: /private/etc/httpd/users/simon.conf
[Fri Jun 10 07:32:58 2005] [warn] module php4_module is already loaded, skipping
fopen: Permission denied
httpd: could not open error log file /private/var/log/httpd/error_log.
/usr/sbin/apachectl restart: httpd could not be started
SimonMartins-Computer:~ simon$
I don't know why it reported that httpd had started...
Any ideas?
Simon