Solved

Kannel SMPP

Posted on 2009-04-06
8
1,470 Views
Last Modified: 2013-12-23
Hi all,

i have installed Kannel on CentOS and Kubuntu, i managed to install kannel, but when i run kannel by typing bearerbox /kannel.conf after 1 minute the server goes down( as you can see in the log below).The second problem is ,during  this one minute that the server is active i tried to open the http gui but  i don't get the normal http page nut only this
-----------------------------Opening by HTTP------------------------------------

Unknown command `/'.
Possible commands are:
status
store-status
log-level
shutdown
suspend
isolate
resume
restart
flush-dlr
stop-smsc
start-smsc
reload-lists



Thanks in advance


kannel@kannel-test:~/Documents$ bearerbox /kannel.conf
2009-04-06 09:19:59 [9452] [0] INFO: Debug_lvl = -1, log_file = <none>, log_lvl = 0
2009-04-06 09:19:59 [9452] [0] WARNING: DLR: using default 'internal' for storage type.
2009-04-06 09:19:59 [9452] [0] INFO: DLR using storage type: internal
2009-04-06 09:19:59 [9452] [0] DEBUG: Kannel bearerbox version `cvs-20090403'.
Build `Apr  6 2009 04:12:25', compiler `4.3.2'.
System Linux, release 2.6.27-7-generic, version #1 SMP Fri Oct 24 06:42:44 UTC 2008, machine i686.
Hostname kannel-test, IP 127.0.1.1.
Libxml version 2.6.32.
Using OpenSSL 0.9.8g 19 Oct 2007.
Using native malloc.
 
2009-04-06 09:19:59 [9452] [0] INFO: Added logfile `/tmp/kannel.log' with level `0'.
2009-04-06 09:19:59 [9452] [0] INFO: Started access logfile `access.log'.
2009-04-06 09:19:59 [9452] [0] INFO: HTTP: Opening server at port 13000.
2009-04-06 09:19:59 [9452] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to pid 9452.
2009-04-06 09:19:59 [9452] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller)
2009-04-06 09:19:59 [9452] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 9452.
2009-04-06 09:19:59 [9452] [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread)
2009-04-06 09:19:59 [9452] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) maps to pid 9452.
2009-04-06 09:19:59 [9452] [0] DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_run)
2009-04-06 09:19:59 [9452] [0] INFO: ----------------------------------------
2009-04-06 09:19:59 [9452] [0] INFO: Kannel bearerbox II version cvs-20090403 starting
2009-04-06 09:20:04 [9452] [0] INFO: MAIN: Start-up done, entering mainloop
2009-04-06 09:20:04 [9452] [0] DEBUG: Shutting down Kannel...
2009-04-06 09:20:04 [9452] [0] DEBUG: shutting down smsc
2009-04-06 09:20:04 [9452] [0] DEBUG: shutting down udp
2009-04-06 09:20:04 [9452] [0] INFO: All flow threads have died, killing core
2009-04-06 09:20:04 [9452] [3] DEBUG: HTTP: No clients with requests, quitting.
2009-04-06 09:20:04 [9452] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) terminates.
2009-04-06 09:20:04 [9452] [0] DEBUG: Waiting for 2 (gwlib/http.c:server_thread) to terminate
2009-04-06 09:20:04 [9452] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) terminates.
2009-04-06 09:20:04 [9452] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) terminates.
2009-04-06 09:20:04 [9452] [0] INFO: Total WDP messages: received 0, sent 0
2009-04-06 09:20:04 [9452] [0] INFO: Total SMS messages: received 0, sent 0
2009-04-06 09:20:04 [9452] [0] DEBUG: Immutable octet strings: 87.

Open in new window

0
Comment
Question by:tafil
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
8 Comments
 
LVL 62

Expert Comment

by:gheist
ID: 24085126
No kannel from vendor in CentOS.
Did you build yourself? Install vendor package, at least it has working config file.
It looks like your installation has problems with backend database since main loop dies.
0
 

Author Comment

by:tafil
ID: 24085172
I tried both to build  it and rpm but no one of them works.I also tried this tut.. but without susses http://www.ddj.co.za/archives/46/howto-compile-kannel-on-ubuntukubuntu-804.
 
0
 
LVL 62

Accepted Solution

by:
gheist earned 125 total points
ID: 24085237
No need to compile - you can just mess up things with inconsistent openssl and db packages. Real thing here for free:
http://packages.ubuntu.com/hardy/net/kannel
0
Free NetCrunch network monitor licenses!

Only on Experts-Exchange: Sign-up for a free-trial and we'll send you your permanent license!

Here is what you get: 30 Nodes | Unlimited Sensors | No Time Restrictions | Absolutely FREE!

Act now. This offer ends July 14, 2017.

 

Author Comment

by:tafil
ID: 24085264
i tied that to but again the same problem.Do you have any idea why this mess when opening kannel buy http?


Unknown command `/'.
Possible commands are:
status
store-status
log-level
shutdown
suspend
isolate
resume
restart
flush-dlr
stop-smsc
start-smsc
reload-lists
0
 
LVL 62

Expert Comment

by:gheist
ID: 24087095
What did you type for url? Do you have antivirus with link scanner which goes into /shutdown?
0
 

Author Comment

by:tafil
ID: 24087295
i used http://localhost:13000 on the local host without any virus scanner and on my pc with http://<ip address of kannel server >:13000 always with same resault.
0
 
LVL 62

Expert Comment

by:gheist
ID: 24087493
Can you use wireshark to check what is going on in HTTP session?
0
 
LVL 62

Expert Comment

by:gheist
ID: 24095023
I could not reproduce your problem. So all the failure was in the way you packaged kannel for installation. It is not your fault. Instructions off the web tend to age and walk away from real systems. System builders unlike you or me know their job well.
0

Featured Post

Retailers - Is your network secure?

With the prevalence of social media & networking tools, for retailers, reputation is critical. Have you considered the impact your network security could have in your customer's experience? Learn more in our Retail Security Resource Kit Today!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This paper addresses the security of Sennheiser DECT Contact Center and Office (CC&O) headsets. It describes the DECT security chain comprised of “Pairing”, “Per Call Authentication” and “Encryption”, which are all part of the standard DECT protocol.
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question