Problem with check_pgsql

Andy Shellam (Mailing Lists) andy.shellam-lists at mailnetwork.co.uk
Thu Jan 4 21:14:47 CET 2007


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


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