LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-17-2017, 05:30 AM   #1
yagboko
LQ Newbie
 
Registered: Feb 2017
Posts: 6

Rep: Reputation: Disabled
Error message when booting bearbox and smsbox from kannel-1.4.3-4.fc12.i686.rpm on fedora 12


Hello,
We are installing kannel for a local sms. The installation of kannel is finished. After configuration, we can start the bearbox and smsbox services.
Please find below the error messages for bearebox and smsbox.

N.B. This is the first time we install the kannel server on Fedora

Code:
#SMSBOX

2017-02-17 08:42:03 [25726] [0] INFO: Debug_lvl = 1, log_file = <none>, log_lvl = 0
2017-02-17 08:42:03 [25726] [0] ERROR: Group 'smsc' may not contain field 'smsc-user'.
2017-02-17 08:42:03 [25726] [0] ERROR: Error found on line 29 of file `/etc/kannel.conf'.
2017-02-17 08:42:03 [25726] [0] PANIC: Couldn't read configuration from `/etc/kannel.conf'.
2017-02-17 08:42:03 [25726] [0] PANIC: smsbox(gw_panic+0xcd) [0x8088ced]
2017-02-17 08:42:03 [25726] [0] PANIC: smsbox(main+0x1358) [0x8054398]
2017-02-17 08:42:03 [25726] [0] PANIC: /lib/libc.so.6(__libc_start_main+0xe6) [0x8aebb6]
2017-02-17 08:42:03 [25726] [0] PANIC: smsbox() [0x8052821]


#BEAREBOX

2017-02-17 08:40:46 [25699] [0] INFO: Debug_lvl = 1, log_file = <none>, log_lvl = 0
2017-02-17 08:40:46 [25699] [0] ERROR: Group 'smsc' may not contain field 'smsc-user'.
2017-02-17 08:40:46 [25699] [0] ERROR: Error found on line 29 of file `/etc/kannel.conf'.
2017-02-17 08:40:46 [25699] [0] PANIC: Couldn't read configuration from `/etc/kannel.conf'.
2017-02-17 08:40:46 [25699] [0] PANIC: bearerbox(gw_panic+0xcd) [0x80ce55d]
2017-02-17 08:40:46 [25699] [0] PANIC: bearerbox(main+0xde8) [0x8053f28]
2017-02-17 08:40:46 [25699] [0] PANIC: /lib/libc.so.6(__libc_start_main+0xe6) [0x8aebb6]
2017-02-17 08:40:46 [25699] [0] PANIC: bearerbox() [0x8052401]

#KANNEL CONFIGURATION

# Default kannel configuration file
group = core
admin-port = 13000
admin-password = traiter
status-password = traiter
admin-deny-ip = "*.*.*.*"
admin-allow-ip = "127.0.0.1"
#smsbox-port = 13001
#wapbox-port = 13002
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1;10.20.*.*"
wdp-interface-name = "*"
log-file = "/var/log/kannel/bearerbox.log"
log-level = 1

group = smsc
smsc = smpp
smsc-id = smppf
host = smpp5.mblox.com
port = 3220
transceiver-mode = true
throughput = 5
smsc-user = user1
smsc-password = Test1001
service-type = *****
system-type = "vma"
log-file = "/var/log/kannel/smsc.log"
log-level = 4

group = smsc
smsc = smpp
smsc-id = smppf
host = smpp6.mblox.com
port = 3220
transceiver-mode = true
throughput = 5
smsc-user = "user1"
smsc-password = Test1001
service-type = *****
system-type = "vma"
log-file = "/var/log/kannel/smsc.log"
log-level = 4

group = smsbox
bearerbox-host =127.0.0.7
sendsms-port = 13013
global-sender = 0023675788335
log-file = /var/log/kannel/smsbox.log
log-level = 2
access-log = /var/log/kannel/access.log

group = sendsms-user
username = user
password = passer
max-messages = 2
concatenation = true
user-deny-ip = "*.*.*.*"
user-allow-ip = "127.0.0.1;10.20.*.*"
Thank you in advance for your assistance

Best regard,
 
Old 02-18-2017, 10:19 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 22,815

