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.

httpd has failed, please contact the sysadmin.

Discussion in 'General Discussion' started by InternetPEI, Nov 3, 2006.

  1. InternetPEI

    InternetPEI Well-Known Member

    Joined:
    May 26, 2003
    Messages:
    102
    Likes Received:
    0
    Trophy Points:
    16
    Apace shows started when done in SSH
    but shows failed in WHM and no pages load ever since trying to install GD
    I have since retried without the GD and also restored the apache as default with no luck..

    tails dont show anything wrong...


    Any suggestions?
     
  2. celliott

    celliott Well-Known Member

    Joined:
    Jan 2, 2006
    Messages:
    460
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    United Kingdom
    I had this issue on a VPS a few days back, try this:

    Code:

    iptables --flush
    service httpd restart - Or restart in WHM.

    If not then you really need someone to take a look at your server to correct the problem, there isn't really enough info.

    Chris.
     
  3. kernow

    kernow Well-Known Member

    Joined:
    Jul 23, 2004
    Messages:
    865
    Likes Received:
    9
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    From a consol, see what this shows you:
    Code:
    httpd configtest
     
  4. InternetPEI

    InternetPEI Well-Known Member

    Joined:
    May 26, 2003
    Messages:
    102
    Likes Received:
    0
    Trophy Points:
    16
    Hi Chris,

    no luck :(


    [Fri Nov 3 10:15:49 2006] [error] PHP Fatal error: Call to undefined function: imagecreate() in /home/passyour/public_html/includes/imageverification.php on line 19
    [Fri Nov 3 10:15:54 2006] [notice] caught SIGTERM, shutting down


    (missing GD, reason I attempted a rebuild)



    Configtest shows systax ok

    When I attempt /etc/rc.d/init.d/httpd start , shows started, but when I do restart or stop a second later, shows its not running.. Kill shows no processes running..

    WHM, shows the same :(


    Edit:

    Just did a reboot, same.. trying easyapaceh through SSH now
     
  5. InternetPEI

    InternetPEI Well-Known Member

    Joined:
    May 26, 2003
    Messages:
    102
    Likes Received:
    0
    Trophy Points:
    16
    First few times in whm, trying ssh now.. still building
     
  6. celliott

    celliott Well-Known Member

    Joined:
    Jan 2, 2006
    Messages:
    460
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    United Kingdom
    Are you building Apache through WHM or Easyapache? I have always had more luck using Easyapache in SSH.
     
  7. InternetPEI

    InternetPEI Well-Known Member

    Joined:
    May 26, 2003
    Messages:
    102
    Likes Received:
    0
    Trophy Points:
    16
    Latest build in SSH

    Last of the build info:



    initfpsuexec: using apache 1.x support
    PHP version file has been updated to 4.4.3
    Executing /scripts/postbuildapache (if exists)...Done
    /etc/rc.d/init.d/httpd start: httpd started
    initfpsuexec: using apache 1.x support
    Waiting for httpd to restart.........httpd: no process killed
    .....finished.


    httpd has failed, please contact the sysadmin.





    When trying to cehck status:

    # /etc/rc.d/init.d/httpd status

    Looking up localhost
    Making HTTP connection to localhost
    Alert!: Unable to connect to remote host.

    lynx: Can't access startfile http://localhost/server-status
     
  8. patryk

    patryk Active Member

    Joined:
    May 3, 2005
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
    What's appear in error_log?
     
  9. InternetPEI

    InternetPEI Well-Known Member

    Joined:
    May 26, 2003
    Messages:
    102
    Likes Received:
    0
    Trophy Points:
    16
    Not much besides a few missing files and missing gd

    [Fri Nov 3 10:15:38 2006] [error] [client 220.129.209.178] File does not exist: /home/passyour/public_html/404.shtml
    [Fri Nov 3 10:15:46 2006] [error] [client 69.147.14.50] File does not exist: /home/passyour/public_html/kids/games/bmx/bmx-play.html
    [Fri Nov 3 10:15:46 2006] [error] [client 69.147.14.50] File does not exist: /home/passyour/public_html/404.shtml
    [Fri Nov 3 10:15:47 2006] [error] [client 220.129.209.178] File does not exist: /home/passyour/public_html/favicon.ico
    [Fri Nov 3 10:15:47 2006] [error] [client 220.129.209.178] File does not exist: /home/passyour/public_html/404.shtml
    [Fri Nov 3 10:15:47 2006] [error] [client 220.129.209.178] File does not exist: /home/passyour/public_html/favicon.ico
    [Fri Nov 3 10:15:47 2006] [error] [client 220.129.209.178] File does not exist: /home/passyour/public_html/404.shtml
    [Fri Nov 3 10:15:49 2006] [error] PHP Fatal error: Call to undefined function: imagecreate() in /home/passyour/public_html/includes/imageverification.php on line 19
    [Fri Nov 3 10:15:54 2006] [notice] caught SIGTERM, shutting down
     
  10. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Try rebuilding with the verbose option set to see if any errors occur during the building of PHP.
     
Loading...

Share This Page