
23rd April 2012, 18:01
|
|
Junior Member
|
|
Join Date: Sep 2011
Location: Strasbourg, France
Posts: 21
Thanks: 2
Thanked 1 Time in 1 Post
|
|
I delete Apache2's modules dir...
Hi all,
I fail with a miss "rm -rf modules" in /usr/lib/apache2 folder.
To repair, I simply cp modules from another server and I reinstall the missing one through "aptitude reinstall libapache2-mod-suphp libapache2-mod-suphp libapache2-mod-fcgid libapache2-mod-passenger" but there is still problem.
All the websites are fully functional (with their respective databases) but ISPconfig admin panel and PhpMyAdmin produce error 500 with:
Quote:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626/mysql.so' - /usr/lib/php5/20090626/mysql.so: undefined symbol: _mysqlnd_fetch_lengths in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626/mysqli.so' - /usr/lib/php5/20090626/mysqli.so: undefined symbol: mysqlnd_get_client_version in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626/pdo_mysql.so' - /usr/lib/php5/20090626/pdo_mysql.so: undefined symbol: mysqlnd_allocator in Unknown on line 0
[Mon Apr 23 17:36:53 2012] [notice] Apache/2.2.16 (Debian) DAV/2 mod_fcgid/2.3.6 PHP/5.3.2-1ubuntu4.14 with Suhosin-Patch mod_ruby/1.2.6 Ruby/1.8.7(2010-08-16) mod_ssl/2.2.14 OpenSSL/0.9.8o configured -- resuming normal operations
[Mon Apr 23 17:36:56 2012] [error] [client 82.244.34.64] PHP Fatal error: Call to undefined function mysql_connect() in 17:40 23/04/2012 on line 76
|
mysql.so, mysqli.so and pdo_mysql.so still exists...
Any idea?
Regards,
|

23rd April 2012, 18:03
|
|
Senior Member
|
|
Join Date: Sep 2009
Location: Dallas, TX
Posts: 322
Thanks: 10
Thanked 39 Times in 25 Posts
|
|
Can you try to reinstall php5-mysql?
I think that will take care of it.
|

23rd April 2012, 18:06
|
|
Junior Member
|
|
Join Date: Sep 2011
Location: Strasbourg, France
Posts: 21
Thanks: 2
Thanked 1 Time in 1 Post
|
|
Quote:
Originally Posted by dclardy
Can you try to reinstall php5-mysql?
I think that will take care of it.
|
Already done but it don't change anything...
Thank you
Note this is only the admin panel et phpmyadmin who meet a problem, the ~200 other websites with DB I host don't have any problem with their CMS...
|

23rd April 2012, 18:13
|
|
Senior Member
|
|
Join Date: Sep 2009
Location: Dallas, TX
Posts: 322
Thanks: 10
Thanked 39 Times in 25 Posts
|
|
Can you try to reinstall ISPConfig so that it can recreate the vhost for it?
|

23rd April 2012, 18:18
|
|
Junior Member
|
|
Join Date: Sep 2011
Location: Strasbourg, France
Posts: 21
Thanks: 2
Thanked 1 Time in 1 Post
|
|
For information:
Quote:
php -v
PHP 5.3.10-1~dotdeb.1 with Suhosin-Patch (cli) (built: Feb 2 2012 23:28:08)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
with Suhosin v0.9.33, Copyright (c) 2007-2012, by SektionEins GmbH
|
Quote:
php --ini
Configuration File (php.ini) Path: /etc/php5/cli
Loaded Configuration File: /etc/php5/cli/php.ini
Scan for additional .ini files in: /etc/php5/cli/conf.d
Additional .ini files parsed: /etc/php5/cli/conf.d/apc.ini,
/etc/php5/cli/conf.d/curl.ini,
/etc/php5/cli/conf.d/gd.ini,
/etc/php5/cli/conf.d/imagick.ini,
/etc/php5/cli/conf.d/imap.ini,
/etc/php5/cli/conf.d/mcrypt.ini,
/etc/php5/cli/conf.d/mysql.ini,
/etc/php5/cli/conf.d/mysqli.ini,
/etc/php5/cli/conf.d/pdo.ini,
/etc/php5/cli/conf.d/pdo_mysql.ini,
/etc/php5/cli/conf.d/suhosin.ini,
/etc/php5/cli/conf.d/uploadprogress.ini
|
Quote:
Originally Posted by dclardy
Can you try to reinstall ISPConfig so that it can recreate the vhost for it?
|
Is it not tricky?
|

23rd April 2012, 18:19
|
|
Senior Member
|
|
Join Date: Sep 2009
Location: Dallas, TX
Posts: 322
Thanks: 10
Thanked 39 Times in 25 Posts
|
|
Nope. It takes just a few minutes. You essentially run a manual upgrade process.
|

23rd April 2012, 18:31
|
|
Junior Member
|
|
Join Date: Sep 2011
Location: Strasbourg, France
Posts: 21
Thanks: 2
Thanked 1 Time in 1 Post
|
|
Quote:
Originally Posted by dclardy
Nope. It takes just a few minutes. You essentially run a manual upgrade process.
|
I do a manuel update (d/l of the last tar.gz and php updaate.php) and it changes anything...
|

23rd April 2012, 18:41
|
|
Senior Member
|
|
Join Date: Sep 2009
Location: Dallas, TX
Posts: 322
Thanks: 10
Thanked 39 Times in 25 Posts
|
|
Did you run these commands?
Code:
cd /tmp
wget http://www.ispconfig.org/downloads/ISPConfig-3-stable.tar.gz
tar xvfz ISPConfig-3-stable.tar.gz
cd ispconfig3_install/install
php -q update.php
|

23rd April 2012, 18:53
|
|
Junior Member
|
|
Join Date: Sep 2011
Location: Strasbourg, France
Posts: 21
Thanks: 2
Thanked 1 Time in 1 Post
|
|
Quote:
Originally Posted by dclardy
Did you run these commands?
Code:
cd /tmp
wget http://www.ispconfig.org/downloads/ISPConfig-3-stable.tar.gz
tar xvfz ISPConfig-3-stable.tar.gz
cd ispconfig3_install/install
php -q update.php
|
Yes.
Problem solved, I finaly do a "revert to snapshot", thanks ESXi, but my customers lost all the last 5 hours work they do... But it is a free service so...
Thank you.
It happends when I tried to install a simple plugin to Munin to see all vhost activity (documents, req,, traffic).
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 02:05.
|
Recent comments
9 hours 40 min ago
10 hours 39 min ago
14 hours 26 min ago
15 hours 40 min ago
19 hours 17 min ago
1 day 2 hours ago
1 day 11 hours ago
1 day 12 hours ago
2 days 3 hours ago
2 days 6 hours ago