Hi All,
    Got kannel of cvs today, trying to run it on a new machine but no
go. I believe its most likely due to this box being set up as 64bit, but
since I am not really a programmer, I would appreciate help in any
parameters needed to force compilation/linking with the 32 bit libraries.

(Debian etch)
uname-a
Linux smsdev 2.6.18-5-amd64 #1 SMP Thu Aug 30 01:14:54 UTC 2007 x86_64
GNU/Linux

    When I get kannel off the debian repositories that runs fine. When I
compile and start I only get this:
kannel   23099     1  0 10:41 ?        00:00:00
/usr/local/sbin/run_kannel_box --pidfile
/var/run/kannel/kannel_bearerbox.pid --no-extra-args /usr/local/sbin/
kannel   23104     1  0 10:41 ?        00:00:00
/usr/local/sbin/run_kannel_box --pidfile
/var/run/kannel/kannel_wapbox.pid --no-extra-args /usr/local/sbin/wap
kannel   23109     1  0 10:41 ?        00:00:00
/usr/local/sbin/run_kannel_box --pidfile
/var/run/kannel/kannel_smsbox.pid --no-extra-args /usr/local/sbin/sms

and after that silence. The actual boxes seem never to get called.

if I exec the bearerbox directly I get:
/usr/local/sbin/bearerbox -v 4 -- /etc/kannel/kannel.conf
2007-10-23 10:47:05 [23156] [0] PANIC: Couldn't read configuration from
`/etc/kannel/kannel.conf'.
2007-10-23 10:47:05 [23156] [0] PANIC:
/usr/local/sbin/bearerbox(gw_panic+0x15a) [0x4775da]
2007-10-23 10:47:05 [23156] [0] PANIC:
/usr/local/sbin/bearerbox(main+0xa91) [0x40d611]
2007-10-23 10:47:05 [23156] [0] PANIC:
/lib/libc.so.6(__libc_start_main+0xda) [0x2ba34f7d34ca]
2007-10-23 10:47:05 [23156] [0] PANIC: /usr/local/sbin/bearerbox [0x40beba]

Similar results for other boxes
But kannel.conf is there, and to me at least looks OK:
===========================================================


group = core
admin-port = 13010
admin-password = test
status-password = test
admin-deny-ip = "*.*.*.*"
admin-allow-ip = "127.0.0.1;10.10.*.*"
wapbox-port = 13014
smsbox-port = 13013
wdp-interface-name = "*"
log-file = "/var/log/kannel/bearerbox.log"
log-level = 0
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1;10.10.*.*"

group = wapbox
bearerbox-host = localhost
log-file = "/var/log/kannel/wapbox.log"
log-level = 0

group             = ppg
ppg-url           = /wappush
ppg-port          = 8383
concurrent-pushes = 100
users             = 1024
trusted-pi        = true
service-name      = ppg2
ppg-smsbox-id     = smsc4

group           = wap-push-user
wap-push-user   = wappush
ppg-username    = foo
ppg-password    = bar

group = smsbox
sendsms-port = 8181
smsbox-id = smsc4
mo-recode = true
log-file = "/var/log/kannel/smsbox.log"
log-level = 0

group = smsbox-route
smsbox-id = smsc4
smsc-ids = mblox28444

group                   = smsc
smsc                    = smpp
smsc-id                 = TEST
throughput              = 3
host                    = smpp.host
port                    = 6666
transceiver-mode        = true
smsc-username           = user
smsc-password           = pass
system-type             = type
unified-prefix         = "+1,001;+1,1"
interface-version       = 34
address-range           = ""
source-addr-ton         = 3
source-addr-npi         = 9
source-addr-autodetect  = false
dest-addr-ton           = 1
dest-addr-npi           = 1
enquire-link-interval   = 10
reconnect-delay         = 10
msg-id-type             = 0x01
alt-charset             = ISO_8859-1

group                   = sms-service
keyword                 = default
get-url                 =
"http://10.10.3.23:8111/MOT.php?body=%a&opid=%m&time=%t&MSISDN=%p&recipient=%P&cing=%F&zz=%D";
accept-x-kannel-headers = true
max-messages            = 0
concatenation           = false
accepted-smsc           = TEST
omit-empty              = true

group = sendsms-user
name = "Test Vroup"
username = test2
password = test2
concatenation = true

group = sendsms-user
name = "Test Froup"
username = test
password = test
max-messages = 3
concatenation = true

================



-- 
Kyriacos Sakkas
Development Team
Netsmart
Tel: + 357 22 452565
Fax: + 357 22 452566
Email: [EMAIL PROTECTED]
http://www.netsmart.com.cy

Taking Business to a New Level!

** Confidentiality Notice: The information contained in this email
message may be privileged, confidential and protected from disclosure.
If you are not the intended recipient, any dissemination, distribution,
or copying of this  email message is strictly prohibited.
If you think that you have received this email message in error, please
email the sender at [EMAIL PROTECTED] **


Reply via email to