- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Kannel configuration
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2010 01:36 PM
тАО05-05-2010 01:36 PM
i have a probleme to configure kannel if someone had ever work with it please i need so help attached to this mail the kannel.conf file and the ./bearerbox and ./smsbox ./wapbox results
Thanks in advance
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2010 03:00 PM
тАО05-05-2010 03:00 PM
Re: Kannel configuration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2010 11:07 PM
тАО05-05-2010 11:07 PM
Re: Kannel configuration
well i have 2 problems:
the first one is:
when i execute ./bearerbox i have in return this error message:
ERROR: bind failed
2010-05-05 15:19:44 [4251] [0] ERROR: System error 98: Address
the second :
how do i get to send sms for kannel .
thanks in advance
Neo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2010 11:14 PM
тАО05-05-2010 11:14 PM
Solutionbearerbox:
2010-05-05 15:19:44 [4251] [0] INFO: HTTP: Opening server at port 13000.
2010-05-05 15:19:44 [4251] [0] ERROR: bind failed
2010-05-05 15:19:44 [4251] [0] ERROR: System error 98: Address already in use
010-05-05 15:19:44 [4251] [0] ERROR: Couldn't bind a UDP socket to port 9200
2010-05-05 15:19:44 [4251] [0] ERROR: System error 98: Address already in use
2010-05-05 15:19:44 [4251] [0] ERROR: Couldn't bind a UDP socket to port 9201
2010-05-05 15:19:44 [4251] [0] ERROR: System error 98: Address already in use
2010-05-05 15:19:44 [4251] [0] ERROR: Missing wapbox-port variable, cannot start WAP
smsbox:
2010-05-05 17:02:11 [5177] [0] INFO: HTTP: Opening server at port 13001.
2010-05-05 17:02:11 [5177] [0] ERROR: bind failed
2010-05-05 17:02:11 [5177] [0] ERROR: System error 98: Address already in use
In the context of a bind() system call, "address" includes the port numbers too.
In other words, you seem to be trying to configure kannel to run in ports that are already occupied by something else. (It could even be another copy of kannel that is already running.)
The later PANIC messages are probably a consequence of these errors.
In the case of smsbox, there is no question about it: the smsbox is panicking because it could not open a HTTP port.
The panic message in the bearerbox log indicates assertion failure, i.e. "this condition should always be true at this point, but now it isn't". The failed assertion is in source code file 'gwlib/socket.c', so it's very likely something about the availability of network ports... probably just those ports that were reported as being "already in use" earlier!
Your wapbox log file was totally empty. The cause is obvious in the bearerbox log file:
2010-05-05 15:19:44 [4251] [0] ERROR: Missing wapbox-port variable, cannot start WAP
As the wapbox-port option is commented out in the kannel.conf file, the bearerbox (the main component of Kannel) does not even try to start it, so the wapbox log remains empty.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2010 11:21 PM
тАО05-05-2010 11:21 PM
Re: Kannel configuration
thanks for all your analyse
well help me solve the issue :
change the ports number ,
and add the wapbox port on the kannel.config
and retry to see if it's working .
i will give you my feedback ASAP,
Thanks a lot Ivan your helping me alot
Regards Neo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2010 12:51 AM
тАО05-06-2010 12:51 AM
Re: Kannel configuration
i changed the port and it kind of works but i still have another message error , it can't connect to the server with bearerbox :
2010-05-06 09:30:56 [32650] [6] ERROR: connect failed
2010-05-06 09:30:56 [32650] [6] ERROR: System error 110: Connection timed out
2010-05-06 09:30:56 [32650] [6] ERROR: error connecting to server `212.217.54.37' at port `7007'
2010-05-06 09:30:56 [32650] [6] ERROR: SMPP[smsgateway]: Couldn't connect to server.
2010-05-06 09:30:56 [32650] [6] ERROR: SMPP[smsgateway]: Couldn't connect to SMS center (retrying in 10 seconds).
I think it's a serve issue
in smsbox i have an error:
SMSBOX
2010-05-06 09:29:07 [32706] [0] INFO: HTTP: Opening server at port 13005.
2010-05-06 09:29:07 [32706] [0] ERROR: bind failed
2010-05-06 09:29:07 [32706] [0] ERROR: System error 98: Address already in use
2010-05-06 09:29:07 [32706] [0] PANIC: Failed to open HTTP socket
2010-05-06 09:29:07 [32706] [0] PANIC: ./smsbox(gw_panic+0xd4) [0x808b0d4]
2010-05-06 09:29:07 [32706] [0] PANIC: ./smsbox(main+0x1334) [0x8055ab4]
2010-05-06 09:29:07 [32706] [0] PANIC: /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb70a0775]
2010-05-06 09:29:07 [32706] [0] PANIC: ./smsbox [0x8054001]
WAPBOX hangs :
root@BAS:/usr/sbin# ./wapbox -v 1 /etc/kannel/kannel.conf
2010-05-06 09:30:02 [32751] [0] INFO: Debug_lvl = 1, log_file =
2010-05-06 09:30:02 [32751] [0] INFO: Added logfile `/var/log/kannel/wapbox.log' with level `-1'.
2010-05-06 09:30:02 [32751] [0] INFO: Starting to log to file /var/log/kannel/wapbox.log level -1
2010-05-06 09:30:02 [32751] [0] INFO: ------------------------------------------------------------
2010-05-06 09:30:02 [32751] [0] INFO: Kannel wapbox version 1.4.3 starting up.
2010-05-06 09:30:02 [32751] [0] INFO: Connected to bearerbox at localhost port 13007.
Regards
Neo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2010 12:52 AM
тАО05-06-2010 12:52 AM
Re: Kannel configuration
i forgot to send you the outputs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-06-2010 01:13 AM
тАО05-06-2010 01:13 AM
Re: Kannel configuration
i have change the sendsms port to 13013
but when i want to send an sms via the
http://localhost:13013/cgi-bin/sendsms
i have this message :
autirization failed for sendsms
how can i resolve this ..?
Thanks alot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2010 05:52 AM
тАО05-07-2010 05:52 AM
Re: Kannel configuration
If you still have this sendsms-user configured, this URL would send a message "Hello world" to phone number 0123456:
http://localhost:13013/cgi-bin/sendsms?
username=bas&password=bas&to=0123456&text=Hello+world
Note that the entire SMS is in the URL.
Kannel will send back a very simple page that tells you if the message was immediately transferred to the SMSC, queued for later delivery (= SMSC is busy) or rejected.
This is the appropriate part of the Kannel documentation:
http://www.kannel.org/download/1.4.3/userguide-1.4.3/userguide.html#AEN4322
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2010 05:56 AM
тАО05-07-2010 05:56 AM
Re: Kannel configuration
Thanks alot Matti you helped me alot
Regards
Neo