Hello, 
Everything was working fine until day before restarting kannel bearerbox
crashed. So I had to kill and restart again. Now all delivery reports are
DLR 8
Also system says that DLR rerouting for smsc id disabled.
What can cause that? kannel.conf is set up that dlr will go to mysql and
before yesterday it worked fine.
Bearerbox log:
2014-06-19 11:07:01 [12468] [0] INFO: Added logfile
`/var/log/kannel/bearerbox.log' with level `1'.
2014-06-19 11:07:01 [12468] [0] INFO: Started access logfile
`/var/log/kannel/access.log'.
2014-06-19 11:07:01 [12468] [0] INFO: HTTP: Opening server at port 33000.
2014-06-19 11:07:01 [12468] [0] ERROR: bind failed
2014-06-19 11:07:01 [12468] [0] ERROR: System error 98: Address already in
use
2014-06-19 11:07:01 [12468] [0] INFO: BOXC: 'smsbox-max-pending' not set,
using default (100).
2014-06-19 11:07:01 [12468] [0] INFO: Set SMS resend frequency to 60
seconds.
2014-06-19 11:07:01 [12468] [3] ERROR: bind failed
2014-06-19 11:07:01 [12468] [3] ERROR: System error 98: Address already in
use
2014-06-19 11:07:01 [12468] [0] INFO: SMS resend retry set to unlimited.
2014-06-19 11:07:01 [12468] [3] PANIC: Could not open smsbox port 33001
2014-06-19 11:07:01 [12468] [0] INFO: DLR rerouting for smsc id <text2reach>
disabled.
2014-06-19 11:07:01 [12468] [3] PANIC: bearerbox(gw_panic+0x17b) [0x47fdab]
2014-06-19 11:07:01 [12468] [3] PANIC: bearerbox() [0x410e28]
2014-06-19 11:07:01 [12468] [3] PANIC: bearerbox() [0x4779be]
2014-06-19 11:07:01 [12468] [3] PANIC:
/lib/x86_64-linux-gnu/libpthread.so.0(+0x7e9a) [0x7f07bc58fe9a]
2014-06-19 11:07:01 [12468] [3] PANIC:
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7f07bb151cbd]
2014-06-19 11:15:32 [13152] [0] INFO: Added logfile
`/var/log/kannel/bearerbox.log' with level `1'.
2014-06-19 11:15:32 [13152] [0] INFO: Started access logfile
`/var/log/kannel/access.log'.
2014-06-19 11:15:32 [13152] [0] INFO: HTTP: Opening server at port 33000.
2014-06-19 11:15:32 [13152] [0] ERROR: bind failed
2014-06-19 11:15:32 [13152] [0] ERROR: System error 98: Address already in
use
2014-06-19 11:15:32 [13152] [0] INFO: BOXC: 'smsbox-max-pending' not set,
using default (100).
2014-06-19 11:15:32 [13152] [0] INFO: Set SMS resend frequency to 60
seconds.
2014-06-19 11:15:32 [13152] [0] INFO: SMS resend retry set to unlimited.
2014-06-19 11:15:32 [13152] [3] ERROR: bind failed
2014-06-19 11:15:32 [13152] [3] ERROR: System error 98: Address already in
use
2014-06-19 11:15:32 [13152] [3] PANIC: Could not open smsbox port 33001
2014-06-19 11:15:32 [13152] [0] INFO: DLR rerouting for smsc id <text2reach>
disabled.
2014-06-19 11:15:32 [13152] [0] INFO: Added logfile
`/var/log/kannel/smsc_text2reach.log' with level `3'.
2014-06-19 11:15:32 [13152] [3] PANIC: bearerbox(gw_panic+0x17b) [0x47fdab]
2014-06-19 11:15:32 [13152] [3] PANIC: bearerbox() [0x410e28]
2014-06-19 11:15:32 [13152] [3] PANIC: bearerbox() [0x4779be]
2014-06-19 11:15:32 [13152] [3] PANIC:
/lib/x86_64-linux-gnu/libpthread.so.0(+0x7e9a) [0x7f138a3cde9a]
2014-06-19 11:15:32 [13152] [3] PANIC:
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7f1388f8fcbd]

smsbox:
2014-06-19 11:17:54 [13327] [0] ERROR: System error 98: Address already in
use
2014-06-19 11:17:54 [13327] [0] PANIC: Failed to open HTTP socket
2014-06-19 11:17:54 [13327] [0] PANIC: smsbox(gw_panic+0x17b) [0x43e14b]
2014-06-19 11:17:54 [13327] [0] PANIC: smsbox(main+0x12f9) [0x40e739]
2014-06-19 11:17:54 [13327] [0] PANIC:
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7ff3b8e5076d]
2014-06-19 11:17:54 [13327] [0] PANIC: smsbox() [0x40ea35]

