Solved

PHP Not working after "service apache2 reload" (Ubuntu)

Posted on 2009-05-14
23
3,945 Views
Last Modified: 2013-11-15
I've built a fully working Nagios network montoring machine but I broke it this morning.

Everything was working running the latest release (apt-get installed almost everything, synaptic the rest).
PHP5, Apache2, MySQL all working fine.

Anyway. I was trying to install Lilac which is an admin GUI for Nagios but this is where it broke. I'm pretty new to linux but I'm also a quick learner and could probably find any info you might need to help me fix this.


So everything was running OK, I installed the dependencies (http://www.lilacplatform.com/wiki/LilacInstallation) and run "service apache2 reload". I then refreshed the page and nada...
----
Failed to Connect

The connection was refused when attempting to contact localhost.
Though the site seems valid, the browser was unable to establish a connection.)
-----
Apache works fine. But I can't  access any .php links.


Any help getting it back up and running would be appreciated. & Yes I know.. Should've backup up/imaged before I fiddled or at least run in a test environment. Also sorry about the lack of info but I don't know what else you'd need unless you ask.
0
Comment
Question by:moosecaboose
  • 14
  • 8
23 Comments
 
LVL 14

Expert Comment

by:fmarzocca
ID: 24383068
Which version of ubuntu are you working on?

If you have a "Failed to Connect" message on localhost it likely seems to be an Apache problem.

Try running again:

sudo apt-get install lamp-server^

0
 

Author Comment

by:moosecaboose
ID: 24383095
Ubuntu 9.04 (Jaunty)

Ran the command. Got this;
0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.
Everything was already the newest version

0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.

0
 

Author Comment

by:moosecaboose
ID: 24383105
root@ITEYE:/etc/php5/apache2# chkconfig --list apache2
apache2                   0:off  1:off  2:on   3:on   4:on   5:on   6:off
0
 
LVL 14

Expert Comment

by:fmarzocca
ID: 24383269
Apache running doesn't mean that it hasn't a configuration problem. What are those 10 packages "not upgraded"? You could have a version-conflict problem when you have installed lilac.
0
 

Author Comment

by:moosecaboose
ID: 24383312
Afraid I don't know what the 10 not upgraded are as in this list there are way more than 10.

If a VNC connection over hamachi is any good to you, you would be welcome a look
root@ITEYE:/var/www# apt-get install lamp-server^

Reading package lists... Done

Building dependency tree       

Reading state information... Done

apache2-utils is already the newest version.

libwrap0 is already the newest version.

libnet-daemon-perl is already the newest version.

libhtml-template-perl is already the newest version.

libdbi-perl is already the newest version.

libdbd-mysql-perl is already the newest version.

mysql-server-5.0 is already the newest version.

libapr1 is already the newest version.

mysql-client-5.0 is already the newest version.

mysql-common is already the newest version.

apache2-mpm-prefork is already the newest version.

libplrpc-perl is already the newest version.

tcpd is already the newest version.

libmysqlclient15off is already the newest version.

apache2 is already the newest version.

mysql-server-core-5.0 is already the newest version.

apache2.2-common is already the newest version.

mysql-server is already the newest version.

ssl-cert is already the newest version.

libpq5 is already the newest version.

php5-mysql is already the newest version.

libapache2-mod-php5 is already the newest version.

libaprutil1 is already the newest version.

php5-common is already the newest version.

apache2-utils is already the newest version.

libwrap0 is already the newest version.

libnet-daemon-perl is already the newest version.

libhtml-template-perl is already the newest version.

libdbi-perl is already the newest version.

libdbd-mysql-perl is already the newest version.

mysql-server-5.0 is already the newest version.

libapr1 is already the newest version.

mysql-client-5.0 is already the newest version.

mysql-common is already the newest version.

apache2-mpm-prefork is already the newest version.

libplrpc-perl is already the newest version.

tcpd is already the newest version.

libmysqlclient15off is already the newest version.

apache2 is already the newest version.

mysql-server-core-5.0 is already the newest version.

apache2.2-common is already the newest version.

mysql-server is already the newest version.

ssl-cert is already the newest version.

libpq5 is already the newest version.

php5-mysql is already the newest version.

libapache2-mod-php5 is already the newest version.

libaprutil1 is already the newest version.

php5-common is already the newest version.

