Hello Gunnar
Sorry I'm not so familar with GDB
Here is the btfull log:
########begin####
(gdb) bt full
#0 0xb7fe2430 in __kernel_vsyscall ()
No symbol table info available.
#1 0xb7885651 in raise () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#2 0xb7888a82 in abort () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#3 0xb7ab952f in __gnu_cxx::__verbose_terminate_handler() () from
/usr/lib/libstdc++.so.6
No symbol table info available.
#4 0xb7ab7465 in ?? () from /usr/lib/libstdc++.so.6
No symbol table info available.
#5 0xb7ab74a2 in std::terminate() () from /usr/lib/libstdc++.so.6
No symbol table info available.
#6 0xb7ab75e1 in __cxa_throw () from /usr/lib/libstdc++.so.6
No symbol table info available.
#7 0xb7a4d895 in std::__throw_bad_cast() () from /usr/lib/libstdc++.so.6
No symbol table info available.
#8 0xb7ed0aaf in bool
boost::algorithm::is_iless::operator()<icinga::String,
icinga::String>(icinga::String const&, icinga::String const&) const ()
from /home/skyerjoe/i2/lib/icinga2/libbase-0.so.0
No symbol table info available.
#9 0xb7ed1397 in std::_Rb_tree<icinga::String, std::pair<icinga::String
const, std::map<icinga::String, boost::shared_ptr<icinga::DynamicObject>,
boost::algorithm::is_iless, std::allocator<std::pair<icinga::String const,
boost::shared_ptr<icinga::DynamicObject> > > > >,
std::_Select1st<std::pair<icinga::String const, std::map<icinga::String,
boost::shared_ptr<icinga::DynamicObject>, boost::algorithm::is_iless,
std::allocator<std::pair<icinga::String const,
boost::shared_ptr<icinga::DynamicObject> > > > > >,
boost::algorithm::is_iless, std::allocator<std::pair<icinga::String const,
std::map<icinga::String, boost::shared_ptr<icinga::DynamicObject>,
boost::algorithm::is_iless, std::allocator<std::pair<icinga::String const,
boost::shared_ptr<icinga::DynamicObject> > > > > >
>::_M_insert_unique(std::pair<icinga::String const,
std::map<icinga::String, boost::shared_ptr<icinga::DynamicObject>,
boost::algorithm::is_iless, std::allocator<std::pair<icinga::String const,
boost::shared_ptr<icinga::DynamicObject> > > > > const&) () from
/home/skyerjoe/i2/lib/icinga2/libbase-0.so.0
No symbol table info available.
#10 0xb7ebdca8 in std::map<icinga::String, std::map<icinga::String,
boost::shared_ptr<icinga::DynamicObject>, boost::algorithm::is_iless,
std::allocator<std::pair<icinga::String const,
boost::shared_ptr<icinga::DynamicObject> > > >,
boost::algorithm::is_iless, std::allocator<std::pair<icinga::String const,
std::map<icinga::String, boost::shared_ptr<icinga::DynamicObject>,
boost::algorithm::is_iless, std::allocator<std::pair<icinga::String const,
boost::shared_ptr<icinga::DynamicObject> > > > > > >::insert (type=...) at
/usr/include/c++/4.4/bits/stl_map.h:500
No locals.
#11 icinga::DynamicObject::GetObjects (type=...) at dynamicobject.cpp:328
ti = {first = {_M_node = 0x0}, second = false}
#12 0xb7ec2397 in icinga::DynamicObject::RegisterClass(icinga::String
const&, boost::function<boost::shared_ptr<icinga::DynamicObject>
()(boost::shared_ptr<icinga::Dictionary> const&)>) (type=..., factory=...)
at dynamicobject.cpp:500
No locals.
#13 0xb7edffbc in RegisterClassHelper () at dynamicobject.h:171
No locals.
---Type <return> to continue, or q <return> to quit---
#14 __static_initialization_and_destruction_0 () at logger.cpp:24
No locals.
#15 global constructors keyed to logger.cpp () at logger.cpp:176
No locals.
#16 0xb7f04d2d in __do_global_ctors_aux () from
/home/skyerjoe/i2/lib/icinga2/libbase-0.so.0
No symbol table info available.
#17 0xb7eaaecc in _init () from
/home/skyerjoe/i2/lib/icinga2/libbase-0.so.0
No symbol table info available.
#18 0xb7ff0c0c in ?? () from /lib/ld-linux.so.2
No symbol table info available.
#19 0xb7ff0d29 in ?? () from /lib/ld-linux.so.2
No symbol table info available.
#20 0xb7fe388f in ?? () from /lib/ld-linux.so.2
No symbol table info available.
####end########
regards john s.
Am 31.10.2012, 08:28 Uhr, schrieb Gunnar Beutner
<[email protected]>:
> Am 30.10.2012 16:11, schrieb john s.:
>> Hello list
>> ubuntu 10.04 lts
>> icinga2
>>
>> I tried to install the experimental version icinga 2 from github on a
>> test system
>>
>> I've made the following steps among these how to's:
>>
>> 1. Install icinga2
>> https://wiki.icinga.org/display/icinga2/Linux+Builds#LinuxBuilds-SampleConfig
>>
>> 2. Boost Libraries installed manually
>> http://www.boost.org/doc/libs/1_51_0/more/getting_started/unix-variants.html
>> ( easy and build install )
>>
>> 3. linked the libraries with
>> sudo ldconfig /usr/local/lib
>>
>> so far so good
>>
>> but whne i tried to load the binary with config
>>
>> sbin/icinga2 -c etc/icinga2/icinga2.conf
>>
>> it comes the following error:
>>
>>
>> terminate called after throwing an instance of 'std::bad_cast'
>> what(): std::bad_cast
>
> Is that the whole error message? Assuming you're using the latest
> version from the Git repository you should also get a stacktrace which
> would make identifying this problem quite a bit easier.
>
> If you're not getting a stacktrace please consider running icinga2 with
> gdb (gdb -ex run --args sbin/icinga2 -c etc/icinga2/icinga2.conf) and
> post a full stacktrace from there (bt full).
>
>
>>
>>
>> regards john s.
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Everyone hates slow websites. So do we.
>> Make your web apps faster with AppDynamics
>> Download AppDynamics Lite for free today:
>> http://p.sf.net/sfu/appdyn_sfd2d_oct
>> _______________________________________________
>> icinga-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/icinga-devel
>
>
--
Erstellt mit Operas revolutionärem E-Mail-Modul: http://www.opera.com/mail/
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
icinga-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/icinga-devel