Thanks Henry.

i use localhost for bearerbox host 

what ya think?

==============

SUSE LINUX Enterprise Server 9 (i586)
VERSION = 9
PATCHLEVEL = 2

Kannel v 1.4.1

>>> lioness


________________________________
From: Henri Hovi <[email protected]>
To: Users mailing list <[email protected]>
Sent: Wednesday, August 12, 2009 1:41:35 PM
Subject: Re: No solution worked: Error while gw_gethostbyname occurs. please  
help

First thing popped up to my mind, do You use FQDN for bearerbox-host
and does that host resolve correctly ?


--
Henri

On Wed, Aug 12, 2009 at 3:25 PM, lionesschi<[email protected]> wrote:
>
> 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]
>
> --
> View this message in context: 
> http://www.nabble.com/No-solution-worked%3A-Error-while-gw_gethostbyname-occurs.-please-help-tp24902902p24902902.html
> Sent from the Kannel - User mailing list archive at Nabble.com.
>
>
>



-- 
Henri Hovi
http://www.patidure.com


      

Reply via email to