kannel.conf:
group                   = core
admin-port              = 33000
admin-password          = "xxxxx"
status-password         = "xxxxx"
admin-deny-ip           = "*.*.*.*"
admin-allow-ip          = "127.0.0.1;195.250.175.162"
smsbox-port             = 33001
box-allow-ip            = "127.0.0.1"
log-file                = "/var/log/kannel/bearerbox.log"
log-level               = 1
access-log              = "/var/log/kannel/access.log"
store-location          = "/opt/kannel/store"
store-type              = "spool"
dlr-storage             = mysql

group                   = dlr-db
id                      = mydlr
table                   = kannel_dlr
field-smsc              = smsc
field-timestamp         = ts
field-destination       = destination
field-source            = source
field-service           = service
field-url               = url
field-mask              = mask
field-status            = status
field-boxc-id           = boxc

group                   = mysql-connection
id                      = mydlr
host                    = localhost
username                = "xxxxxxx"
password                = "xxxxx"
database                = "xxxxx"

group                   = sendsms-user
username                = "xxxx"
password                = "xxxx"
user-deny-ip            = "*.*.*.*"
user-allow-ip           = "127.0.0.1;178.63.16.86;194.204.21.246"
max-messages            = 3
concatenation           = "true"
omit-empty              = "false"

group                   = smsbox
smsbox-id               = "KANNELCLIENT"
bearerbox-host          = localhost
bearerbox-port          = 33001
sendsms-port            = 33010
sendsms-url             = "/smsbox/sendsms"
sendota-url             = "/smsbox/sendota"
log-file                = "/var/log/kannel/smsbox.log"
log-level               = 3
access-log              = "/var/log/kannel/smsbox-access.log"
reply-couldnotfetch     = ""
reply-couldnotrepresent = ""
reply-requestfailed     = ""
reply-emptymessage      = ""
mo-recode               = "true"
http-request-retry      = 3
http-queue-delay        = 10
sendsms-chars           = "0123456789 +-ABCDEFGHIJKLMNOPQRSTUVWXYZ
abcdefghijklmnopqrstuvwxyz /()*\@#.%&{}.$"

#amdtelecom
group                   = smsc
smsc                    = smpp
smsc-id                 = amdtelecom
allowed-prefix          = "00"
host                    = 89.31.1.42
port                    = 8400
receive-port            = 8400
smsc-username           = "xxxxxxx"
smsc-password           = "xxxxxxx"
system-type             = "VMA"
dest-addr-ton           = 1
dest-addr-npi           = 1
source-addr-ton         = 0
source-addr-npi         = 1
bind-addr-ton           = 0
bind-addr-npi           = 1
# msg-id-type           = 0
keepalive               = 30
enquire-link-interval   = 10
reconnect-delay         = 5
throughput              = 20
log-file                = "/var/log/kannel/smsc_amdtelecom.log"
log-level               = 3
interface-version       = "34"
transceiver-mode        = true
allowed-smsc-id         = "amdtelecom"
unified-prefix          = "-,00"
validityperiod          = 720
# alt-charset             = "gsm"

# text2reach
group                   = smsc
smsc                    = smpp
smsc-id                 = text2reach
allowed-prefix          = "00"
host                    = gw.kingsms.com
port                    = 7777
smsc-username           = xxxxxxxxx"
smsc-password           = "xxxxxxx"
system-type             = "CMT"
dest-addr-ton           = 1
dest-addr-npi           = 1
source-addr-ton         = 5
source-addr-npi         = 1
keepalive                               = 30
log-file                                                                =
"/var/log/kannel/smsc_text2reach.log"
log-level                                                               = 3
interface-version                               = "34"
validityperiod = 720
transceiver-mode                                = true
allowed-smsc-id                                 = "text2reach"
unified-prefix                                  = "-,00"

group                   = smsbox-route
smsbox-id               = "KANNELCLIENT"
smsc-id                 = "ee_emt_12010;ee_elisa_12010;ee_tele2_12010"
shortcode               = "12010"

group                   = sms-service
keyword                 = default
catch-all               = "true"
get-url                 =
"http://sms.messenger.ee/inbox/kannel-get/index.php?smstext=%a&sender=%p&receiver=%P&udh=%u&binary=%b&smsc-id=%i&coding=%c&class=%m&mwi=%M&charset=%C";
max-messages            = 0
concatenation           = "true"
omit-empty              = "true"
accept-x-kannel-headers = "true"
accepted-smsc           = "ee_emt_12010;ee_elisa_12010;ee_tele2_12010"

include = "/etc/kannel/smsc_cardboardfish.conf"
include = "/etc/kannel/smsc_cmtelecom.conf"
include = "/etc/kannel/smsc_42telecom.conf"
include = "/etc/kannel/smsc_emt.conf"
include = "/etc/kannel/smsc_elisa.conf"
include = "/etc/kannel/smsc_tele2.conf"
include = "/etc/kannel/smsc_elisa2.conf"



--
View this message in context: 
http://kannel.6189.n7.nabble.com/Delivery-reports-are-all-DLR-8-tp30220.html
Sent from the Kannel - User mailing list archive at Nabble.com.

Reply via email to