Hi Nikos, Please Dont misunderstand me. logs are not generating while kannel starting. What ever the logs i got the same i have sent you.
I have tried the configuration with a new installation. But same thing happend. When started manually With command ./bearerbox -v 1 /etc/kannel/conf/smskannel.conf i found Log as below. 2010-11-11 15:00:10 [10268] [0] INFO: Debug_lvl = 1, log_file = <none>, log_lvl = 0 2010-11-11 15:00:10 [10268] [0] ERROR: Group does not contain variable 'group'. 2010-11-11 15:00:10 [10268] [0] ERROR: Error found on line 95 of file `/etc/kannel/conf/smskannel.conf'. 2010-11-11 15:00:10 [10268] [0] PANIC: Couldn't read configuration from `/etc/kannel/conf/smskannel.conf'. 2010-11-11 15:00:10 [10268] [0] PANIC: ./bearerbox(gw_panic+0xc2) [0x80cc0a2] 2010-11-11 15:00:10 [10268] [0] PANIC: ./bearerbox(main+0xdfe) [0x8053d3e] 2010-11-11 15:00:10 [10268] [0] PANIC: /lib/libc.so.6(__libc_start_main+0xdc) [0x741e9c] 2010-11-11 15:00:10 [10268] [0] PANIC: ./bearerbox [0x8052211] Deleted the lines in 93 to 96 and typed it again then it was started automatically. and everything is working fine.Black-list also working fine. Thanks for your valuable help for me regarding this issue. Regards, Akira. Nikos Balkanas wrote: > > Hi, > > 1) Never truncate threads. Flow of answers and issues are lost. > 2) You said that kannel won't start. I asked for detailed logs reolevant > to > the error. I see none. > > Please don't waiste my time with irrelevant logs. > > BR, > Nikos > ----- Original Message ----- > From: "Te-Ch-Akira" <[email protected]> > To: <[email protected]> > Sent: Thursday, November 11, 2010 8:49 AM > Subject: Re: Issues with black-list in kannel 1.4.3 > > >> >> Hi, >> >> I have included detailed logs relevant to the problem, Please find below. >> >> Kannel Logs: >> Bearerbox.log >> 2010-11-11 12:02:46 [9117] [0] INFO: Added logfile >> `/var/log/kannel/bearerbox.log' with level `1'. >> 2010-11-11 12:02:46 [9117] [0] INFO: HTTP: Opening server at port 13000. >> 2010-11-11 12:02:46 [9117] [0] INFO: BOXC: 'smsbox-max-pending' not set, >> using default (100). >> 2010-11-11 12:02:46 [9117] [0] INFO: Set SMS resend frequency to 60 >> seconds. >> 2010-11-11 12:02:46 [9117] [0] INFO: SMS resend retry set to unlimited. >> 2010-11-11 12:02:46 [9117] [0] INFO: Set throughput to 200.000 for smsc >> id >> <fake> >> 2010-11-11 12:02:46 [9117] [0] INFO: DLR rerouting for smsc id <fake> >> disabled. >> 2010-11-11 12:02:46 [9117] [0] INFO: Added logfile >> `/var/log/kannel/fake.log' with level `0'. >> 2010-11-11 12:02:46 [9117] [0] WARNING: Both 'allowed-smsc-id' and >> 'denied-smsc-id' set, deny-list automatically ignored >> 2010-11-11 12:02:46 [9117] [0] INFO: Adding interface * >> 2010-11-11 12:02:46 [9117] [0] ERROR: Missing wapbox-port variable, >> cannot >> start WAP >> 2010-11-11 12:02:46 [9117] [0] INFO: >> ---------------------------------------- >> 2010-11-11 12:02:46 [9117] [0] INFO: Kannel bearerbox II version 1.4.3 >> starting >> 2010-11-11 12:02:46 [9117] [0] INFO: MAIN: Start-up done, entering >> mainloop >> 2010-11-11 12:02:46 [9117] [5] INFO: Client connected from <127.0.0.1> >> 2010-11-11 12:02:46 [9117] [6] INFO: Logging thread `6' to logfile >> `/var/log/kannel/loopa.log' with level `0'. >> 2010-11-11 12:05:19 [9117] [13] INFO: Connection closed by the box >> <127.0.0.1> >> 2010-11-11 12:05:19 [9117] [0] WARNING: Killing signal or HTTP admin >> command >> received, shutting down... >> 2010-11-11 12:05:20 [9117] [0] INFO: All flow threads have died, killing >> core >> 2010-11-11 12:05:20 [9117] [0] INFO: Total WDP messages: received 0, sent >> 0 >> 2010-11-11 12:05:20 [9117] [0] INFO: Total SMS messages: received 0, sent >> 0 >> >> Smsc.log >> 2010-11-11 12:04:46 [9117] [6] DEBUG: command_status: 0 = 0x00000000 >> 2010-11-11 12:04:46 [9117] [6] DEBUG: sequence_number: 5 = 0x00000005 >> 2010-11-11 12:04:46 [9117] [6] DEBUG: SMPP PDU dump ends. >> 2010-11-11 12:05:16 [9117] [6] DEBUG: SMPP[fake]: Sending enquire link: >> 2010-11-11 12:05:16 [9117] [6] DEBUG: SMPP PDU 0x9d27568 dump: >> 2010-11-11 12:05:16 [9117] [6] DEBUG: type_name: enquire_link >> 2010-11-11 12:05:16 [9117] [6] DEBUG: command_id: 21 = 0x00000015 >> 2010-11-11 12:05:16 [9117] [6] DEBUG: command_status: 0 = 0x00000000 >> 2010-11-11 12:05:16 [9117] [6] DEBUG: sequence_number: 6 = 0x00000006 >> 2010-11-11 12:05:16 [9117] [6] DEBUG: SMPP PDU dump ends. >> 2010-11-11 12:05:16 [9117] [6] DEBUG: SMPP[fake]: Got PDU: >> 2010-11-11 12:05:16 [9117] [6] DEBUG: SMPP PDU 0x9d27568 dump: >> 2010-11-11 12:05:16 [9117] [6] DEBUG: type_name: enquire_link_resp >> 2010-11-11 12:05:16 [9117] [6] DEBUG: command_id: 2147483669 = >> 0x80000015 >> 2010-11-11 12:05:16 [9117] [6] DEBUG: command_status: 0 = 0x00000000 >> 2010-11-11 12:05:16 [9117] [6] DEBUG: sequence_number: 6 = 0x00000006 >> 2010-11-11 12:05:16 [9117] [6] DEBUG: SMPP PDU dump ends. >> 2010-11-11 12:05:19 [9117] [6] DEBUG: SMPP[fake]: Sending unbind: >> 2010-11-11 12:05:19 [9117] [6] DEBUG: SMPP PDU 0x9d2f4e0 dump: >> 2010-11-11 12:05:19 [9117] [6] DEBUG: type_name: unbind >> 2010-11-11 12:05:19 [9117] [6] DEBUG: command_id: 6 = 0x00000006 >> 2010-11-11 12:05:19 [9117] [6] DEBUG: command_status: 0 = 0x00000000 >> 2010-11-11 12:05:19 [9117] [6] DEBUG: sequence_number: 7 = 0x00000007 >> 2010-11-11 12:05:19 [9117] [6] DEBUG: SMPP PDU dump ends. >> 2010-11-11 12:05:19 [9117] [6] DEBUG: SMPP[fake]: Got PDU: >> 2010-11-11 12:05:19 [9117] [6] DEBUG: SMPP PDU 0x9d2f4e0 dump: >> 2010-11-11 12:05:19 [9117] [6] DEBUG: type_name: unbind_resp >> 2010-11-11 12:05:19 [9117] [6] DEBUG: command_id: 2147483654 = >> 0x80000006 >> 2010-11-11 12:05:19 [9117] [6] DEBUG: command_status: 0 = 0x00000000 >> 2010-11-11 12:05:19 [9117] [6] DEBUG: sequence_number: 7 = 0x00000007 >> 2010-11-11 12:05:19 [9117] [6] DEBUG: SMPP PDU dump ends. >> 2010-11-11 12:05:20 [9117] [6] DEBUG: SMPP[fake]: io_thread: break and >> shutting down >> 2010-11-11 12:05:20 [9117] [6] DEBUG: Thread 6 >> (gw/smsc/smsc_smpp.c:io_thread) terminates. >> >> >> Smsbox.log >> 2010-11-11 12:02:46 [9127] [0] INFO: Added logfile >> `/var/log/kannel/smsbox.log' with level `0'. >> 2010-11-11 12:02:46 [9127] [0] INFO: Service global sender set as 'XXXXX' >> 2010-11-11 12:02:46 [9127] [0] INFO: Logging accesses to >> '/var/log/kannel/access.log'. >> 2010-11-11 12:02:46 [9127] [0] INFO: Started access logfile >> `/var/log/kannel/access.log'. >> 2010-11-11 12:02:46 [9127] [0] INFO: HTTP: Opening server at port 13013. >> 2010-11-11 12:02:46 [9127] [0] DEBUG: Started thread 1 >> (gwlib/fdset.c:poller) >> 2010-11-11 12:02:46 [9127] [0] DEBUG: Started thread 2 >> (gwlib/http.c:server_thread) >> 2010-11-11 12:02:46 [9127] [0] INFO: Set up send sms service at port >> 13013 >> 2010-11-11 12:02:46 [9127] [0] DEBUG: Started thread 3 >> (gw/smsbox.c:sendsms_thread) >> 2010-11-11 12:02:46 [9127] [0] INFO: Using HTTP request queueing with 10 >> retries, 10s delay. >> 2010-11-11 12:02:46 [9127] [0] DEBUG: >> ---------------------------------------------- >> 2010-11-11 12:02:46 [9127] [0] DEBUG: Kannel smsbox version 1.4.3 >> starting >> 2010-11-11 12:02:46 [9127] [0] DEBUG: dumping group (sendsms-user): >> 2010-11-11 12:02:46 [9127] [0] DEBUG: <omit-empty> = <true> >> 2010-11-11 12:02:46 [9127] [0] DEBUG: <group> = <sendsms-user> >> 2010-11-11 12:02:46 [9127] [0] DEBUG: <max-messages> = <3> >> 2010-11-11 12:02:46 [9127] [0] DEBUG: <forced-smsc> = <fake> >> 2010-11-11 12:02:46 [9127] [0] DEBUG: <username> = <foo> >> 2010-11-11 12:02:46 [9127] [0] DEBUG: <concatenation> = <1> >> 2010-11-11 12:02:46 [9127] [0] DEBUG: <password> = <bar> >> 2010-11-11 12:02:46 [9127] [0] DEBUG: Started thread 4 >> (gw/smsbox.c:obey_request_thread) >> 2010-11-11 12:02:46 [9127] [0] DEBUG: Started thread 5 >> (gw/smsbox.c:url_result_thread) >> 2010-11-11 12:02:46 [9127] [0] DEBUG: Started thread 6 >> (gw/smsbox.c:http_queue_thread) >> 2010-11-11 12:02:46 [9127] [0] INFO: Connected to bearerbox at localhost >> port 13001. >> 2010-11-11 12:02:46 [9127] [0] DEBUG: Started thread 7 >> (gw/heartbeat.c:heartbeat_thread) >> 2010-11-11 12:02:46 [9127] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) >> maps >> to pid 9127. >> 2010-11-11 12:02:46 [9127] [4] DEBUG: Thread 4 >> (gw/smsbox.c:obey_request_thread) maps to pid 9127. >> 2010-11-11 12:02:46 [9127] [5] DEBUG: Thread 5 >> (gw/smsbox.c:url_result_thread) maps to pid 9127. >> 2010-11-11 12:02:46 [9127] [6] DEBUG: Thread 6 >> (gw/smsbox.c:http_queue_thread) maps to pid 9127. >> 2010-11-11 12:02:46 [9127] [7] DEBUG: Thread 7 >> (gw/heartbeat.c:heartbeat_thread) maps to pid 9127. >> 2010-11-11 12:02:46 [9127] [2] DEBUG: Thread 2 >> (gwlib/http.c:server_thread) >> maps to pid 9127. >> 2010-11-11 12:02:46 [9127] [3] DEBUG: Thread 3 >> (gw/smsbox.c:sendsms_thread) >> maps to pid 9127. >> >> Regards, >> Akira. >> >> >> Te-Ch-Akira wrote: >>> >>> >>> Hi, >>> >>> I'm trying to deny some numbers to be sent SMS which are already >>> declared >>> in the black-list. >>> but still the sms is going to deliver. >>> i have found an issue in issue tracker >>> (http://redmine.kannel.org/projects/kannel/issues) bug no: Bug #523 >>> status >>> is new >>> the black listing is very urgently required, if any body provide some >>> solution or patch for this a bug tht would be helpfull, >>> >>> here i have menctioned my config below. >>> >>> group = core >>> admin-port = 13000 >>> admin-password = foo >>> status-password = bar >>> #admin-deny-ip = "*.*.*.*" >>> admin-allow-ip = "127.0.0.1,192.168.1.*" >>> smsbox-port = 13001 >>> #wapbox-port = 13002 >>> #box-deny-ip = "*.*.*.*" >>> box-allow-ip = "127.0.0.1" >>> wdp-interface-name = "*" >>> store-location = "/var/spool/kannel/kannel.new" >>> log-file = "/var/log/kannel/bearerbox.log" >>> #dlr-storage = internal >>> log-level = 1 >>> >>> group = smsbox >>> bearerbox-host = localhost >>> sendsms-port = 13013 >>> #global-sender = 13013 >>> log-file = "/var/log/kannel/smsbox.log" >>> access-log = "/var/log/kannel/access.log" >>> mo-recode = true >>> global-sender = "56322" >>> http-request-retry = 10 >>> http-queue-delay = 10 >>> black-list = "http://localhost/blacklist.txt" >>> >>> group = sendsms-user >>> username = bar >>> password = foo >>> concatenation = 1 >>> max-messages = 3 >>> forced-smsc = "fake" >>> omit-empty = true >>> black-list = "http://localhost/blacklist.txt" >>> >>> >>> Thanks in advance. >>> >> >> -- >> View this message in context: >> http://old.nabble.com/Issues-with-black-list-in-kannel-1.4.3-tp30168270p30187551.html >> Sent from the Kannel - User mailing list archive at Nabble.com. >> >> > > > > -- View this message in context: http://old.nabble.com/Issues-with-black-list-in-kannel-1.4.3-tp30168270p30188541.html Sent from the Kannel - User mailing list archive at Nabble.com.
