码迷,mamicode.com
首页 > 其他好文 > 详细

lamp

时间:2018-09-13 18:38:22      阅读:157      评论:0      收藏:0      [点我收藏+]

标签:hint   option   red   serve   -bash   The   directory   etc   cto   

[root@localhost html]# systemctl status httpd.service
httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled)
Active: failed (Result: exit-code) since Thu 2018-09-13 04:34:20 EDT; 9min ago
Main PID: 8464 (code=exited, status=1/FAILURE)
CGroup: /system.slice/httpd.service

Sep 13 04:34:20 localhost.localdomain httpd[8464]: httpd: Syntax error on lin...
Sep 13 04:34:20 localhost.localdomain systemd[1]: httpd.service: main process...
Sep 13 04:34:20 localhost.localdomain systemd[1]: Failed to start The Apache ...
Sep 13 04:34:20 localhost.localdomain systemd[1]: Unit httpd.service entered ...
Hint: Some lines were ellipsized, use -l to show in full.
[root@localhost html]# systemctl start httpd.service
Job for httpd.service failed. See ‘systemctl status httpd.service‘ and ‘journalctl -xn‘ for details.
[root@localhost html]# ^C
[root@localhost html]# servicehttpd start
bash: servicehttpd: command not found...
[root@localhost html]# service httpd start
Redirecting to /bin/systemctl start httpd.service
Job for httpd.service failed. See ‘systemctl status httpd.service‘ and ‘journalctl -xn‘ for details.
[root@localhost html]# systemctl status httpd.service
httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled)
Active: failed (Result: exit-code) since Thu 2018-09-13 04:47:09 EDT; 13s ago
Process: 8819 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=0/SUCCESS)
Process: 8817 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
Main PID: 8817 (code=exited, status=1/FAILURE)

Sep 13 04:47:09 localhost.localdomain httpd[8817]: httpd: Syntax error on lin...
Sep 13 04:47:09 localhost.localdomain systemd[1]: httpd.service: main process...
Sep 13 04:47:09 localhost.localdomain systemd[1]: Failed to start The Apache ...
Sep 13 04:47:09 localhost.localdomain systemd[1]: Unit httpd.service entered ...
Hint: Some lines were ellipsized, use -l to show in full.
[root@localhost html]# cd/etc/httpd/conf.d/
-bash: cd/etc/httpd/conf.d/: No such file or directory
[root@localhost html]# cd/etc/httpd/conf.d/
-bash: cd/etc/httpd/conf.d/: No suc?

lamp

标签:hint   option   red   serve   -bash   The   directory   etc   cto   

原文地址:http://blog.51cto.com/13956389/2174858

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!