0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.

Open in new window

0
 
LVL 14

Expert Comment

by:fmarzocca
ID: 24383326
maybe we can find some interesting error messages by typing this in a terminal:

sudo apt-get update
sudo apt-get dist-upgrade
0
 

Author Comment

by:moosecaboose
ID: 24383400

root@ITEYE:/var/www# apt-get update

Hit http://gb.archive.ubuntu.com jaunty Release.gpg

Get: 1 http://gb.archive.ubuntu.com jaunty/main Translation-en_GB [52.6kB]

Get: 2 http://gb.archive.ubuntu.com jaunty/restricted Translation-en_GB [4640B]

Get: 3 http://security.ubuntu.com jaunty-security Release.gpg [189B]                    

Get: 4 http://gb.archive.ubuntu.com jaunty/universe Translation-en_GB [35.2kB]

Ign http://security.ubuntu.com jaunty-security/main Translation-en_GB        

Get: 5 http://gb.archive.ubuntu.com jaunty/multiverse Translation-en_GB [47.5kB]

Ign http://security.ubuntu.com jaunty-security/restricted Translation-en_GB  

Hit http://gb.archive.ubuntu.com jaunty-updates Release.gpg

Ign http://gb.archive.ubuntu.com jaunty-updates/main Translation-en_GB

Ign http://security.ubuntu.com jaunty-security/universe Translation-en_GB

Ign http://security.ubuntu.com jaunty-security/multiverse Translation-en_GB

Hit http://security.ubuntu.com jaunty-security Release

Ign http://gb.archive.ubuntu.com jaunty-updates/restricted Translation-en_GB

Ign http://gb.archive.ubuntu.com jaunty-updates/universe Translation-en_GB

Hit http://security.ubuntu.com jaunty-security/main Packages

Ign http://gb.archive.ubuntu.com jaunty-updates/multiverse Translation-en_GB

Hit http://security.ubuntu.com jaunty-security/restricted Packages

Hit http://security.ubuntu.com jaunty-security/main Sources

Hit http://gb.archive.ubuntu.com jaunty Release

Hit http://security.ubuntu.com jaunty-security/restricted Sources   

Hit http://gb.archive.ubuntu.com jaunty-updates Release

Hit http://security.ubuntu.com jaunty-security/universe Packages    

Hit http://gb.archive.ubuntu.com jaunty/main Packages               

Hit http://gb.archive.ubuntu.com jaunty/restricted Packages

Hit http://gb.archive.ubuntu.com jaunty/main Sources

Hit http://security.ubuntu.com jaunty-security/universe Sources

Hit http://security.ubuntu.com jaunty-security/multiverse Packages

Hit http://gb.archive.ubuntu.com jaunty/restricted Sources

Hit http://gb.archive.ubuntu.com jaunty/universe Packages

Hit http://gb.archive.ubuntu.com jaunty/universe Sources

Hit http://gb.archive.ubuntu.com jaunty/multiverse Packages

Hit http://gb.archive.ubuntu.com jaunty/multiverse Sources

Hit http://gb.archive.ubuntu.com jaunty-updates/main Packages

Hit http://security.ubuntu.com jaunty-security/multiverse Sources

Hit http://gb.archive.ubuntu.com jaunty-updates/restricted Packages

Hit http://gb.archive.ubuntu.com jaunty-updates/main Sources

Hit http://gb.archive.ubuntu.com jaunty-updates/restricted Sources

Hit http://gb.archive.ubuntu.com jaunty-updates/universe Packages

Hit http://gb.archive.ubuntu.com jaunty-updates/universe Sources

Hit http://gb.archive.ubuntu.com jaunty-updates/multiverse Packages

Hit http://gb.archive.ubuntu.com jaunty-updates/multiverse Sources

Fetched 140kB in 3s (44.8kB/s)

Reading package lists... Done

root@ITEYE:/var/www# apt-get dist-upgrade

Reading package lists... Done

Building dependency tree       

Reading state information... Done

Calculating upgrade... Done

The following packages will be upgraded:

  apturl ekiga gnome-about gnome-desktop-data libgl1-mesa-dri libgl1-mesa-glx libglu1-mesa

  libgnome-desktop-2-11 libical0 mesa-utils

10 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Need to get 9841kB of archives.

After this operation, 0B of additional disk space will be used.

