Hi,
It seems that you're trying to start the Kannel without mentioning the
configuration file.

Try first to locate your Kannel configuration file and then when
starting the bearerbox mention the configuration file with the full
path.

For ex:
1)The configuration file is located at /usr/local/etc/gateway-1.2.1/gw/
2) The executable bearerbox is also located at
/usr/local/etc/gateway-1.2.1/gw

Try to launch the bearerbox like this:


/usr/local/etc/gateway-1.2.1/gw/bearerbox
/usr/local/etc/gateway-1.2.1/gw/smskannel.conf


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Innovest Ken
Sent: segunda-feira, 16 de Fevereiro de 2004 15:44
To: [EMAIL PROTECTED]
Subject: PANIC: Failed to load main configuration file `kannel.conf'

These are the steps i did:

1) ./configure --disable-ssl --disable-doc (Seems ok,
no error)
2) make (seems ok, no error)
3) make install (output shown below)

[EMAIL PROTECTED] gateway-1.2.1]# make install
/usr/bin/install -c -d /usr/local/bin
for prog in wmlscript/wmlsc wmlscript/wmlsdasm
utils/seewbmp; do \
        /usr/bin/install -c $prog \
            /usr/local/bin/`basename $prog`; \
done
/usr/bin/install -c -d /usr/local/sbin
for prog in gw/bearerbox gw/smsbox gw/wapbox
utils/run_kannel_box ; do \
        /usr/bin/install -c $prog \
            /usr/local/sbin/`basename $prog`; \
done
/usr/bin/install -c -d /usr/local/man/man1
/usr/bin/install -c utils/seewbmp.1 wmlscript/wmlsc.1
wmlscript/wmlsdasm.1 /usr/local/man/man1
/usr/bin/install -c -d /usr/local/man/man8
/usr/bin/install -c gw/kannel.8 utils/run_kannel_box.8
/usr/local/man/man8
[EMAIL PROTECTED] gateway-1.2.1]#
[EMAIL PROTECTED] gateway-1.2.1]#



4) Then I want to start bearerbox, but kannel.conf not
found, please help.

[EMAIL PROTECTED] gw]# ./bearerbox -v 1
2004-02-16 13:35:59 [0] INFO: Debug_lvl = 1, log_file
= <none>, log_lvl = 0
2004-02-16 13:35:59 [0] ERROR: fopen failed: couldn't
open `kannel.conf'
2004-02-16 13:35:59 [0] ERROR: System error 2: No such
file or directory
2004-02-16 13:35:59 [0] PANIC: Failed to load main
configuration file `kannel.conf'. Aborting!
[EMAIL PROTECTED] gw]#






__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html


Reply via email to