Amaury BOSSE
2005-Nov-17 04:26 UTC
[Asterisk-Users] chan_capi fails when Asterisk doesn't start under root user
I have a problem with chan_capi-cm-0.6.1. It works when I start * directly from the command line with "asterisk -vvvgc", but not when I use "/etc/init.d/asterisk" script. I have the log bellow in /var/log/asterisk/messages : Nov 17 11:26:43 WARNING[5337]: CAPI not installed, CAPI disabled! Nov 17 11:26:43 WARNING[5337]: chan_capi.so: load_module failed, returning -1 Nov 17 11:26:43 WARNING[5337]: Loading module chan_capi.so failed! I have changed parameters in the starting script in order to start * as root instead of as asterisk and It seems to works. Is someone already had this problem or knows where does it come from. I have search the web to find answers but without results. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20051117/0e572649/attachment.htm
Armin Schindler
2005-Nov-17 05:32 UTC
[Asterisk-Users] chan_capi fails when Asterisk doesn't start under root user
On Thu, 17 Nov 2005, Amaury BOSSE wrote:> I have a problem with chan_capi-cm-0.6.1. > > It works when I start * directly from the command line with "asterisk > -vvvgc", but not when I use "/etc/init.d/asterisk" script. > > > > I have the log bellow in /var/log/asterisk/messages : > > > > Nov 17 11:26:43 WARNING[5337]: CAPI not installed, CAPI disabled! > > Nov 17 11:26:43 WARNING[5337]: chan_capi.so: load_module failed, returning > -1 > > Nov 17 11:26:43 WARNING[5337]: Loading module chan_capi.so failed! > > > > I have changed parameters in the starting script in order to start * as root > instead of as asterisk and It seems to works.Maybe your permissions on /dev/capi20 are wrong? Armin