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.

disable firewall (iptables, cphulkd) still cannot login

Discussion in 'General Discussion' started by laluvirtual, Nov 11, 2015.

  1. laluvirtual

    laluvirtual Member

    Joined:
    Aug 31, 2006
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    Dear all,
    today i cannot access to login page of my whm/cpanel with or without https but i can login via ssh. i already disable firewall (see command bellow) but its still not work. and i also try
    Code:
    =============
    root@serv1 [~]# service iptables save
    iptables: Saving firewall rules to /etc/sysconfig/iptables:[  OK  ]
    root@serv1 [~]# service iptables stop
    iptables: Setting chains to policy ACCEPT: filter          [  OK  ]
    iptables: Flushing firewall rules:                         [  OK  ]
    iptables: Unloading modules:                               [  OK  ]
    root@serv1 [~]# chkconfig iptables off
    root@serv1 [~]# /usr/local/cpanel/etc/init/stopcphulkd
    Waiting for “cphulkd” to stop ……
    …finished.
    
    cphulkd stopped successfully.
    root@serv1 [~]# /usr/local/cpanel/bin/cphulk_pam_ctl --disable
    root@serv1 [~]#
    ==============
    
    thank you
     
    #1 laluvirtual, Nov 11, 2015
    Last edited by a moderator: Nov 11, 2015
  2. anton_latvia

    anton_latvia Well-Known Member
    PartnerNOC

    Joined:
    May 11, 2004
    Messages:
    348
    Likes Received:
    3
    Trophy Points:
    18
    Location:
    Latvia
    cPanel Access Level:
    Root Administrator
    are there active firewall rules? if you try with

    iptables -L -n | grep your_ip_here
     
  3. laluvirtual

    laluvirtual Member

    Joined:
    Aug 31, 2006
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    no there is no active firewall

    Code:
    =============
    root@serv1 [~]# iptables -L -n | grep <my_ip>
    root@serv1 [~]#
    root@serv1 [~]# service iptables status
    Table: filter
    Chain INPUT (policy ACCEPT)
    num  target     prot opt source               destination
    1    acctboth   all  --  0.0.0.0/0            0.0.0.0/0
    
    Chain FORWARD (policy ACCEPT)
    num  target     prot opt source               destination
    
    Chain OUTPUT (policy ACCEPT)
    num  target     prot opt source               destination
    1    acctboth   all  --  0.0.0.0/0            0.0.0.0/0
    ==============
    
     
    #3 laluvirtual, Nov 11, 2015
    Last edited by a moderator: Nov 11, 2015
  4. anton_latvia

    anton_latvia Well-Known Member
    PartnerNOC

    Joined:
    May 11, 2004
    Messages:
    348
    Likes Received:
    3
    Trophy Points:
    18
    Location:
    Latvia
    cPanel Access Level:
    Root Administrator
    Are you sure there are no blocking on other level (datacenter or your ISP)?
    Also try restarting cpanel service.
     
  5. laluvirtual

    laluvirtual Member

    Joined:
    Aug 31, 2006
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    let me check it to make sure
    yes i already do this

    thanks
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    651
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Could you verify what happens when attempting to access cPanel/WHM? Have you tried using the proxy subdomains feature (e.g. cpanel.yourdomain.com) in-case your ISP is blocking access to the default cPanel/WHM ports?

    Thank you.
     
Loading...

Share This Page