Rep: Reputation: 6317Reputation: 6317Reputation: 6317Reputation: 6317Reputation: 6317Reputation: 6317Reputation: 6317Reputation: 6317Reputation: 6317Reputation: 6317Reputation: 6317
Quote:
Originally Posted by yagboko View Post
Hello,
We are installing kannel for a local sms. The installation of kannel is finished. After configuration, we can start the bearbox and smsbox services.
Please find below the error messages for bearebox and smsbox. N.B. This is the first time we install the kannel server on Fedora
Code:
2017-02-17 08:42:03 [25726] [0] INFO: Debug_lvl = 1, log_file = <none>, log_lvl = 0
2017-02-17 08:42:03 [25726] [0] ERROR: Group 'smsc' may not contain field 'smsc-user'.
2017-02-17 08:42:03 [25726] [0] ERROR: Error found on line 29 of file `/etc/kannel.conf'.
2017-02-17 08:42:03 [25726] [0] PANIC: Couldn't read configuration from `/etc/kannel.conf'.
2017-02-17 08:42:03 [25726] [0] PANIC: smsbox(gw_panic+0xcd) [0x8088ced]
2017-02-17 08:42:03 [25726] [0] PANIC: smsbox(main+0x1358) [0x8054398]
2017-02-17 08:42:03 [25726] [0] PANIC: /lib/libc.so.6(__libc_start_main+0xe6) [0x8aebb6]
2017-02-17 08:42:03 [25726] [0] PANIC: smsbox() [0x8052821]

2017-02-17 08:40:46 [25699] [0] INFO: Debug_lvl = 1, log_file = <none>, log_lvl = 0
2017-02-17 08:40:46 [25699] [0] ERROR: Group 'smsc' may not contain field 'smsc-user'.
2017-02-17 08:40:46 [25699] [0] ERROR: Error found on line 29 of file `/etc/kannel.conf'.
2017-02-17 08:40:46 [25699] [0] PANIC: Couldn't read configuration from `/etc/kannel.conf'.
2017-02-17 08:40:46 [25699] [0] PANIC: bearerbox(gw_panic+0xcd) [0x80ce55d]
2017-02-17 08:40:46 [25699] [0] PANIC: bearerbox(main+0xde8) [0x8053f28]
2017-02-17 08:40:46 [25699] [0] PANIC: /lib/libc.so.6(__libc_start_main+0xe6) [0x8aebb6]
2017-02-17 08:40:46 [25699] [0] PANIC: bearerbox() [0x8052401]

#KANNEL CONFIGURATION

# Default kannel configuration file
group = core
admin-port = 13000
admin-password = traiter
status-password = traiter
admin-deny-ip = "*.*.*.*"
admin-allow-ip = "127.0.0.1"
#smsbox-port = 13001
#wapbox-port = 13002
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1;10.20.*.*"
wdp-interface-name = "*"
log-file = "/var/log/kannel/bearerbox.log"
log-level = 1

group = smsc
smsc = smpp
smsc-id = smppf
host = smpp5.mblox.com
port = 3220
transceiver-mode = true
throughput = 5
smsc-user = user1
smsc-password = Test1001
service-type = *****
system-type = "vma"
log-file = "/var/log/kannel/smsc.log"
log-level = 4

group = smsc
smsc = smpp
smsc-id = smppf
host = smpp6.mblox.com
port = 3220
transceiver-mode = true
throughput = 5
smsc-user = "user1"
smsc-password = Test1001
service-type = *****
system-type = "vma"
log-file = "/var/log/kannel/smsc.log"
log-level = 4

group = smsbox
bearerbox-host =127.0.0.7
sendsms-port = 13013
global-sender = 0023675788335
log-file = /var/log/kannel/smsbox.log
log-level = 2
access-log = /var/log/kannel/access.log

group = sendsms-user
username = user
password = passer
max-messages = 2
concatenation = true
user-deny-ip = "*.*.*.*"
user-allow-ip = "127.0.0.1;10.20.*.*"
Honestly, the first thing I did was check the date on this post when I opened it. Are you SERIOUSLY installing Fedora 12 with Kannel...in 2017??? Kannel appears to have been last updated 3 years ago...Fedora 12 went end-of-life in 2010...it is SEVEN YEARS out of date and unsupported.

Fedora 12 is ANCIENT, unsupported, and loaded with security holes. The best solution for your goal of having an SMS gateway is to load a CURRENT version of Linux, and a different product, of which there are several. The latest Fedora is fine, but if you're going to put this server into production, then load CentOS or Ubuntu LTS. From there, one of the products is OzekiSMS:
http://www.ozekisms.com/index.php?owpn=661

...along with several others you can find with a Google search.
 
