Hi Craig,

Maybe you should try to download the gateway-1.4.0.tar.gz file, decompress it using
gunzip gateway-1.4.0.tar.gz


untar it using
tar xvf gateway-1.4.0.tar

then browse for a configuration example under ./gateway/doc/examples/ directory. Anyway, you may begin your first tests with a very simple configuration file, which you can edit manually. Kannel is not ready to run "out-of-the-box" so you should edit this file and tell bearerbox and smsbox where to find it or it will panic. Try something like:

/usr/local/sbin/bearerbox -v 1 /usr/gw/smskannel.conf &
/usr/local/sbin/smsbox -v 1 /usr/gw/smskannel.conf &


Best regards,

Rodrigo Cremaschi


----- Original Message ----- From: "Craig H" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, March 22, 2005 5:08 PM
Subject: Install on fedora core 3 problems and panic



I have looked through the docs and the mailing list, but can not find
a similar issue to what i am having.

I am using fedora core 3.
I downloaded and installed kannel 1.4 from DAG using yum.
Installed Packages
kannel.i386                              1.4.0-3.1.fc3.rf       installed

I do not see the references made in the docs to certain files that i
need to edit.

The kannel.conf file is not in the docs/examples or in
/etc/kannel/kannel.conf. and the  directories for the gw as shown in
examples, is not created.

This seems to be all I have from the install:
]# locate kannel
/usr/sbin/run_kannel_box
/usr/share/doc/kannel-1.4.0
/usr/share/doc/kannel-1.4.0/README
/usr/share/doc/kannel-1.4.0/NEWS
/usr/share/doc/kannel-1.4.0/STATUS
/usr/share/doc/kannel-1.4.0/COPYING
/usr/share/doc/kannel-1.4.0/ChangeLog
/usr/share/doc/kannel-1.4.0/AUTHORS
/usr/share/doc/kannel-1.4.0
/usr/share/man/man8/run_kannel_box.8.gz
/usr/share/man/man8/kannel.8.gz
/var/cache/yum/dag/headers/kannel-1.4.0-3.1.fc3.rf.i386.hdr
/var/cache/yum/dag/packages/kannel-1.4.0-3.1.fc3.rf.i386.rpm


I am not getting a gw directory, but the I do have the following: /usr/sbin/bearerbox /usr/sbin/smsbox /usr/sbin/wapbox

Trying # ./bearerbox

2005-03-22 14:40:18 [6047] [0] INFO: Debug_lvl = -1, log_file =
<none>, log_lvl = 0
2005-03-22 14:40:18 [6047] [0] ERROR: fopen failed: couldn't open `kannel.conf'
2005-03-22 14:40:18 [6047] [0] ERROR: System error 2: No such file or directory
2005-03-22 14:40:18 [6047] [0] PANIC: Failed to load main
configuration file `kannel.conf'. Aborting!
2005-03-22 14:40:18 [6047] [0] PANIC: ./bearerbox(gw_panic+0xcc) [0x80beb4c]
2005-03-22 14:40:18 [6047] [0] PANIC: ./bearerbox(cfg_read+0x8db) [0x80ac8bb]
2005-03-22 14:40:18 [6047] [0] PANIC: ./bearerbox(main+0xdd) [0x8051bbd]
2005-03-22 14:40:18 [6047] [0] PANIC:
/lib/tls/libc.so.6(__libc_start_main+0xe3) [0x2bae33]
2005-03-22 14:40:18 [6047] [0] PANIC: ./bearerbox [0x8051651]


I created a directory /etc/kannel and created kannel.conf from one of
the other postings.  I still get the same errors as above when trying
to start bearerbox

group = core
admin-port = 13000
admin-password = bar
#status-password = foo
#admin-deny-ip = ""
#admin-allow-ip = ""
#log-file = "/tmp/kannel.log"
#log-level = 0
#access-log = "access.log"
#http-proxy-host = "127.0.0.1"
#http-proxy-port = 8080
#http-proxy-exceptions = "127.0.0.1"
#http-proxy-username = "user"
#http-proxy-password = "password"
#ssl-certkey-file = "mycertandprivkeyfile.pem"

# Wapbox related
group = wapbox
wapbox-port = 13002
bearerbox-host = localhost
wdp-interface-name = "*"
log-file = "/log/kannel/wapbox.log"
access-log = "/log/kannel/wapaccess.log"
syslog-level = none

I could not find what user can run bearerbox
-rwxr-xr-x  1 root root 696944 Jan 18 23:34 bearerbox


It seems my install did not intall everything and I am wondering if others have had the same issues and how i can resolve.

Any help getting started would be great.

Craig




Reply via email to