Problem with check_pgsql

Kaplan, Andrew H. AHKAPLAN at PARTNERS.ORG
Thu Jan 4 20:42:22 CET 2007


I am encountering and error every time I try to run the check_pgsql plugin. The
error is the following:

 

Error while loading shared libraries: libpq.so.5: cannot open shared object
file. No such file or directory.

 

I checked the /usr/local/pgsql/lib directory, and there is a symbolic link of
that name which points to the

libpq.so.5.0 file. The pgsql directory is owned by root:root and has 755
permissions on it and its subdirectories.

The version of PostgreSQL is 8.2.0.

 

When I compiled the nagios plugins, version 1.4.5, I made sure to include the
-with-pgsql=/usr/local/pgsql syntax

option with the configure script. I also made sure that the user compiling the
plugins, root, had the /usr/local/pgsql

directory in its default path. 

 

What steps do I need to take to correct this? Thanks. 





THE INFORMATION TRANSMITTED IN THIS ELECTRONIC COMMUNICATION IS INTENDED ONLY FOR THE PERSON OR ENTITY TO WHOM IT IS ADDRESSED AND MAY CONTAIN CONFIDENTIAL AND/OR PRIVILEGED MATERIAL.  ANY REVIEW, RETRANSMISSION, DISSEMINATION OR OTHER USE OF OR TAKING OF ANY ACTION IN RELIANCE UPON, THIS INFORMATION BY PERSONS OR ENTITIES OTHER THAN THE INTENDED RECIPIENT IS PROHIBITED.  IF YOU RECEIVED THIS INFORMATION IN ERROR, PLEASE CONTACT THE SENDER AND THE PRIVACY OFFICER, AND PROPERLY DISPOSE OF THIS INFORMATION.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070104/722eb52b/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list