Osama Tariq

Well-Known Member
Nov 27, 2014
206
2
18
Lahore, Pakistan
cPanel Access Level
Root Administrator
Twitter
I dig out that apache service is not able to start, below is the output of http status.

Code:
systemctl status httpd.service -l
● httpd.service - Apache web server managed by cPanel EasyApache
   Loaded: loaded (/etc/systemd/system/httpd.service; enabled; vendor preset: disabled)
   Active: active (running) since Wed 2016-11-16 19:40:56 UTC; 1min 47s ago
  Process: 1643 ExecStart=/usr/local/cpanel/scripts/restartsrv_httpd --no-verbose (code=exited, status=0/SUCCESS)
Main PID: 1682 (httpd)
   CGroup: /system.slice/httpd.service
           ├─1682 /usr/sbin/httpd -k start
           ├─1683 /usr/local/cpanel/3rdparty/bin/perl /usr/local/cpanel/bin/leechprotect
           ├─1684 /usr/sbin/httpd -k start
           ├─1685 /usr/sbin/httpd -k start
           ├─1686 /usr/sbin/httpd -k start
           ├─1687 /usr/sbin/httpd -k start
           └─1688 /usr/sbin/httpd -k start

Nov 16 19:40:56 Cpanel.local.in systemd[1]: Starting Apache web server managed by cPanel EasyApache...
Nov 16 19:40:56 Cpanel.local.in systemd[1]: PID file /var/run/apache2/httpd.pid not readable (yet?) after start.
Nov 16 19:40:56 Cpanel.local.in systemd[1]: Started Apache web server managed by cPanel EasyApache.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,267
463

SysSachin

Well-Known Member
Aug 23, 2015
604
49
28
India
cPanel Access Level
Root Administrator
Twitter
Hello,

Try to access WHM using server hostname.
Login to server through SSH and run "hostname" command to check hostname

Use http://serverhostname:2086
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,267
463
I have installed csf instead of iptables, now it's working and accessible.
Thanks to all for the cooperation.
I'm happy to see the issue is now resolved. Thank you for updating us with the outcome.