Nagios-3.x Solaris 9 Build Problem
Richard Aseltine
rha298 at hotmail.com
Wed Oct 10 14:09:55 CEST 2007
Alex wrote
> hmm, what about
> file /opt/nagios/bin/nagios
# file /opt/nagios/bin/nagios
/opt/nagios/bin/nagios: ELF 32-bit MSB executable SPARC Version 1, dynamically linked, stripped
Darren Dunham wrote
> Can you run/truss it as nagios?
I cannot run it as root or nagios. Below is from root. Without truss and with truss.
# /opt/nagios/bin/nagios -v /opt/nagios/etc/nagios.cfg
Killed
/export/home
# truss /opt/nagios/bin/nagios -v /opt/nagios/etc/nagios.cfg
truss: cannot execute program: /opt/nagios/bin/nagios
Andreas Ericsson wrote
> "other" don't have execute permissions here. I wonder what kind of umask you
> were using to get this to happen. Try
> chmod 755 /opt/nagios/bin/nagios
> before trying to start it again.
As stated to Darren I ran it a nagios user and root. I did try changing the permissions anyway.
Thanks for the input guys. I'm scratching my head on this one. I've build Nagios with out issue many times.
> Date: Wed, 10 Oct 2007 10:59:55 +0200
> From: ae at op5.se
> To: rha298 at hotmail.com
> CC: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] Nagios-3.x Solaris 9 Build Problem
>
> Richard Aseltine wrote:
> > That's what I was suppose to show instead of the startup
> >
> > # ls -l /opt/nagios/bin/nagios
> > -rwxrwxr-- 1 nagios nagios 1268772 Oct 9 18:41 /opt/nagios/bin/nagios
> >
>
> "other" don't have execute permissions here. I wonder what kind of umask you
> were using to get this to happen. Try
>
> chmod 755 /opt/nagios/bin/nagios
>
> before trying to start it again.
>
> --
> Andreas Ericsson andreas.ericsson at op5.se
> OP5 AB www.op5.se
> Tel: +46 8-230225 Fax: +46 8-230231
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> 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
_________________________________________________________________
Boo! Scare away worms, viruses and so much more! Try Windows Live OneCare!
http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20071010/d43356f7/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
-------------- next part --------------
_______________________________________________
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