Some errors with SIGSEGV

Ethan Galstad nagios at nagios.org
Thu Mar 22 17:17:02 CET 2007


Hendrik Bäcker wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>  
> matthias.flittner at nethinks.com 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: nagios at nagios.org
Website: http://www.nagios.org

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV




More information about the Developers mailing list