Re: [Nagios-devel] Some errors with SIGSEGV

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] Some errors with SIGSEGV

Post by Guest »

Ethan Galstad wrote:
> Hendrik Bäcker wrote:
>
>> It is not only on SLES. I am able to reproduce it even on OpenSuSE
>> 10.x, Ubuntu 6.10 (edgy) and 6.07 (dapper).
>>
>> And yes it is only when using the default "minimal" config. After get
>> rid of the -O2 Flag it runs without any problems. A few months ago I
>> thought it could something have to do with a gcc version 4.x instead
>> of 3.x.... but this is just a thought.
>>
>> I think the list elements where deleted before they are read if there
>> is only one host (or just a few [>
> This is odd indeed. I've been running Nagios 3.a1 on Ubuntu 6.10 (edgy)
> and gcc 4.1.2 under Parallels on my MBP without problems for the last
> day or so. Haven't tried Nagios 2.x yet though. I'm downloading the
> Ubuntu fiesty beta to give a try and will see if I come across any
> problems with Nagios 3a1 or 2.8.
>
> Anyone using Nagios on these distros without problems? Strange that
> more people haven't reported problems given that there are packages for
> Nagios on Ubuntu, etc.
>
>
I see no problems with Nagios 3.0a1 on Ubuntu Feisty Test1?( with
updates) and on Fedora 7Test2?(with updates), both on amd64 machines
(with one and two CPUs). I do the following:

./configure
make all
su -c "make install install-config"
# copy the check plugins from the package installation directory to
/usr/local/nagios/libexec/
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
/usr/local/nagios/bin/nagios /usr/local/nagios/etc/nagios.cfg
--> No error
/usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
--> No error
Makefile containing: Makefile:CFLAGS=-g -O2 -DHAVE_CONFIG_H

The configuration file nagios.cfg only enables:
cfg_file=/usr/local/nagios/etc/commands.cfg
cfg_file=/usr/local/nagios/etc/localhost.cfg

Should the error happens immediately or after some time?

A Debian package for Nagios 3.0a1 is not available, also a RPM - or I'm
wrong?

Best Regards
Herbert Straub





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked