Sorry I meant:

group = core    
dlr-storage = internal

and remove:
box-dlr-storage = internal

Amin.

-----Original Message-----
From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Amin Mukhaimer
Sent: Monday, September 17, 2012 4:02 PM
To: 'Eugene Prokopiev'
Cc: users@kannel.org
Subject: RE: PANIC: opensmppbox: DLR: storage type 'internal' don't
implement needed functions

I had same problem, just modify core group to:

group = core    
dlr-storage = mysql

And hopefully it will run like a beast !
Amin

-----Original Message-----
From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Eugene Prokopiev
Sent: Monday, September 17, 2012 3:39 PM
To: users@kannel.org
Subject: PANIC: opensmppbox: DLR: storage type 'internal' don't implement
needed functions

Hi,

I can't run opensmppbox with this configuration:

# cat /etc/kannel/opensmppbox.conf
group = core

group = opensmppbox
box-dlr-storage = internal
opensmppbox-id = smppbox-0
opensmppbox-port = 13002
bearerbox-host = 127.0.0.1
bearerbox-port = 13005
our-system-id = smppbox-0
smpp-logins = /etc/kannel/clients.conf
use-systemid-as-smsboxid = true
log-level = 0
log-file = /var/log/kannel/opensmppbox.log

Error is strange:

# opensmppbox /etc/kannel/opensmppbox.conf
2012-09-17 20:31:40 [4019] [0] INFO: Debug_lvl = -1, log_file = <none>,
log_lvl = 0
2012-09-17 20:31:40 [4019] [0] DEBUG: Kannel opensmppbox version svn-r gwlib
version `svn-r'.
Build `Sep 13 2012 04:27:45', compiler `4.5.3 20120403 (ALT Linux
4.5.3-alt1.M60P.1)'.
System Linux, release 3.0.8-std-def-alt0.M60P.1, version #1 SMP Wed Nov 2
12:38:08 UTC 2011, machine i686.
Hostname smpp, IP 192.168.1.200.
Libxml version 2.8.0.
Using OpenSSL 1.0.0i 19 Apr 2012.
Compiled with MySQL 5.1.62, using MySQL 5.1.62.
Using native malloc.

2012-09-17 20:31:40 [4019] [0] INFO: Starting to log to file
/var/log/kannel/opensmppbox.log level 0
2012-09-17 20:31:40 [4019] [0] INFO: Added logfile
`/var/log/kannel/opensmppbox.log' with level `0'.
2012-09-17 20:31:40 [4019] [0] WARNING: DLR: using default 'internal'
for storage type.
2012-09-17 20:31:40 [4019] [0] INFO: DLR using storage type: internal
2012-09-17 20:31:40 [4019] [0] PANIC: opensmppbox: DLR: storage type
'internal' don't implement needed functions
2012-09-17 20:31:40 [4019] [0] PANIC: opensmppbox(gw_backtrace+0xbe)
[0x80962ee]
2012-09-17 20:31:40 [4019] [0] PANIC: opensmppbox(gw_panic+0xd3) [0x80963d3]
2012-09-17 20:31:40 [4019] [0] PANIC: opensmppbox(box_dlr_init+0x7ab)
[0x805317b]
2012-09-17 20:31:40 [4019] [0] PANIC: opensmppbox(main+0xd7f) [0x8059edf]
2012-09-17 20:31:40 [4019] [0] PANIC:
/lib/libc.so.6(__libc_start_main+0xe6) [0xb71d2c96]
2012-09-17 20:31:40 [4019] [0] PANIC: opensmppbox() [0x8051701]

But it works with /etc/kannel as current directory:

# opensmppbox opensmppbox.conf
2012-09-17 20:35:35 [4022] [0] INFO: Debug_lvl = -1, log_file = <none>,
log_lvl = 0
2012-09-17 20:35:35 [4022] [0] DEBUG: Kannel opensmppbox version svn-r gwlib
version `svn-r'.
Build `Sep 13 2012 04:27:45', compiler `4.5.3 20120403 (ALT Linux
4.5.3-alt1.M60P.1)'.
System Linux, release 3.0.8-std-def-alt0.M60P.1, version #1 SMP Wed Nov 2
12:38:08 UTC 2011, machine i686.
Hostname smpp, IP 192.168.1.200.
Libxml version 2.8.0.
Using OpenSSL 1.0.0i 19 Apr 2012.
Compiled with MySQL 5.1.62, using MySQL 5.1.62.
Using native malloc.

2012-09-17 20:35:35 [4022] [0] INFO: Starting to log to file
/var/log/kannel/opensmppbox.log level 0
2012-09-17 20:35:35 [4022] [0] INFO: Added logfile
`/var/log/kannel/opensmppbox.log' with level `0'.
2012-09-17 20:35:35 [4022] [0] WARNING: DLR: using default 'internal'
for storage type.
2012-09-17 20:35:35 [4022] [0] INFO: DLR using storage type: internal
2012-09-17 20:35:35 [4022] [0] INFO: opensmppbox DLR storage using
type: internal
2012-09-17 20:35:35 [4022] [0] INFO: Waiting for SMPP connections on port
13002.

Why can it be?

--
Regards,
Eugene Prokopiev





Reply via email to