You don't have permissions to access the modem. If you're running kannel
under an underprivileged user, you need to make sure that your user has
permissions to read/write the modem.
Hope it helps,

Alejandro

On Fri, Mar 20, 2009 at 4:50 PM, Paul Darius <[email protected]> wrote:

> Hi all,
>
> I need help for kannel tune-up with the following configuration :
> + OS CentOS 5.2
> + kannel 1.4.1
> + libxml 2.6.26-2.1.2.7
> + machine iPentium 4 core duo
>
> kannel.conf :
>  cat /etc/kannel.conf
> # Default kannel configuration file
> group = core
> admin-port = 13000
> admin-password = admin
> status-password = admin
> #admin-deny-ip = "*.*.*.*"
> #admin-allow-ip = "127.0.0.1"
> smsbox-port = 13001
> #wapbox-port = 13002
> box-deny-ip = "*.*.*.*"
> box-allow-ip = "127.0.0.1"
> wdp-interface-name = "*"
> log-file = "/var/log/kannel/bearerbox.log"
> log-level = 1
>
> group = smsc
> smsc = at
> host = 127.0.0.1
> port = 13013
> smsc-id = itegno
> modemtype = auto
> device = /dev/ttyUSB0
> sms-center = +6200000000
> speed = 115200
>
> group = smsbox
> bearerbox-host = 127.0.0.1
> sendsms-port = 13131
> sendsms-chars = "0123456789+"
> global-sender = +620000000000
> log-file = "/var/log/kannel/smsbox.log"
> log-level = 0
> access-log =  "/var/log/kannel/access.log"
>
> group = modems
> id = WAVECOM
> name = WAVECOM
> detect-string = WAVECOM
> init-string = AT+CNMI=2,1,0,0;+CMEE=1
>
> group = sms-service
> keyword = default
> max-messages = 0
> exec = /usr/local/bin/kannel_incoming %t %q %a
>
> bearerbox.log :
> bearerbox /etc/kannel.conf result :
> 2009-03-20 21:36:13 [0] INFO: Added logfile
> `/var/log/kannel/bearerbox.log' with level `1'.
> 2009-03-20 21:36:13 [0] INFO: ----------------------------------------
> 2009-03-20 21:36:13 [0] INFO: Kannel bearerbox II version 1.2.0 starting
> 2009-03-20 21:36:13 [0] INFO: SSL not supported, no SSL initialization
> done.
> 2009-03-20 21:36:17 [0] ERROR: Failed to create Smsc wrapper
> 2009-03-20 21:36:17 [0] PANIC: Cannot start with SMSC connection failing
>
> if kannel services started :
> 2009-03-20 21:36:09 [24028] [6] ERROR: AT2[itegno]: open failed! ERRNO=13
> 2009-03-20 21:36:09 [24028] [6] ERROR: System error 13: Permission denied
> 2009-03-20 21:36:09 [24028] [6] INFO: AT2[itegno]: opening device
> 2009-03-20 21:36:09 [24028] [6] ERROR: AT2[itegno]: open failed! ERRNO=13
> 2009-03-20 21:36:09 [24028] [6] ERROR: System error 13: Permission denied
> 2009-03-20 21:36:09 [24028] [6] INFO: AT2[itegno]: opening device
>
>
> Where are the errors cause ?
>
> PD
>
>

Reply via email to