Re: [Nagios-devel] Some errors with SIGSEGV
Posted: Thu Mar 22, 2007 7:17 am
Hendrik Bäcker wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> [email protected] schrieb:
>> I compiled nagios on a cleanly system. And I don't use NDOUtils,
>> but this SIGSEGV happens nevertheless. What can I do to run nagios.
>>
> Hi Matthias,
>
> Do you use more hosts and services than the "localhost.cfg" from a
> fresh Nagios install?
> If so, try to copy your host and servive definitions, but give them
> different names like "localhost2", "localhost3" and so on.
>
> I've got the same situation if my fresh Nagios have to less to do, it
> seems.
>
> You can try to hack the gcc optimizer in the Makefile to build the
> nagios binary without any optimizing.
> Look for the CFLAGS and an -O2 or something similar.
>
[snip]
Hendrik - are you running into the same problem on SLES? Only when you
use the small, sample localhost.cfg file or with other configs as well?
Does the problem go away if you get rid of the -O2 compile flags?
Ethan Galstad,
Nagios Developer
---
Email: [email protected]
Website: http://www.nagios.org
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> [email protected] schrieb:
>> I compiled nagios on a cleanly system. And I don't use NDOUtils,
>> but this SIGSEGV happens nevertheless. What can I do to run nagios.
>>
> Hi Matthias,
>
> Do you use more hosts and services than the "localhost.cfg" from a
> fresh Nagios install?
> If so, try to copy your host and servive definitions, but give them
> different names like "localhost2", "localhost3" and so on.
>
> I've got the same situation if my fresh Nagios have to less to do, it
> seems.
>
> You can try to hack the gcc optimizer in the Makefile to build the
> nagios binary without any optimizing.
> Look for the CFLAGS and an -O2 or something similar.
>
[snip]
Hendrik - are you running into the same problem on SLES? Only when you
use the small, sample localhost.cfg file or with other configs as well?
Does the problem go away if you get rid of the -O2 compile flags?
Ethan Galstad,
Nagios Developer
---
Email: [email protected]
Website: http://www.nagios.org
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]