Do you want to continue [Y/n]? y

Get: 1 http://gb.archive.ubuntu.com jaunty-updates/main libgl1-mesa-dri 7.4-0ubuntu3.1 [2730kB]

Get: 2 http://gb.archive.ubuntu.com jaunty-updates/main libgl1-mesa-glx 7.4-0ubuntu3.1 [114kB]

Get: 3 http://gb.archive.ubuntu.com jaunty-updates/main libglu1-mesa 7.4-0ubuntu3.1 [179kB]

Get: 4 http://gb.archive.ubuntu.com jaunty-updates/main mesa-utils 7.4-0ubuntu3.1 [44.2kB]

Get: 5 http://gb.archive.ubuntu.com jaunty-updates/main apturl 0.3.3ubuntu1.1 [18.2kB]

Get: 6 http://gb.archive.ubuntu.com jaunty-updates/main ekiga 3.2.0-0ubuntu2 [5598kB]

Get: 7 http://gb.archive.ubuntu.com jaunty-updates/main gnome-about 1:2.26.1-0ubuntu2 [156kB] 

Get: 8 http://gb.archive.ubuntu.com jaunty-updates/main gnome-desktop-data 1:2.26.1-0ubuntu2 [680kB]

Get: 9 http://gb.archive.ubuntu.com jaunty-updates/main libgnome-desktop-2-11 1:2.26.1-0ubuntu2 [101kB]

Get: 10 http://gb.archive.ubuntu.com jaunty-updates/main libical0 0.43-2ubuntu1 [220kB]       

Fetched 9841kB in 7s (1311kB/s)                                                               

(Reading database ... 113825 files and directories currently installed.)

Preparing to replace libgl1-mesa-dri 7.4-0ubuntu3 (using .../libgl1-mesa-dri_7.4-0ubuntu3.1_i386.deb) ...

Unpacking replacement libgl1-mesa-dri ...

Preparing to replace libgl1-mesa-glx 7.4-0ubuntu3 (using .../libgl1-mesa-glx_7.4-0ubuntu3.1_i386.deb) ...

Unpacking replacement libgl1-mesa-glx ...

Preparing to replace libglu1-mesa 7.4-0ubuntu3 (using .../libglu1-mesa_7.4-0ubuntu3.1_i386.deb) ...

Unpacking replacement libglu1-mesa ...

Preparing to replace mesa-utils 7.4-0ubuntu3 (using .../mesa-utils_7.4-0ubuntu3.1_i386.deb) ...

Unpacking replacement mesa-utils ...

Preparing to replace apturl 0.3.3ubuntu1 (using .../apturl_0.3.3ubuntu1.1_all.deb) ...

Unpacking replacement apturl ...

Preparing to replace ekiga 3.2.0-0ubuntu1 (using .../ekiga_3.2.0-0ubuntu2_i386.deb) ...

Unpacking replacement ekiga ...

Preparing to replace gnome-about 1:2.26.1-0ubuntu1 (using .../gnome-about_1%3a2.26.1-0ubuntu2_all.deb) ...

Unpacking replacement gnome-about ...

Preparing to replace gnome-desktop-data 1:2.26.1-0ubuntu1 (using .../gnome-desktop-data_1%3a2.26.1-0ubuntu2_all.deb) ...

Unpacking replacement gnome-desktop-data ...

Preparing to replace libgnome-desktop-2-11 1:2.26.1-0ubuntu1 (using .../libgnome-desktop-2-11_1%3a2.26.1-0ubuntu2_i386.deb) ...

Unpacking replacement libgnome-desktop-2-11 ...

Preparing to replace libical0 0.43-2 (using .../libical0_0.43-2ubuntu1_i386.deb) ...

Unpacking replacement libical0 ...

Processing triggers for man-db ...

Setting up libgl1-mesa-glx (7.4-0ubuntu3.1) ...
 

Setting up libgl1-mesa-dri (7.4-0ubuntu3.1) ...

Setting up libglu1-mesa (7.4-0ubuntu3.1) ...
 

Setting up mesa-utils (7.4-0ubuntu3.1) ...

Setting up apturl (0.3.3ubuntu1.1) ...
 

Setting up ekiga (3.2.0-0ubuntu2) ...
 

Setting up gnome-desktop-data (1:2.26.1-0ubuntu2) ...
 

