Problem with check_pgsql

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


Hi there --

That did it. I added a line to /etc/libpq.so.5 and also symbolic links in the
various directories. I then ran the ldconfig command. The plugin worked
fine after that. Thanks again. 

-----Original Message-----
From: Andy Shellam (Mailing Lists) [mailto:andy.shellam-lists at mailnetwork.co.uk]

Sent: Thursday, January 04, 2007 3:15 PM
To: Patrick Morris
Cc: Kaplan, Andrew H.; nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Problem with check_pgsql

I think on Fedora you can edit /etc/ld.so.conf, then run ldconfig.

Or make sure there is a symlink to the libpq.so.5 in /lib, /usr/lib and 
/usr/local/lib (just to cover all bases!)

I had a similar problem on FreeBSD, and linking libpq.so.5 in /lib was 
the trick.

Andy.


Patrick Morris wrote:
> Hi Kaplan,!
>
> On Thu, 04 Jan 2007, Kaplan, Andrew H. wrote:
>
>   
>> 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.
>>
>> What steps do I need to take to correct this? Thanks. 
>>     
>
> You haven't said what you're running it on, so I can't give specifics,
> but you need that directory in the library search path when the plugin
> is called.
>
> -------------------------------------------------------------------------
> 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
> _______________________________________________
> 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
>
> !DSPAM:37,459d5e3331755596269461!
>
>
>   


-- 
Andy Shellam
NetServe Support Team

the Mail Network
"an alternative in a standardised world"

p: +44 (0) 121 288 0832/0839
m: +44 (0) 7818 000834





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.



-------------------------------------------------------------------------
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
_______________________________________________
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