help debug

James bjlockie at lockie.ca
Tue Sep 9 22:55:35 CEST 2008


On Tue, September 9, 2008 4:24 pm, Marc Powell wrote:
>

> On Sep 9, 2008, at 3:00 PM, James wrote:
>
>
>> Assaf Flatto wrote:
>>
>>> Did you take a look in the messges or syslog ? Maybe also in the
>>> nagios
>> .log to see some output on the reason it dies ?
>>
>>
>> There is nothing. :-(
>>
>>
>>> Did you install from source or packages ?
>>>
>>
>> I compiled it from source.
>>
>>
>>> In what platform, are you running , what version of nagios ?
>>>
>> solaris2.10 nagios-3.0.3
>>>
>>>
>>> All this data will help .
>>>
>>
>> I recompiled it and it still doesn't work.
>>
>
> Try running the daemon in foreground mode and/or under truss (truss -
> fea /path/to/nagios /path/to/nagios.cfg, I believe) to see what's killing
> it.

sudo truss -fea /usr/local/nagios/bin/nagios /usr/local/nagios/etc/nagios.cfg
truss: cannot execute program: /usr/local/nagios/bin/nagios

$ ls -l /usr/local/nagios/bin/nagios
-rwxrwxr--   1 nagios   nagios   1318060 Aug 22 17:24
/usr/local/nagios/bin/nagios

>
> --
> Marc
>
>
> -------------------------------------------------------------------------
>  This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge Build the coolest Linux based applications with Moblin SDK & win
> great prizes Grand prize is a trip for two to an Open Source event
> anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> 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
>
>



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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