Setting up gnome-about (1:2.26.1-0ubuntu2) ...

Setting up libgnome-desktop-2-11 (1:2.26.1-0ubuntu2) ...
 

Setting up libical0 (0.43-2ubuntu1) ...
 

Processing triggers for libc6 ...

ldconfig deferred processing now taking place

root@ITEYE:/var/www# 

Open in new window

0
 
LVL 14

Expert Comment

by:fmarzocca
ID: 24383457
Ok. They were graphical packages and now they are upgraded.

Coming back to your problem, as it started aftwer lilac installation, maybe it could be a good idea to remove lilac for awhile. Concerning dependencies I had a look at the link you have posted, and it looks like you should have all those dependecies already in ubuntu. What do you have installed?
Do you have enabled sites in /etc/apache2/sites-enabled ?
0
 

Author Comment

by:moosecaboose
ID: 24383518
Do you have enabled sites in /etc/apache2/sites-enabled ?
 - Yes it's enabled.

Only software I've installed is
Nagios
NagiosPlugins
Nagvis
NagiosQL
NDOUtilities
Phpmyadmin
Mysql
Apache2
+ dependencies

All of that was fine. The last thing I changed was php.ini. The line 'MagicQuotes = Off' (from on) but that's since been changed back.
0
 

Author Comment

by:moosecaboose
ID: 24383521
Would the fact that HTML websites are appearing and PHP isn't mean there's simply a line in http.conf or somewhere linking the base php files?
0
 

Author Comment

by:moosecaboose
ID: 24383562
I didn't get as far as installing lilac. I extracted the files to the /var/www folder (http root) and pulled them up in the browser and then done the reload when I broke everything php.
0
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
LVL 14

Expert Comment

by:fmarzocca
ID: 24383844
Do you have a php5.conf file in /etc/apache2/mods-enabled ?
0
 

Author Comment

by:moosecaboose
ID: 24383986
yes I do
<IfModule mod_php5.c>

  AddType application/x-httpd-php .php .phtml .php3

  AddType application/x-httpd-php-source .phps

</IfModule>

Open in new window

0
 
LVL 14

Expert Comment

by:fmarzocca
ID: 24384035
Sorry, wrong file. I was intended to write this one:

/etc/apache2/mods-enabled/php5.load
0
 

Author Comment

by:moosecaboose
ID: 24384141
Yes


itdept@ITEYE:/etc/apache2/mods-enabled$ ls -l
total 0
lrwxrwxrwx 1 root root 28 2009-05-12 17:46 alias.conf -> ../mods-available/alias.conf
lrwxrwxrwx 1 root root 28 2009-05-12 17:46 alias.load -> ../mods-available/alias.load
lrwxrwxrwx 1 root root 33 2009-05-12 17:46 auth_basic.load -> ../mods-available/auth_basic.load
lrwxrwxrwx 1 root root 33 2009-05-12 17:46 authn_file.load -> ../mods-available/authn_file.load
lrwxrwxrwx 1 root root 36 2009-05-12 17:46 authz_default.load -> ../mods-available/authz_default.load
lrwxrwxrwx 1 root root 38 2009-05-12 17:46 authz_groupfile.load -> ../mods-available/authz_groupfile.load
lrwxrwxrwx 1 root root 33 2009-05-12 17:46 authz_host.load -> ../mods-available/authz_host.load
lrwxrwxrwx 1 root root 33 2009-05-12 17:46 authz_user.load -> ../mods-available/authz_user.load
lrwxrwxrwx 1 root root 32 2009-05-12 17:46 autoindex.conf -> ../mods-available/autoindex.conf
lrwxrwxrwx 1 root root 32 2009-05-12 17:46 autoindex.load -> ../mods-available/autoindex.load
lrwxrwxrwx 1 root root 26 2009-05-12 17:50 cgi.load -> ../mods-available/cgi.load
lrwxrwxrwx 1 root root 30 2009-05-12 17:46 deflate.conf -> ../mods-available/deflate.conf
lrwxrwxrwx 1 root root 30 2009-05-12 17:46 deflate.load -> ../mods-available/deflate.load
lrwxrwxrwx 1 root root 26 2009-05-12 17:46 dir.conf -> ../mods-available/dir.conf
lrwxrwxrwx 1 root root 26 2009-05-12 17:46 dir.load -> ../mods-available/dir.load
lrwxrwxrwx 1 root root 26 2009-05-12 17:46 env.load -> ../mods-available/env.load
lrwxrwxrwx 1 root root 27 2009-05-12 17:46 mime.conf -> ../mods-available/mime.conf
lrwxrwxrwx 1 root root 27 2009-05-12 17:46 mime.load -> ../mods-available/mime.load
lrwxrwxrwx 1 root root 34 2009-05-12 17:46 negotiation.conf -> ../mods-available/negotiation.conf
lrwxrwxrwx 1 root root 34 2009-05-12 17:46 negotiation.load -> ../mods-available/negotiation.load
lrwxrwxrwx 1 root root 27 2009-05-12 17:50 php5.conf -> ../mods-available/php5.conf
lrwxrwxrwx 1 root root 27 2009-05-12 17:50 php5.load -> ../mods-available/php5.load
lrwxrwxrwx 1 root root 31 2009-05-12 17:46 setenvif.conf -> ../mods-available/setenvif.conf
lrwxrwxrwx 1 root root 31 2009-05-12 17:46 setenvif.load -> ../mods-available/setenvif.load
lrwxrwxrwx 1 root root 29 2009-05-12 17:46 status.conf -> ../mods-available/status.conf
lrwxrwxrwx 1 root root 29 2009-05-12 17:46 status.load -> ../mods-available/status.load
itdept@ITEYE:/etc/apache2/mods-enabled$

