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 error_log, can't find anything with search

Discussion in 'EasyApache' started by BrooksBridges, Jul 25, 2006.

  1. BrooksBridges

    BrooksBridges Well-Known Member

    Joined:
    Sep 2, 2004
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    6
    hey all, I've been searching for a while for anything related to this, and haven't found a thing either here or on Google.

    here's the issue:

    /usr/local/apache/logs/error_log is filling up with line after line of this:

    Code:
    /usr/bin/php: /usr/lib/libmysqlclient.so.14: no version information available (required by /usr/bin/php)
    /usr/bin/php: /usr/lib/libmysqlclient.so.14: no version information available (required by /usr/bin/php)
    /usr/bin/php: /usr/lib/libmysqlclient.so.14: no version information available (required by /usr/bin/php)
    
    checking that particular file shows this:

    Code:
    lrwxrwxrwx  1 root root 20 Jul 20 22:49 /usr/lib/libmysqlclient.so.14 -> libmysqlclient.so.12*
    I'm also getting "500 Internal Server Error" on what appears to be random php pages on the server. I've checked, rechecked, and double checked permissions and ownership, but so far nothing has helped.

    Can ANYONE shed some light on this? It's been baffling me for a couple days now...

    Server is: WHM 10.8.0 cPanel 10.8.2-C118, CentOS 4.3 i686 - WHM X v3.1.0
    Apache is: 1.3.36 w/ PHPSUexec
    MySQL is: "Ver 4.0.27-standard for pc-linux-gnu on i686 (Official MySQL RPM)"
    PHP is: PHP 4.4.2 (cli) (built: Jul 20 2006 22:32:46)

    Thanks
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Did you recently upgrade to a different version of MySQL and forget to rebuild apache+php?
     
  3. BrooksBridges

    BrooksBridges Well-Known Member

    Joined:
    Sep 2, 2004
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    6
    actually, I had done a 4.1 upgrade, but it wouldn't start, so I downgraded to 4.0 and things *seemed* to be ok again. Now I'm seeing that it's possible that I'm hitting the NPTL bug, so I tried to upgrade it to 4.1 again, and now mysqlup --force is giving me this:

    Code:
    Giving mysqld a couple of seconds to exit nicely
       1:MySQL-server           ########################################### [100%]
    FATAL ERROR /var/lib/bin/mysqld not found!
    Starting MySQL...................................[FAILED]
    
    any other ideas?

    EDIT: ok, I realized why it was throwing the error, and I've gotten that fixed, however I'm still getting a failed start, so I'm still kinda stuck. it's possible that my.cnf is messed up somehow, as I'm not getting any log entries either. Please have a look below and tell me if you notice anything obvious:

    Code:
    [mysqld]
    datadir=/var/lib/mysql
    socket=/var/lib/mysql/mysql.sock
    # Default to using old password format for compatibility with mysql 3.x
    # clients (those using the mysqlclient10 compatibility package).
    #old_passwords=1
         
    [mysql.server]
    user=mysql
    #basedir=/var/lib/mysql
    old-passwords = 1
    
    #[mysqld_safe]
    err-log=/var/log/mysqld.log
    pid-file=/var/run/mysqld/mysqld.pid
    
    [mysqld]
    query_cache_limit=8M
    query_cache_size=64M
    query_cache_type=1
    max_connections=500
    interactive_timeout=60
    wait_timeout=60
    connect_timeout=10
    thread_cache_size=1500
    max_allowed_packet=32M
    table_cache=1024
    skip-locking
    key_buffer_size=96M
    safe-show-database
    user=mysql
    #basedir=/var/lib/mysql
    
    [client]
    port = 3306
    socket = /var/lib/mysql/mysql.sock
    
    [mysqld]
    port = 3306
    socket = /var/lib/mysql/mysql.sock
    
     
    #3 BrooksBridges, Jul 25, 2006
    Last edited: Jul 25, 2006
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    First, take a copy of you /var/lig/mysql directory incase of problems.

    If you use linux, remove all the mysql rpms.

    Then try using /scripts/mysqlup --force
     
  5. BrooksBridges

    BrooksBridges Well-Known Member

    Joined:
    Sep 2, 2004
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    6
    did that

    I *think* I got them all. Suggestions on how to make sure?

    I've done that many times, and it still won't start
     
  6. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    rpm -qa | grep -i mysql-

    You only want the ones beginning with mysql-

    Also, make sure /tmp is chmod 1777
     
    #6 chirpy, Jul 25, 2006
    Last edited: Jul 25, 2006
  7. BrooksBridges

    BrooksBridges Well-Known Member

    Joined:
    Sep 2, 2004
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    6
    Code:
    root@pfx-shout01 [/var/log]# chmod 1777 /tmp/ 
    root@pfx-shout01 [/var/log]# rpm -qa | grep mysql-  
    root@pfx-shout01 [/var/log]# 
    
    ok, this time it seemed to work. THANK YOU!
     
Loading...

Share This Page