lionesschi schrieb: > Please help, been having this issue for 2 weeks and cant move any further > despite all searches and solutions. > > Please i need this for work and its been delayed for so long > > 2009-07-31 11:51:13 [11118] [0] INFO: HTTP: Opening server at port 13000. > 2009-07-31 11:51:13 [11118] [0] DEBUG: Started thread 1 > (gwlib/fdset.c:poller) > 2009-07-31 11:51:13 [11118] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps > to pid 11118. > 2009-07-31 11:51:13 [11118] [0] DEBUG: Started thread 2 > (gwlib/http.c:server_thread) > 2009-07-31 11:51:13 [11118] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) > maps to pid 11118. > 2009-07-31 11:51:13 [11118] [0] DEBUG: Started thread 3 > (gw/bb_http.c:httpadmin_run) > 2009-07-31 11:51:13 [11118] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) > maps to pid 11118. > 2009-07-31 11:51:13 [11118] [0] DEBUG: starting smsbox connection module > 2009-07-31 11:51:13 [11118] [0] INFO: BOXC: 'smsbox-max-pending' not set, > using default (100). > 2009-07-31 11:51:13 [11118] [0] DEBUG: Started thread 4 > (gw/bb_boxc.c:sms_to_smsboxes) > 2009-07-31 11:51:13 [11118] [4] DEBUG: Thread 4 > (gw/bb_boxc.c:sms_to_smsboxes) maps to pid 11118. > 2009-07-31 11:51:13 [11118] [0] DEBUG: Started thread 5 > (gw/bb_boxc.c:smsboxc_run) > 2009-07-31 11:51:13 [11118] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run) > maps to pid 11118. > 2009-07-31 11:51:13 [11118] [0] INFO: Set SMS resend frequency to 60 > seconds. > 2009-07-31 11:51:13 [11118] [0] INFO: SMS resend retry set to unlimited. > 2009-07-31 11:51:13 [11118] [0] INFO: DLR rerouting for smsc id <FAKE> > disabled. > 2009-07-31 11:51:13 [11118] [0] DEBUG: Started thread 6 > (gw/smsc/smsc_fake.c:fake_listener) > 2009-07-31 11:51:13 [11118] [6] DEBUG: Thread 6 > (gw/smsc/smsc_fake.c:fake_listener) maps to pid 11118. > 2009-07-31 11:51:13 [11118] [0] DEBUG: Started thread 7 > (gw/bb_smscconn.c:sms_router) > 2009-07-31 11:51:13 [11118] [7] DEBUG: Thread 7 > (gw/bb_smscconn.c:sms_router) maps to pid 11118. > 2009-07-31 11:51:13 [11118] [0] INFO: > ---------------------------------------- > 2009-07-31 11:51:13 [11118] [7] DEBUG: sms_router: time to sleep 30.00 secs. > 2009-07-31 11:51:13 [11118] [0] INFO: Kannel bearerbox II version 1.4.1 > starting > 2009-07-31 11:51:13 [11118] [0] INFO: MAIN: Start-up done, entering mainloop > 2009-07-31 11:51:13 [11118] [0] DEBUG: smsc_fake: start called > 2009-07-31 11:51:13 [11118] [7] DEBUG: sms_router: gwlist_len = 0 > > > > > 2009-07-31 11:52:05 [11279] [0] INFO: Service global sender set as '13013' > 2009-07-31 11:52:05 [11279] [0] INFO: HTTP: Opening server at port 13013. > 2009-07-31 11:52:05 [11279] [0] DEBUG: Started thread 1 > (gwlib/fdset.c:poller) > 2009-07-31 11:52:05 [11279] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps > to pid 11279. > 2009-07-31 11:52:05 [11279] [0] DEBUG: Started thread 2 > (gwlib/http.c:server_thread) > 2009-07-31 11:52:05 [11279] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) > maps to pid 11279. > 2009-07-31 11:52:05 [11279] [0] INFO: Set up send sms service at port 13013 > 2009-07-31 11:52:05 [11279] [0] DEBUG: Started thread 3 > (gw/smsbox.c:sendsms_thread) > 2009-07-31 11:52:05 [11279] [3] DEBUG: Thread 3 (gw/smsbox.c:sendsms_thread) > maps to pid 11279. > 2009-07-31 11:52:05 [11279] [0] DEBUG: > ---------------------------------------------- > 2009-07-31 11:52:05 [11279] [0] DEBUG: Kannel smsbox version 1.4.1 starting > 2009-07-31 11:52:05 [11279] [0] DEBUG: Started thread 4 > (gw/smsbox.c:obey_request_thread) > 2009-07-31 11:52:05 [11279] [4] DEBUG: Thread 4 > (gw/smsbox.c:obey_request_thread) maps to pid 11279. > 2009-07-31 11:52:05 [11279] [0] DEBUG: Started thread 5 > (gw/smsbox.c:url_result_thread) > 2009-07-31 11:52:05 [11279] [5] DEBUG: Thread 5 > (gw/smsbox.c:url_result_thread) maps to pid 11279. > 2009-07-31 11:52:05 [11279] [0] DEBUG: Started thread 6 > (gw/smsbox.c:http_queue_thread) > 2009-07-31 11:52:05 [11279] [6] DEBUG: Thread 6 > (gw/smsbox.c:http_queue_thread) maps to pid 11279. > 2009-07-31 11:52:05 [11279] [0] ERROR: Error while gw_gethostbyname occurs. > 2009-07-31 11:52:05 [11279] [0] ERROR: gethostbyname failed > 2009-07-31 11:52:05 [11279] [0] ERROR: error connecting to server > `127.0.0.1' at port `13001' > 2009-07-31 11:52:05 [11279] [0] PANIC: Couldn't connect to the bearerbox. > 2009-07-31 11:52:05 [11279] [0] PANIC: sbin/smsbox(gw_panic+0xa5) > [0x80811a5] > 2009-07-31 11:52:05 [11279] [0] PANIC: sbin/smsbox(main+0xcb2) [0x8053742] > 2009-07-31 11:52:05 [11279] [0] PANIC: > /lib/tls/libc.so.6(__libc_start_main+0xe0) [0x40335260] > 2009-07-31 11:52:05 [11279] [0] PANIC: sbin/smsbox [0x8052421]
the ERROR condition indicates that we get bogus return values from the libc/glibc's system call gethostbyname_r(). This seems to be more an issue with the underlying glibc here (Linux distro part) then with Kannel. What distro are you running, and what's you're libc/glibc version on the system? Stipe -- ------------------------------------------------------------------- Kölner Landstrasse 419 40589 Düsseldorf, NRW, Germany tolj.org system architecture Kannel Software Foundation (KSF) http://www.tolj.org/ http://www.kannel.org/ mailto:st_{at}_tolj.org mailto:stolj_{at}_kannel.org -------------------------------------------------------------------
