On Fri, Mar 20, 2009 at 9:44 PM, PD <[email protected]> wrote:
> Rekans,
>
> Barusan install Kannel dengan os centos 5.2, modem itegno usb
> (/dev/ttyUSB0).
> Udah ngikutin sekian banyak petunjuk, tp msh error juga...
>
> file /etc/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
>
>
> file /var/log/kannel/bearrerbox.log
> 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
>
>
> Pada saat service kannel di start, file kannel.log cepat penuhnya dengan
> error yg berulang-ulang:
> 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
> 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
>
> padahal /dev/ttyUSB0 udah dirubah jadi 777
>
> Kira-kira salah dimana ya ?

di chown saja /dev/ttyUSB0 ke user yang menjalankan kannel. Atau
jalankan kannel sebagai root. Paling tidak buat testing

--
FAQ milis di http://wiki.linux.or.id/FAQ_milis_tanya-jawab
Unsubscribe: kirim email ke [email protected]
Arsip dan info milis selengkapnya di http://linux.or.id/milis

Kirim email ke