四虎影视在线影院在线观看,小s货再浪些再咬紧点h,国产精品水嫩水嫩,97精产国品一二三产区

Board logo

標(biāo)題: [BUG反饋] centos7 安裝wdcp3.1 啟動(dòng)httpd報(bào)錯(cuò) [打印本頁]

作者: kai0754    時(shí)間: 2016-10-27 16:20     標(biāo)題: centos7 安裝wdcp3.1 啟動(dòng)httpd報(bào)錯(cuò)

現(xiàn)在其他問他都沒用。就是啟動(dòng)報(bào)錯(cuò),報(bào)錯(cuò)如下。
  1. 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.
復(fù)制代碼


然后我就按照提示分別輸入systemctl status httpd.service和journalctl -xe。分別如下。
  1. ● httpd.service - SYSV: Apache is a World Wide Web server.  It is used to serve HTML files and CGI.
  2.    Loaded: loaded (/etc/rc.d/init.d/httpd)
  3.    Active: failed (Result: exit-code) since 四 2016-10-27 16:03:27 CST; 11min ago
  4.      Docs: man:systemd-sysv-generator(8)
  5.   Process: 10993 ExecStart=/etc/rc.d/init.d/httpd start (code=exited, status=1/FAILURE)

  6. 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....
  7. 10月 27 16:03:27 localhost.localdomain httpd[10993]: Starting httpd: AH00543: httpd: bad user name www
  8. 10月 27 16:03:27 localhost.localdomain httpd[10993]: [失敗]
  9. 10月 27 16:03:27 localhost.localdomain systemd[1]: httpd.service: control process exited, code=exited status=1
  10. 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..
  11. 10月 27 16:03:27 localhost.localdomain systemd[1]: Unit httpd.service entered failed state.
  12. 10月 27 16:03:27 localhost.localdomain systemd[1]: httpd.service failed.
復(fù)制代碼


  1. --
  2. -- Unit httpd.service has failed.
  3. --
  4. -- The result is failed.
  5. 10月 27 16:03:05 localhost.localdomain systemd[1]: Unit httpd.service entered failed state.
  6. 10月 27 16:03:05 localhost.localdomain systemd[1]: httpd.service failed.
  7. 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
  8. 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....
  9. -- Subject: Unit httpd.service has begun start-up
  10. -- Defined-By: systemd
  11. -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
  12. --
  13. -- Unit httpd.service has begun starting up.
  14. 10月 27 16:03:27 localhost.localdomain httpd[10993]: Starting httpd: AH00543: httpd: bad user name www
  15. 10月 27 16:03:27 localhost.localdomain httpd[10993]: [失敗]
  16. 10月 27 16:03:27 localhost.localdomain systemd[1]: httpd.service: control process exited, code=exited status=1
  17. 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..
  18. -- Subject: Unit httpd.service has failed
  19. -- Defined-By: systemd
  20. -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
  21. --
  22. -- Unit httpd.service has failed.
  23. --
  24. -- The result is failed.
  25. 10月 27 16:03:27 localhost.localdomain systemd[1]: Unit httpd.service entered failed state.
  26. 10月 27 16:03:27 localhost.localdomain systemd[1]: httpd.service failed.
  27. 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
  28. 10月 27 16:10:01 localhost.localdomain systemd[1]: Started Session 27 of user root.
  29. -- Subject: Unit session-27.scope has finished start-up
  30. -- Defined-By: systemd
  31. -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
  32. --
  33. -- Unit session-27.scope has finished starting up.
  34. --
  35. -- The start-up result is done.
  36. 10月 27 16:10:01 localhost.localdomain systemd[1]: Starting Session 27 of user root.
  37. -- Subject: Unit session-27.scope has begun start-up
  38. -- Defined-By: systemd
  39. -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
  40. --
  41. -- Unit session-27.scope has begun starting up.
  42. 10月 27 16:10:01 localhost.localdomain CROND[11640]: (root) CMD (/usr/lib64/sa/sa1 1 1)
  43. lines 1698-1739/1739 (END)
復(fù)制代碼




最后,求解決。
作者: kai0754    時(shí)間: 2016-10-28 15:33

解決了。上面得問題是因?yàn)闆]有www這個(gè)用戶。

執(zhí)行下面兩個(gè)語句就可以了。
還是要靠自己啊~
  1.    groupadd www
復(fù)制代碼
  1.    useradd -g www www
復(fù)制代碼

作者: maochenhui    時(shí)間: 2017-2-15 01:06

回復(fù) 2# kai0754
Thank you .Helpful for me !(my centos7 can not  install Chinese input method,so.....)
作者: cnpro    時(shí)間: 2018-2-28 12:46

特別贊,我死活找不到原因,感謝感謝,就是這句:
useradd -g www www
作者: tusi    時(shí)間: 2018-6-14 19:38

感謝,就是缺少www用戶導(dǎo)致的,創(chuàng)建www用戶就行了。
  1.    useradd -g www www
復(fù)制代碼

作者: wind5027    時(shí)間: 2018-9-22 16:18

useradd -g www www

找了好久原因,謝謝樓主!




歡迎光臨 WDlinux官方論壇 (http://cd-genova.com/bbs/) Powered by Discuz! 7.2