httpd is stopped

titan777

New member
Joined
May 16, 2017
Messages
1
Server work for 3 month perfect, and today like that httpd stop ? and unable to restart

systemctl status httpd.service. result
Code:
● httpd.service - The Apache HTTP Server
   Loaded: loaded (/etc/systemd/system/httpd.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since wo 2017-05-17 03:21:09 CEST; 22s ago
  Process: 22717 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
  Process: 22715 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
 Main PID: 22715 (code=exited, status=1/FAILURE)

mei 17 03:21:08 server2.005.be systemd[1]: Starting The Apache HTTP Server...
mei 17 03:21:09 server2.005.be systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
mei 17 03:21:09 server2.005.be kill[22717]: kill: cannot find process ""
mei 17 03:21:09 server2.005.be systemd[1]: httpd.service: control process exited, code=exited status=1
mei 17 03:21:09 server2.005.be systemd[1]: Failed to start The Apache HTTP Server.
mei 17 03:21:09 server2.005.be systemd[1]: Unit httpd.service entered failed state.
mei 17 03:21:09 server2.005.be systemd[1]: httpd.service failed.

and journalctl -xe results
Code:
-- Unit httpd.service has begun starting up.
mei 17 03:22:08 server2.005.be systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
mei 17 03:22:08 server2.005.be kill[22754]: kill: cannot find process ""
mei 17 03:22:08 server2.005.be systemd[1]: httpd.service: control process exited, code=exited status=1
mei 17 03:22:08 server2.005.be systemd[1]: Failed to start The Apache HTTP Server.
-- 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.
mei 17 03:22:08 server2.005.be systemd[1]: Unit httpd.service entered failed state.
mei 17 03:22:08 server2.005.be systemd[1]: httpd.service failed.
mei 17 03:22:09 server2.005.be sshd[22762]: Did not receive identification string from 89.40.121.221
mei 17 03:22:10 server2.005.be sshd[22751]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=58.218.198.162  user=root
mei 17 03:22:10 server2.005.be sshd[22751]: pam_succeed_if(sshd:auth): requirement "uid >= 1000" not met by user "root"
mei 17 03:22:10 server2.005.be sshd[22760]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=58.218.198.157  user=root
mei 17 03:22:10 server2.005.be sshd[22760]: pam_succeed_if(sshd:auth): requirement "uid >= 1000" not met by user "root"
mei 17 03:22:11 server2.005.be sshd[22751]: Failed password for root from 58.218.198.162 port 54621 ssh2
mei 17 03:22:12 server2.005.be sshd[22760]: Failed password for root from 58.218.198.157 port 63486 ssh2
mei 17 03:22:12 server2.005.be sshd[22760]: pam_succeed_if(sshd:auth): requirement "uid >= 1000" not met by user "root"
mei 17 03:22:13 server2.005.be sshd[22751]: pam_succeed_if(sshd:auth): requirement "uid >= 1000" not met by user "root"
mei 17 03:22:14 server2.005.be sshd[22760]: Failed password for root from 58.218.198.157 port 63486 ssh2
mei 17 03:22:15 server2.005.be sshd[22760]: pam_succeed_if(sshd:auth): requirement "uid >= 1000" not met by user "root"
mei 17 03:22:15 server2.005.be sshd[22751]: Failed password for root from 58.218.198.162 port 54621 ssh2
mei 17 03:22:15 server2.005.be sshd[22763]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=116.31.116.28  user=root
mei 17 03:22:15 server2.005.be sshd[22763]: pam_succeed_if(sshd:auth): requirement "uid >= 1000" not met by user "root"
mei 17 03:22:17 server2.005.be sshd[22760]: Failed password for root from 58.218.198.157 port 63486 ssh2
mei 17 03:22:17 server2.005.be sshd[22763]: Failed password for root from 116.31.116.28 port 11334 ssh2
mei 17 03:22:17 server2.005.be sshd[22760]: Received disconnect from 58.218.198.157: 11:  [preauth]
mei 17 03:22:17 server2.005.be sshd[22760]: PAM 2 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=58.218.198.157  user=root
mei 17 03:22:17 server2.005.be sshd[22751]: pam_succeed_if(sshd:auth): requirement "uid >= 1000" not met by user "root"
mei 17 03:22:17 server2.005.be sshd[22766]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=58.218.198.157  user=root
mei 17 03:22:17 server2.005.be sshd[22766]: pam_succeed_if(sshd:auth): requirement "uid >= 1000" not met by user "root"
mei 17 03:22:17 server2.005.be sshd[22763]: pam_succeed_if(sshd:auth): requirement "uid >= 1000" not met by user "root"
mei 17 03:22:19 server2.005.be sshd[22751]: Failed password for root from 58.218.198.162 port 54621 ssh2
mei 17 03:22:19 server2.005.be sshd[22766]: Failed password for root from 58.218.198.157 port 37164 ssh2
mei 17 03:22:19 server2.005.be sshd[22763]: Failed password for root from 116.31.116.28 port 11334 ssh2
mei 17 03:22:19 server2.005.be sshd[22751]: Received disconnect from 58.218.198.162: 11:  [preauth]
mei 17 03:22:19 server2.005.be sshd[22751]: PAM 2 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=58.218.198.162  user=root
mei 17 03:22:20 server2.005.be sshd[22766]: pam_succeed_if(sshd:auth): requirement "uid >= 1000" not met by user "root"
mei 17 03:22:20 server2.005.be sshd[22763]: pam_succeed_if(sshd:auth): requirement "uid >= 1000" not met by user "root"
mei 17 03:22:21 server2.005.be sshd[22766]: Failed password for root from 58.218.198.157 port 37164 ssh2
mei 17 03:22:22 server2.005.be sshd[22766]: pam_succeed_if(sshd:auth): requirement "uid >= 1000" not met by user "root"
mei 17 03:22:22 server2.005.be sshd[22763]: Failed password for root from 116.31.116.28 port 11334 ssh2
mei 17 03:22:23 server2.005.be sshd[22763]: Received disconnect from 116.31.116.28: 11:  [preauth]
mei 17 03:22:23 server2.005.be sshd[22763]: PAM 2 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=116.31.116.28  user=root
mei 17 03:22:23 server2.005.be sshd[22766]: Failed password for root from 58.218.198.157 port 37164 ssh2
mei 17 03:22:24 server2.005.be sshd[22766]: Received disconnect from 58.218.198.157: 11:  [preauth]
mei 17 03:22:24 server2.005.be sshd[22766]: PAM 2 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=58.218.198.157  user=root
lines 1308-1358/1358 (END)

i have aleady try to rebuild, but it's still the same.
i don't know now what to do.
 
Sometimes service started more times ... if you search on internet. ( so restart stop kill whatever don't work, corrupt....)

For us the fastest way is then a reboot from the DAmachine, ofcourse only after to be sure we have actual backups that are good/succesfull. ( we have snapshots image and "normal backups")
 
Hello,

Actually command journalctl -xe results does not show anything relative. It would be more useful to see:

Code:
apachectl -t


 
Back
Top