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.

GLIBC problem - httpd could not be started

Discussion in 'General Discussion' started by safoo, Sep 25, 2006.

  1. safoo

    safoo Registered

    Joined:
    Sep 25, 2006
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    newbie here....

    it seems an upgrade to glibc 2.4 (long story...was trying to add libxml2. had to upgrade gcc, binutils, glibc, m4, autoconf) has caused a problem and httpd is not starting. I get the following error when I try to start httpd:

    Code:
    #service httpd restart
    /etc/init.d/httpd restart: httpd not running, trying to start
    Syntax error on line 213 of /usr/local/apache/conf/httpd.conf:
    Cannot load /usr/local/apache/libexec/libphp4.so into server: /usr/local/lib/libnss_dns.so.2: symbol __ns_get32, version GLIBC_PRIVATE not defined in file libresolv.so.2 with link time reference
    /etc/init.d/httpd restart: httpd could not be started
    
    I tried the method below found on another thread but it did not work:

    Code:
    WHM -> Install an RPM -> try to install glibc and then glibc-common both with these options selected:
    Ignore Dependicies
    Force Install (required if reinstalling a package)
    
    Then start apache. Don't need to rebuild apache and it will work fine for us.
    
    Do i need to try /scripts/easyapache option 1 and update apache? If so, is apache 2.0 the only option? Any way to just rebuild apache?

    I know what packages I updated..is there a way to downgrade the packages using the RPM's currently in WHM?

    Or..what is a better option to try here?

    Thanks in advance.
     
  2. freedog96150

    freedog96150 Well-Known Member

    Joined:
    Mar 25, 2005
    Messages:
    68
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Nevada, USA
    Which version of PHP are you running? Since httpd appears to fail on a line that looks suspiciously like a php4 load directive, you need to verify that you are infact running php4 and that it is working. Make sure that you are not also trying to load php5. I would rebuild PHP if it was my server and go from there. Check out this thread for help in rebuilding php.
    http://forums.cpanel.net/showthread.php?t=45908&highlight=libphp4
     
  3. safoo

    safoo Registered

    Joined:
    Sep 25, 2006
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    i'll check out the thread. thanks.
     
Loading...

Share This Page