The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Unable to Access WebHost Manager

Discussion in 'General Discussion' started by Osama Tariq, Nov 16, 2016.

  1. Osama Tariq

    Osama Tariq Well-Known Member

    Joined:
    Nov 27, 2014
    Messages:
    205
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Lahore, Pakistan
    cPanel Access Level:
    Root Administrator
    Twitter:
    I have installed cpanel/whm on lxc/lxd locally but whm is not accessible, I have attached screenshot alongside this thread.
     

    Attached Files:

    • s1.png
      s1.png
      File size:
      122.8 KB
      Views:
      6
    • s2.png
      s2.png
      File size:
      393.4 KB
      Views:
      6
  2. Eric

    Eric Administrator
    Staff Member

    Joined:
    Nov 25, 2007
    Messages:
    752
    Likes Received:
    11
    Trophy Points:
    143
    Location:
    Texas
    cPanel Access Level:
    Root Administrator
  3. Osama Tariq

    Osama Tariq Well-Known Member

    Joined:
    Nov 27, 2014
    Messages:
    205
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Lahore, Pakistan
    cPanel Access Level:
    Root Administrator
    Twitter:
    This site can’t be reached
     
  4. Osama Tariq

    Osama Tariq Well-Known Member

    Joined:
    Nov 27, 2014
    Messages:
    205
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    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.
    
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,029
    Likes Received:
    1,277
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
  6. Osama Tariq

    Osama Tariq Well-Known Member

    Joined:
    Nov 27, 2014
    Messages:
    205
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Lahore, Pakistan
    cPanel Access Level:
    Root Administrator
    Twitter:
    There is no csf and apf installed in server. And no rules present in iptables.

    Moreover my base machine ip is 192.168.1.99 and lxc machine ip is 10.10.10.190
     
    #6 Osama Tariq, Nov 17, 2016
    Last edited by a moderator: Nov 17, 2016
  7. SysSachin

    SysSachin Well-Known Member

    Joined:
    Aug 23, 2015
    Messages:
    542
    Likes Received:
    39
    Trophy Points:
    28
    Location:
    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
     
  8. Osama Tariq

    Osama Tariq Well-Known Member

    Joined:
    Nov 27, 2014
    Messages:
    205
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Lahore, Pakistan
    cPanel Access Level:
    Root Administrator
    Twitter:
    Still...
    This site can’t be reached
    cpanel.local.in’s server DNS address could not be found.
     
  9. SysSachin

    SysSachin Well-Known Member

    Joined:
    Aug 23, 2015
    Messages:
    542
    Likes Received:
    39
    Trophy Points:
    28
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    I think 2086 and 2087 port is not open on your server. Please check the port is enable or not ?
     
  10. Osama Tariq

    Osama Tariq Well-Known Member

    Joined:
    Nov 27, 2014
    Messages:
    205
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Lahore, Pakistan
    cPanel Access Level:
    Root Administrator
    Twitter:
    I have installed csf instead of iptables, now it's working and accessible.
    Thanks to all for the cooperation.
     
  11. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,029
    Likes Received:
    1,277
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    I'm happy to see the issue is now resolved. Thank you for updating us with the outcome.
     
Loading...

Share This Page