Solaris 9 still having issues.<br><br><br><br><br><br><br>ld: fatal: Symbol referencing errors. No output written to pst3<br>collect2: ld returned 1 exit status<br>make[2]: *** [pst3] Error 1<br>make[2]: Leaving directory `/tmp/shadhintest/nagios-plugins-1.4.14-53-gc6ec4/plugins-root'<br>
make[1]: *** [all-recursive] Error 1<br>make[1]: Leaving directory `/tmp/shadhintest/nagios-plugins-1.4.14-53-gc6ec4'<br>make: *** [all] Error 2<br>[sr2690@mustard]>uname -a<br>SunOS mustard 5.9 Generic_122300-45 sun4u sparc SUNW,UltraAX-i2 Solaris<br>
<br><br><div class="gmail_quote">On Tue, Nov 10, 2009 at 6:01 AM, SourceForge.net <span dir="ltr"><<a href="mailto:noreply@sourceforge.net">noreply@sourceforge.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Bugs item #2632995, was opened at 2009-02-24 04:08<br>
Message generated for change (Comment added) made by dermoth<br>
You can respond by visiting:<br>
<a href="https://sourceforge.net/tracker/?func=detail&atid=397597&aid=2632995&group_id=29880" target="_blank">https://sourceforge.net/tracker/?func=detail&atid=397597&aid=2632995&group_id=29880</a><br>

<br>
Please note that this message will contain a full copy of the comment thread,<br>
including the initial issue submission, for this request,<br>
not just the latest update.<br>
Category: General plugin execution<br>
Group: v1.4.14<br>
Status: Open<br>
Resolution: None<br>
Priority: 5<br>
Private: No<br>
Submitted By: Werner (forsbring)<br>
Assigned to: Thomas Guyot-Sionnest (dermoth)<br>
Summary: check_procs fails on Solaris<br>
<br>
Initial Comment:<br>
Hi,<br>
<br>
check_procs v2019 (nagios-plugins 1.4.13) exits with "Unable to read output" on most of our Solaris8 and Solaris 10 servers (I do not have access to any Solaris9 servers). 1.4.11 works just fine. I've attached the truss output.<br>

<br>
<br>
- Werner<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
>Comment By: Thomas Guyot-Sionnest (dermoth)<br>
Date: 2009-11-10 06:01<br>
<br>
Message:<br>
So one ever replied to this. Please try the pst3_suncc_fix snapshot here<br>
(or use the attached patch<br>
0001-Attempt-at-detecting-64bit-compilation-flags-between.patch):<br>
<br>
<a href="http://dermoth.users.sourceforge.net/snapshot/nagios-plugins-pst3_suncc_fix.tar.gz" target="_blank">http://dermoth.users.sourceforge.net/snapshot/nagios-plugins-pst3_suncc_fix.tar.gz</a><br>
<br>
It works for me on gcc; if it work with suncc as well it will be<br>
included.<br>
<br>
Thank you<br>
<br>
----------------------------------------------------------------------<br>
<br>
Comment By: Thomas Guyot-Sionnest (dermoth)<br>
Date: 2009-08-05 03:05<br>
<br>
Message:<br>
Please try the attached patch.<br>
<br>
If you don't have the required tools to run tools/setup (can be done from<br>
another machine; it doesn't have to be solaris) let me know and I'll make<br>
you a snapshot.<br>
<br>
----------------------------------------------------------------------<br>
<br>
Comment By: Thomas Guyot-Sionnest (dermoth)<br>
Date: 2009-03-17 03:42<br>
<br>
Message:<br>
Sorry for the late reply... According pst3 header comment (I have no idea<br>
how it compares to "ps" though):<br>
* This executable works by reading process address structures, so needs<br>
* to be executed as root<br>
<br>
Regarding 64bits, I might be wrong but IIRC that's needed to get data<br>
about 64bit processes. Maybe that's somehow related to the root requisite<br>
as well, since it's probably a different way than "ps".<br>
<br>
I will have to look for a way to support cleanly both compilers, probably<br>
using autoconf. I'll look further into this when I can.<br>
<br>
Thanks<br>
<br>
----------------------------------------------------------------------<br>
<br>
Comment By: Werner (forsbring)<br>
Date: 2009-03-12 09:23<br>
<br>
Message:<br>
Nope, not trying to run from source repository. But after looking into the<br>
buildlogs I guess I found the problem. You assume we use gcc, and the<br>
compiler option -m64 is used for pst3, which is not working with cc from<br>
older SunStudio.<br>
<br>
Why do pst3 have to be setuid root when /usr/bin/ps and /usr/ucp/ps don't?<br>
And regarding the 64-bit requirement, why? Almost no other binaries on<br>
Solaris is 64-bit. The pst3-thing seems like a ugly hack to me, sorry. :)<br>
<br>
<br>
- Werner<br>
<br>
----------------------------------------------------------------------<br>
<br>
Comment By: Thomas Guyot-Sionnest (dermoth)<br>
Date: 2009-02-24 04:29<br>
<br>
Message:<br>
Thanks for the debug output. Nagios-plugins now use pst3 to get the process<br>
list and this program needs to be installed and setuid root (I think old<br>
versions of nagios-plugins used it too, so you may have it already on some<br>
servers).<br>
<br>
It looks like you're trying to run from the source repository. Be sure to<br>
install the plugins, or at least hand-install pst3 (in plugins-root/<br>
directory, don't forget to setuit root).<br>
<br>
If you still have issues I'll be able to help you is you can send the<br>
truss output again with the option to follow forks (-f).<br>
<br>
----------------------------------------------------------------------<br>
<br>
You can respond by visiting:<br>
<a href="https://sourceforge.net/tracker/?func=detail&atid=397597&aid=2632995&group_id=29880" target="_blank">https://sourceforge.net/tracker/?func=detail&atid=397597&aid=2632995&group_id=29880</a><br>

<br>
------------------------------------------------------------------------------<br>
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day<br>
trial. Simplify your report design, integration and deployment - and focus on<br>
what you do best, core application coding. Discover what's new with<br>
Crystal Reports now.  <a href="http://p.sf.net/sfu/bobj-july" target="_blank">http://p.sf.net/sfu/bobj-july</a><br>
_______________________________________________________<br>
Nagios Plugin Development Mailing List <a href="mailto:Nagiosplug-devel@lists.sourceforge.net">Nagiosplug-devel@lists.sourceforge.net</a><br>
Unsubscribe at <a href="https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel</a><br>
::: Please include plugins version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br>
</blockquote></div><br><br clear="all"><br>-- <br>Cordially,<br>Shadhin Rahman<br>