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.

Apache Stoped working

Discussion in 'EasyApache' started by flashweb, Aug 12, 2004.

  1. flashweb

    flashweb Well-Known Member

    Joined:
    Mar 13, 2003
    Messages:
    243
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Hi,

    Today my httpd start taking too much CPU load and caused by server to not responding two times. After the second reboot, my server come online with normal CPU load.

    But Apache Failed to work

    Code:
    # service httpd start
    /etc/init.d/httpd start: httpd (pid 8537) already running
    
    # service httpd stop
    /etc/init.d/httpd stop: httpd stopped
    I have run /scripts/easyapache

    at the end i got the error message

    Code:
    Waiting for httpd to restart..............finished.
    
    ./build install
    Waiting for httpd to restart..............finished.
    
    Can't connect at /scripts/restartsrv line 242, <TAIL> line 78247.
    
    Still apache failed to start.

    httpd.conf file is ok

    HTML:
    # /usr/local/apache/bin/apachectl configtest
    Warning: DocumentRoot [/home/thodiyil/public_html/admin] does not exist
    Warning: DocumentRoot [/home/computin/public_html/education] does not exist
    Syntax OK
    
    How do i make apache running ?

    Regards,

    Yujin
     
  2. haze

    haze Well-Known Member

    Joined:
    Dec 21, 2001
    Messages:
    1,550
    Likes Received:
    3
    Trophy Points:
    38
    Remove the httpd.conf entries pertaining to these:

    Code:
    Warning: DocumentRoot [/home/thodiyil/public_html/admin] does not exist
    Warning: DocumentRoot [/home/computin/public_html/education] does not exist
    and run service httpd configtest again then service httpd restart if its all clear.
     
Loading...

Share This Page