Guest User

Untitled

a guest
Jan 18th, 2018
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.20 KB | None | 0 0
  1. [userme@server ~]$ sudo systemctl restart httpd.service
  2. [sudo] password for userme:
  3. Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.
  4.  
  5. [userme@server ~]$ cat /etc/hosts
  6. 127.0.0.1 server server.workstation.com
  7. 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
  8. ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
  9.  
  10. [userme@server ~]$ hostname
  11. server.workstation.com
  12.  
  13. [userme@server ~]$ cat /etc/sysconfig/network
  14. # Created by anaconda
  15. NETWORKING=yes
  16. HOSTNAME=server
  17.  
  18.  
  19. [userme@server ~]$ cat /etc/resolv.conf
  20. # Generated by NetworkManager
  21. search workstation.com
  22. nameserver fe80::1%p3p1
  23. nameserver 192.168.100.1
  24.  
  25.  
  26. [userme@server ~]$ domainname
  27. (none)
  28.  
  29. [userme@server ~]$ systemctl status httpd -l
  30. ● httpd.service - The Apache HTTP Server
  31. Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
  32. Active: failed (Result: exit-code) since Thu 2018-01-18 12:55:25 +04; 57min ago
  33. Docs: man:httpd(8)
  34. man:apachectl(8)
  35. Process: 1285 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
  36. Process: 1283 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
  37. Main PID: 1283 (code=exited, status=1/FAILURE)
  38.  
  39. Jan 18 12:55:25 server.workstation.com systemd[1]: Starting The Apache HTTP Server...
  40. Jan 18 12:55:25 server.workstation.com httpd[1283]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using server.workstation.com. Set the 'ServerName' directive globally to suppress this message
  41. Jan 18 12:55:25 server.workstation.com systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
  42. Jan 18 12:55:25 server.workstation.com kill[1285]: kill: cannot find process ""
  43. Jan 18 12:55:25 server.workstation.com systemd[1]: httpd.service: control process exited, code=exited status=1
  44. Jan 18 12:55:25 server.workstation.com systemd[1]: Failed to start The Apache HTTP Server.
  45. Jan 18 12:55:25 server.workstation.com systemd[1]: Unit httpd.service entered failed state.
  46. Jan 18 12:55:25 server.workstation.com systemd[1]: httpd.service failed.
Add Comment
Please, Sign In to add comment