Hi Guys, I have compiled the icinga to arm platform, but I'm having
problems in icinga cluster startup.
[2014-02-10 11:50:34 +0000] <WQ #1> information/cluster: Adding new
listener: port 8888
Caught unhandled exception.
Current time: 2014-02-10 11:50:34 +0000
***
* Application version: v0.0.7-8-ge534f9b
* Installation root: /usr
* Sysconf directory: /etc
* Local state directory: /var
* Package data directory: /usr/share/icinga2
* State path: /var/lib/icinga2/icinga2.state
* PID path: /var/run/icinga2/icinga2.pid
* Application type: icinga/IcingaApplication
***
/tmp/icinga2/lib/base/tcpsocket.cpp(118): Throw in function void
icinga::TcpSocket::Bind(const icinga::String&, const icinga::String&, int)
Dynamic exception type:
boost::exception_detail::clone_impl<icinga::socket_error>
std::exception::what: std::exception
Somebody does have idea about this ? Can be a bug?
Its attached the full debug log.
ENV DETAILS
========
root@raspberrypi:/home/pi# icinga -V
bash: icinga: command not found
root@raspberrypi:/home/pi# icinga2 -V
icinga2 - The Icinga 2 network monitoring daemon. (Version:
v0.0.7-8-ge534f9b)
Copyright (c) 2012-present Icinga Development Team (http://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.
root@raspberrypi:/home/pi# uname -a
Linux raspberrypi 3.10.26+ #2 Fri Jan 17 22:13:59 EST 2014 armv6l GNU/Linux
root@raspberrypi:/home/pi# cat /proc/cpuinfo
processor : 0
model name : ARMv6-compatible processor rev 7 (v6l)
BogoMIPS : 604.56
Features : swp half thumb fastmult vfp edsp java tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xb76
CPU revision : 7
Hardware : ARM-Versatile PB
Revision : 0000
Serial : 0000000000000000
root@raspberrypi:/home/pi# dpkg -l "*boost*"
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version
Architecture Description
+++-================================-=====================-=====================-=====================================================================
ii libboost-iostreams1.46.1 1.46.1-8
armhf Boost.Iostreams Library
ii libboost-iostreams1.48.0 1.48.0-3
armhf Boost.Iostreams Library
ii libboost-iostreams1.49.0 1.49.0-3.2
armhf Boost.Iostreams Library
ii libboost-iostreams1.50.0 1.50.0-1
armhf Boost.Iostreams Library
ii libboost-program-options1.49.0 1.49.0-3.2
armhf program options library for C++
ii libboost-regex1.49.0 1.49.0-3.2
armhf regular expression library for C++
ii libboost-system1.49.0 1.49.0-3.2
armhf Operating system (e.g. diagnostics support) library
ii libboost-thread1.49.0 1.49.0-3.2
armhf portable C++ multi-threading
Greats
Calos
--
[2014-02-10 11:50:33 +0000] <Main Thread> information/icinga-app: Icinga
application loader (version: v0.0.7-8-ge534f9b)
[2014-02-10 11:50:33 +0000] <Main Thread> information/icinga-app: Loading
application type: icinga/IcingaApplication
[2014-02-10 11:50:33 +0000] <Main Thread> information/base: Loading library
'libicinga.so'
[2014-02-10 11:50:33 +0000] <Main Thread> information/config: Adding include
search dir: /usr/share/icinga2
[2014-02-10 11:50:33 +0000] <Main Thread> information/config: Compiling config
file: /etc/icinga2/icinga2.conf
[2014-02-10 11:50:33 +0000] <Main Thread> information/config: Compiling config
file: /usr/share/icinga2/itl/itl.conf
[2014-02-10 11:50:33 +0000] <Main Thread> information/config: Compiling config
file: /usr/share/icinga2/itl/command.conf
[2014-02-10 11:50:33 +0000] <Main Thread> information/base: Loading library
'libmethods.so'
[2014-02-10 11:50:34 +0000] <Main Thread> information/config: Compiling config
file: /usr/share/icinga2/itl/command-common.conf
[2014-02-10 11:50:34 +0000] <Main Thread> information/config: Compiling config
file: /usr/share/icinga2/itl/timeperiod.conf
[2014-02-10 11:50:34 +0000] <Main Thread> information/config: Compiling config
file: /etc/icinga2/features-enabled/checker.conf
[2014-02-10 11:50:34 +0000] <Main Thread> information/base: Loading library
'libchecker.so'
[2014-02-10 11:50:34 +0000] <Main Thread> information/config: Compiling config
file: /etc/icinga2/features-enabled/notification.conf
[2014-02-10 11:50:34 +0000] <Main Thread> information/base: Loading library
'libnotification.so'
[2014-02-10 11:50:34 +0000] <Main Thread> information/config: Compiling config
file: /etc/icinga2/features-enabled/mainlog.conf
[2014-02-10 11:50:34 +0000] <Main Thread> information/config: Compiling config
file: /etc/icinga2/conf.d/generic-service.conf
[2014-02-10 11:50:34 +0000] <Main Thread> information/config: Compiling config
file: /etc/icinga2/conf.d/timeperiods.conf
[2014-02-10 11:50:34 +0000] <Main Thread> information/config: Compiling config
file: /etc/icinga2/conf.d/downtimes.conf
[2014-02-10 11:50:34 +0000] <Main Thread> information/config: Compiling config
file: /etc/icinga2/conf.d/macros.conf
[2014-02-10 11:50:34 +0000] <Main Thread> information/config: Compiling config
file: /etc/icinga2/conf.d/localhost.conf
[2014-02-10 11:50:34 +0000] <Main Thread> information/config: Compiling config
file: /etc/icinga2/conf.d/generic-host.conf
[2014-02-10 11:50:34 +0000] <Main Thread> information/config: Compiling config
file: /etc/icinga2/conf.d/generic-user.conf
[2014-02-10 11:50:34 +0000] <Main Thread> information/config: Compiling config
file: /etc/icinga2/conf.d/notifications.conf
[2014-02-10 11:50:34 +0000] <Main Thread> information/config: Compiling config
file: /etc/icinga2/conf.d/groups.conf
[2014-02-10 11:50:34 +0000] <Main Thread> information/config: Compiling config
file: /etc/icinga2/conf.d/users.conf
[2014-02-10 11:50:34 +0000] <Main Thread> information/base: Loading library
'libcluster.so'
[2014-02-10 11:50:34 +0000] <Main Thread> information/config: Validating config
items (step 1)...
[2014-02-10 11:50:34 +0000] <Main Thread> information/config: Committing config
items
[2014-02-10 11:50:34 +0000] <WQ #1> debug/base: Spawning worker thread.
[2014-02-10 11:50:34 +0000] <WQ #1> debug/base: Spawning worker thread.
[2014-02-10 11:50:34 +0000] <WQ #1> debug/base: Spawning worker thread.
[2014-02-10 11:50:34 +0000] <WQ #1> debug/base: Spawning worker thread.
[2014-02-10 11:50:34 +0000] <WQ #1> debug/base: Spawning worker thread.
[2014-02-10 11:50:34 +0000] <WQ #1> debug/base: Spawning worker thread.
[2014-02-10 11:50:34 +0000] <WQ #1> debug/base: Spawning worker thread.
[2014-02-10 11:50:34 +0000] <WQ #1> debug/base: Spawning worker thread.
[2014-02-10 11:50:34 +0000] <WQ #1> debug/base: Spawning worker thread.
[2014-02-10 11:50:34 +0000] <WQ #1> debug/base: Spawning worker thread.
[2014-02-10 11:50:34 +0000] <WQ #1> debug/base: Spawning worker thread.
[2014-02-10 11:50:34 +0000] <WQ #1> debug/base: Spawning worker thread.
[2014-02-10 11:50:34 +0000] <WQ #1> debug/base: Spawning worker thread.
[2014-02-10 11:50:34 +0000] <WQ #1> debug/base: Spawning worker thread.
[2014-02-10 11:50:34 +0000] <WQ #1> debug/base: Spawning worker thread.
[2014-02-10 11:50:34 +0000] <WQ #1> debug/base: Spawning worker thread.
[2014-02-10 11:50:34 +0000] <Main Thread> information/config: Triggering
OnConfigLoaded signal for config items
[2014-02-10 11:50:34 +0000] <Main Thread> information/config: Validating config
items (step 2)...
[2014-02-10 11:50:34 +0000] <Main Thread> information/config: Checked 22
CheckCommand(s).
[2014-02-10 11:50:34 +0000] <Main Thread> information/config: Checked 1
NotificationCommand(s).
[2014-02-10 11:50:34 +0000] <Main Thread> information/config: Checked 3
TimePeriod(s).
[2014-02-10 11:50:34 +0000] <Main Thread> information/config: Checked 1
CheckerComponent(s).
[2014-02-10 11:50:34 +0000] <Main Thread> information/config: Checked 1
NotificationComponent(s).
[2014-02-10 11:50:34 +0000] <Main Thread> information/config: Checked 1
FileLogger(s).
[2014-02-10 11:50:34 +0000] <Main Thread> information/config: Checked 9
Service(s).
[2014-02-10 11:50:34 +0000] <Main Thread> information/config: Checked 1
ScheduledDowntime(s).
[2014-02-10 11:50:34 +0000] <Main Thread> information/config: Checked 1 Host(s).
[2014-02-10 11:50:34 +0000] <Main Thread> information/config: Checked 1 User(s).
[2014-02-10 11:50:34 +0000] <Main Thread> information/config: Checked 9
Notification(s).
[2014-02-10 11:50:34 +0000] <Main Thread> information/config: Checked 2
HostGroup(s).
[2014-02-10 11:50:34 +0000] <Main Thread> information/config: Checked 1
UserGroup(s).
[2014-02-10 11:50:34 +0000] <Main Thread> information/config: Checked 1
ClusterListener(s).
[2014-02-10 11:50:34 +0000] <Main Thread> information/config: Checked 2
Endpoint(s).
[2014-02-10 11:50:34 +0000] <Main Thread> information/config: Checked 1
IcingaApplication(s).
[2014-02-10 11:50:34 +0000] <Main Thread> information/base: Restoring program
state from file '/var/lib/icinga2/icinga2.state'
[2014-02-10 11:50:34 +0000] <Main Thread> debug/icinga: Removed downtime with
ID '5' from service 'localhost!load'.
[2014-02-10 11:50:34 +0000] <Main Thread> information/base: Restored 57 objects
[2014-02-10 11:50:34 +0000] <Main Thread> information/config: Triggering Start
signal for config items
[2014-02-10 11:50:34 +0000] <WQ #1> debug/icinga: ParseTimeRange: 'friday' =>
1392336000 -> 1392422400, stride: 1
[2014-02-10 11:50:34 +0000] <WQ #1> debug/icinga: ParseTimeRange: 'monday' =>
1391990400 -> 1392076800, stride: 1
[2014-02-10 11:50:34 +0000] <WQ #1> debug/icinga: ParseTimeRange: 'saturday' =>
1392422400 -> 1392508800, stride: 1
[2014-02-10 11:50:34 +0000] <WQ #1> debug/icinga: ParseTimeRange: 'sunday' =>
1391904000 -> 1391990400, stride: 1
[2014-02-10 11:50:34 +0000] <WQ #1> debug/icinga: ParseTimeRange: 'thursday' =>
1392249600 -> 1392336000, stride: 1
[2014-02-10 11:50:34 +0000] <WQ #1> debug/icinga: ParseTimeRange: 'tuesday' =>
1392076800 -> 1392163200, stride: 1
[2014-02-10 11:50:34 +0000] <WQ #1> debug/icinga: ParseTimeRange: 'wednesday'
=> 1392163200 -> 1392249600, stride: 1
[2014-02-10 11:50:34 +0000] <WQ #1> debug/icinga: ParseTimeRange: 'friday' =>
1392336000 -> 1392422400, stride: 1
[2014-02-10 11:50:34 +0000] <WQ #1> debug/icinga: ParseTimeRange: 'monday' =>
1391990400 -> 1392076800, stride: 1
[2014-02-10 11:50:34 +0000] <WQ #1> debug/icinga: ParseTimeRange: 'saturday' =>
1392422400 -> 1392508800, stride: 1
[2014-02-10 11:50:34 +0000] <WQ #1> debug/icinga: ParseTimeRange: 'sunday' =>
1391904000 -> 1391990400, stride: 1
[2014-02-10 11:50:34 +0000] <WQ #1> debug/icinga: ParseTimeRange: 'thursday' =>
1392249600 -> 1392336000, stride: 1
[2014-02-10 11:50:34 +0000] <WQ #1> debug/icinga: ParseTimeRange: 'tuesday' =>
1392076800 -> 1392163200, stride: 1
[2014-02-10 11:50:34 +0000] <WQ #1> debug/icinga: ParseTimeRange: 'wednesday'
=> 1392163200 -> 1392249600, stride: 1
[2014-02-10 11:50:34 +0000] <WQ #1> debug/icinga: Legacy timeperiod update
returned 2 segments.
[2014-02-10 11:50:34 +0000] <WQ #1> debug/icinga: Removing segment 'Mon Feb 10
11:50:34 2014' <-> 'Tue Feb 11 11:50:34 2014' from TimePeriod '24x7'
[2014-02-10 11:50:34 +0000] <WQ #1> debug/icinga: Dumping TimePeriod '24x7'
[2014-02-10 11:50:34 +0000] <WQ #1> debug/icinga: Valid from 'Mon Feb 10
00:00:00 2014' until 'Wed Feb 12 00:00:00 2014
[2014-02-10 11:50:34 +0000] <WQ #1> debug/icinga: Segment: Sun Feb 9 00:00:00
2014 <-> Wed Feb 12 00:00:00 2014
[2014-02-10 11:50:34 +0000] <WQ #1> debug/icinga: ---
[2014-02-10 11:50:34 +0000] <WQ #1> debug/icinga: Adding segment 'Mon Feb 10
00:00:00 2014' <-> 'Tue Feb 11 00:00:00 2014' to TimePeriod '24x7'
[2014-02-10 11:50:34 +0000] <WQ #1> debug/icinga: Adding segment 'Tue Feb 11
00:00:00 2014' <-> 'Wed Feb 12 00:00:00 2014' to TimePeriod '24x7'
[2014-02-10 11:50:34 +0000] <WQ #1> debug/icinga: Dumping TimePeriod '24x7'
[2014-02-10 11:50:34 +0000] <WQ #1> debug/icinga: Valid from 'Mon Feb 10
00:00:00 2014' until 'Wed Feb 12 00:00:00 2014
[2014-02-10 11:50:34 +0000] <WQ #1> debug/icinga: Segment: Sun Feb 9 00:00:00
2014 <-> Wed Feb 12 00:00:00 2014
[2014-02-10 11:50:34 +0000] <WQ #1> debug/icinga: ---
[2014-02-10 11:50:34 +0000] <WQ #1> debug/icinga: ParseTimeRange: 'friday' =>
1392336000 -> 1392422400, stride: 1
[2014-02-10 11:50:34 +0000] <WQ #1> debug/icinga: ParseTimeRange: 'monday' =>
1391990400 -> 1392076800, stride: 1
[2014-02-10 11:50:34 +0000] <WQ #1> debug/icinga: ParseTimeRange: 'thursday' =>
1392249600 -> 1392336000, stride: 1
[2014-02-10 11:50:34 +0000] <WQ #1> debug/icinga: ParseTimeRange: 'tuesday' =>
1392076800 -> 1392163200, stride: 1
[2014-02-10 11:50:34 +0000] <WQ #1> debug/icinga: ParseTimeRange: 'wednesday'
=> 1392163200 -> 1392249600, stride: 1
[2014-02-10 11:50:34 +0000] <WQ #1> debug/icinga: ParseTimeRange: 'friday' =>
1392336000 -> 1392422400, stride: 1
[2014-02-10 11:50:34 +0000] <WQ #1> debug/icinga: ParseTimeRange: 'monday' =>
1391990400 -> 1392076800, stride: 1
[2014-02-10 11:50:34 +0000] <WQ #1> debug/icinga: ParseTimeRange: 'thursday' =>
1392249600 -> 1392336000, stride: 1
[2014-02-10 11:50:34 +0000] <WQ #1> debug/icinga: ParseTimeRange: 'tuesday' =>
1392076800 -> 1392163200, stride: 1
[2014-02-10 11:50:34 +0000] <WQ #1> debug/icinga: ParseTimeRange: 'wednesday'
=> 1392163200 -> 1392249600, stride: 1
[2014-02-10 11:50:34 +0000] <WQ #1> debug/icinga: Legacy timeperiod update
returned 2 segments.
[2014-02-10 11:50:34 +0000] <WQ #1> debug/icinga: Removing segment 'Mon Feb 10
11:50:34 2014' <-> 'Tue Feb 11 11:50:34 2014' from TimePeriod '9to5'
[2014-02-10 11:50:34 +0000] <WQ #1> debug/icinga: Dumping TimePeriod '9to5'
[2014-02-10 11:50:34 +0000] <WQ #1> debug/icinga: Valid from 'Mon Feb 10
09:00:00 2014' until 'Tue Feb 11 17:00:00 2014
[2014-02-10 11:50:34 +0000] <WQ #1> debug/icinga: Segment: Mon Feb 10 09:00:00
2014 <-> Mon Feb 10 11:50:34 2014
[2014-02-10 11:50:34 +0000] <WQ #1> debug/icinga: Segment: Tue Feb 11 11:50:34
2014 <-> Tue Feb 11 17:00:00 2014
[2014-02-10 11:50:34 +0000] <WQ #1> debug/icinga: ---
[2014-02-10 11:50:34 +0000] <WQ #1> debug/icinga: Adding segment 'Mon Feb 10
09:00:00 2014' <-> 'Mon Feb 10 17:00:00 2014' to TimePeriod '9to5'
[2014-02-10 11:50:34 +0000] <WQ #1> debug/icinga: Adding segment 'Tue Feb 11
09:00:00 2014' <-> 'Tue Feb 11 17:00:00 2014' to TimePeriod '9to5'
[2014-02-10 11:50:34 +0000] <WQ #1> debug/icinga: Dumping TimePeriod '9to5'
[2014-02-10 11:50:34 +0000] <WQ #1> debug/icinga: Valid from 'Mon Feb 10
09:00:00 2014' until 'Tue Feb 11 17:00:00 2014
[2014-02-10 11:50:34 +0000] <WQ #1> debug/icinga: Segment: Mon Feb 10 09:00:00
2014 <-> Mon Feb 10 17:00:00 2014
[2014-02-10 11:50:34 +0000] <WQ #1> debug/icinga: Segment: Tue Feb 11 09:00:00
2014 <-> Tue Feb 11 17:00:00 2014
[2014-02-10 11:50:34 +0000] <WQ #1> debug/icinga: ---
[2014-02-10 11:50:34 +0000] <WQ #1> debug/icinga: Legacy timeperiod update
returned 0 segments.
[2014-02-10 11:50:34 +0000] <WQ #1> debug/icinga: Removing segment 'Mon Feb 10
11:50:34 2014' <-> 'Tue Feb 11 11:50:34 2014' from TimePeriod 'none'
[2014-02-10 11:50:34 +0000] <WQ #1> debug/icinga: Dumping TimePeriod 'none'
[2014-02-10 11:50:34 +0000] <WQ #1> debug/icinga: Valid from 'Mon Feb 10
09:54:38 2014' until 'Tue Feb 11 11:50:34 2014
[2014-02-10 11:50:34 +0000] <WQ #1> debug/icinga: ---
[2014-02-10 11:50:34 +0000] <WQ #1> debug/icinga: Finding next scheduled
downtime segment for time 1392033034
[2014-02-10 11:50:34 +0000] <WQ #1> debug/icinga: Added downtime with ID '6'
between '2014-02-11 02:00:00' and '2014-02-11 03:00:00'.
[2014-02-10 11:50:34 +0000] <WQ #1> information/cluster: My identity: node-pi
[2014-02-10 11:50:34 +0000] <WQ #1> information/cluster: Adding new listener:
port 8888
Caught unhandled exception.
Current time: 2014-02-10 11:50:34 +0000
***
* Application version: v0.0.7-8-ge534f9b
* Installation root: /usr
* Sysconf directory: /etc
* Local state directory: /var
* Package data directory: /usr/share/icinga2
* State path: /var/lib/icinga2/icinga2.state
* PID path: /var/run/icinga2/icinga2.pid
* Application type: icinga/IcingaApplication
***
/tmp/icinga2/lib/base/tcpsocket.cpp(118): Throw in function void
icinga::TcpSocket::Bind(const icinga::String&, const icinga::String&, int)
Dynamic exception type:
boost::exception_detail::clone_impl<icinga::socket_error>
std::exception::what: std::exception
[icinga::StackTrace*] =
(0) /usr/lib/arm-linux-gnueabihf/icinga2/libbase.so: void
boost::throw_exception<icinga::socket_error>(icinga::socket_error const&)
(+0xb0) [0xb6d7f7a0]
(1) /usr/lib/arm-linux-gnueabihf/icinga2/libbase.so: void
boost::exception_detail::throw_exception_<icinga::socket_error>(icinga::socket_error
const&, char const*, char const*, int) (+0x48) [0xb6d7f838]
(2) /usr/lib/arm-linux-gnueabihf/icinga2/libbase.so:
icinga::TcpSocket::Bind(icinga::String const&, icinga::String const&, int)
(+0x2d4) [0xb6d8a75c]
(3) /usr/lib/arm-linux-gnueabihf/icinga2/libbase.so:
icinga::TcpSocket::Bind(icinga::String const&, int) (+0x38) [0xb6d8a810]
(4) /usr/lib/arm-linux-gnueabihf/icinga2/libcluster.so:
icinga::ClusterListener::AddListener(icinga::String const&) (+0x1bc)
[0xb5114e88]
(5) /usr/lib/arm-linux-gnueabihf/icinga2/libcluster.so:
icinga::ClusterListener::Start() (+0x318) [0xb511e834]
(6) /usr/lib/arm-linux-gnueabihf/icinga2/libbase.so:
icinga::DynamicObject::Activate() (+0x18) [0xb6d3c894]
(7) /usr/lib/arm-linux-gnueabihf/icinga2/libconfig.so:
boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void,
boost::_mfi::mf0<void, icinga::DynamicObject>,
boost::_bi::list1<boost::_bi::value<boost::shared_ptr<icinga::DynamicObject> >
> >, void>::invoke(boost::detail::function::function_buffer&) (+0x30)
[0xb6c5c94c]
(8) /usr/lib/arm-linux-gnueabihf/icinga2/libbase.so:
icinga::WorkQueue::WorkerThreadProc() (+0x34c) [0xb6daac58]
(9) /usr/lib/arm-linux-gnueabihf/icinga2/libbase.so:
boost::detail::thread_data<boost::_bi::bind_t<void, boost::_mfi::mf0<void,
icinga::WorkQueue>, boost::_bi::list1<boost::_bi::value<icinga::WorkQueue*> > >
>::run() (+0x2c) [0xb6dac280]
(10) /usr/lib/libboost_thread.so.1.49.0: <unknown function> (+0xd2b4)
[0xb6f812b4]
[icinga::ContextTrace*] =
[boost::errinfo_errno_*] = 97, "Address family not supported by protocol"
[boost::errinfo_api_function_*] = socket
***
* This would indicate a runtime problem or configuration error. If you believe
this is a bug in Icinga 2
* please submit a bug report at https://dev.icinga.org/ and include this stack
trace as well as any other
* information that might be useful in order to reproduce this problem.
***
Aborted
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users