#php5.load
 
 

LoadModule php5_module /usr/lib/apache2/modules/libphp5.so

Open in new window

0
 

Author Comment

by:moosecaboose
ID: 24384184
libphp5.so exists also
0
 
LVL 14

Expert Comment

by:fmarzocca
ID: 24384234
So, just try typing:

sudo apache2ctl restart

Create an index.php file in your webserver root directory with this contents:

<?php phpinfo(); ?>

then point your browser to the file and report any error message here. If there is an error, you can check /var/log/apache2/error.log for better understanding.
0
 

Author Comment

by:moosecaboose
ID: 24384283
Hmmm.. Well now I'm not even able to pull up .html files let alone .php
0
 

Author Comment

by:moosecaboose
ID: 24384294
Ah I see.. This may be helpful in diagnosis.
[Tue May 12 17:46:56 2009] [notice] Apache/2.2.11 (Ubuntu) configured -- resuming normal operations

[Tue May 12 17:50:31 2009] [notice] caught SIGTERM, shutting down

[Tue May 12 17:50:37 2009] [notice] Apache/2.2.11 (Ubuntu) configured -- resuming normal operations

[Tue May 12 17:50:41 2009] [notice] Graceful restart requested, doing restart

apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName

[Tue May 12 17:50:41 2009] [notice] Apache/2.2.11 (Ubuntu) configured -- resuming normal operations

[Tue May 12 17:52:23 2009] [notice] Graceful restart requested, doing restart

apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName

[Tue May 12 17:52:23 2009] [notice] Apache/2.2.11 (Ubuntu) PHP/5.2.6-3ubuntu4.1 with Suhosin-Patch configured -- resuming normal operations

[Tue May 12 17:52:34 2009] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico

[Tue May 12 17:52:37 2009] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico

[Tue May 12 17:56:00 2009] [notice] Graceful restart requested, doing restart

apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName

[Tue May 12 17:56:01 2009] [notice] Apache/2.2.11 (Ubuntu) PHP/5.2.6-3ubuntu4.1 with Suhosin-Patch configured -- resuming normal operations

[Tue May 12 17:58:25 2009] [error] [client 127.0.0.1] File does not exist: /var/www/nagios

[Tue May 12 18:12:01 2009] [notice] Graceful restart requested, doing restart

apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName

[Tue May 12 18:12:01 2009] [notice] Apache/2.2.11 (Ubuntu) PHP/5.2.6-3ubuntu4.1 with Suhosin-Patch configured -- resuming normal operations

[Tue May 12 18:15:51 2009] [notice] Graceful restart requested, doing restart

[Tue May 12 18:15:51 2009] [notice] Apache/2.2.11 (Ubuntu) PHP/5.2.6-3ubuntu4.1 with Suhosin-Patch configured -- resuming normal operations

[Wed May 13 10:31:59 2009] [error] [client 127.0.0.1] (13)Permission denied: file permissions deny server access: /usr/local/nagios/share/images/logos/rack_linux.png, referer: http://localhost/nagios/cgi-bin/status.cgi?hostgroup=all&style=hostdetail

[Wed May 13 10:32:01 2009] [error] [client 127.0.0.1] (13)Permission denied: file permissions deny server access: /usr/local/nagios/share/images/logos/rack_linux.png, referer: http://localhost/nagios/cgi-bin/status.cgi?hostgroup=all&style=hostdetail

[Wed May 13 10:33:02 2009] [error] [client 127.0.0.1] (13)Permission denied: file permissions deny server access: /usr/local/nagios/share/images/logos/rack_linux.png, referer: http://localhost/nagios/cgi-bin/statusmap.cgi?host=all

[Wed May 13 11:02:32 2009] [error] [client 172.16.0.35] File does not exist: /var/www/itassistant

[Wed May 13 13:08:37 2009] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico

[Wed May 13 13:22:00 2009] [error] [client 127.0.0.1] script '/usr/local/nagios/share/nagvis/nagvis/config.php' not found or unable to stat

[Wed May 13 13:22:23 2009] [error] [client 127.0.0.1] script '/usr/local/nagios/share/nagvis/nagvis/config.php' not found or unable to stat

[Wed May 13 13:46:48 2009] [error] [client 127.0.0.1] script '/usr/local/nagios/share/nagvis/nagvis/config.php' not found or unable to stat

[Wed May 13 14:34:55 2009] [error] [client 127.0.0.1] File does not exist: /var/www/nagvis

[Wed May 13 14:39:31 2009] [error] [client 127.0.0.1] File does not exist: /usr/local/nagios/share/nagsql

[Wed May 13 14:39:37 2009] [error] [client 127.0.0.1] File does not exist: /usr/local/nagios/share/nagiosql

[Wed May 13 14:39:40 2009] [error] [client 127.0.0.1] File does not exist: /var/www/nagiosql

[Wed May 13 14:42:53 2009] [error] [client 172.16.0.38] File does not exist: /var/www/Nagios

[Wed May 13 14:42:54 2009] [error] [client 172.16.0.38] File does not exist: /var/www/favicon.ico

[Wed May 13 14:42:57 2009] [error] [client 172.16.0.38] File does not exist: /var/www/favicon.ico

[Wed May 13 14:43:16 2009] [error] [client 172.16.0.38] File does not exist: /usr/local/nagios/share/Nagvis

[Wed May 13 15:10:48 2009] [error] [client 172.16.25.52] File does not exist: /var/www/favicon.ico

[Wed May 13 16:07:55 2009] [error] [client 172.16.0.35] File does not exist: /var/www/itassistant

[Wed May 13 16:58:03 2009] [notice] Graceful restart requested, doing restart

[Wed May 13 16:58:04 2009] [notice] Apache/2.2.11 (Ubuntu) PHP/5.2.6-3ubuntu4.1 with Suhosin-Patch configured -- resuming normal operations

[Thu May 14 10:09:29 2009] [error] [client 127.0.0.1] File does not exist: /var/www/lilcal

php: symbol lookup error: /usr/lib/php5/20060613+lfs/pdo_mysql.so: undefined symbol: php_pdo_get_dbh_ce

php: symbol lookup error: /usr/lib/php5/20060613+lfs/pdo_mysql.so: undefined symbol: php_pdo_get_dbh_ce

php: symbol lookup error: /usr/lib/php5/20060613+lfs/pdo_mysql.so: undefined symbol: php_pdo_get_dbh_ce

php: symbol lookup error: /usr/lib/php5/20060613+lfs/pdo_mysql.so: undefined symbol: php_pdo_get_dbh_ce

[Thu May 14 10:18:42 2009] [notice] Graceful restart requested, doing restart

/usr/sbin/apache2: symbol lookup error: /usr/lib/php5/20060613+lfs/pdo_mysql.so: undefined symbol: php_pdo_unregister_driver

/usr/sbin/apache2: symbol lookup error: /usr/lib/php5/20060613+lfs/pdo_mysql.so: undefined symbol: php_pdo_unregister_driver

