help debug
James
bjlockie at lockie.ca
Wed Sep 10 22:11:42 CEST 2008
On Wed, September 10, 2008 2:49 pm, James wrote:
> On Tue, September 9, 2008 5:13 pm, Marc Powell wrote:
>
>>>>
>
>>>> 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
>>>
>>>
>>
>> Don't give up on Google just because we're helping... The first hit on
>> the following search (sunmanagers.org) offers lots of helpful
>> suggestions and a possible solution --
>>
>> http://www.google.com/search?q=truss:+cannot+execute+program:+&ie=UTF-8
>> &o
>> e=UTF-8
>>
>> --
>> Marc
>>
>
> sudo ldd /usr/local/nagios/bin/nagios ldd: /usr/local/nagios/bin/nagios:
> file has insecure interpreter ELF
>
> I think it has something to do with my build environment.
It wasn't the build, it was the installer.
The one is base works fine.
The installed one doesn't work.
$ ll base/nagios
-rwxr-xr-x 1 x x 1407832 Sep 9 16:08 base/nagios
$ ll /usr/local/nagios/bin/nagios
-rwxrwxr-- 1 nagios nagios 1318060 Aug 22 17:24 /usr/local/nagios/bin/nagios
-------------------------------------------------------------------------
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