#1  
Old 23rd March 2006, 23:20
Colster Colster is offline
Junior Member
 
Join Date: Mar 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default GLIBCXX error in php

Our webserver has been working fine for months but sunday it stopped running.

Its a rented dedicated server we use for gaming but we have a webserver running on there for stats (psychostats)

When the webserver stopped I went in using SSH and tried

service httpd restart

and I get the following error:

Starting httpd: Syntax error on line 6 of /etc/httpd/conf.d/php.conf:
Cannot load /etc/httpd/modules/libphp5.so into server: /lib/libstdc++.so.6: version `GLIBCXX_3.4.4' not found (required by /usr/lib/libaspell.so.15)
[FAILED]


I uninstalled and reinstalled httpd using yum and the webserver works again, until i install php (yum install httpd-php) then same error.

running ls -al /usr/lib/libstdc++.so.6 gets me:

lrwxrwxrwx 1 root root 18 Mar 23 20:01 /usr/lib/libstdc++.so.6 -> libstdc++.so.6.0.7*

and rpm -q --provides libstdc++ gives the following:

libstdc++.so.6
libstdc++.so.6(CXXABI_1.3)
libstdc++.so.6(CXXABI_1.3.1)
libstdc++.so.6(GLIBCXX_3.4)
libstdc++.so.6(GLIBCXX_3.4.1)
libstdc++.so.6(GLIBCXX_3.4.2)
libstdc++.so.6(GLIBCXX_3.4.3)
libstdc++.so.6(GLIBCXX_3.4.4)
libstdc++.so.6(GLIBCXX_3.4.5)
libstdc++.so.6(GLIBCXX_3.4.6)
libstdc++.so.6(GLIBCXX_3.4.7)
libstdc++34
libstdc++ = 4.0.2-8.fc4


..so it looks like the files are all there but still the error remains, I found a link on the net that suggested installing libsigc++20 which I tried but that didnt solve it, our GSP have said that they can't fix it either.

Would a reinstall of FC4 (or maybe FC5) be the only solution?
Reply With Quote
Sponsored Links
  #2  
Old 24th March 2006, 20:33
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

What's in /etc/httpd/conf.d/php.conf?
What's the output of
Code:
updatedb
locate libphp5.so
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 24th March 2006, 20:46
Colster Colster is offline
Junior Member
 
Join Date: Mar 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by php.conf
#
# PHP is an HTML-embedded scripting language which attempts to make it
# easy for developers to write dynamically generated webpages.
#

LoadModule php5_module modules/libphp5.so

#
# Cause the PHP interpreter to handle files with a .php extension.
#
AddHandler php5-script .php
AddType text/html .php

#
# Add index.php to the list of files that will be served as directory
# indexes.
#
DirectoryIndex index.php

#
# Uncomment the following line to allow PHP to pretty-print .phps
# files as PHP source code:
#
#AddType application/x-httpd-php-source .phps

Quote:
Originally Posted by locate libphp5.so
/usr/local/apache2/modules/libphp5.so
/downloads/php-5.0.4/.libs/libphp5.so
/downloads/php-5.0.4/libs/libphp5.so
Thanks for the help
Reply With Quote
  #4  
Old 25th March 2006, 14:44
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Can you post the output of
Code:
httpd -V
?

(Depending on your Apache version, the command might also be
Code:
httpd2 -V
.)
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 25th March 2006, 15:24
Colster Colster is offline
Junior Member
 
Join Date: Mar 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks, I tried both v and V just in case but I guess it's the second one you want.

Quote:
Originally Posted by httpd -v
Server version: Apache/2.0.54
Server built: Jan 17 2006 06:36:00
Quote:
Originally Posted by httpd -V
Server version: Apache/2.0.54
Server built: Jan 17 2006 06:36:00
Server's Module Magic Number: 20020903:9
Architecture: 32-bit
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D HTTPD_ROOT="/etc/httpd"
-D SUEXEC_BIN="/usr/sbin/suexec"
-D DEFAULT_PIDLOG="logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="logs/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"
Thanks,
Reply With Quote
  #6  
Old 26th March 2006, 11:39
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Please post the output of
Code:
ls -la /etc/httpd
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
"unknown filter" growing apache log. wwparrish Installation/Configuration 6 1st September 2006 18:40
Downgrade php5 to php4.4.2 llizards Installation/Configuration 4 13th March 2006 23:58
all my site go to /var/www/ Absolusteph Installation/Configuration 14 11th March 2006 21:27
Can not access website after uploading brianetilley Installation/Configuration 21 11th January 2006 19:43
Sharedip Ivan Installation/Configuration 3 7th December 2005 15:36


All times are GMT +2. The time now is 12:10.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.