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.

distaster please help so urgent

Discussion in 'General Discussion' started by s_2_s, Feb 5, 2005.

  1. s_2_s

    s_2_s Well-Known Member

    Joined:
    Aug 9, 2004
    Messages:
    215
    Likes Received:
    0
    Trophy Points:
    16
    hello
    suddenly withut modification anything

    apahe gives for all sites HTTP 400 - Bad Request
    cpanel and whm gives exactly the same and some times says invalid hostname
    i did the following to fix the problem didn't help

    restart httpd
    force cpanel update
    reboot many times
    checking httpd.conf
    restart named
    trying to access whm with thewebsite and port and can login to whm
    checked hostname by typing hostname and viewing /etc/hosts and it was ok
    commented all enteries of mod_sec and all other extra mods i had
    trying to access whm with the ip and port and can login to whm
    all my sites are gives this HTTP 400 - Bad Request
    cannot access whm
     
    #1 s_2_s, Feb 5, 2005
    Last edited: Feb 5, 2005
  2. DigitalN

    DigitalN Well-Known Member

    Joined:
    Sep 23, 2004
    Messages:
    420
    Likes Received:
    1
    Trophy Points:
    18
    tail -100 /usr/local/apache/logs/error_log

    tail -100 /var/log/messages

    tail -100 /usr/local/cpanel/logs/access_log

    hostname

    cat /etc/sysconfig/network

    cat /etc/resolv.conf

    cat /etc/hosts

    dig @localhost your_hostname.com

    dig your_hostname.com

    For a bit of a better picture.
     
  3. s_2_s

    s_2_s Well-Known Member

    Joined:
    Aug 9, 2004
    Messages:
    215
    Likes Received:
    0
    Trophy Points:
    16
    Thanks
    the issue has been solved by using the " ip migration wizard " and replacing main server ip with another ip assighend to the server
    thank you
     
Loading...

Share This Page