Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Jul 2008
    Posts
    6

    Default Cpanel/ Whm not working after fresh installation

    Hi,
    after fresh installation in our CentOS Server and following all the steps in Quick Start Installation Guide
    We can not get https://$IP:2087.

    however we got cPanel Layer 2 Install Complete after following above steps without any error ?
    do anyone have any idea ? what went wrong ?

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Jun 2004
    Posts
    313
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    CentOS has default iptables (firewall) rules that block access to cPanel ports out of the box. You can flush them with `iptables -F` and also remove them from /etc/sysconfig/iptables to prevent them from coming back on a system reboot or service restart.
    NDCHost (ProVPS): Xen VPS / Dedicated / Co-Location
    Contact us for your cPanel Licensing needs! We price match, provide better support, and take care of our customers!

  3. #3
    Member
    Join Date
    Jul 2008
    Posts
    6

    Default Thank You

    Great it worked like charmed !!! thank you

  4. #4
    Member
    Join Date
    Jul 2008
    Posts
    6

    Default

    Ok,

    Things come back when i restarted the server i have to again remove the IP from firewall, is there anyway from where i can permentely remove th IP from firewall so even after restart the server keep whm working.

    Regards,
    Shashi Kant

  5. #5
    BANNED
    Join Date
    Jun 2005
    Location
    Wild Wild West
    Posts
    2,025

    Default

    What garrettp told you should take care of all that unless you have another firewall script pre-installed somewhere that is resetting iptables such as APF, CSF, or some other (a couple of data centers have their own proprietary scripts).

    The "iptables -F" temporarily flushes iptables

    The "rm -f -- /etc/sysconfig/iptables" removes the entries permanently

    Don't forget to restart "service iptables restart ; service cpanel restart"

    If you reboot and get the blocks back then you got something else going on and I would say you have some other firewall script active or you are on an old traditional VPS server (Eeeewww! ) and they got you setup to load a standard image at each boot. In the later case, your only recourse outside of moving would be to setup a script to auto make the changes you need after each reboot.

    You can always disable iptables temporarily till you finish getting Cpanel installed which incidentally is a whole lot more than just simply running http://layer1.cpanel.net/latest which would be only about 1% of what all you need to do to get Cpanel up and running properly.

    Regarding what I just said:
    Code:
    service iptables stop
    chkconfig iptables off
    (NOTE: I absolutely do not recommend that be used for anything permanent!)

Similar Threads & Tags
Similar threads

  1. Fresh Installation of cPanel: What to do now?
    By dwpegues in forum New User Questions
    Replies: 0
    Last Post: 12-24-2009, 09:56 AM
  2. Fresh Cpanel Install Not Working
    By niceguy167 in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 09-14-2009, 09:23 PM
  3. WHM not working after complete installation
    By Tornado in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-10-2009, 12:30 PM
  4. Replies: 3
    Last Post: 03-25-2005, 06:30 PM
  5. New fresh Redhat9+cpanel, httpd, ftp are not working
    By Stephen in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 08-26-2003, 02:53 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube