I'm just wondering if any one else has tried to successfully install Asterisk on Ubuntu inside VM. I've installed Ubuntu without incident or error. Even the install of Asterisk is relatively straightforward as it is maintained in one of the repositories. But when I attempt to start Asterisk I get a nice Segmentation Fault. I've narrowed down the problem somewhat. If I disable modules from automatically loading in modules.conf, e.g. autoload=no, Asterisk will start. If I keep the default, autoload=yes, Asterisk fails to start (seg fault). I can't find in any of the other config files where Asterisk may be trying to load a module and therefore crashing the system. I'm really just trying to experiment with different features and configurations of multiple Asterisk machines and would prefer to do that in virtual space. I'm willing to make my configs available. I just thought I'd drop this email on the list hoping for the chance that someone has dealt and corrected this problem. :-) Thanks much in advance. -- Ein Bielaczyc <ebielaczyc at gmail.com> NOTICE: This E-mail (including attachments) is covered by the Electronic Communications Privacy Act, 18 U.S.C.2510-2521, is confidential and may be legally privileged. If you are not the intended recipient, you are hereby notified that any retention, dissemination, distribution or copying of this communication is strictly prohibited. Please reply to the sender that you have received the message in error, then delete it.
If you leave all of the modules enabled, which one does it have a problem with? You should be able to run "asterisk -vvvvvc" to see where it stops loading. The last line or so should give you the module that it tried to load before it failed. Based on the last time I tried to install under Ubuntu, you're probably failing to load the Zap module. Since you're in a VM and it's unlikely that you're using Zap for anything, you can disable chan_zap.so and see if your Asterisk starts properly then. Cheers, AR On Sun, 2008-03-30 at 20:50 -0400, Ein Bielaczyc wrote:> I'm just wondering if any one else has tried to successfully install > Asterisk on Ubuntu inside VM. > > I've installed Ubuntu without incident or error. Even the install of > Asterisk is relatively straightforward as it is maintained in one of > the repositories. But when I attempt to start Asterisk I get a nice > Segmentation Fault. I've narrowed down the problem somewhat. If I > disable modules from automatically loading in modules.conf, e.g. > autoload=no, Asterisk will start. If I keep the default, autoload=yes, > Asterisk fails to start (seg fault). I can't find in any of the other > config files where Asterisk may be trying to load a module and > therefore crashing the system. > > I'm really just trying to experiment with different features and > configurations of multiple Asterisk machines and would prefer to do > that in virtual space. I'm willing to make my configs available. I > just thought I'd drop this email on the list hoping for the chance > that someone has dealt and corrected this problem. :-) > > Thanks much in advance.-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080330/ade8e9fa/attachment.htm
On Sun, Mar 30, 2008 at 08:50:10PM -0400, Ein Bielaczyc wrote:> I'm just wondering if any one else has tried to successfully install > Asterisk on Ubuntu inside VM.What version of Ubuntu? What version of Asterisk? -- Tzafrir Cohen icq#16849755 jabber:tzafrir.cohen at xorcom.com +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir