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.

Bug during Apache/PHP compile

Discussion in 'EasyApache' started by trparky, Sep 15, 2005.

  1. trparky

    trparky Well-Known Member

    Joined:
    Apr 23, 2003
    Messages:
    184
    Likes Received:
    1
    Trophy Points:
    0
    Syntax error on line 210 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

    So, I did some investigatation and found this...

    root@server [/usr/lib]# ls -al | grep mysql
    lrwxrwxrwx 1 root root 26 Sep 15 22:21 libmysqlclient_r.so -> libmysqlclient_r.so.14.0.0*
    lrwxrwxrwx 1 root root 26 Sep 15 22:21 libmysqlclient_r.so.14 -> libmysqlclient_r.so.14.0.0*
    -rwxr-xr-x 1 root root 1227559 Jul 18 09:27 libmysqlclient_r.so.14.0.0*
    lrwxrwxrwx 1 root root 24 Sep 15 22:21 libmysqlclient.so -> libmysqlclient.so.14.0.0*
    lrwxrwxrwx 1 root root 20 Sep 15 22:22 \tlibmysqlclient.so.12\ \=>\ not\ found -> libmysqlclient.so.14*
    lrwxrwxrwx 1 root root 24 Sep 15 22:21 libmysqlclient.so.14 -> libmysqlclient.so.14.0.0*
    -rwxr-xr-x 1 root root 1219682 Jul 18 09:28 libmysqlclient.so.14.0.0*
    drwxr-xr-x 2 root root 4096 Sep 15 22:21 mysql/

    I have marked what I find wierd in bold.

    Only after I do this...
    root@server [/usr/lib]# ln -s libmysqlclient.so.14 libmysqlclient.so.12
    Does Apache and PHP work again.
     
  2. eglwolf

    eglwolf Well-Known Member

    Joined:
    Jan 1, 2004
    Messages:
    168
    Likes Received:
    0
    Trophy Points:
    16
    Did you find a solution to this?
     
  3. tjfulopp

    tjfulopp Member

    Joined:
    Sep 22, 2005
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Slovakia / Belgium
    Hell, same problem.. php broken after upgrade! This is crazy. Anybody has got a solution?
     
  4. eglwolf

    eglwolf Well-Known Member

    Joined:
    Jan 1, 2004
    Messages:
    168
    Likes Received:
    0
    Trophy Points:
    16
    I had to recompile apache with version 4.4.0 php to get it to work again.
     
  5. tjfulopp

    tjfulopp Member

    Joined:
    Sep 22, 2005
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Slovakia / Belgium
    Thanks for your answer. Actually, that's what I ended doing as well. I was not able to use PHP 5.0.3. nor 5.0.4. :(
     
  6. DN-Paul

    DN-Paul Well-Known Member

    Joined:
    Oct 30, 2003
    Messages:
    91
    Likes Received:
    0
    Trophy Points:
    6
    Anyone got a solution?
    I just found this problem too and php 4.x is unacceptable since more of our scripts require php5 :(
     
    #6 DN-Paul, Sep 28, 2005
    Last edited: Sep 28, 2005
  7. firexit

    firexit Active Member

    Joined:
    Nov 4, 2004
    Messages:
    29
    Likes Received:
    1
    Trophy Points:
    8
    same issue in 2 diffrent clean installion

    using centOS 4.1
    and
    WHM 10.6.0 cPanel 10.8.0-R27
    CentOS 4.1 i686 - WHM X v3.1.0

    after upgrading the mysql to ver 4.1.13 and recompliing apache i get the same error
     
  8. DN-Paul

    DN-Paul Well-Known Member

    Joined:
    Oct 30, 2003
    Messages:
    91
    Likes Received:
    0
    Trophy Points:
    6
    Oh yeah, all the boxes I'm having the problem on are RHE3 latest "RELEASE" cpanel, mysql 4.1.13.

    On one I've tried ln -s libmysqlclient.so.14 libmysqlclient.so.12 as mentioned above, after doing so apache starts but php dosen't work (any php scripts requested from the server are offered as a download rather than being parsed and the output shown)
     
  9. dreamwiz

    dreamwiz Well-Known Member

    Joined:
    Aug 28, 2003
    Messages:
    93
    Likes Received:
    0
    Trophy Points:
    6
    same here, any official word from cpanel?
     
  10. DN-Paul

    DN-Paul Well-Known Member

    Joined:
    Oct 30, 2003
    Messages:
    91
    Likes Received:
    0
    Trophy Points:
    6
    Nope. And no-one has looked at it in bugzilla (#3290), even though it's marked as "blocker" (since it is for me as I have 2 boxes out of action at the moment).
     
  11. tjfulopp

    tjfulopp Member

    Joined:
    Sep 22, 2005
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Slovakia / Belgium
    This is crazy. It is not any obscure or hard-to-trace problem, it must be very obvious to cPanel folks that this just does not work and needs urgent fixing. The question is why do they not care?
     
  12. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Have you logged a ticket with cPanel through your cPanel license provider to get their official response to the issue? Have you also voted for the bug? You should do both if you want to bring it to their attention. The more tickets they get about a specific issue from different people the more likely they're going to be able to fix it for you.
     
  13. dreamwiz

    dreamwiz Well-Known Member

    Joined:
    Aug 28, 2003
    Messages:
    93
    Likes Received:
    0
    Trophy Points:
    6
    i have been voting for the bug and even opened a ticket with my cpanel licenser and cpanel itself. Any of these actions has led to no results.. even tried to bring this issue on #cpanel in case some of cpanel staff would take a look at it.

    This bug has been around for quite some while now.. and it is a blocker. I cant really say else except im seriously considering to migrate away from Cpanel to some other controlpanel who takes their bugs more seriously...
     
  14. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    That is frustrating. I was just checking that you'd covered the bases, which you have :(
     
  15. DN-Paul

    DN-Paul Well-Known Member

    Joined:
    Oct 30, 2003
    Messages:
    91
    Likes Received:
    0
    Trophy Points:
    6
    Anyone had a response from cpanel?

    I'll be removing cpanel from all our boxes and recommending our clients remove it from theirs if this hasn't been looked into by the end of the week.
     
  16. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    How long have you had a ticket open with them for the issue?
     
  17. Miraenda

    Miraenda Well-Known Member

    Joined:
    Jul 28, 2004
    Messages:
    242
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Coralville, Iowa USA
    We ran into this issue and to correct it, we simply did the following:

    Code:
    ln -s /usr/lib/libmysqlclient.so.14 /usr/lib/libmysqlclient.so.12
    After this, Apache restarted fine. This suggestion was via http://forums.cpanel.net/showthread.php?t=42398 thread.

    We are running PHP5 and MySQL 4.1.13-standard, so you do not have to downgrade to PHP4.4.0 to get it working at all.
     
  18. Miraenda

    Miraenda Well-Known Member

    Joined:
    Jul 28, 2004
    Messages:
    242
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Coralville, Iowa USA
    Hit quote instead of edit, please see reply above...
     
  19. DN-Paul

    DN-Paul Well-Known Member

    Joined:
    Oct 30, 2003
    Messages:
    91
    Likes Received:
    0
    Trophy Points:
    6
    You must have been having a different problem to us, we were having this problem, as now confirmed by cpanel:

    Shame I only have 1 cpanel box left now, and since it's a production box don't want to run untested patches on it :(
     
  20. PanelGuy

    PanelGuy Well-Known Member

    Joined:
    Oct 13, 2004
    Messages:
    106
    Likes Received:
    0
    Trophy Points:
    16
    Php 5.0.4

    When can we expect a fix?
     
Loading...

Share This Page