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.

WHM problem

Discussion in 'General Discussion' started by publicwebserver, Apr 5, 2008.

  1. publicwebserver

    publicwebserver Registered

    Joined:
    Apr 5, 2008
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Hi,
    I installed whm/cpanel on a fresh centos 5 server a few days ago, got liscence activated earlier and then started configuring my server in WHM.
    Un-fortunatley i appear to have done soemthing wrong as now when i try to go to the whm or cpanel url it just wont go (see http://194.24.188.203/whm)

    Does anyone have any advice on what i can do to diagnose the problem as logs don't appear to be reporting anything.
    Or is there a way to restore the cpanel settings to the default settings used at install?

    thanks for your time,
    Dave.

    Recieved the following emails (several copies of them) a few minutes ago

    cpsrvd failed @ Sat Apr 5 10:20:37 2008. A restart was attempted automagically.

    AND

    IMPORTANT: Do not ignore this email.
    The hostname (dedicated-543.pointserv.co.uk) resolves to . It should resolve to 194.24.188.203. Please be sure to correct /etc/hosts as well as the 'A' entry in zone file for the domain.

    Some are all of these problems can be caused by
    /etc/resolv.conf being setup incorrectly. Please check this file if you
    believe everything else is correct.


    You may be able to
    automaticly correct this problem by using the ' Add an A entry for your
    hostname ' under ' Dns Functions ' in your Web Host Manager
     
    #1 publicwebserver, Apr 5, 2008
    Last edited: Apr 5, 2008
  2. publicwebserver

    publicwebserver Registered

    Joined:
    Apr 5, 2008
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Solved

    Ok, problem solved now.
    There was a firewall blocking the ports.

    If your having this porblem use iptables -L to list the rules then iptables -F to get rid of them.

    good luck,
    Dave
     
  3. mctDarren

    mctDarren Well-Known Member

    Joined:
    Jan 6, 2004
    Messages:
    664
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    New Jersey
    cPanel Access Level:
    Root Administrator
    Flushing the iptables rules is a temporary solution if you use a managing script, like APF or CSF. As soon as they reload, the problem will reappear. You need to open the right ports and allow traffic flow to/from the box, while also blocking unused ports as configured in the script. Check to see that your problem doesn't return after a bit.
     
Loading...

Share This Page