Mobile Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreMobile Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old August 7th, 2006, 07:02 AM
royashoya royashoya is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2006
Posts: 30 royashoya User rank is Sergeant (500 - 2000 Reputation Level)royashoya User rank is Sergeant (500 - 2000 Reputation Level)royashoya User rank is Sergeant (500 - 2000 Reputation Level)royashoya User rank is Sergeant (500 - 2000 Reputation Level)royashoya User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 17 h 14 m 40 sec
Reputation Power: 10
Help start my kannel boxes.

hi,
am trying to configure my kannel on suse 10.0 but when i try to start the bearerbox, smsbox and wapbox this is the output i get:\


linux:~ # bearerbox /root/Desktop/gateway-1.4.0/doc/examples/kannel.conf
2006-08-07 07:02:12 [6791] [0] INFO: Debug_lvl = -1, log_file = <none>, log_lvl = 0
2006-08-07 07:02:13 [6791] [0] WARNING: DLR: using default 'internal' for storage type.
2006-08-07 07:02:13 [6791] [0] INFO: DLR using storage type: internal
2006-08-07 07:02:13 [6791] [0] DEBUG: Kannel bearerbox version `1.4.0'.
Build `Aug 6 2006 20:31:39', compiler `4.0.2 20050901 (prerelease) (SUSE Linux)'.
System Linux, release 2.6.13-15-default, version #1 Tue Sep 13 14:56:15 UTC 2005, machine i686.
Hostname linux.site, IP 127.0.0.2.
Libxml version 2.6.20.
Using OpenSSL 0.9.7g 11 Apr 2005.
Using native malloc.

2006-08-07 07:02:13 [6791] [0] INFO: HTTP: Opening server at port 13000.
2006-08-07 07:02:13 [6791] [0] DEBUG: Started thread 1 (gwlib/fdset.coller)
2006-08-07 07:02:13 [6791] [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread)
2006-08-07 07:02:13 [6791] [0] DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_run)
2006-08-07 07:02:13 [6791] [0] INFO: ----------------------------------------
2006-08-07 07:02:13 [6791] [0] INFO: Kannel bearerbox II version 1.4.0 starting
2006-08-07 07:02:13 [6791] [1] DEBUG: Thread 1 (gwlib/fdset.coller) maps to pid 6791.
2006-08-07 07:02:13 [6791] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 6791.
2006-08-07 07:02:13 [6791] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) maps to pid 6791.
2006-08-07 07:02:18 [6791] [0] INFO: MAIN: Start-up done, entering mainloop
2006-08-07 07:02:18 [6791] [0] DEBUG: Shutting down Kannel...
2006-08-07 07:02:18 [6791] [0] DEBUG: shutting down smsc
2006-08-07 07:02:18 [6791] [0] DEBUG: shutting down udp
2006-08-07 07:02:18 [6791] [0] INFO: All flow threads have died, killing core
2006-08-07 07:02:18 [6791] [0] DEBUG: Waiting for 2 (gwlib/http.c:server_thread) to terminate
2006-08-07 07:02:18 [6791] [3] DEBUG: HTTP: No clients with requests, quitting.
2006-08-07 07:02:18 [6791] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) terminates.
2006-08-07 07:02:18 [6791] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) terminates.
2006-08-07 07:02:18 [6791] [1] DEBUG: Thread 1 (gwlib/fdset.coller) terminates.
2006-08-07 07:02:18 [6791] [0] INFO: Total WDP messages: received 0, sent 0
2006-08-07 07:02:18 [6791] [0] INFO: Total SMS messages: received 0, sent 0
2006-08-07 07:02:18 [6791] [0] DEBUG: Immutable octet strings: 114.
linux:~ #
linux:~ #
linux:~ #
linux:~ # smsbox -v 1 /root/Desktop/gateway-1.4.0/gw/smskannel.conf
2006-08-07 07:02:30 [6801] [0] INFO: Debug_lvl = 1, log_file = <none>, log_lvl = 0
2006-08-07 07:02:30 [6801] [0] INFO: Service global sender set as '13013'
2006-08-07 07:02:30 [6801] [0] INFO: HTTP: Opening server at port 13013.
2006-08-07 07:02:30 [6801] [0] INFO: Set up send sms service at port 13013
2006-08-07 07:02:30 [6801] [0] ERROR: connect failed
2006-08-07 07:02:30 [6801] [0] ERROR: System error 111: Connection refused
2006-08-07 07:02:30 [6801] [0] ERROR: error connecting to server `localhost' at port `13001'
2006-08-07 07:02:30 [6801] [0] PANIC: Couldn't connect to the bearerbox.
2006-08-07 07:02:30 [6801] [0] PANIC: smsbox(gw_panic+0x16b) [0x807d9a9]
2006-08-07 07:02:30 [6801] [0] PANIC: smsbox(connect_to_bearerbox+0x37) [0x805fc7d]
2006-08-07 07:02:30 [6801] [0] PANIC: smsbox(main+0x2b7) [0x805b132]
2006-08-07 07:02:30 [6801] [0] PANIC: /lib/tls/libc.so.6(__libc_start_main+0xd0) [0x40323ea0]
2006-08-07 07:02:30 [6801] [0] PANIC: smsbox [0x8050ba1]
linux:~ #
linux:~ #
linux:~ # wapbox -v 1 /root/Desktop/gateway-1.4.0/gw/wapkannel.conf
2006-08-07 07:02:36 [6811] [0] INFO: Debug_lvl = 1, log_file = <none>, log_lvl = 0
2006-08-07 07:02:36 [6811] [0] INFO: ------------------------------------------------------------
2006-08-07 07:02:36 [6811] [0] INFO: Kannel wapbox version 1.4.0 starting up.
2006-08-07 07:02:37 [6811] [0] ERROR: connect failed
2006-08-07 07:02:37 [6811] [0] ERROR: System error 111: Connection refused
2006-08-07 07:02:37 [6811] [0] ERROR: error connecting to server `localhost' at port `13002'
2006-08-07 07:02:37 [6811] [0] PANIC: Couldn't connect to the bearerbox.
2006-08-07 07:02:37 [6811] [0] PANIC: wapbox(gw_panic+0x16b) [0x80cba89]
2006-08-07 07:02:37 [6811] [0] PANIC: wapbox(connect_to_bearerbox+0x37) [0x8058845]
2006-08-07 07:02:37 [6811] [0] PANIC: wapbox(main+0x28c) [0x805600e]
2006-08-07 07:02:37 [6811] [0] PANIC: /lib/tls/libc.so.6(__libc_start_main+0xd0) [0x40323ea0]
2006-08-07 07:02:37 [6811] [0] PANIC: wapbox [0x80545d1]


