Quote:
Originally Posted by j-ray
what does the error log say?
|
/usr/sbin/apache2ctl configtest
bash: /usr/sbin/apache2ctl: No such file or directory
[root@localhost mr]# /var/log/apache2/error.log
bash: /var/log/apache2/error.log: No such file or directory
[root@localhost mr]# cat /var/log/apache2/error.log
cat: /var/log/apache2/error.log: No such file or directory
[root@localhost mr]#
systemctl status httpd.service
httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled)
Active: failed (Result: exit-code) since Mon 2014-02-03 21:10:00 IST; 3min 21s ago
Process: 3851 ExecStop=/bin/kill -WINCH $MAINPID (code=exited, status=1/FAILURE)
Process: 3849 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
Main PID: 3849 (code=exited, status=1/FAILURE)
Feb 03 21:10:00 localhost.localdomain kill[3851]: -q, --queue <sig> use ...
Feb 03 21:10:00 localhost.localdomain kill[3851]: -p, --pid prin...
Feb 03 21:10:00 localhost.localdomain kill[3851]: -l, --list [=<signal>] list...
Feb 03 21:10:00 localhost.localdomain kill[3851]: -L, --table list...
Feb 03 21:10:00 localhost.localdomain kill[3851]: -h, --help display this...
Feb 03 21:10:00 localhost.localdomain kill[3851]: -V, --version output versi...
Feb 03 21:10:00 localhost.localdomain kill[3851]: For more details see kill(1).
Feb 03 21:10:00 localhost.localdomain systemd[1]: httpd.service: control proc...
Feb 03 21:10:00 localhost.localdomain systemd[1]: Failed to start The Apache ...
Feb 03 21:10:00 localhost.localdomain systemd[1]: Unit httpd.service entered ...
Hint: Some lines were ellipsized, use -l to show in full.