[icinga-users] Icinga 2.4.0 segfault on redhat 6.7

Zachary McGibbon zachary.mcgibbon at gmail.com
Mon Nov 16 16:58:41 CET 2015


Strange, it only gives the error when i use 'service' to start/restart
icinga, if i use the /etc/init.d/icinga2 file directly it works...  I've
tried running the debuglog to see if I could get any error output but I get
nothing...

root at icinga-dev1 icinga2]# /etc/init.d/icinga2 start
Checking configuration: Done
Starting Icinga 2: Done

[root at icinga-dev1 icinga2]# service icinga2 start
Checking configuration: /etc/init.d/icinga2: line 115: 25059 Segmentation
fault      $DAEMON daemon -c $ICINGA2_CONFIG_FILE -C > $ICINGA2_STARTUP_LOG
2>&1
Not starting Icinga 2 due to configuration errors. Check
'/var/log/icinga2/startup.log' for details.

On Mon, Nov 16, 2015 at 10:35 AM, Zachary McGibbon <
zachary.mcgibbon at gmail.com> wrote:

> I'm getting a segfault on 2.4.0 running on redhat 6.7:
>
> [root at 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
> 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 at icinga-dev1 conf.d]# grep -i error /var/log/icinga2/startup.log | wc
>       0       0       0
>
> [root at 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)"
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.icinga.org/pipermail/icinga-users/attachments/20151116/218ba601/attachment.html>


More information about the icinga-users mailing list