[Nagiosplug-help] Check_mysql crashing
Bryan Bateman
bryanbateman at earthlink.net
Fri Feb 18 13:13:17 CET 2005
Thanks for the good call. I am on a different platform so I am including
the instructions for it.
Some Solaris FAQ
This page tries to cover some FAQ I stumbled over -- either by myself, or by
people asking me -- not or badly covered in other mainstream FAQ. Though I
might add things you can easily find in other documentation I'll mainly
focus on things not mentioned everywhere.
Configuring the dynamic linker
If you're used to Linux you might be used to add pathes where librarys
reside to /etc/ld.so.conf and run ldconfig afterwards. Under Solaris there's
a similar way to configure paths for the dynamic linker. Please note that
it's only slightly better than setting LD_LIBRARY_PATH -- you can break
things if you don't know exactly what you're doing.
Configuration files for the dynamic linker reside under /var/ld/. Unlike
under Linux you're not meant to edit those with your favorite editor. Simply
running crle without arguments will give you something like this:
# crle
Default configuration file (/var/ld/ld.config) not found
Default Library Path (ELF): /lib:/usr/lib (system default)
Trusted Directories (ELF): /lib/secure:/usr/lib/secure (system
default)
Now you can add a new path -- for example /usr/local/lib -- with crle -a
'path'. This might look like this:
# crle -l /lib:/usr/lib:/usr/local/lib
# crle
Configuration file [version 4]: /var/ld/ld.config
Default Library Path (ELF): /lib:/usr/lib:/usr/local/lib
Trusted Directories (ELF): /lib/secure:/usr/lib/secure (system
default)
Command line:
crle -c /var/ld/ld.config -l /lib:/usr/lib:/usr/local/lib
Please note that you have to specify all directories, not just the one you'd
like to add.
> -----Original Message-----
> From: nagiosplug-help-admin at lists.sourceforge.net
> [mailto:nagiosplug-help-admin at lists.sourceforge.net] On
> Behalf Of Jason Martin
> Sent: Friday, February 18, 2005 2:23 PM
> To: nagiosplug-help at lists.sourceforge.net
> Subject: Re: [Nagiosplug-help] Check_mysql crashing
>
>
> On Fri, Feb 18, 2005 at 02:16:44PM -0500, Bryan Bateman wrote:
> > I am in the process of installing the nagios plugins. They seem to
> > compile
> Your /etc/ld.so.conf must include /usr/local/mysql/lib/mysql.
> Change that and run ldconfig.
>
> -Jason Martin
> --
> I went to the Net and all I got was this stupid tagline.
> This message is PGP/MIME signed.
>
More information about the Help
mailing list