What output did you get in the shell? Nikos On Wed, Sep 23, 2009 at 12:55 PM, Howard Allison < howard.alli...@pva.sozvers.at> wrote:
> >>On Wed, Sep 23, 2009 at 11:01 AM, Howard Allison <* > howard.alli...@pva.sozvers.at* <howard.alli...@pva.sozvers.at>> wrote: > > >>Hi, I've compiled kannel on AIX 6.1, the bearerbox starts fine, but > when I start the smsbox I get the following lines in the bearerbox > debug: > >>2009-09-23 09:52:05 [405684] [5] INFO: Client connected from > <127.0.0.1> > >>2009-09-23 09:52:05 [405684] [5] DEBUG: Started thread 9 > (gw/bb_boxc.c:function) > >>2009-09-23 09:52:05 [405684] [9] DEBUG: Thread 9 > (gw/bb_boxc.c:function) maps to pid 405684. > >>2009-09-23 09:52:05 [405684] [9] DEBUG: Started thread 10 > (gw/bb_boxc.c:boxc_sender) > >>2009-09-23 09:52:05 [405684] [9] ERROR: Error reading from fd 28: > >>>>2009-09-23 09:52:05 [405684] [9] INFO: Read error when reading > from box <127.0.0.1>, disconnecting > >>2009-09-23 09:52:05 [405684] [10] DEBUG: Thread 10 > (gw/bb_boxc.c:boxc_sender) maps to pid 405684. > >>2009-09-23 09:52:05 [405684] [10] DEBUG: Thread 10 > (gw/bb_boxc.c:boxc_sender) terminates. > >>2009-09-23 09:52:05 [405684] [9] DEBUG: Thread 9 > (gw/bb_boxc.c:function) terminates. > > >>and in the smsbox debug: > > >>2009-09-23 09:54:20 [409822] [0] INFO: Connected to bearerbox at > 127.0.0.1 port 13001. > >>>>2009-09-23 09:54:20 [409822] [0] DEBUG: Started thread 7 > (gw/heartbeat.c:heartbeat_thread) > >>2009-09-23 09:54:20 [409822] [1] DEBUG: Thread 1 > (gwlib/fdset.c:poller) maps to pid 409822. > >>2009-09-23 09:54:20 [409822] [2] DEBUG: Thread 2 > (gwlib/http.c:server_thread) maps to pid 409822. > >>2009-09-23 09:54:20 [409822] [3] DEBUG: Thread 3 > (gw/smsbox.c:sendsms_thread) maps to pid 409822. > >>2009-09-23 09:54:20 [409822] [4] DEBUG: Thread 4 > (gw/smsbox.c:obey_request_thread) maps to pid 409822. > >>2009-09-23 09:54:20 [409822] [5] DEBUG: Thread 5 > (gw/smsbox.c:url_result_thread) maps to pid 409822. > >>2009-09-23 09:54:20 [409822] [6] DEBUG: Thread 6 > (gw/smsbox.c:http_queue_thread) maps to pid 409822. > >>2009-09-23 09:54:20 [409822] [7] DEBUG: Thread 7 > (gw/heartbeat.c:heartbeat_thread) maps to pid 409822. > >>2009-09-23 09:54:20 [409822] [0] ERROR: Connection closed by the > bearerbox. > >>2009-09-23 09:54:20 [409822] [0] INFO: Received (and handled?) 0 > requests in 0 seconds (NaNQ per second) > >>2009-09-23 09:54:20 [409822] [0] INFO: Kannel smsbox terminating > > >>any ideas what I should be looking at to solve the problem? > >>I've tried the daily and the stable 1.4.3 releases.. > >>Thanks in advance > > >Hi, > > >1) With bearerbox up try from shell: > >telnet 127.0.0.1 13001 > >Post connection attempt from bb logs > >2) Post configuration file. > >BR, > >Nikos > *Gladly :-)* > > *Here's the bb log:* > *2009-09-23 11:51:17 [430228] [5] INFO: Client connected from <127.0.0.1>* > *2009-09-23 11:51:17 [430228] [5] DEBUG: Started thread 9 > (gw/bb_boxc.c:function)* > *2009-09-23 11:51:17 [430228] [9] DEBUG: Thread 9 (gw/bb_boxc.c:function) > maps to pid 430228.* > *2009-09-23 11:51:17 [430228] [9] DEBUG: Started thread 10 > (gw/bb_boxc.c:boxc_sender)* > *2009-09-23 11:51:17 [430228] [9] ERROR: Error reading from fd 28:* > *2009-09-23 11:51:17 [430228] [9] INFO: Read error when reading from box > <127.0.0.1>, disconnecting* > *2009-09-23 11:51:17 [430228] [10] DEBUG: Thread 10 > (gw/bb_boxc.c:boxc_sender) maps to pid 430228.* > *2009-09-23 11:51:17 [430228] [10] DEBUG: Thread 10 > (gw/bb_boxc.c:boxc_sender) terminates.* > *2009-09-23 11:51:17 [430228] [9] DEBUG: Thread 9 (gw/bb_boxc.c:function) > terminates.* > > *and here's the config:* > *group = core* > *admin-port = 13000* > *smsbox-port = 13001* > *admin-password = bar* > *log-file = "/app/kannel/log/kannel.log"* > *log-level = 0* > *access-log = "/app/kannel/log/kannel_access.log"* > *box-deny-ip = "*.*.*.*"* > *box-allow-ip = "127.0.0.1"* > *unified-prefix = "0043,0"* > *store-file = "/app/kannel/log/kannel.store"* > > > *# SMSC GSM* > *group = smsc* > *smsc = at* > *modemtype = auto* > *speed = 19200* > *device = /dev/tty0* > *pin = REMOVED* > *validityperiod = 167* > *sim-buffering = true* > *connect-allow-ip = 127.0.0.1* > > *group = smsbox* > *bearerbox-host = 127.0.0.1* > *sendsms-port = 13013* > *sendsms-chars = "0123456789 +-"* > *global-sender = REMOVED* > *log-file = "/app/kannel/log/smsbox.log"* > *log-level = 0* > *access-log = "/app/kannel/log/smsbox_access.log"* > > > *# SEND-SMS USERS* > > *group = sendsms-user* > *username = tester* > *password = foobar* > > > > *# SMS SERVICE Default* > *# there should be default always* > *group = sms-service* > *keyword = default* > *text = "No service specified"* > > *group = modems* > *id = siemens_m20* > *name = "Siemens M20"* > *detect-string2 = "M20"* > *speed = 19200* > *enable-hwhs = "AT+IFC=2,2"* > *keepalive-cmd = "AT+CBC;+CSQ"* > *need-sleep = true* > > *Thanks! > > Howard ALLISON* > > -------------------------- > VERTRAULICHKEIT: Diese Nachricht ist ausschließlich für denjenigen > bestimmt, an > den sie adressiert ist und kann vertrauliche Informationen enthalten. Falls > Sie nicht > der Empfänger dieser Nachricht sind, weisen wir Sie darauf hin, dass die > unberechtigte Weitergabe oder Verwendung sowie das unberechtigte Verteilen > oder > Kopieren dieser Nachricht strikt untersagt sind. Falls Sie diese Nachricht > irrtümlich > erhalten haben, vernichten Sie sie bitte sofort. > > CONFIDENTIALITY: This message is intended only for the use of the > individuality or > entity to which it is addressed and may contain information that is > privileged, > confidential and exempt from disclosure. If you are not the intended > recipient you are > notified that any dissemination, distribution, use or copying of this > communication is > strictly prohibited. If you received this message in error, please > immediately destroy > this message. > -------------------------- >