Dan Fernandez
2003-Sep-16 18:27 UTC
[Asterisk-Users] problem loading chan_iax2.so and chan_zap.so from latest CVS
I just updated to the new CVS and now I am getting the following error from chan_zap (modprobe wcfxo works fine): WARNING[16384]: File chan_zap.c, Line 577 (zt_open): Unable to specify channel 1: Device or resource busy ERROR[16384]: File chan_zap.c, Line 4781 (mkintf): Unable to open channel 1: Device or resource busy here = 0, tmp->channel = 0, channel = 1 ERROR[16384]: File chan_zap.c, Line 6498 (load_module): Unable to register channel '1' WARNING[16384]: File loader.c, Line 299 (ast_load_resource): chan_zap.so: load_module failed, returning -1 WARNING[16384]: File loader.c, Line 394 (load_modules): Loading module chan_zap.so failed! I did an lsmod and wcfxo is there. Also if I add noload chan_zap.so on modules.conf then it bombs when loading chan_iax2.so WARNING........:Unable to bind to 0.0.0.0 port 4569: Address already in use WARNING .......chan_iax2.so: load_module failed, returning -1 Is anyone getting the same errors? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20030916/0a47fdde/attachment.htm
Steven Critchfield
2003-Sep-16 20:02 UTC
[Asterisk-Users] problem loading chan_iax2.so and chan_zap.so from latest CVS
On Tue, 2003-09-16 at 20:27, Dan Fernandez wrote:> I just updated to the new CVS and now I am getting the following error > from chan_zap (modprobe wcfxo works fine): > > WARNING[16384]: File chan_zap.c, Line 577 (zt_open): Unable to > specify channel 1: Device or resource busy<snip>> WARNING........:Unable to bind to 0.0.0.0 port 4569: Address already > in useThis looks rather obvious to me that you may not have stopped the previous asterisk install. Either that or you have a kernel problem and (oddly) need to reboot to free the port and the device handles. -- Steven Critchfield <critch@basesys.com>
Dan Fernandez
2003-Sep-17 15:10 UTC
[Asterisk-Users] problem loading chan_iax2.so and chan_zap.sofrom latest CVS
Steven Thanks for the help. After rebooting the box, * gives me an error claiming that * is already running on /var/run/asterisk.ctl Before I rebooted I ensured that there was no asterisk.pid or asterisk.ctl. After I get the above mentioned message if I then run asterisk again I get the "Unable to open...device busy" (with or without the asterisk.pid and/or asterisk.ctl) Any help would be greatly appreciated. Rgds Dan ----- Original Message ----- From: "Steven Critchfield" <critch@basesys.com> To: <asterisk-users@lists.digium.com> Sent: Wednesday, September 17, 2003 12:02 AM Subject: Re: [Asterisk-Users] problem loading chan_iax2.so and chan_zap.sofrom latest CVS> On Tue, 2003-09-16 at 20:27, Dan Fernandez wrote: > > I just updated to the new CVS and now I am getting the following error > > from chan_zap (modprobe wcfxo works fine): > > > > WARNING[16384]: File chan_zap.c, Line 577 (zt_open): Unable to > > specify channel 1: Device or resource busy > > <snip> > > WARNING........:Unable to bind to 0.0.0.0 port 4569: Address already > > in use > > This looks rather obvious to me that you may not have stopped the > previous asterisk install. Either that or you have a kernel problem and > (oddly) need to reboot to free the port and the device handles. > > -- > Steven Critchfield <critch@basesys.com> > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users >
Steven Critchfield
2003-Sep-17 15:21 UTC
[Asterisk-Users] problem loading chan_iax2.so and chan_zap.sofrom latest CVS
On Wed, 2003-09-17 at 17:10, Dan Fernandez wrote:> Steven > > Thanks for the help. > > After rebooting the box, * gives me an error claiming that * is already > running on /var/run/asterisk.ctl > Before I rebooted I ensured that there was no asterisk.pid or asterisk.ctl. > > After I get the above mentioned message if I then run asterisk again I get > the "Unable to open...device busy" (with or without the asterisk.pid and/or > asterisk.ctl) > > Any help would be greatly appreciated.First, please do not group reply/reply all to this lists mail. I will get a copy nearly as fast through the list as I will to my own mailbox. Since I have all mail filtered to specific content based mailboxes your personal copy to me drops in my INBOX and not in the appropriate folder like the copy from the list does. I know some lists need you to do this because they do not set the reply-to address back to the list. This is one of the saner lists that does the right think in my opinion. Now to your problem. What command line are you using to launch asterisk? Sounds like you are using something like asterisk -vvv Try adding a c to the end so you get a command line at the end of start up. or just issue a asterisk -r to connect to the currently running copy. The device busy message is telling you a application is already running with access to those files. issue a ps -axuwww|grep [a]sterisk and see if it shows up. If you see any lines show up, it is already running and the asterisk -r will connect you to it. -- Steven Critchfield <critch@basesys.com>