Results 1 to 8 of 8
  1. #1
    Join Date
    Apr 2005
    Location
    Tinterweb
    Posts
    555

    Exclamation Httpd Restart Error

    When I restart httpd (Service httpd restart), I receive the following error:

    /etc/init.d/httpd restart: configuration broken, ignoring restart
    /etc/init.d/httpd restart: (run 'apachectl configtest' for details)

    I can run service httpd stop & service httpd start, thats works fine its when i run the httpd restart the start.

    CentOS 4.4
    cPanel/WHM
    Last edited by LP560; 11-12-2006 at 09:39 AM.

  2. #2
    Join Date
    Apr 2001
    Location
    Il
    Posts
    448
    Looks like the new easyapache from cpanel was used and php did not get complied correctly. Might try a new php compile.
    http://www.realwebhost.net
    http://www.realwebhost.net/vps.php
    ICQ 120397604 |MSN : hotmail.com | AIM : rwhsupport | Yahoo: rwhmax

  3. #3
    Join Date
    Apr 2005
    Location
    Tinterweb
    Posts
    555
    Quote Originally Posted by RWH
    Looks like the new easyapache from cpanel was used and php did not get complied correctly. Might try a new php compile.

    Tried compiling several times (/scripts/easyapache)

  4. #4
    Join Date
    Apr 2001
    Location
    Il
    Posts
    448
    /etc/init.d/httpd restart
    /usr/local/apache/bin/apachectl restart
    http://www.realwebhost.net
    http://www.realwebhost.net/vps.php
    ICQ 120397604 |MSN : hotmail.com | AIM : rwhsupport | Yahoo: rwhmax

  5. #5
    Join Date
    Apr 2001
    Location
    Il
    Posts
    448
    /usr/local/apache/bin/apachectl stop
    and /usr/local/apache/bin/apachectl start
    http://www.realwebhost.net
    http://www.realwebhost.net/vps.php
    ICQ 120397604 |MSN : hotmail.com | AIM : rwhsupport | Yahoo: rwhmax

  6. #6
    Join Date
    Apr 2005
    Location
    Tinterweb
    Posts
    555
    [email protected] [~]# /usr/local/apache/bin/apachectl start
    Syntax error on line 9547 of /usr/local/apache/conf/httpd.conf:
    Invalid command 'SSLEnable', perhaps mis-spelled or defined by a module not included in the server configuration
    /usr/local/apache/bin/apachectl start: httpd could not be started


    /usr/local/apache/bin/apachectl restart
    /usr/local/apache/bin/apachectl restart: configuration broken, ignoring restart
    /usr/local/apache/bin/apachectl restart: (run 'apachectl configtest' for details)

  7. #7
    Join Date
    Apr 2001
    Location
    Il
    Posts
    448
    might be the script restart srv may not have the correct binaries specified
    http://www.realwebhost.net
    http://www.realwebhost.net/vps.php
    ICQ 120397604 |MSN : hotmail.com | AIM : rwhsupport | Yahoo: rwhmax

  8. #8
    Join Date
    Apr 2001
    Location
    Il
    Posts
    448
    file /scripts/restartsrv_httpd


    if ( $restart && ! $disabled ) {
    $iscript = getinitfile($service,$system);
    #--restart or nothing (restart service)
    if ($iscript) {
    nooutputsystem("$iscript","stop");
    doomedprocess($service);
    system("$iscript","start");
    } else {
    doomedprocess($service);
    system("/usr/local/apache/bin/apachectl","startssl");
    }
    http://www.realwebhost.net
    http://www.realwebhost.net/vps.php
    ICQ 120397604 |MSN : hotmail.com | AIM : rwhsupport | Yahoo: rwhmax

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •