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.

how httpd problem.. please look at this

Discussion in 'General Discussion' started by rastoma, Feb 9, 2002.

  1. rastoma

    rastoma Well-Known Member

    Joined:
    Aug 27, 2001
    Messages:
    158
    Likes Received:
    0
    Trophy Points:
    16
    Well.. everything was running ok until cpanel did it's automated update... now apache will not start and when restarting from cpanel, I get this error:

    Looking up localhost Making HTTP connection to localhost Alert!: Unable to connect to remote host. lynx: Can't access startfile http://localhost/server-status


    Should I reinstall cpanel over itself? Will that hurt anything? Is there a way to completely remove cpanel and reload it?
     
  2. snowgod

    snowgod Well-Known Member

    Joined:
    Sep 23, 2001
    Messages:
    73
    Likes Received:
    0
    Trophy Points:
    6
    This is OK. Just ignore this error.
     
  3. Pete

    Pete Well-Known Member

    Joined:
    Dec 19, 2001
    Messages:
    74
    Likes Received:
    0
    Trophy Points:
    6
    Go in and edit your httpd.conf file.. Look for :
    &Location /server-status&
    Need to change it to something like:
    &Location /server-status&
    Order deny,allow
    Deny from all
    Allow from (enter your machine name and domain here)

    Hopefully that will take care of the error message.
     
  4. Pete

    Pete Well-Known Member

    Joined:
    Dec 19, 2001
    Messages:
    74
    Likes Received:
    0
    Trophy Points:
    6
    darn, darn, darn, PLEASE PLEASE put back the &EDIT& function for these messages...

    Above where I typed &dely& that should have been &deny&...
     
  5. ace

    ace Active Member

    Joined:
    Sep 24, 2001
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
    [quote:e28336f01c][i:e28336f01c]Originally posted by Pete[/i:e28336f01c]

    darn, darn, darn, PLEASE PLEASE put back the &EDIT& function for these messages...

    Above where I typed &dely& that should have been &deny&...
    [/quote:e28336f01c]

    It's not nick's fault, it was off by default. ;)
     
  6. bdraco

    bdraco Guest

    [quote:2dc2d81d72][i:2dc2d81d72]Originally posted by ace[/i:2dc2d81d72]

    [quote:2dc2d81d72][i:2dc2d81d72]Originally posted by Pete[/i:2dc2d81d72]

    darn, darn, darn, PLEASE PLEASE put back the &EDIT& function for these messages...

    Above where I typed &dely& that should have been &deny&...
    [/quote:2dc2d81d72]

    It's not nick's fault, it was off by default. ;)[/quote:2dc2d81d72]

    Should be on now :)
     
  7. rastoma

    rastoma Well-Known Member

    Joined:
    Aug 27, 2001
    Messages:
    158
    Likes Received:
    0
    Trophy Points:
    16
    [quote:ecba7b51b6][i:ecba7b51b6]Originally posted by Pete[/i:ecba7b51b6]

    Go in and edit your httpd.conf file.. Look for :
    &Location /server-status&
    Need to change it to something like:
    &Location /server-status&
    Order deny,allow
    Deny from all
    Allow from (enter your machine name and domain here)

    Hopefully that will take care of the error message.
    [/quote:ecba7b51b6]

    Thanks... that and along with remove a reference to mod_throttle that wasn't valid got httpd to run again.

    but NOW..I can't log into whm.. when I try to enter with port 2087 it just goes to a blank page cannot be found page. When entering just the IP# i get the default apache page.
     
  8. feanor

    feanor Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    836
    Likes Received:
    0
    Trophy Points:
    16
    killall -9 portsentry
    /etc/rc.d/init.d/cpanel3 restart

    If you still can't connect after that... perhaps you are blocking 2087 via tcp wrappers internally , OR SSL is completely hosed on your box.

    Can you get to 2086 ?
     
Loading...

Share This Page