Here's the info.
$ ls -ld /var/lib/icinga2/api/repository
drwxr-x--- 2 nagios nagios 4096 Dec 11 16:11
/var/lib/icinga2/api/repository
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.1 LTS"
$ icinga2 --version
icinga2 - The Icinga 2 network monitoring daemon (version: r2.2.1-1)
Usage:
icinga2 <command> [<arguments>]
Copyright (c) 2012-2014 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.
Application information:
Installation root: /usr
Sysconf directory: /etc
Run directory: /run
Local state directory: /var
Package data directory: /usr/share/icinga2
State path: /var/lib/icinga2/icinga2.state
Objects path: /var/cache/icinga2/icinga2.debug
Vars path: /var/cache/icinga2/icinga2.vars
PID path: /run/icinga2/icinga2.pid
Application type: icinga/IcingaApplication
Also, I'm not sure if this is relevent, but although the file it's
trying to access
(/var/lib/icinga2/api/repository/ad15f917bc8b492e9780e17c6a7936d3ba08d1d513e87bcdd6f5089f8f2e266f.repo.tmp)
doesn't exist, the file without the '.tmp' suffix does:
$ ls -ld
/var/lib/icinga2/api/repository/ad15f917bc8b492e9780e17c6a7936d3ba08d1d513e87bcdd6f5089f8f2e266f.repo
-rw-r--r-- 1 nagios nagios 171 Dec 11 16:31
/var/lib/icinga2/api/repository/ad15f917bc8b492e9780e17c6a7936d3ba08d1d513e87bcdd6f5089f8f2e266f.repo
I stopped icinga, removed that file, and started it again and the file
reapppeared.
On 12/11/2014 12:28 AM, Gunnar Beutner wrote:
Hi Devin,
Am 11.12.2014 um 02:30 schrieb Devin Christensen:
I'm seeing the following error in my current setup:
[2014-12-11 01:16:05 +0000] debug/ApiClient: Error while
processing message for identity 'remote-node'
/build/buildd/icinga2-2.2.1/lib/icinga/apievents.cpp(1654): Throw
in function static icinga::Value
icinga::ApiEvents::UpdateRepositoryAPIHandler(const
icinga::MessageOrigin&, const Ptr&)
Dynamic exception type:
boost::exception_detail::clone_impl<icinga::posix_error>
std::exception::what: std::exception
[icinga::StackTrace*] =
(0) libicinga.so: void
boost::throw_exception<icinga::posix_error>(icinga::posix_error
const&) (+0xbe) [0x7f09a3460f3e]
(1) libicinga.so:
icinga::ApiEvents::UpdateRepositoryAPIHandler(icinga::MessageOrigin const&,
boost::intrusive_ptr<icinga::Dictionary> const&) (+0x97e)
[0x7f09a344fc0e]
(2) libremote.so:
boost::detail::function::function_invoker2<icinga::Value
(*)(icinga::MessageOrigin const&,
boost::intrusive_ptr<icinga::Dictionary> const&), icinga::Value,
icinga::MessageOrigin const&,
boost::intrusive_ptr<icinga::Dictionary>
const&>::invoke(boost::detail::function::function_buffer&,
icinga::MessageOrigin const&,
boost::intrusive_ptr<icinga::Dictionary> const&) (+0xf)
[0x7f09a616b5df]
(3) libremote.so:
icinga::ApiFunction::Invoke(icinga::MessageOrigin const&,
boost::intrusive_ptr<icinga::Dictionary> const&) (+0x1d)
[0x7f09a6179b4d]
(4) libremote.so: icinga::ApiClient::ProcessMessage()
(+0x4d8) [0x7f09a616a4f8]
(5) libremote.so: icinga::ApiClient::MessageThreadProc()
(+0x58) [0x7f09a616b188]
(6) libboost_thread.so.1.54.0: <unknown function>
(+0xba4a) [0x7f09a936ca4a]
(7) libpthread.so.0: <unknown function> (+0x8182)
[0x7f09a8cd9182]
(8) libc.so.6: clone (+0x6d) [0x7f09a7b5cfbd]
[icinga::ContextTrace*] =
2, "No such file or directory"[boost::errinfo_file_name_*] =
/var/lib/icinga2/api/repository/ad15f917bc8b492e9780e17c6a7936d3ba08d1d513e87bcdd6f5089f8f2e266f.repo.tmp
[boost::errinfo_api_function_*] = rename
I'm wondering if I could get some direction on where to start tracking
this down. It doesn't seem to be affecting the ability to perform
remote checks on 'remote-node', but I'm concerened it might be having
other negative effects that I'm not yet aware of.
Can you show me the output of
ls -ld /var/lib/icinga2/api/repository/
Also, which operating system are you using and which user does Icinga 2
run as?
Thanks!
Kind regards,
Gunnar Beutner
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users
--
Gunnar Beutner
Application 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 | [email protected]
** OSDC 2015 - April - osdc.de **
** Puppet Camp Berlin 2015 - April - netways.de/puppetcamp **
** OSBConf 2015 - September – osbconf.org **
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users