Hi Michael, when running icinga2 daemon with gdb it doesn't crash, it only crashes when i start it with the 'service' command.
And since 'service' is a shell script it won't run through gdb... Any other ideas? On Mon, Nov 16, 2015 at 11:06 AM, Michael Friedrich < michael.friedr...@netways.de> wrote: > > > On 16 Nov 2015, at 16:35, Zachary McGibbon <zachary.mcgib...@gmail.com> > wrote: > > > > I'm getting a segfault on 2.4.0 running on redhat 6.7: > > > > [root@icinga-dev1 conf.d]# service icinga2 restart > > Checking configuration: /etc/init.d/icinga2: line 115: 9857 > Segmentation fault $DAEMON daemon -c $ICINGA2_CONFIG_FILE -C > > $ICINGA2_STARTUP_LOG 2>&1 > > Please run it with gdb and generate a full back trace > > gdb —args /usr/lib64/icinga2/sbin/icinga2 daemon > r > bt full > > and attach it. > > > > Not restarting Icinga 2 due to configuration errors. Check > '/var/log/icinga2/startup.log' for details. > > > > ... and no errors in the statup.log file > > > > [root@icinga-dev1 conf.d]# grep -i error /var/log/icinga2/startup.log | > wc > > 0 0 0 > > > > [root@icinga-dev1 conf.d]# icinga2 --version > > icinga2 - The Icinga 2 network monitoring daemon (version: v2.4.0) > > > > Copyright (c) 2012-2015 Icinga Development Team (https://www.icinga.org) > > License GPLv2+: GNU GPL version 2 or later < > http://gnu.org/licenses/gpl2.html> > > This is free software: you are free to change and redistribute it. > > There is NO WARRANTY, to the extent permitted by law. > > > > Application information: > > Installation root: /usr > > Sysconf directory: /etc > > Run directory: /var/run > > Local state directory: /var > > Package data directory: /usr/share/icinga2 > > State path: /var/lib/icinga2/icinga2.state > > Modified attributes path: /var/lib/icinga2/modified-attributes.conf > > Objects path: /var/cache/icinga2/icinga2.debug > > Vars path: /var/cache/icinga2/icinga2.vars > > PID path: /var/run/icinga2/icinga2.pid > > > > System information: > > Operating system: Linux > > Operating system version: 2.6.32-504.23.4.el6.x86_64 > > Architecture: x86_64 > > Distribution: "Red Hat Enterprise Linux Server release 6.7 (Santiago)" > > > > _______________________________________________ > > icinga-users mailing list > > icinga-users@lists.icinga.org > > https://lists.icinga.org/mailman/listinfo/icinga-users > > > -- > Michael Friedrich, DI (FH) > Senior Developer > > NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nuernberg > Tel: +49 911 92885-0 | Fax: +49 911 92885-77 > GF: Julian Hein, Bernd Erk | AG Nuernberg HRB18461 > http://www.netways.de | michael.friedr...@netways.de > > ** OSMC 2015 - November - netways.de/osmc ** > ** OSDC 2016 - April – netways.de/osdc ** > _______________________________________________ > icinga-users mailing list > icinga-users@lists.icinga.org > https://lists.icinga.org/mailman/listinfo/icinga-users >
_______________________________________________ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users