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 failures

Discussion in 'General Discussion' started by kris1351, Jul 24, 2005.

  1. kris1351

    kris1351 Well-Known Member

    Joined:
    Apr 18, 2003
    Messages:
    963
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Lewisville, Tx
    Just to save some time for other people it seems tonight's upcp could mess up httpd.conf. We spent about 40 minutes looking for the shared lib modules it said were suddenly missing. Just run /scripts/easyapache and it fixes the issue. This occured on every server we run and when httpd.conf restarted on one server we noticed the error. Hopefully this is an isolated incident somehow, but if not maybe this will help out. The error was:

    Syntax error on line 224 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/rc.d/init.d/httpd start: httpd could not be started
     
  2. fcarsenal

    fcarsenal Member

    Joined:
    Jun 29, 2004
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Do a
    # rpm -qa | grep SQL

    It may point out to a mysql client or shared version error.
     
  3. kris1351

    kris1351 Well-Known Member

    Joined:
    Apr 18, 2003
    Messages:
    963
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Lewisville, Tx
    No everything was fine on the server as I said. For some reason in the nightly upcp run there was a change made in httpd.conf that botched the shared libraries and you have to recompile apache. Takes all of 10 min to do, just annoying.
     
  4. abubin

    abubin Well-Known Member

    Joined:
    Dec 7, 2004
    Messages:
    393
    Likes Received:
    1
    Trophy Points:
    18
    ah..thanks for the tipoff. I saw few people having this problem when their httpd.conf file got changed along with the update. Not sure whether I should do the update.

    Anyone know what is the update on httpd.conf for?
     
  5. kris1351

    kris1351 Well-Known Member

    Joined:
    Apr 18, 2003
    Messages:
    963
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Lewisville, Tx
    The previous problem was with security finally being applied by Cpanel on httpd.conf. It caused Fantastico not to show the link in customer Cpanels. This is resolved by Fantastico so you can update at anytime. Kosmo worked fast to get that sorted out. The problem I listed is hopefully just isolated as there was a missing mysql lib and httpd was calling the incorrect path after the re-install.
     
  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