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: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> CC: nagios-users@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                   [EMAIL PROTECTED]
> 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@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
-------------------------------------------------------------------------
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@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

Reply via email to