提问三步曲: 提问先看教程/FAQ索引(wdcp,wdcp_v3,一键包)及搜索,会让你更快解决问题
1 提供详细,如系统版本,wdcp版本,软件版本等及错误的详细信息,贴上论坛或截图发论坛
2 做过哪些操作或改动设置等
温馨提示:信息不详,很可能会没人理你!论坛有教程说明的,也可能没人理!因为,你懂的
[BUG反馈] centos7 安装wdcp3.1 启动httpd报错
现在其他问他都没用。就是启动报错,报错如下。- Starting httpd (via systemctl): Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.
复制代码
然后我就按照提示分别输入systemctl status httpd.service和journalctl -xe。分别如下。- ● httpd.service - SYSV: Apache is a World Wide Web server. It is used to serve HTML files and CGI.
- Loaded: loaded (/etc/rc.d/init.d/httpd)
- Active: failed (Result: exit-code) since 四 2016-10-27 16:03:27 CST; 11min ago
- Docs: man:systemd-sysv-generator(8)
- Process: 10993 ExecStart=/etc/rc.d/init.d/httpd start (code=exited, status=1/FAILURE)
- 10月 27 16:03:27 localhost.localdomain systemd[1]: Starting SYSV: Apache is a World Wide Web server. It is used to serve HTML files and CGI....
- 10月 27 16:03:27 localhost.localdomain httpd[10993]: Starting httpd: AH00543: httpd: bad user name www
- 10月 27 16:03:27 localhost.localdomain httpd[10993]: [失败]
- 10月 27 16:03:27 localhost.localdomain systemd[1]: httpd.service: control process exited, code=exited status=1
- 10月 27 16:03:27 localhost.localdomain systemd[1]: Failed to start SYSV: Apache is a World Wide Web server. It is used to serve HTML files and CGI..
- 10月 27 16:03:27 localhost.localdomain systemd[1]: Unit httpd.service entered failed state.
- 10月 27 16:03:27 localhost.localdomain systemd[1]: httpd.service failed.
复制代码
和
- --
- -- Unit httpd.service has failed.
- --
- -- The result is failed.
- 10月 27 16:03:05 localhost.localdomain systemd[1]: Unit httpd.service entered failed state.
- 10月 27 16:03:05 localhost.localdomain systemd[1]: httpd.service failed.
- 10月 27 16:03:27 localhost.localdomain polkitd[785]: Registered Authentication Agent for unix-process:10988:1189480 (system bus name :1.203 [/usr/bin/pkttyagent --notif
- 10月 27 16:03:27 localhost.localdomain systemd[1]: Starting SYSV: Apache is a World Wide Web server. It is used to serve HTML files and CGI....
- -- Subject: Unit httpd.service has begun start-up
- -- Defined-By: systemd
- -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
- --
- -- Unit httpd.service has begun starting up.
- 10月 27 16:03:27 localhost.localdomain httpd[10993]: Starting httpd: AH00543: httpd: bad user name www
- 10月 27 16:03:27 localhost.localdomain httpd[10993]: [失败]
- 10月 27 16:03:27 localhost.localdomain systemd[1]: httpd.service: control process exited, code=exited status=1
- 10月 27 16:03:27 localhost.localdomain systemd[1]: Failed to start SYSV: Apache is a World Wide Web server. It is used to serve HTML files and CGI..
- -- Subject: Unit httpd.service has failed
- -- Defined-By: systemd
- -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
- --
- -- Unit httpd.service has failed.
- --
- -- The result is failed.
- 10月 27 16:03:27 localhost.localdomain systemd[1]: Unit httpd.service entered failed state.
- 10月 27 16:03:27 localhost.localdomain systemd[1]: httpd.service failed.
- 10月 27 16:03:27 localhost.localdomain polkitd[785]: Unregistered Authentication Agent for unix-process:10988:1189480 (system bus name :1.203, object path /org/freedesk
- 10月 27 16:10:01 localhost.localdomain systemd[1]: Started Session 27 of user root.
- -- Subject: Unit session-27.scope has finished start-up
- -- Defined-By: systemd
- -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
- --
- -- Unit session-27.scope has finished starting up.
- --
- -- The start-up result is done.
- 10月 27 16:10:01 localhost.localdomain systemd[1]: Starting Session 27 of user root.
- -- Subject: Unit session-27.scope has begun start-up
- -- Defined-By: systemd
- -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
- --
- -- Unit session-27.scope has begun starting up.
- 10月 27 16:10:01 localhost.localdomain CROND[11640]: (root) CMD (/usr/lib64/sa/sa1 1 1)
- lines 1698-1739/1739 (END)
复制代码
最后,求解决。 |