Hello!

I put some fake username and password to kannel.conf and all processes
still crashing. If I start some previous version of kannel (with or without
username and password in EMI2 smsc section) all work fine. (I no need UCP
60 type messages)

2002-06-27 16:41:21 [0] INFO: Added logfile `/var/log/kannel/kannel.log'
with level `0'.
2002-06-27 16:41:21 [0] INFO: ----------------------------------------
2002-06-27 16:41:21 [0] INFO: Kannel bearerbox II version cvs- starting
2002-06-27 16:41:21 [0] INFO: Started access logfile
`/var/log/kannel/access.log'.
2002-06-27 16:41:21 [0] DEBUG: Started thread 1
(gw/bb_store.c:store_cleanup)
2002-06-27 16:41:21 [0] INFO: SSL not supported, no SSL initialization
done.
2002-06-27 16:41:21 [0] DEBUG: HTTP: Opening server at port 13000.
2002-06-27 16:41:21 [0] DEBUG: Started thread 2 (gwlib/fdset.c:poller)
2002-06-27 16:41:21 [0] DEBUG: Started thread 3
(gwlib/http.c:server_thread)
2002-06-27 16:41:21 [0] DEBUG: Started thread 4
(gw/bb_http.c:httpadmin_run)
2002-06-27 16:41:21 [0] DEBUG: starting smsbox connection module
2002-06-27 16:41:21 [0] DEBUG: Started thread 5 (gw/bb_boxc.c:smsboxc_run)
2002-06-27 16:41:21 [0] DEBUG: Started thread 6 (gwlib/fdset.c:poller)
2002-06-27 16:41:21 [0] DEBUG: Started thread 7
(gwlib/http.c:write_request_thread)
2002-06-27 16:41:21 [7] DEBUG: HTTP: Opening connection to `127.0.0.1:80'
(fd=25).
2002-06-27 16:41:21 [7] DEBUG: HTTP: Sending request:
2002-06-27 16:41:21 [7] DEBUG: Octet string at 0x80cf8d8:
2002-06-27 16:41:21 [7] DEBUG:   len:  54
2002-06-27 16:41:21 [7] DEBUG:   size: 55
2002-06-27 16:41:21 [7] DEBUG:   immutable: 0
2002-06-27 16:41:21 [7] DEBUG:   data: 47 45 54 20 2f 68 74 6d   GET /htm
2002-06-27 16:41:21 [7] DEBUG:   data: 6c 2f 62 6c 61 63 6b 2d   l/black-
2002-06-27 16:41:21 [7] DEBUG:   data: 6c 69 73 74 2e 74 78 74   list.txt
2002-06-27 16:41:21 [7] DEBUG:   data: 20 48 54 54 50 2f 31 2e    HTTP/1.
2002-06-27 16:41:21 [7] DEBUG:   data: 31 0d 0a 48 6f 73 74 3a   1..Host:
2002-06-27 16:41:21 [7] DEBUG:   data: 20 31 32 37 2e 30 2e 30    127.0.0
2002-06-27 16:41:21 [7] DEBUG:   data: 2e 31 0d 0a 0d 0a         .1....
2002-06-27 16:41:21 [7] DEBUG: Octet string dump ends.
2002-06-27 16:41:21 [6] DEBUG: HTTP: Status line: <HTTP/1.1 200 OK>
2002-06-27 16:41:21 [0] DEBUG: Total 2 lines in
http://127.0.0.1/html/black-list.txt
2002-06-27 16:41:21 [0] INFO: Read from <
http://127.0.0.1/html/black-list.txt> total of 2 numbers
2002-06-27 16:41:21 [0] DEBUG: Started thread 8
(gw/smsc_emi2.c:emi2_listener)
2002-06-27 16:41:21 [0] DEBUG: Started thread 9
(gw/smsc_emi2.c:emi2_sender)
2002-06-27 16:41:21 [0] DEBUG: Started thread 10
(gw/bb_smscconn.c:sms_router)
2002-06-27 16:41:21 [0] INFO: Loading store file
/var/log/kannel/kannel.store
2002-06-27 16:41:21 [0] INFO: Store-file size 0, starting to unpack
2002-06-27 16:41:21 [0] INFO: Retrieved 0 messages, non-acknowledged
messages: 0
2002-06-27 16:41:21 [0] INFO: MAIN: Start-up done, entering mainloop
2002-06-27 16:41:21 [0] PANIC: gwlib/octstr.c:2108: seems_valid_real:
Assertion `ostr->len == 0' failed. (Call
ed from gw/smsc_emi2.c:1437:start_cb.)
2002-06-27 16:41:21 [10] DEBUG: sms_router: time to sleep

# ============================== new config ==================
group = core
admin-port = 13000
smsbox-port = 13001
admin-password = imbank
status-password = status
admin-deny-ip = "*.*.*.*"
admin-allow-ip = "10.1.4.13"
log-file = "/var/log/kannel/kannel.log"
#log-level = 0
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
access-log = "/var/log/kannel/access.log"
store-file = "/var/log/kannel/kannel.store"
black-list = "http://127.0.0.1/html/black-list.txt";
include = "/etc/kannel/modems.conf"
# SMSC CONNECTIONS

group = smsc
smsc = emi2
smsc-id = MTS
port = 5006
host = 212.44.xxx.xxx
connect-allow-ip = "212.44.xxx.xxx"
receive-port = 5006
smsc-username = qqq
smsc-password = qqq
flow-control = 1
idle-timeout = 120
throughput = 10

group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
global-sender = 13013
sendsms-chars = "0123456789 +-"
log-file = "/var/log/kannel/smsbox.log"
#log-level = 0
access-log = "/var/log/kannel/smsbox_access.log"
black-list = "http://127.0.0.1/html/black-list.txt";

# SEND-SMS USERS

group = sendsms-user
username = local
password = imbank
concatenation = true
max-messages = 4
user-deny-ip = "*.*.*.*"
user-allow-ip = "127.0.0.1"

group = sms-service
keyword = default
accept-x-kannel-headers = true
get-url = "http://127.0.0.1/cgi-bin/sms2mail?to=gaksenov&from=%p&text=%a";
max-messages = 1

the log file from previus version (i don't remember for that day snapshot)
follows:

2002-06-27 16:46:43 [0] INFO: Added logfile `/var/log/kannel/kannel.log'
with level `0'.
2002-06-27 16:46:43 [0] INFO: ----------------------------------------
2002-06-27 16:46:43 [0] INFO: Kannel bearerbox II version cvs starting
2002-06-27 16:46:43 [0] INFO: Started access logfile
`/var/log/kannel/access.log'.
2002-06-27 16:46:43 [0] DEBUG: Started thread 1
(gw/bb_store.c:store_cleanup)
2002-06-27 16:46:43 [0] INFO: SSL not supported, no SSL initialization
done.
2002-06-27 16:46:43 [0] DEBUG: HTTP: Opening server at port 13000.
2002-06-27 16:46:43 [0] DEBUG: Started thread 2 (gwlib/fdset.c:poller)
2002-06-27 16:46:43 [0] DEBUG: Started thread 3
(gwlib/http.c:server_thread)
2002-06-27 16:46:43 [0] DEBUG: Started thread 4
(gw/bb_http.c:httpadmin_run)
2002-06-27 16:46:43 [0] DEBUG: starting smsbox connection module
2002-06-27 16:46:43 [0] DEBUG: Started thread 5 (gw/bb_boxc.c:smsboxc_run)
2002-06-27 16:46:43 [0] DEBUG: Started thread 6 (gwlib/fdset.c:poller)
2002-06-27 16:46:43 [0] DEBUG: Started thread 7
(gwlib/http.c:write_request_thread)
2002-06-27 16:46:43 [7] DEBUG: HTTP: Opening connection to `127.0.0.1:80'.
2002-06-27 16:46:43 [7] DEBUG: HTTP: Sending request:
2002-06-27 16:46:43 [7] DEBUG: Octet string at 0x81ffc88:
2002-06-27 16:46:43 [7] DEBUG:   len:  78
2002-06-27 16:46:43 [7] DEBUG:   size: 79
2002-06-27 16:46:43 [7] DEBUG:   immutable: 0
2002-06-27 16:46:43 [7] DEBUG:   data: 47 45 54 20 2f 68 74 6d   GET /htm
2002-06-27 16:46:43 [7] DEBUG:   data: 6c 2f 62 6c 61 63 6b 2d   l/black-
2002-06-27 16:46:43 [7] DEBUG:   data: 6c 69 73 74 2e 74 78 74   list.txt
2002-06-27 16:46:43 [7] DEBUG:   data: 20 48 54 54 50 2f 31 2e    HTTP/1.
2002-06-27 16:46:43 [7] DEBUG:   data: 31 0d 0a 48 6f 73 74 3a   1..Host:
2002-06-27 16:46:43 [7] DEBUG:   data: 20 31 32 37 2e 30 2e 30    127.0.0
2002-06-27 16:46:43 [7] DEBUG:   data: 2e 31 0d 0a 55 73 65 72   .1..User
2002-06-27 16:46:43 [7] DEBUG:   data: 2d 41 67 65 6e 74 3a 20   -Agent:
2002-06-27 16:46:43 [7] DEBUG:   data: 4b 61 6e 6e 65 6c 2f 63   Kannel/c
2002-06-27 16:46:43 [7] DEBUG:   data: 76 73 0d 0a 0d 0a         vs....
2002-06-27 16:46:43 [7] DEBUG: Octet string dump ends.
2002-06-27 16:46:43 [6] DEBUG: HTTP: Status line: <HTTP/1.1 200 OK>
2002-06-27 16:46:43 [0] DEBUG: Total 2 lines in
http://127.0.0.1/html/black-list.txt
2002-06-27 16:46:43 [0] INFO: Read from <
http://127.0.0.1/html/black-list.txt> total of 2 numbers
2002-06-27 16:46:43 [0] DEBUG: Started thread 8
(gw/smsc_emi2.c:emi2_listener)
2002-06-27 16:46:43 [0] DEBUG: Started thread 9
(gw/smsc_emi2.c:emi2_sender)
2002-06-27 16:46:43 [0] DEBUG: Started thread 10
(gw/bb_smscconn.c:sms_router)
2002-06-27 16:46:43 [0] INFO: Loading store file
/var/log/kannel/kannel.store
2002-06-27 16:46:43 [0] INFO: Store-file size 0, starting to unpack
2002-06-27 16:46:43 [0] INFO: Retrieved 0 messages, non-acknowledged
messages: 0
2002-06-27 16:46:43 [0] INFO: MAIN: Start-up done, entering mainloop
2002-06-27 16:46:43 [0] DEBUG: EMI2[MTS]: start called
2002-06-27 16:46:43 [9] INFO: EMI2[MTS]: connecting to Primary SMSC
2002-06-27 16:46:43 [10] DEBUG: sms_router: time to sleep
2002-06-27 16:46:43 [10] DEBUG: sms_router: list_len = 0
2002-06-27 16:46:45 [5] DEBUG: Started thread 11 (gw/bb_boxc.c:function)
2002-06-27 16:46:45 [11] INFO: Client connected from <127.0.0.1>
2002-06-27 16:46:45 [11] DEBUG: Started thread 12
(gw/bb_boxc.c:boxc_sender)


with best wishes
 German Aksenov
phone: (095)258-7258 ext. 7836



Reply via email to