GLIBC problem - httpd could not be started

safoo

Registered
Sep 25, 2006
2
0
151
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.
 

freedog96150

Well-Known Member
Mar 25, 2005
68
0
156
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