1 members found this post helpful.
Old 02-27-2017, 07:47 AM   #3
yagboko
LQ Newbie
 
Registered: Feb 2017
Posts: 6

Original Poster
Rep: Reputation: Disabled
Kannel: ERROR: System error 98: Address already in use

Quote:
Originally Posted by TB0ne View Post
Honestly, the first thing I did was check the date on this post when I opened it. Are you SERIOUSLY installing Fedora 12 with Kannel...in 2017??? Kannel appears to have been last updated 3 years ago...Fedora 12 went end-of-life in 2010...it is SEVEN YEARS out of date and unsupported.

Fedora 12 is ANCIENT, unsupported, and loaded with security holes. The best solution for your goal of having an SMS gateway is to load a CURRENT version of Linux, and a different product, of which there are several. The latest Fedora is fine, but if you're going to put this server into production, then load CentOS or Ubuntu LTS. From there, one of the products is OzekiSMS:
http://www.ozekisms.com/index.php?owpn=661

...along with several others you can find with a Google search.
Hello,
I change the OS. I install and configure kannel. All services are running. Bearerbox, smsbox and wapbox are running but I get the error below :

Quote:
2017-02-26 21:26:36 [9194] [0] INFO: HTTP: Opening server at port 13000.
2017-02-26 21:26:36 [9194] [0] ERROR: bind failed
2017-02-26 21:26:36 [9194] [0] ERROR: System error 98: Address already in use
 
Old 02-27-2017, 08:35 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 22,815

Rep: Reputation: 6317Reputation: 6317Reputation: 6317Reputation: 6317Reputation: 6317Reputation: 6317Reputation: 6317Reputation: 6317Reputation: 6317Reputation: 6317Reputation: 6317
Quote:
Originally Posted by yagboko View Post
Hello,
I change the OS. I install and configure kannel. All services are running. Bearerbox, smsbox and wapbox are running but I get the error below :
Ok...the error is very clear. It's telling you that some other service is listening on that port. So, change the port to something else in the configuration, or change the other service to a different port.
 
Old 03-03-2017, 03:06 AM   #5
yagboko
LQ Newbie
 
Registered: Feb 2017
Posts: 6

Original Poster
Rep: Reputation: Disabled
Test kannel

Hello,
All kannel configuration are done. All services(bearerbox, smsbox, wapbox) are running.
I sent the sms message on another server by using lynx
Code:
lynx -dump "http://10.1.0.8:13013/cgi-bin/sendsms?username=tester&password=foobar&dr-mask=18&charset=ISO8859-1&coding=2&to=23675747174&text=test sms"
But I get the error message : Not routable. Do not try again.
This error message come from kannel.
May I have someone for help?

Regards,
 
Old 03-03-2017, 08:18 AM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 22,815

Rep: Reputation: 6317Reputation: 6317Reputation: 6317Reputation: 6317Reputation: 6317Reputation: 6317Reputation: 6317Reputation: 6317Reputation: 6317Reputation: 6317Reputation: 6317
Quote:
Originally Posted by yagboko View Post
Hello,
All kannel configuration are done. All services(bearerbox, smsbox, wapbox) are running.
I sent the sms message on another server by using lynx
Code:
lynx -dump "http://10.1.0.8:13013/cgi-bin/sendsms?username=tester&password=foobar&dr-mask=18&charset=ISO8859-1&coding=2&to=23675747174&text=test sms"
But I get the error message : Not routable. Do not try again. This error message come from kannel. May I have someone for help?
See the "Question Guidelines" and LQ Rules. Please open a new thread for a new question.

There can be many causes for this in Kannel, and we can't see your configuration, so we don't know what it could be. Putting the error into Google yields lots:
https://github.com/rapidsms/rapidsms/issues/425
http://www.kannel.org/pipermail/user...er/001079.html
https://www.mail-archive.com/users@k.../msg08946.html

Again, there is much that can cause this.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora (2.6.31.5-127.fc12.i686.PAE) - file system with errors Mags74 Linux - Newbie 4 05-14-2013 04:15 AM
how to send a message using the kannel 1.4.3 mukokha Linux - Newbie 1 03-04-2011 01:57 AM
[SOLVED] After installing kmplayer-0.11.2c-1.fc12.i686 ,it can't play videos. e3399 Linux - Desktop 4 12-03-2010 10:58 PM
.src.rpm, .i386.rpm and .i686.rpm hhegab Linux - Software 2 06-19-2003 07:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration