Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-26-2006, 04:21 PM
|
#1
|
LQ Newbie
Registered: Dec 2005
Distribution: Slackware 10.2
Posts: 25
Rep:
|
Missing PHP Libraries?
I'm trying to setup a new PHP network monitor on our servers, and I've just finished upgrading to PHP 5.1.4. After upgrading and installing, everything is working fine, except when I go to run PHP from the console I'm recieving:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20050922/interbase.so' - libfbclient.so.1: cannot open shared object file: No such file or directory in Unknown on line 0.
no PHP IS running fine, I can create a .php document and check it in a browser and everything is fine. phpinfo.php shows no conflicts either. Here is a list of all the libraries this references in the error (several appear when I type # php
libfbclient.so
libldap-2.3.so
libodbc.so
libpq.so
libsqlite3.so
libsqlite.so
I've run updatedb after in PHP 5 upgrade and it still doesn't find these libraries.
Any and all help would be appreciated.
Thanks
Distro is Slackware 10.2 btw.
|
|
|
06-26-2006, 05:05 PM
|
#2
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559
|
I wonder just how you upgraded your PHP. It seems to suffer from a dependency problem (interbase which it cannot find) which leads me to conclude you just grabbed a PHP5 package from somewhere (linuxpackages.net?) and installed that.
Many 3rd party Slackware packages have hidden dependencies because their packager built the package on a non-fresh Slackware system full of software that does not belong to a default Slackware install.
I guess if you look inside /etc/apache/php.ini that you will find a line looking like:
"extension = interbase.so"
PHP will work even if it finds extension libraries mentioned in php.ini that it cannot load or locate. But to get rid of the error message, you can comment this line for interbase.so out by placing a ';' in front of it.
Eric
|
|
|
06-26-2006, 05:18 PM
|
#3
|
Member
Registered: Jun 2004
Location: UK
Distribution: Debian Etch
Posts: 71
Rep:
|
Quote:
Originally Posted by OpenCircuit
I'm trying to setup a new PHP network monitor on our servers
|
What is it out of interest?
|
|
|
06-26-2006, 05:23 PM
|
#4
|
LQ Newbie
Registered: Dec 2005
Distribution: Slackware 10.2
Posts: 25
Original Poster
Rep:
|
Quote:
Originally Posted by simon_w
What is it out of interest?
|
Bartlby Network Monitor ( http://www.bartlby.org/xoops/)
I'd really like to use this one, one of the better ones I've found, especially for alert messaging.
If anyone has anything they use that's better I would really appreciate it. I like the idea of it keeping database, and having it be completely customizable via a PHP / XML interface. And that it supports multi platform machines (this is of course a mixed windows and *nix network I work in)
I'd like to be able to just monitor system resources, and network traffic to isolate any issues on the network, and to be alerted when a machine is failing or has failed via SMS or Instant Messaging.
I will also comment out those lines. Thanks!
But any recommendations on a good (and FREE) network monitor would be appreciated as well.
Aaron
|
|
|
06-26-2006, 05:24 PM
|
#5
|
LQ Newbie
Registered: Dec 2005
Distribution: Slackware 10.2
Posts: 25
Original Poster
Rep:
|
Quote:
Originally Posted by Alien Bob
I wonder just how you upgraded your PHP. It seems to suffer from a dependency problem (interbase which it cannot find) which leads me to conclude you just grabbed a PHP5 package from somewhere (linuxpackages.net?) and installed that.
Many 3rd party Slackware packages have hidden dependencies because their packager built the package on a non-fresh Slackware system full of software that does not belong to a default Slackware install.
I guess if you look inside /etc/apache/php.ini that you will find a line looking like:
"extension = interbase.so"
PHP will work even if it finds extension libraries mentioned in php.ini that it cannot load or locate. But to get rid of the error message, you can comment this line for interbase.so out by placing a ';' in front of it.
Eric
|
thanks I will try that.
|
|
|
06-26-2006, 05:26 PM
|
#6
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559
|
Quote:
Originally Posted by OpenCircuit
But any recommendations on a good (and FREE) network monitor would be appreciated as well.
|
Nagios perhaps> http://www.nagios.org/
Eric
|
|
|
06-26-2006, 05:28 PM
|
#7
|
LQ Newbie
Registered: Dec 2005
Distribution: Slackware 10.2
Posts: 25
Original Poster
Rep:
|
also just for the sake of information:
I've gotten through the configuration and installation of Bartlby, and when I go to start it, I'm getting:
/dev/stdout: Permission Denied
Not even sure why in the word it would need to use stdout but that's what I'm getting.
|
|
|
06-26-2006, 05:32 PM
|
#8
|
LQ Newbie
Registered: Dec 2005
Distribution: Slackware 10.2
Posts: 25
Original Poster
Rep:
|
Quote:
Originally Posted by Alien Bob
|
perhaps? Does that mean your not sure? Have you ever used it? I'll give it a shot of course. Thanks. :-)
|
|
|
06-26-2006, 05:39 PM
|
#9
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559
|
Yes I have used it, the organisation I work for is using it extensively. It is very customizable and has many contributed plugins. Worth checking out.
The "perhaps" was just used to flag my post as a hint.
Eric
|
|
|
06-26-2006, 05:40 PM
|
#10
|
LQ Newbie
Registered: Dec 2005
Distribution: Slackware 10.2
Posts: 25
Original Poster
Rep:
|
Quote:
Originally Posted by Alien Bob
Yes I have used it, the organisation I work for is using it extensively. It is very customizable and has many contributed plugins. Worth checking out.
The "perhaps" was just used to flag my post as a hint.
Eric
|
heheh ah gotcha. ;-)
Commenting out those lines worked perfectly. Thanks alot.
I will give Nagios a try. I really appreciate your help.
Aaron
|
|
|
All times are GMT -5. The time now is 12:59 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|