安装WDCP后出错解决

出错代码:

Starting MySQL.. SUCCESS! 
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.
 [FAILED]
Starting nginxd (via systemctl): Job for nginxd.service failed because the control process exited with error code. See "systemctl status nginxd.service" and "journalctl -xe" for details.
 [FAILED]
查看具体错误为:[root@localhost ~]# systemctl status httpd.service
● 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 Fri 2016-10-28 19:35:13 CST; 1min 30s ago
 Docs: man:systemd-sysv-generator(8)

Oct 28 19:35:13 localhost.localdomain systemd[1]: Starting SYSV: Apache is a World Wide Web server. It is used to serve HTML files and CGI....
Oct 28 19:35:13 localhost.localdomain httpd[130370]: Starting httpd: AH00543: httpd: bad user name www
Oct 28 19:35:13 localhost.localdomain httpd[130370]: [FAILED]
Oct 28 19:35:13 localhost.localdomain systemd[1]: httpd.service: control process exited, code=exited status=1
Oct 28 19:35:13 localhost.localdomain systemd[1]: Failed to start SYSV: Apache is a World Wide Web server. It is used to serve HTML files and CGI..
Oct 28 19:35:13 localhost.localdomain systemd[1]: Unit httpd.service entered failed state.
Oct 28 19:35:13 localhost.localdomain systemd[1]: httpd.service failed.
解决方案:
[root@localhost ~]# groupadd www
[root@localhost ~]# useradd -g www www
[root@localhost ~]# service httpd restart

问题解决。

未经允许不得转载:黄躺躺 » 安装WDCP后出错解决

赞 (0) 打赏

评论 0

觉得文章写得还行就打赏一下作者 :)

支付宝扫一扫打赏

微信扫一扫打赏