Hello Gunnar
I have made an btfull log from the loop after a few hours :
Btfulllog:
#0 0xb7fe2430 in __kernel_vsyscall ()
No symbol table info available.
#1 0xb784d342 in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#2 0xb7936974 in pthread_cond_timedwait () from
/lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#3 0xb7fb0769 in
boost::condition_variable::do_timed_wait(boost::unique_lock<boost::mutex>&,
timespec const&) () from /usr/local/lib/libboost_thread.so.1.51.0
No symbol table info available.
#4 0xb7ed9392 in boost::condition_variable::timed_wait (timeout=...) at
/usr/local/include/boost/thread/pthread/condition_variable_fwd.hpp:78
timeout = {tv_sec = 1352456736, tv_nsec = 255152000}
#5 timed_wait<boost::posix_time::millisec> (timeout=...) at
/usr/local/include/boost/thread/pthread/condition_variable_fwd.hpp:93
No locals.
#6 icinga::Event::ProcessEvents (timeout=...) at event.cpp:53
lock = {m = 0xb7f94e48, is_locked = false}
events = {<std::_Vector_base<icinga::Event,
std::allocator<icinga::Event> >> = {
_M_impl = {<std::allocator<icinga::Event>> =
{<__gnu_cxx::new_allocator<icinga::Event>> = {<No data fields>}, <No data
fields>}, _M_start = 0x0,
_M_finish = 0x0, _M_end_of_storage = 0x0}}, <No data fields>}
__PRETTY_FUNCTION__ = "static void
icinga::Event::ProcessEvents(boost::posix_time::millisec)"
#7 0xb7eaeb63 in icinga::Application::RunEventLoop (this=0x805b77c) at
application.cpp:117
sleep = 0
t = {thread_info = {px = 0x0, pn = {pi_ = 0x0}}}
#8 0xb7cc9f45 in icinga::IcingaApplication::Main (this=0x805b77c,
args=...) at icingaapplication.cpp:154
parseOpts = 188
configFile = warning: can't find linker symbol for virtual table
for `icinga::String' value
{static NPos = 4294967295, m_Data = warning: can't find linker symbol for
virtual table for `std::basic_string<char, std::char_traits<char>,
std::allocator<char> >' value
{static npos = 4294967295, _M_dataplus = warning: can't find linker symbol
for virtual table for `std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::_Alloc_hider' value
{<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data
fields>}, <No data fields>}, _M_p = 0x80571bc ""}}}
logpath = warning: can't find linker symbol for virtual table for
`icinga::String' value
{static NPos = 4294967295, m_Data = warning: can't find linker symbol for
virtual table for `std::basic_string<char, std::char_traits<char>,
std::allocator<char> >' value
{static npos = 4294967295, _M_dataplus = warning: can't find linker symbol
for virtual table for `std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::_Alloc_hider' value
{<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data
fields>}, <No data fields>}, _M_p = 0x80571bc ""}}}
service = warning: can't find linker symbol for virtual table for
`icinga::String' value
{static NPos = 4294967295, m_Data = warning: can't find linker symbol for
virtual table for `std::basic_string<char, std::char_traits<char>,
std::allocator<char> >' value
{static npos = 4294967295, _M_dataplus = warning: can't find linker symbol
for virtual table for `std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::_Alloc_hider' value
{<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data
fields>}, <No data fields>}, _M_p = 0x80571bc ""}}}
daemonize = false
#9 0xb7eae0b5 in icinga::Application::Run (this=0x805b77c, argc=1,
argv=0xbffff83c) at application.cpp:352
result = <value optimized out>
sa = {__sigaction_handler = {sa_handler = 0x1, sa_sigaction =
0x1}, sa_mask = {__val = {0 <repeats 32 times>}}, sa_flags = 0,
sa_restorer = 0}
#10 0x0804f34c in main (argc=3, argv=0xbffff834) at icinga.cpp:169
app = {px = 0x805b77c, pn = {pi_ = 0x805b768}}
regards john s.
Am 07.11.2012, 09:16 Uhr, schrieb john s. <[email protected]>:
> The git version is the one from yersterday
>
> The i followed your advise to update the sources
>
> regards john s.
>
> Am 06.11.2012, 13:00 Uhr, schrieb john s. <[email protected]>:
>
>> Hello Gunnar
>>
>> sbin/icinga2 -c etc/icinga2/icinga2.conf
>>
>> How Long does these command take?
>> ( is running about 3 hours on my system)
>>
>>
>> Maybe he is hanging in a loop
>>
>>
>> regards john s.
>>
>>
>>
>> Am 31.10.2012, 12:12 Uhr, schrieb Gunnar Beutner
>> <[email protected]>:
>>
>>> Am 31.10.2012 10:52, schrieb john s.:
>>>> Hello Gunnar
>>> Hi John,
>>>
>>>>
>>>> Sorry I'm not so familar with GDB
>>>>
>>>> Here is the btfull log:
>>>>
>>>>
>>>> <snip>
>>> Please update your sources (git pull) and check if you're still seeing
>>> that problem.
>>>
>>>>
>>>>
>>>> regards john s.
>>>
>>> Kind regards
>>> Gunnar Beutner
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> 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_d2d_nov
_______________________________________________
icinga-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/icinga-devel