I found the answer here:

https://dev.icinga.org/issues/8276



On Fri, Jan 30, 2015 at 10:36 PM, Ron McDonald <[email protected]> wrote:

> I am trying to compile Icinga2 on CentOS 6.5. It compiles successfully but
> I get the following error when trying to run the icinga2 execurable. Any
> suggestions would be appreciated.
>
> sh-4.1# /home/t/icinga2/sbin/icinga2 daemon -x debug
> [2015-01-31 03:25:37 +0000] information/cli: Icinga application loader
> (version: r2.2.3-1)
> [2015-01-31 03:25:37 +0000] information/cli: Loading application type:
> icinga/IcingaApplication
> [2015-01-31 03:25:37 +0000] information/Utility: Loading library
> 'libicinga.so'
> Caught unhandled exception.
> Current time: 2015-01-31 03:25:37 +0000
>
> Application information:
>   Application version: r2.2.3-1
>   Installation root: /home/t/icinga2
>   Sysconf directory: /home/t/icinga2/etc
>   Run directory: /home/t/icinga2/var/run
>   Local state directory: /home/t/icinga2/var
>   Package data directory: /home/t/icinga2/share/icinga2
>   State path: /home/t/icinga2/var/lib/icinga2/icinga2.state
>   Objects path: /home/t/icinga2/var/cache/icinga2/icinga2.debug
>   Vars path: /home/t/icinga2/var/cache/icinga2/icinga2.vars
>   PID path: /home/t/icinga2/var/run/icinga2/icinga2.pid
>   Application type: icinga/IcingaApplication
>
> /home/rx943t/icinga2-2.2.3/lib/config/configcompilercontext.cpp(77): Throw
> in function void icinga::ConfigCompilerContext::OpenObjectsFile(const
> icinga::String&)
> Dynamic exception type:
> N5boost16exception_detail10clone_implINS0_19error_info_injectorISt13runtime_errorEEEE
> std::exception::what: Could not open
> '/home/t/icinga2/var/cache/icinga2/icinga2.debug.tmp' file
> [PN6icinga10StackTraceE] =
>     (0) libconfig.so:
> icinga::ConfigCompilerContext::OpenObjectsFile(icinga::String const&)
> (+0x421) [0x7fdad72624a1]
>     (1) libcli.so: <unknown function> (+0x7375d) [0x7fdad6f9c75d]
>     (2) libcli.so:
> icinga::DaemonCommand::Run(boost::program_options::variables_map const&,
> std::vector<std::string, std::allocator<std::string> > const&) const
> (+0x723) [0x7fdad6f9d603]
>     (3) icinga2: Main() (+0x208e) [0x40eace]
>     (4) icinga2: main (+0x2c) [0x40f9fc]
>     (5) libc.so.6: __libc_start_main (+0xfd) [0x3eee81ed1d]
>     (6) /home/t/icinga2/sbin/icinga2() [0x40c489]
>
>
> [PN6icinga12ContextTraceE] =
>
>
> ***
> * 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

Reply via email to