Sorry about that :)

Here's kannel.log from when I start it, then send one message with a
delivery request:

2003-04-04 13:27:59 [0] INFO: Added logfile
`/usr/local/kannel/logs/kannel.log' with level `0'.
2003-04-04 13:27:59 [0] INFO: Started access logfile
`/usr/local/kannel/logs/access.log'.
2003-04-04 13:27:59 [0] DEBUG: Started thread 1
(gw/bb_store.c:store_cleanup)
2003-04-04 13:27:59 [0] INFO: SSL not supported, no SSL initialization done.
2003-04-04 13:27:59 [0] DEBUG: HTTP: Opening server at port 13000.
2003-04-04 13:27:59 [0] DEBUG: Started thread 2 (gwlib/fdset.c:poller)
2003-04-04 13:27:59 [0] DEBUG: Started thread 3 (gwlib/http.c:server_thread)
2003-04-04 13:27:59 [0] DEBUG: Started thread 4 (gw/bb_http.c:httpadmin_run)
2003-04-04 13:27:59 [0] DEBUG: starting smsbox connection module
2003-04-04 13:27:59 [0] DEBUG: Started thread 5 (gw/bb_boxc.c:smsboxc_run)
2003-04-04 13:27:59 [0] DEBUG: Started thread 6
(gw/smsc/smsc_fake.c:fake_listener)
2003-04-04 13:27:59 [0] DEBUG: Started thread 7
(gw/smsc/smsc_smpp.c:io_thread)
2003-04-04 13:27:59 [0] DEBUG: Started thread 8
(gw/bb_smscconn.c:sms_router)
2003-04-04 13:27:59 [0] INFO: ----------------------------------------
2003-04-04 13:27:59 [0] INFO: Kannel bearerbox II version 1.2.1 starting
2003-04-04 13:27:59 [0] ERROR: fopen failed: couldn't open
`/usr/local/kannel/logs/kannel.store'
2003-04-04 13:27:59 [0] ERROR: System error 2: No such file or directory
2003-04-04 13:27:59 [0] ERROR: fopen failed: couldn't open
`/usr/local/kannel/logs/kannel.store.new'
2003-04-04 13:27:59 [0] ERROR: System error 2: No such file or directory
2003-04-04 13:27:59 [0] ERROR: fopen failed: couldn't open
`/usr/local/kannel/logs/kannel.store.bak'
2003-04-04 13:27:59 [0] ERROR: System error 2: No such file or directory
2003-04-04 13:27:59 [0] INFO: Cannot open any store file, starting new one
2003-04-04 13:27:59 [0] INFO: MAIN: Start-up done, entering mainloop
2003-04-04 13:27:59 [0] DEBUG: smsc_fake: start called
2003-04-04 13:27:59 [8] DEBUG: sms_router: time to sleep
2003-04-04 13:27:59 [8] DEBUG: sms_router: list_len = 0
2003-04-04 13:28:00 [5] DEBUG: Started thread 9 (gw/bb_boxc.c:function)
2003-04-04 13:28:00 [9] INFO: Client connected from <127.0.0.1>
2003-04-04 13:28:00 [9] DEBUG: Started thread 10 (gw/bb_boxc.c:boxc_sender)
2003-04-04 13:28:01 [7] DEBUG: SMPP[O2]: Sending PDU:
2003-04-04 13:28:01 [7] DEBUG: SMPP PDU 0x80cfb70 dump:
2003-04-04 13:28:01 [7] DEBUG:   type_name: bind_transceiver
2003-04-04 13:28:01 [7] DEBUG:   command_id: 9 = 0x00000009
2003-04-04 13:28:01 [7] DEBUG:   command_status: 0 = 0x00000000
2003-04-04 13:28:01 [7] DEBUG:   sequence_number: 0 = 0x00000000
2003-04-04 13:28:01 [7] DEBUG:   system_id: "xxxxxxxx"
2003-04-04 13:28:01 [7] DEBUG:   password: "xxxxxxxx"
2003-04-04 13:28:01 [7] DEBUG:   system_type: ""
2003-04-04 13:28:01 [7] DEBUG:   interface_version: 52 = 0x00000034
2003-04-04 13:28:01 [7] DEBUG:   addr_ton: 0 = 0x00000000
2003-04-04 13:28:01 [7] DEBUG:   addr_npi: 0 = 0x00000000
2003-04-04 13:28:01 [7] DEBUG:   address_range: "xxxxxxxxxx"
2003-04-04 13:28:01 [7] DEBUG: SMPP PDU dump ends.
2003-04-04 13:28:01 [7] DEBUG: SMPP[O2]: Got PDU:
2003-04-04 13:28:01 [7] DEBUG: SMPP PDU 0x80cfbc0 dump:
2003-04-04 13:28:01 [7] DEBUG:   type_name: bind_transceiver_resp
2003-04-04 13:28:01 [7] DEBUG:   command_id: 2147483657 = 0x80000009
2003-04-04 13:28:01 [7] DEBUG:   command_status: 0 = 0x00000000
2003-04-04 13:28:01 [7] DEBUG:   sequence_number: 0 = 0x00000000
2003-04-04 13:28:01 [7] DEBUG: SMPP PDU dump ends.
2003-04-04 13:28:16 [9] DEBUG: boxc_receiver: sms received
2003-04-04 13:28:16 [7] DEBUG: SMPP[O2]: Manually forced source addr ton =
0, source add npi = 3
2003-04-04 13:28:16 [7] DEBUG: SMPP[O2]: Manually forced dest addr ton = 1,
source add npi = 1
2003-04-04 13:28:16 [7] DEBUG: SMPP[O2]: Sending PDU:
2003-04-04 13:28:16 [7] DEBUG: SMPP PDU 0x80cfdb8 dump:
2003-04-04 13:28:16 [7] DEBUG:   type_name: submit_sm
2003-04-04 13:28:16 [7] DEBUG:   command_id: 4 = 0x00000004
2003-04-04 13:28:16 [7] DEBUG:   command_status: 0 = 0x00000000
2003-04-04 13:28:16 [7] DEBUG:   sequence_number: 1 = 0x00000001
2003-04-04 13:28:16 [7] DEBUG:   service_type: NULL
2003-04-04 13:28:16 [7] DEBUG:   source_addr_ton: 0 = 0x00000000
2003-04-04 13:28:16 [7] DEBUG:   source_addr_npi: 3 = 0x00000003
2003-04-04 13:28:16 [7] DEBUG:   source_addr: "xxxxxxxxxx"
2003-04-04 13:28:16 [7] DEBUG:   dest_addr_ton: 1 = 0x00000001
2003-04-04 13:28:16 [7] DEBUG:   dest_addr_npi: 1 = 0x00000001
2003-04-04 13:28:16 [7] DEBUG:   destination_addr: "xxxxxxxxxxx"
2003-04-04 13:28:16 [7] DEBUG:   esm_class: 3 = 0x00000003
2003-04-04 13:28:16 [7] DEBUG:   protocol_id: 0 = 0x00000000
2003-04-04 13:28:16 [7] DEBUG:   priority_flag: 0 = 0x00000000
2003-04-04 13:28:16 [7] DEBUG:   schedule_delivery_time: NULL
2003-04-04 13:28:16 [7] DEBUG:   validity_period: NULL
2003-04-04 13:28:16 [7] DEBUG:   registered_delivery: 1 = 0x00000001
2003-04-04 13:28:16 [7] DEBUG:   replace_if_present_flag: 0 = 0x00000000
2003-04-04 13:28:16 [7] DEBUG:   data_coding: 0 = 0x00000000
2003-04-04 13:28:16 [7] DEBUG:   sm_default_msg_id: 0 = 0x00000000
2003-04-04 13:28:16 [7] DEBUG:   sm_length: 0 = 0x00000000
2003-04-04 13:28:16 [7] DEBUG:   short_message: "Hello"
2003-04-04 13:28:16 [7] DEBUG: SMPP PDU dump ends.
2003-04-04 13:28:17 [7] DEBUG: SMPP[O2]: Got PDU:
2003-04-04 13:28:17 [7] DEBUG: SMPP PDU 0x80cfdb8 dump:
2003-04-04 13:28:17 [7] DEBUG:   type_name: submit_sm_resp
2003-04-04 13:28:17 [7] DEBUG:   command_id: 2147483652 = 0x80000004
2003-04-04 13:28:17 [7] DEBUG:   command_status: 0 = 0x00000000
2003-04-04 13:28:17 [7] DEBUG:   sequence_number: 1 = 0x00000001
2003-04-04 13:28:17 [7] DEBUG:   message_id: "045275DC"
2003-04-04 13:28:17 [7] DEBUG: SMPP PDU dump ends.


