> can you install icinga2-dbg before doing the trace?
>
> Thanks
I got the following output while installing icinga2-gdb. I'm posting
it too because I don't know if it's relevant.

===begin of installation output===
pi@icinga-pi ~ $ sudo apt-get install icinga2-dbg
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  icinga2-dbg
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
Need to get 39,5 MB of archives.
After this operation, 43,5 MB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  icinga2-dbg
Install these packages without verification [y/N]? y
Get:1 http://ftp.de.debian.org/debian/ wheezy-backports/main
icinga2-dbg armhf 2.1.1-1~bpo70+1 [39,5 MB]
Fetched 39,5 MB in 21s (1.854 kB/s)
Selecting previously unselected package icinga2-dbg.
(Reading database ... 92783 files and directories currently installed.)
Unpacking icinga2-dbg (from .../icinga2-dbg_2.1.1-1~bpo70+1_armhf.deb) ...
Setting up icinga2-common (2.1.1-1~bpo70+1) ...
enabling default icinga2 features
The feature 'checker' is already enabled.
The feature 'notification' is already enabled.
The feature 'mainlog' is already enabled.
[....] checking Icinga2 configuration
[FAIL] checking Icinga2 configuration. Check
'/var/log/icinga2/startup.log' for details. ... failed!
invoke-rc.d: initscript icinga2, action "start" failed.
dpkg: error processing icinga2-common (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of icinga2-bin:
 icinga2-bin depends on icinga2-common (= 2.1.1-1~bpo70+1); however:
  Package icinga2-common is not configured yet.

dpkg: error processing icinga2-bin (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of icinga2:
 icinga2 depends on icinga2-bin (= 2.1.1-1~bpo70+1); however:
  Package icinga2-bin is not configured yet.
 icinga2 depends on icinga2-common (= 2.1.1-1~bpo70+1); however:
  Package icinga2-common is not configured yet.

dpkg: error processing icinga2 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of icinga2-dbg:
 icinga2-dbg depends on icinga2-bin (= 2.1.1-1~bpo70+1); however:
  Package icinga2-bin is not configured yet.

dpkg: error processing icinga2-dbg (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 icinga2-common
 icinga2-bin
 icinga2
 icinga2-dbg
E: Sub-process /usr/bin/dpkg returned an error code (1)
pi@icinga-pi ~ $
===end of installation output===

And here comes the debuggin output:

===begin of gdb output===
pi@icinga-pi ~ $ gdb
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "arm-linux-gnueabihf".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
(gdb) file icinga2
Reading symbols from /usr/sbin/icinga2...Reading symbols from
/usr/lib/debug/.build-id/8f/09d777bf18eeddb913f8512eb48155da5a435c.debug...done.
done.
(gdb) run
Starting program: /usr/sbin/icinga2
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".

Program received signal SIGILL, Illegal instruction.
0xb6a9f660 in call_gmon_start () from
/usr/lib/arm-linux-gnueabihf/icinga2/libexecvpe.so
(gdb) backtrace
#0  0xb6a9f660 in call_gmon_start () from
/usr/lib/arm-linux-gnueabihf/icinga2/libexecvpe.so
#1  0xb6a9f5c2 in _init () from
/usr/lib/arm-linux-gnueabihf/icinga2/libexecvpe.so
#2  0xb6fe8210 in ?? () from /lib/ld-linux-armhf.so.3
#3  0xbefff954 in ?? ()
#4  0xbefff954 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb)
===end of gdb output===

Does this help?

Joerg
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to