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.

Need urgent help for httpd

Discussion in 'General Discussion' started by Mr_Stepfire, Aug 19, 2005.

  1. Mr_Stepfire

    Mr_Stepfire Active Member

    Joined:
    Dec 20, 2004
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    The Netherlands
    have some problems with starting apache.
    I have already rebuild apache and reinstalled mysql.
    But that didn't help me much...

    I get the next error:
    [/scripts]# service httpd restart
    /etc/init.d/httpd restart: httpd not running, trying to start
    Syntax error on line 218 of /usr/local/apache/conf/httpd.conf:
    Cannot load /usr/local/apache/libexec/libphp4.so into server: libmysqlclient.so.12: cannot open shared object file: No such file or directory
    /etc/init.d/httpd restart: httpd could not be started
     
  2. Mr_Stepfire

    Mr_Stepfire Active Member

    Joined:
    Dec 20, 2004
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    The Netherlands
    this porblem is sovled now...
    New i have a new problem....

    [/scripts]# service httpd restart
    /etc/init.d/httpd restart: httpd not running, trying to start
    Syntax error on line 1083 of /usr/local/apache/conf/httpd.conf:
    Invalid command 'BytesLog', perhaps mis-spelled or defined by a module not included in the server configuration
    /etc/init.d/httpd restart: httpd could not be started
     
  3. leorevenda

    leorevenda Active Member
    PartnerNOC

    Joined:
    Jan 24, 2004
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    you httpd.conf is corrupt, try to restore you last backup
     
  4. adept2003

    adept2003 Well-Known Member

    Joined:
    Aug 11, 2003
    Messages:
    283
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    ~ "/(extra|special)/data"
    Run /usr/local/apache/bin/apachectl configtest to check the httpd.conf syntax.
     
  5. rusel

    rusel BANNED

    Joined:
    Aug 1, 2005
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Poland
    hey, try to run /scripts/rebuildhttpdconf , /scripts/restartsrv_apache, should works, Regards ;)
     
  6. raikd

    raikd Member

    Joined:
    Jun 25, 2005
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    I too got this error ..

    I get the next error:
    [/scripts]# service httpd restart
    /etc/init.d/httpd restart: httpd not running, trying to start
    Syntax error on line 218 of /usr/local/apache/conf/httpd.conf:
    Cannot load /usr/local/apache/libexec/libphp4.so into server: libmysqlclient.so.12: cannot open shared object file: No such file or directory
    /etc/init.d/httpd restart: httpd could not be started



    But the following worked for me ..

    /scripts/perlinstaller --force Bundle:BD::mysql
    Then recompile apache with easyapache script .. /scripts/easyapache
     
Loading...

Share This Page