Kannel dies at this point - no further entry in the log file.

Thanks,

David.



----- Original Message -----
From: "Alexander Malysh" <[EMAIL PROTECTED]>
To: "David Tully" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, April 04, 2003 1:00 PM
Subject: Re: Kannel crashes with mysql DLR


sorry, you have missundestand me :( please send ~100 last lines from your
kannel.log...


On Friday 04 April 2003 13:52, David Tully wrote:
> Hi
>
> I am running with log-level=0
> Here's more of my config:
>
> group = core
> admin-port = 13000
> smsbox-port = 13001
> admin-password = ********
> log-file = "/usr/local/kannel/logs/kannel.log"
> log-level = 0
> box-deny-ip = "*.*.*.*"
> box-allow-ip = "127.0.0.1"
> access-log = "/usr/local/kannel/logs/access.log"
> store-file = "/usr/local/kannel/logs/kannel.store"
> dlr-storage = mysql
>
>
> I haven't tried with 1.3.1 - I'll try it now - I'd prefer to run a stable
> release though.
>
> Thanks,
>
> David.
>
> ----- Original Message -----
> From: "Alexander Malysh" <[EMAIL PROTECTED]>
> To: "David Tully" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Friday, April 04, 2003 12:42 PM
> Subject: Re: Kannel crashes with mysql DLR
>
>
> Hi,
>
> can you please start bearerbox woth log-level = 0 and send us debug log...
> btw. have you tried with kannel 1.3.1 ?
>
> On Friday 04 April 2003 13:37, David Tully wrote:
> > Hi there.
> >
> > I've been running Kannel 1.2.1 on RedHat 7.2 successfully for a few
>
> months,
>
> > without any major problems.
> > I've delivery reports working through my SMPP connection to O2.
> >
> > I've just recomplied to include mysql support for DLR and added the
mysql
> > DLR entries to the conf file.
> > Kannel starts and runs fine, until I send a message that requests a
> > delivery report.
> > At this stage, kannel crashes.
> > I'm running in debug mode, yet there is nothing in the log files to
> > indicate a problem - no mention of any error.
> >
> > Here's the mysql entries from my conf file - they're standard enough..
> >
> > # MYSQL Config
> > group = mysql-connection
> > id = mydlr
> > host = localhost
> > mysql-username = dlruser
> > mysql-password = *****
> > database = dlr
> >
> > # MYSQL Delivery Reports
> > group = dlr-db
> > id = mydlr
> > table = dlr
> > field-smsc = smsc
> > field-timestamp = ts
> > field-source  = source
> > field-destination = destination
> > field-service = service
> > field-url = url
> > field-mask = mask
> > field-status = status
> >
> > If anyone has any ideas, please let me know.
> >
> > Regards,
> >
> > David.
>
> --
> Best Regards / Mit besten Gr��en aus K�ln
>
> Dipl.-Ing.
> Alexander Malysh
> ___________________________________
>
> Centrium GmbH
> Ehrenstrasse 2
> 50672 K�ln
>
> Fon: +49 (0221) 277 49 240
> Fax: +49 (0221) 277 49 109
>
> email: [EMAIL PROTECTED]
> web: http://www.centrium.de
> msn: [EMAIL PROTECTED]

--
Best Regards / Mit besten Gr��en aus K�ln

Dipl.-Ing.
Alexander Malysh
___________________________________

Centrium GmbH
Ehrenstrasse 2
50672 K�ln

Fon: +49 (0221) 277 49 240
Fax: +49 (0221) 277 49 109

email: [EMAIL PROTECTED]
web: http://www.centrium.de
msn: [EMAIL PROTECTED]



Reply via email to