/usr/sbin/apache2: symbol lookup error: /usr/lib/php5/20060613+lfs/pdo_mysql.so: undefined symbol: php_pdo_unregister_driver

/usr/sbin/apache2: symbol lookup error: /usr/lib/php5/20060613+lfs/pdo_mysql.so: undefined symbol: php_pdo_unregister_driver

/usr/sbin/apache2: symbol lookup error: /usr/lib/php5/20060613+lfs/pdo_mysql.so: undefined symbol: php_pdo_unregister_driver

/usr/sbin/apache2: symbol lookup error: /usr/lib/php5/20060613+lfs/pdo_mysql.so: undefined symbol: php_pdo_unregister_driver

/usr/sbin/apache2: symbol lookup error: /usr/lib/php5/20060613+lfs/pdo_mysql.so: undefined symbol: php_pdo_unregister_driver

/usr/sbin/apache2: symbol lookup error: /usr/lib/php5/20060613+lfs/pdo_mysql.so: undefined symbol: php_pdo_unregister_driver

/usr/sbin/apache2: symbol lookup error: /usr/lib/php5/20060613+lfs/pdo_mysql.so: undefined symbol: php_pdo_unregister_driver

/usr/sbin/apache2: symbol lookup error: /usr/lib/php5/20060613+lfs/pdo_mysql.so: undefined symbol: php_pdo_unregister_driver

/usr/sbin/apache2: symbol lookup error: /usr/lib/php5/20060613+lfs/pdo_mysql.so: undefined symbol: php_pdo_get_dbh_ce

/usr/sbin/apache2: symbol lookup error: /usr/lib/php5/20060613+lfs/pdo_mysql.so: undefined symbol: php_pdo_get_dbh_ce

/usr/sbin/apache2: symbol lookup error: /usr/lib/php5/20060613+lfs/pdo_mysql.so: undefined symbol: php_pdo_get_dbh_ce

/usr/sbin/apache2: symbol lookup error: /usr/lib/php5/20060613+lfs/pdo_mysql.so: undefined symbol: php_pdo_get_dbh_ce

/usr/sbin/apache2: symbol lookup error: /usr/lib/php5/20060613+lfs/pdo_mysql.so: undefined symbol: php_pdo_get_dbh_ce

/usr/sbin/apache2: symbol lookup error: /usr/lib/php5/20060613+lfs/pdo_mysql.so: undefined symbol: php_pdo_get_dbh_ce

/usr/sbin/apache2: symbol lookup error: /usr/lib/php5/20060613+lfs/pdo_mysql.so: undefined symbol: php_pdo_get_dbh_ce

/usr/sbin/apache2: symbol lookup error: /usr/lib/php5/20060613+lfs/pdo_mysql.so: undefined symbol: php_pdo_get_dbh_ce

/usr/sbin/apache2: symbol lookup error: /usr/lib/php5/20060613+lfs/pdo_mysql.so: undefined symbol: php_pdo_get_dbh_ce

/usr/sbin/apache2: symbol lookup error: /usr/lib/php5/20060613+lfs/pdo_mysql.so: undefined symbol: php_pdo_get_dbh_ce

/usr/sbin/apache2: symbol lookup error: /usr/lib/php5/20060613+lfs/pdo_mysql.so: undefined symbol: php_pdo_get_dbh_ce

Open in new window

0
 
LVL 14

Accepted Solution

by:
fmarzocca earned 500 total points
ID: 24384333
Nagios installation is completely messed-up. I cannot be of any more help from here.

0
 

Author Comment

by:moosecaboose
ID: 24384364
lol. No worries mate. Will build a new machine for it. I appreciate the help. Just googled that and found lots of bug reports not worth going into.

Thanks!
0
 

Author Closing Comment

by:moosecaboose
ID: 31581361
Thanks for the help. Reinstalled already and almost back where I was just without the history and what-not, so thanks!!
0
 

Expert Comment

by:Tejnet
ID: 32130871
kindly help
i have install nagvis but in webinterface system is showing this below eorro:

The request URL /usr/local/nagios/share/nagvis-1.4.4/index.php file not found on thi server

pl'z help me out

0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

These days socially coordinated efforts have turned into a critical requirement for enterprises.
This article discusses how to create an extensible mechanism for linked drop downs.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to count occurrences of each item in an array.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now