samedi 17 janvier 2015

httpd -k stop/ start not working OS X



GE-Erics:~ eric$ httpd -k stop
AH00548: NameVirtualHost has no effect and will be removed in the next release /private/etc/apache2/extra/httpd-vhosts.conf:19
AH00112: Warning: DocumentRoot [/usr/docs/dummy-host.example.com] does not exist
AH00112: Warning: DocumentRoot [/usr/docs/dummy-host2.example.com] does not exist
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using GE-Erics.local. Set the 'ServerName' directive globally to suppress this message
httpd (pid 4853?) not running
GE-Erics:~ eric$ ps aux | grep httpd
eric 4865 0.0 0.0 2432772 644 s001 S+ 6:04PM 0:00.00 grep httpd
eric 4854 0.0 0.0 2477444 868 ?? S 6:03PM 0:00.00 /usr/sbin/httpd -D FOREGROUND
root 4853 0.0 0.1 2477444 10132 ?? Ss 6:03PM 0:00.16 /usr/sbin/httpd -D FOREGROUND
GE-Erics:~ eric$


sudo apachectl start/ stop works for me but I don't like them since they don't give me any log.


I'm using OS X Yosemite and Apache 2.4.9



Aucun commentaire:

Enregistrer un commentaire