amaury BOSSE
2006-Apr-05 09:02 UTC
[Asterisk-Users] can't start chan_capi with asterisk group
Hello, While upgrading * from 1.0.9 to 1.2.5, I have installed chan-capi-head and I can't start asterisk under asterisk group "asterisk -vvvvgc -U asterisk " and "asterisk -vvvvgc -U asterisk -G dialout" work well but "asterisk -vvvvgc -U asterisk -G asterisk" fail. I am thinking about a group permission configuration but I have exactly the same one than with my old 1.0.9 working config. Log messages when launching asterisk -vvvvgc -U asterisk -G asterisk : Apr 5 17:47:21 VERBOSE[5773] logger.c: [chan_capi.so]Apr 5 17:47:21 VERBOSE[5773] logger.c: [chan_capi.so] => (Common ISDN API for Asterisk) Apr 5 17:47:21 VERBOSE[5773] logger.c: == Parsing '/etc/asterisk/capi.conf': Apr 5 17:47:21 VERBOSE[5773] logger.c: =Parsing '/etc/asterisk/capi.conf': Found Apr 5 17:47:21 WARNING[5773] chan_capi.c: CAPI not installed, CAPI disabled! Apr 5 17:47:21 WARNING[5773] loader.c: chan_capi.so: load_module failed, returning -1 Apr 5 17:47:21 WARNING[5773] loader.c: Loading module chan_capi.so failed! Ls -l /dev/capi20 : crw-rw---- 1 root dialout 68, 0 2006-03-24 14:49 /dev/capi20 id asterisk : uid=105(asterisk) gid=105(asterisk) groupes=105(asterisk),20(dialout),33(www-data) Any idea about why I can't start chan_capi with asterisk group? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060405/62aefb0a/attachment.htm
Armin Schindler
2006-Apr-05 10:48 UTC
[Asterisk-Users] can't start chan_capi with asterisk group
It should work with that permissions. Does it work with other group/user settings? Just for a try, set /dev/capi20 to rw-rw-rw Armin On Wed, 5 Apr 2006, amaury BOSSE wrote:> Hello, > > > > While upgrading * from 1.0.9 to 1.2.5, I have installed chan-capi-head > and I can't start asterisk under asterisk group > > > > "asterisk -vvvvgc -U asterisk " and "asterisk -vvvvgc -U asterisk -G > dialout" work well but "asterisk -vvvvgc -U asterisk -G asterisk" fail. > > > > I am thinking about a group permission configuration but I have exactly > the same one than with my old 1.0.9 working config. > > > > > > Log messages when launching asterisk -vvvvgc -U asterisk -G asterisk : > > Apr 5 17:47:21 VERBOSE[5773] logger.c: [chan_capi.so]Apr 5 17:47:21 > VERBOSE[5773] logger.c: [chan_capi.so] => (Common ISDN API for > Asterisk) > > Apr 5 17:47:21 VERBOSE[5773] logger.c: == Parsing > '/etc/asterisk/capi.conf': Apr 5 17:47:21 VERBOSE[5773] logger.c: => Parsing '/etc/asterisk/capi.conf': Found > > Apr 5 17:47:21 WARNING[5773] chan_capi.c: CAPI not installed, CAPI > disabled! > > Apr 5 17:47:21 WARNING[5773] loader.c: chan_capi.so: load_module > failed, returning -1 > > Apr 5 17:47:21 WARNING[5773] loader.c: Loading module chan_capi.so > failed! > > > > Ls -l /dev/capi20 : > > crw-rw---- 1 root dialout 68, 0 2006-03-24 14:49 /dev/capi20 > > > > id asterisk : > > uid=105(asterisk) gid=105(asterisk) > groupes=105(asterisk),20(dialout),33(www-data) > > > > Any idea about why I can't start chan_capi with asterisk group? > >
amaury BOSSE
2006-Apr-06 03:27 UTC
[Asterisk-Users] can't start chan_capi with asterisk group
Thanks Armin, It works with rw-rw-rw permissions to /dev/capi20. Amaury -----Message d'origine----- De?: Armin Schindler Envoy??: mercredi 5 avril 2006 19:49 ??: Asterisk Users Mailing List - Non-Commercial Discussion Objet?: Re: [Asterisk-Users] can't start chan_capi with asterisk group It should work with that permissions. Does it work with other group/user settings? Just for a try, set /dev/capi20 to rw-rw-rw Armin On Wed, 5 Apr 2006, amaury BOSSE wrote:> Hello, > > > > While upgrading * from 1.0.9 to 1.2.5, I have installed chan-capi-head > and I can't start asterisk under asterisk group > > > > "asterisk -vvvvgc -U asterisk " and "asterisk -vvvvgc -U asterisk -G > dialout" work well but "asterisk -vvvvgc -U asterisk -G asterisk" fail. > > > > I am thinking about a group permission configuration but I have exactly > the same one than with my old 1.0.9 working config. > > > > > > Log messages when launching asterisk -vvvvgc -U asterisk -G asterisk : > > Apr 5 17:47:21 VERBOSE[5773] logger.c: [chan_capi.so]Apr 5 17:47:21 > VERBOSE[5773] logger.c: [chan_capi.so] => (Common ISDN API for > Asterisk) > > Apr 5 17:47:21 VERBOSE[5773] logger.c: == Parsing > '/etc/asterisk/capi.conf': Apr 5 17:47:21 VERBOSE[5773] logger.c: => Parsing '/etc/asterisk/capi.conf': Found > > Apr 5 17:47:21 WARNING[5773] chan_capi.c: CAPI not installed, CAPI > disabled! > > Apr 5 17:47:21 WARNING[5773] loader.c: chan_capi.so: load_module > failed, returning -1 > > Apr 5 17:47:21 WARNING[5773] loader.c: Loading module chan_capi.so > failed! > > > > Ls -l /dev/capi20 : > > crw-rw---- 1 root dialout 68, 0 2006-03-24 14:49 /dev/capi20 > > > > id asterisk : > > uid=105(asterisk) gid=105(asterisk) > groupes=105(asterisk),20(dialout),33(www-data) > > > > Any idea about why I can't start chan_capi with asterisk group? > >