Author Topic: Could not Restart Apache  (Read 4153 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Could not Restart Apache
« on: April 17, 2019, 10:47:59 AM »
My Apache is show

Quote
Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.

Log:

Quote
Apr 17 12:46:18 vps185672 systemd: httpd.service: control process exited, code=exited status=1
Apr 17 12:46:18 vps185672 systemd: Failed to start Web server Apache.
Apr 17 12:46:18 vps185672 systemd: Unit httpd.service entered failed state.
Apr 17 12:46:18 vps185672 systemd: httpd.service failed.
Apr 17 12:46:23 vps185672 kernel: Firewall: *TCP_IN Blocked* IN=eth0 OUT= MAC=fa:16:3e:60:bb:07:8a:5e:f7:e8:fc:56:08:00 SRC=89.248.168.196 DST=139.99.106.62 LEN=40 TOS=0x00 PREC=0x00 TTL=240 ID=35743 PROTO=TCP SPT=55208 DPT=571 WINDOW=1024 RES=0x00 SYN URGP=0
Apr 17 12:46:27 vps185672 kernel: Firewall: *TCP_IN Blocked* IN=eth0 OUT= MAC=fa:16:3e:60:bb:07:8a:5e:f7:e8:fc:56:08:00 SRC=193.188.22.104 DST=139.99.106.62 LEN=40 TOS=0x00 PREC=0x00 TTL=239 ID=14452 PROTO=TCP SPT=57937 DPT=6580 WINDOW=1024 RES=0x00 SYN URGP=0
Apr 17 12:46:50 vps185672 kernel: Firewall: *TCP_IN Blocked* IN=eth0 OUT= MAC=fa:16:3e:60:bb:07:8a:5e:f7:e8:fc:56:08:00 SRC=209.17.96.194 DST=139.99.106.62 LEN=44 TOS=0x00 PREC=0x00 TTL=240 ID=54321 PROTO=TCP SPT=63366 DPT=8000 WINDOW=65535 RES=0x00 SYN URGP=0
Apr 17 12:47:02 vps185672 kernel: Firewall: *TCP_IN Blocked* IN=eth0 OUT= MAC=fa:16:3e:60:bb:07:8a:5e:f7:e8:fc:56:08:00 SRC=185.176.27.178 DST=139.99.106.62 LEN=40 TOS=0x00 PREC=0x00 TTL=237 ID=22149 PROTO=TCP SPT=53747 DPT=5900 WINDOW=1024 RES=0x00 SYN URGP=0

Plz help! Tks All

Offline
*
Re: Could not Restart Apache
« Reply #1 on: April 17, 2019, 11:31:37 AM »
 :-[ :-[ Help me plz

Offline
***
Re: Could not Restart Apache
« Reply #2 on: April 18, 2019, 04:06:41 AM »
CentOS7 have a different way to logging events, due to using systemd, mainly to start/restart/stop program events.

You must post here the output of the command:
Code: [Select]
# systemctl status httpd.service

Regards,
Netino
« Last Edit: April 18, 2019, 04:08:19 AM by Netino »

Offline
*****
Re: Could not Restart Apache
« Reply #3 on: April 18, 2019, 05:51:34 AM »
Hi.
You can also testing by the commands below:

Code: [Select]
/usr/local/apache/bin/httpd -t
tail -n 50 /usr/local/apache/logs/error.log
You can ask me to solve any problem with your server for some money in pm  ;)
Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor
Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services