My apache status can not be seen
I can not restart HTTP Server (Apache)
Attempting to restart httpd
Waiting for httpd to restart.... . . . . . .
httpd has failed, please contact the sysadmin.
My apache status can not be seen
I can not restart HTTP Server (Apache)
Attempting to restart httpd
Waiting for httpd to restart.... . . . . . .
httpd has failed, please contact the sysadmin.
On the command line (login via SSH or with a physical console), do the following:
Are any errors output?Code:/etc/init.d/httpd restart
If none, then do this:
Any errors?Code:cd /usr/local/apache/bin ./httpd
Anything in the /usr/local/apache/logs files?
Apache crashes on and off several times throughout the day, eventually failing and not restarting at all.
Whenever I try to restart it from the command line, it launches like everything is working but then does not load.
I am still seraching my logs to see why its dying to begin with -- but all i see is apache starting up normally for no reason. No crash messages?
WTF?
If you are using PHP, it could be an issue with a PHP extension. Try disabling PHP, restart Apache and see whether you have the same issues.
[root@soscn-x01 ~]# /etc/init.d/httpd restart
/etc/init.d/httpd restart: httpd not running, trying to start
Syntax error on line 1150 of /usr/local/apache/conf/httpd.conf:
Invalid command 'BytesLog', perhaps mis-spelled or defined by a module not included in the server configuration
/etc/init.d/httpd restart: httpd could not be started
[root@soscn-x01 bin]# ./httpd
Syntax error on line 1150 of /usr/local/apache/conf/httpd.conf:
Invalid command 'BytesLog', perhaps mis-spelled or defined by a module not included in the server configuration