<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Configuring Nagios Plugins &amp; NRPE on Solaris 10</title>
	<atom:link href="http://www.utahsysadmin.com/2008/03/14/configuring-nagios-plugins-nrpe-on-solaris-10/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.utahsysadmin.com/2008/03/14/configuring-nagios-plugins-nrpe-on-solaris-10/</link>
	<description>Ramblings of a Utah System Administrator</description>
	<lastBuildDate>Fri, 25 Jun 2010 12:50:54 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Ed</title>
		<link>http://www.utahsysadmin.com/2008/03/14/configuring-nagios-plugins-nrpe-on-solaris-10/comment-page-2/#comment-302</link>
		<dc:creator>Ed</dc:creator>
		<pubDate>Fri, 25 Jun 2010 12:50:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.utahsysadmin.com/2008/03/14/configuring-nagios-plugins-nrpe-on-solaris-10/#comment-302</guid>
		<description>I discovered that I also had a similar problem with &quot;statusmap.cgi&quot; in my nagios-3.2.1 install, the graphical maps didn&#039;t work because it couldn&#039;t find libgd.so and libiconv.so 

Solved in the same way using:
$ LDFLAGS=-R/usr/local/lib ./configure --prefix=/opt/nagios</description>
		<content:encoded><![CDATA[<p>I discovered that I also had a similar problem with &#8220;statusmap.cgi&#8221; in my nagios-3.2.1 install, the graphical maps didn&#8217;t work because it couldn&#8217;t find libgd.so and libiconv.so </p>
<p>Solved in the same way using:<br />
$ LDFLAGS=-R/usr/local/lib ./configure &#8211;prefix=/opt/nagios</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ed</title>
		<link>http://www.utahsysadmin.com/2008/03/14/configuring-nagios-plugins-nrpe-on-solaris-10/comment-page-2/#comment-301</link>
		<dc:creator>Ed</dc:creator>
		<pubDate>Fri, 25 Jun 2010 12:03:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.utahsysadmin.com/2008/03/14/configuring-nagios-plugins-nrpe-on-solaris-10/#comment-301</guid>
		<description>Just been battling to get a fully-functional Nagios 3.2.1 with NPRE 1.4.14 build working on Solaris 10... have also hit the openssl linking problem.
I happen to consider that using &quot;crle&quot; to globally override the system runtime linker path is a *very bad* idea.  It&#039;s like setting a global LD_LIBRARY_PATH value.

The problem is that the generated Makefiles don&#039;t specify -R/usr/local/ssl/lib to the linker command arguments, so that correct RPATH is not compiled in to the binaries (but it does somehow manage to use -R correctly for everything else!), the result being an incompletely-linked binary:
$ ldd /opt/nagios/libexec/check_http
...
        libssl.so.0.9.8 =&gt;       (file not found)
        libcrypto.so.0.9.8 =&gt;    (file not found)
...

My solution then is to specify -R in LDFLAGS at configure time, ie.

$ LDFLAGS=-R/usr/local/ssl/lib ./configure --prefix=/opt/nagios --with-mysql=/opt/coolstack/mysql_32bit --with-ssl=/usr/local/ssl
and after a &quot;gmake install&quot; voila:
$ ldd /opt/nagios/libexec/check_http
...
        libssl.so.0.9.8 =&gt;       /usr/local/ssl/lib/libssl.so.0.9.8
        libcrypto.so.0.9.8 =&gt;    /usr/local/ssl/lib/libcrypto.so.0.9.8
...
Regards,  Ed.</description>
		<content:encoded><![CDATA[<p>Just been battling to get a fully-functional Nagios 3.2.1 with NPRE 1.4.14 build working on Solaris 10&#8230; have also hit the openssl linking problem.<br />
I happen to consider that using &#8220;crle&#8221; to globally override the system runtime linker path is a *very bad* idea.  It&#8217;s like setting a global LD_LIBRARY_PATH value.</p>
<p>The problem is that the generated Makefiles don&#8217;t specify -R/usr/local/ssl/lib to the linker command arguments, so that correct RPATH is not compiled in to the binaries (but it does somehow manage to use -R correctly for everything else!), the result being an incompletely-linked binary:<br />
$ ldd /opt/nagios/libexec/check_http<br />
&#8230;<br />
        libssl.so.0.9.8 =&gt;       (file not found)<br />
        libcrypto.so.0.9.8 =&gt;    (file not found)<br />
&#8230;</p>
<p>My solution then is to specify -R in LDFLAGS at configure time, ie.</p>
<p>$ LDFLAGS=-R/usr/local/ssl/lib ./configure &#8211;prefix=/opt/nagios &#8211;with-mysql=/opt/coolstack/mysql_32bit &#8211;with-ssl=/usr/local/ssl<br />
and after a &#8220;gmake install&#8221; voila:<br />
$ ldd /opt/nagios/libexec/check_http<br />
&#8230;<br />
        libssl.so.0.9.8 =&gt;       /usr/local/ssl/lib/libssl.so.0.9.8<br />
        libcrypto.so.0.9.8 =&gt;    /usr/local/ssl/lib/libcrypto.so.0.9.8<br />
&#8230;<br />
Regards,  Ed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shashi</title>
		<link>http://www.utahsysadmin.com/2008/03/14/configuring-nagios-plugins-nrpe-on-solaris-10/comment-page-2/#comment-290</link>
		<dc:creator>Shashi</dc:creator>
		<pubDate>Wed, 24 Mar 2010 12:16:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.utahsysadmin.com/2008/03/14/configuring-nagios-plugins-nrpe-on-solaris-10/#comment-290</guid>
		<description>Kevin/Marc,

I am new to nagios. I am trying to install nrpe2.12 on solaris 10. I am having the same issue:

ld.so.1: nrpe: fatal: libssl.so.0.9.8: open failed: No such file or directory

I followed all the steps Kevin suggested but I am still getting the same error. 

Mark: you are creating a softlink for libssl to what?? 

Could you please help</description>
		<content:encoded><![CDATA[<p>Kevin/Marc,</p>
<p>I am new to nagios. I am trying to install nrpe2.12 on solaris 10. I am having the same issue:</p>
<p>ld.so.1: nrpe: fatal: libssl.so.0.9.8: open failed: No such file or directory</p>
<p>I followed all the steps Kevin suggested but I am still getting the same error. </p>
<p>Mark: you are creating a softlink for libssl to what?? </p>
<p>Could you please help</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marc</title>
		<link>http://www.utahsysadmin.com/2008/03/14/configuring-nagios-plugins-nrpe-on-solaris-10/comment-page-2/#comment-288</link>
		<dc:creator>Marc</dc:creator>
		<pubDate>Mon, 08 Mar 2010 10:54:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.utahsysadmin.com/2008/03/14/configuring-nagios-plugins-nrpe-on-solaris-10/#comment-288</guid>
		<description>I use the packages from sunfreeware.org.  The don&#039;t seem to have NRPE, so this page was very useful.

I got the error:
ld.so.1: nrpe: fatal: libssl.so.0.9.8: open failed: No such file or directory

OpenSSL was in the package SMCossl fixed this using.
./configure --with-ssl=/usr/local/ssl -with-ssl-lib=/usr/local/ssl/lib

Still got the error, only way to fix this was in the /lib dir of solaris:
ln -s /usr/local/ssl/lib/libssl.so.0.9.8
ln -s /usr/local/ssl/lib/libcrypto.so.0.9.8</description>
		<content:encoded><![CDATA[<p>I use the packages from sunfreeware.org.  The don&#8217;t seem to have NRPE, so this page was very useful.</p>
<p>I got the error:<br />
ld.so.1: nrpe: fatal: libssl.so.0.9.8: open failed: No such file or directory</p>
<p>OpenSSL was in the package SMCossl fixed this using.<br />
./configure &#8211;with-ssl=/usr/local/ssl -with-ssl-lib=/usr/local/ssl/lib</p>
<p>Still got the error, only way to fix this was in the /lib dir of solaris:<br />
ln -s /usr/local/ssl/lib/libssl.so.0.9.8<br />
ln -s /usr/local/ssl/lib/libcrypto.so.0.9.8</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy Fry</title>
		<link>http://www.utahsysadmin.com/2008/03/14/configuring-nagios-plugins-nrpe-on-solaris-10/comment-page-2/#comment-284</link>
		<dc:creator>Andy Fry</dc:creator>
		<pubDate>Fri, 12 Feb 2010 00:33:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.utahsysadmin.com/2008/03/14/configuring-nagios-plugins-nrpe-on-solaris-10/#comment-284</guid>
		<description>Hi,

For some reason when we compiled nrpe, it would not find the ssl libs at runtime.

The fix we came up with was to alter the configure file at line6686 from

LDFLAGS=&quot;$LDFLAGS -L$ssllibdir&quot;;

To

LDFLAGS=&quot;$LDFLAGS -L$ssllibdir -R$ssllibdir&quot;;

Works a treat now

Thanks

Andy</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>For some reason when we compiled nrpe, it would not find the ssl libs at runtime.</p>
<p>The fix we came up with was to alter the configure file at line6686 from</p>
<p>LDFLAGS=&#8221;$LDFLAGS -L$ssllibdir&#8221;;</p>
<p>To</p>
<p>LDFLAGS=&#8221;$LDFLAGS -L$ssllibdir -R$ssllibdir&#8221;;</p>
<p>Works a treat now</p>
<p>Thanks</p>
<p>Andy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Pendleton</title>
		<link>http://www.utahsysadmin.com/2008/03/14/configuring-nagios-plugins-nrpe-on-solaris-10/comment-page-2/#comment-283</link>
		<dc:creator>Kevin Pendleton</dc:creator>
		<pubDate>Sat, 06 Feb 2010 04:38:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.utahsysadmin.com/2008/03/14/configuring-nagios-plugins-nrpe-on-solaris-10/#comment-283</guid>
		<description>There could be lots of reasons for doing that, most likely their version produces standard results across multiple operating systems.  You&#039;re bound to see lots of things like that and even some errors, but if it keeps going, that&#039;s probably not the problem.  Start at the bottom of the file and go up.  Most likely that error is the one giving you trouble.</description>
		<content:encoded><![CDATA[<p>There could be lots of reasons for doing that, most likely their version produces standard results across multiple operating systems.  You&#8217;re bound to see lots of things like that and even some errors, but if it keeps going, that&#8217;s probably not the problem.  Start at the bottom of the file and go up.  Most likely that error is the one giving you trouble.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephen LuShing</title>
		<link>http://www.utahsysadmin.com/2008/03/14/configuring-nagios-plugins-nrpe-on-solaris-10/comment-page-2/#comment-282</link>
		<dc:creator>Stephen LuShing</dc:creator>
		<pubDate>Thu, 04 Feb 2010 20:43:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.utahsysadmin.com/2008/03/14/configuring-nagios-plugins-nrpe-on-solaris-10/#comment-282</guid>
		<description>I looked at the config.log and see a reference :

configure:25845: checking for ps
configure:25863: found /usr/bin/ps
configure:25875: result: /usr/bin/ps
configure:25884: checking for ps syntax
configure:25940: result: using nagios-plugins internal ps command (pst3) for solaris
configure:25945: using 64bit pst3

My question - why the nagios cannot use the regular ps command in solaris 10. Are there any other way around this.

thanks in advance.</description>
		<content:encoded><![CDATA[<p>I looked at the config.log and see a reference :</p>
<p>configure:25845: checking for ps<br />
configure:25863: found /usr/bin/ps<br />
configure:25875: result: /usr/bin/ps<br />
configure:25884: checking for ps syntax<br />
configure:25940: result: using nagios-plugins internal ps command (pst3) for solaris<br />
configure:25945: using 64bit pst3</p>
<p>My question &#8211; why the nagios cannot use the regular ps command in solaris 10. Are there any other way around this.</p>
<p>thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Pendleton</title>
		<link>http://www.utahsysadmin.com/2008/03/14/configuring-nagios-plugins-nrpe-on-solaris-10/comment-page-2/#comment-281</link>
		<dc:creator>Kevin Pendleton</dc:creator>
		<pubDate>Tue, 02 Feb 2010 21:50:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.utahsysadmin.com/2008/03/14/configuring-nagios-plugins-nrpe-on-solaris-10/#comment-281</guid>
		<description>Stephen, check your config.log for more details on why the compile failed.</description>
		<content:encoded><![CDATA[<p>Stephen, check your config.log for more details on why the compile failed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephen LuShing</title>
		<link>http://www.utahsysadmin.com/2008/03/14/configuring-nagios-plugins-nrpe-on-solaris-10/comment-page-2/#comment-280</link>
		<dc:creator>Stephen LuShing</dc:creator>
		<pubDate>Tue, 02 Feb 2010 14:51:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.utahsysadmin.com/2008/03/14/configuring-nagios-plugins-nrpe-on-solaris-10/#comment-280</guid>
		<description>I am getting this error when compiling the plugin for a Solaris 10:

/bin/bash ../libtool --tag=CC    --mode=link gcc -m64 -g -O2 -m64  -L. -L/usr/local/ssl/lib -o pst3 pst3-pst3.o  -lpthread -ldl
gcc -m64 -g -O2 -m64 -o pst3 pst3-pst3.o  -L/export/home/netsml/nagios-plugins-1.4.14/plugins-root -L/usr/local/ssl/lib -lpthread -ldl
Undefined                       first referenced
 symbol                             in file
rpl_open                            pst3-pst3.o
ld: fatal: Symbol referencing errors. No output written to pst3
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `pst3&#039;
Current working directory /export/home/netsml/nagios-plugins-1.4.14/plugins-root
*** Error code 1
make: Fatal error: Command failed for target `all-recursive&#039;
Current working directory /export/home/netsml/nagios-plugins-1.4.14
*** Error code 1
make: Fatal error: Command failed for target `all&#039;
# 


Any ideas on why as I google and did not find anything.

Thanks in advance 

steve</description>
		<content:encoded><![CDATA[<p>I am getting this error when compiling the plugin for a Solaris 10:</p>
<p>/bin/bash ../libtool &#8211;tag=CC    &#8211;mode=link gcc -m64 -g -O2 -m64  -L. -L/usr/local/ssl/lib -o pst3 pst3-pst3.o  -lpthread -ldl<br />
gcc -m64 -g -O2 -m64 -o pst3 pst3-pst3.o  -L/export/home/netsml/nagios-plugins-1.4.14/plugins-root -L/usr/local/ssl/lib -lpthread -ldl<br />
Undefined                       first referenced<br />
 symbol                             in file<br />
rpl_open                            pst3-pst3.o<br />
ld: fatal: Symbol referencing errors. No output written to pst3<br />
collect2: ld returned 1 exit status<br />
*** Error code 1<br />
make: Fatal error: Command failed for target `pst3&#8242;<br />
Current working directory /export/home/netsml/nagios-plugins-1.4.14/plugins-root<br />
*** Error code 1<br />
make: Fatal error: Command failed for target `all-recursive&#8217;<br />
Current working directory /export/home/netsml/nagios-plugins-1.4.14<br />
*** Error code 1<br />
make: Fatal error: Command failed for target `all&#8217;<br />
# </p>
<p>Any ideas on why as I google and did not find anything.</p>
<p>Thanks in advance </p>
<p>steve</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lambert</title>
		<link>http://www.utahsysadmin.com/2008/03/14/configuring-nagios-plugins-nrpe-on-solaris-10/comment-page-2/#comment-265</link>
		<dc:creator>Lambert</dc:creator>
		<pubDate>Wed, 25 Nov 2009 19:03:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.utahsysadmin.com/2008/03/14/configuring-nagios-plugins-nrpe-on-solaris-10/#comment-265</guid>
		<description>strange, the /etc/hosts.allow entry does not show up like I entered it. Should be:
nrpe: localhost,ip-address-of-nagios-server : allow</description>
		<content:encoded><![CDATA[<p>strange, the /etc/hosts.allow entry does not show up like I entered it. Should be:<br />
nrpe: localhost,ip-address-of-nagios-server : allow</p>
]]></content:encoded>
	</item>
</channel>
</rss>
