[Home]

Summary:ASTERISK-06017: error with modconf when installing zaptel 1.2.1
Reporter:Mike Hammett (johan_hammy)Labels:
Date Opened:2006-01-08 07:37:30.000-0600Date Closed:2011-06-07 14:10:33
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:I'm attempting to setup zaptel 1.2.1 on my CentOS box running OpenVZ.  Please check additional information for the IRC log of #asterisk to see what transpired.

****** ADDITIONAL INFORMATION ******

<johan_hammy> Can anyone here assist me with a zaptel make install error?
<tzafrir_laptop> johan_hammy, you posted to asterisk-users?
<tzafrir_laptop> note the '[ -f ]' . That is a syntax error, I believe
<johan_hammy> *nods*
<tzafrir_laptop> What version of asterisk?
<johan_hammy> I'm in digest mode (I already get hundreds of e-mails a day), so I wouldn't see any replies for a few hours.
<johan_hammy> 1.2.1
<johan_hammy> I do see a "/bin/sh: -c: line 0: `if [ -n "" ]; then  if [ -f  ]; then mv -f  .bak ; fi;"...  in the previous command executed.
<tzafrir_laptop> johan_hammy, MODCONF is not defined...
<tzafrir_laptop> johan_hammy, what distro do you use?
<johan_hammy> CentOS 4.2 is the host OS, but I'm running OpenVZ for some virtual servers.
<tzafrir_laptop> what kernel version?
<johan_hammy> 2.6.8-022stab050.1
<tzafrir_laptop> do you have ther /etc/modprobe.conf and/or /etc/modprobe.d ?
<tzafrir_laptop> anyway, the workaround is to rem-out the line in the install: target that checks for $(MODCONF) .
<tzafrir_laptop> You don't really need that file.
<johan_hammy> When I locate modprobe, I get /sbin/modprobe.  WHen I check the host OS, I see some other modprobe stuff.
<johan_hammy> okay.  THanks.  Maybe what I'll do is talk to OpenVZ about modprobe, but if they're no help, I'll just comment it out.
<tzafrir_laptop> Simply make sure you run ztcfgsometime  before asterisk is started and after the modules are loaded
<tzafrir_laptop> Anyway, please report a bug in the mantis. It's a buggy part in the makefile
<johan_hammy> Thanks much
<johan_hammy> I've only done a couple Asterisk systems.  THis is my first 1.2.1 build and I decided to go at it on a Virtual Server.  I've had quite a few bumps along the way.
Comments:By: Tilghman Lesher (tilghman) 2006-01-08 09:15:50.000-0600

Not a major bug, as there is an easy workaround.

By: Russell Bryant (russell) 2006-01-10 23:16:31.000-0600

An IRC log is an unacceptable summary of a bug.

Please only include a statement that describes what the bug is.

By: Kevin P. Fleming (kpfleming) 2006-02-13 16:54:15.000-0600

Closing as there is no need to change anything here... if the distro doesn't provide a modules.conf (or similar file), then the Makefile can be expected to break.