please anyone help me solve this errors.

thanx
roy.

Reply With Quote
  #2  
Old August 7th, 2006, 08:30 AM
andymoo's Avatar
andymoo andymoo is offline
Timelord
Dev Shed Novice (500 - 999 posts)
 
Join Date: Oct 2003
Location: Loughborough, Leicestershire
Posts: 605 andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 4 Days 5 h 53 m 46 sec
Reputation Power: 63
i say it again.........

the horses mouth

the kannel site really is the best place for this.
__________________
Andy Moore << oh no it's got a blog.....
Word Press WAP Plugin with Ad Mob Advertising revenue
PHP developer
deploying ringtones, mp3 downloads and realtones
I'm a geek who's obsessed with stats and gadgets

Reply With Quote
  #3  
Old August 15th, 2006, 06:33 AM
seva seva is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2006
Posts: 2 seva User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 45 m 24 sec
Reputation Power: 0
Start smsbox and wapbox only after bearerbox is running (it is good to start them in different terminal windows). Use the same configuration file for all three programs (configuration contains different variable groups - common, wapbox, etc).

Check that the configuration file contains
wdp-interface-name = "*"

Reply With Quote
  #4  
Old September 20th, 2006, 01:21 AM
royashoya royashoya is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2006
Posts: 30 royashoya User rank is Sergeant (500 - 2000 Reputation Level)royashoya User rank is Sergeant (500 - 2000 Reputation Level)royashoya User rank is Sergeant (500 - 2000 Reputation Level)royashoya User rank is Sergeant (500 - 2000 Reputation Level)royashoya User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 17 h 14 m 40 sec
Reputation Power: 10
try this

i can see that u have tried starting them like bearerbox........

pliz try to navigate to the dir that has the boxes at prompt

then type ./bearerbox <conf file>

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreMobile Programming > Help start my kannel boxes.


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT