Koozali.org: home of the SME Server

Selintra installing problem

Offline Oosterheert

  • *
  • 18
  • +0/-0
Selintra installing problem
« on: October 27, 2006, 12:15:02 PM »
When trying to install Selintra SAIL on a fresh SME 7.0 installation i get an error at the very beginning, when installing Asterix.

I downloaded the following 3 files from here since i have a ISDN BRI card with a HFC chip for testing:
- anabri-asterisk-1.2.9.1-3.i686.rpm
- anabri-asterisk-zappri-1.2.6-3.i686.rpm
- selintra-sail-2.1.14-344.noarch.rpm

When i do rpm -Uvh anabri-asterisk-1.2.9.1-3.i686.rpm it says:
Quote

error: Failed dependencies:
      anabri-asterisk-zappri >= 1.2.6 is needed by anabri-asterisk-1.2.9.1-3.686

Offline raem

  • *
  • 3,972
  • +4/-0
Re: Selintra installing problem
« Reply #1 on: October 27, 2006, 12:33:28 PM »
Oosterheert

> error: Failed dependencies:
> anabri-asterisk-zappri >= 1.2.6 is needed by anabri-asterisk-1.2.9.1-3.686

You are installing the rpms in the wrong order.

You are better to install those rpms this way
cd to the folder that has the 3 rpms in it (and no others), then do
rpm -Uvh *.rpm
and that way rpm will identify dependencies and install the rpms in the correct order.
...

Offline Terry

  • ***
  • 46
  • +0/-0
    • http://brummell.net
Selintra installing problem
« Reply #2 on: October 27, 2006, 03:04:56 PM »
Better yet, go to that directory and enter yum localinstall filename, the yum will figure out dependencies and download/resolve them (if possible).

Offline Oosterheert

  • *
  • 18
  • +0/-0
Selintra installing problem
« Reply #3 on: October 30, 2006, 10:11:11 AM »
wow, never thought about trying that  :oops:

Everything installed fine now. I got a problem though:

- I can't find my telephone card in the PCI Cards section, it won't find anything.
Quote
Operation status report - Timed out on UDEV - It may work if you retry...

There are currently no PCI Telephony cards registered on the system.
Offcourse a retry yields the same results...

lspci shows i got a HFC PCI card though:
Quote
04:05.0 Network controller: Cologne Chip Designs GmbH ISDN network controller [HFC-PCI] (rev 02)


The problem gets bigger with a reboot though: Astrerisk won't start at all.  /var/log/messages has a few lines like:
atalk: WARNING: /etc/modprobe.conf line 61: ignoring bad line starting with 'post-install'
asterisk: WARNING: /etc/modprobe.conf line 59: ignoring bad line starting with 'post-install'

etc, but i guess it comes down to:

FATAL: Module zaptel not found.

(i put the complete logfile here, it's a LOT of text)

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Selintra installing problem
« Reply #4 on: October 30, 2006, 11:16:21 AM »
OK

First things first.  Your install is failing because modprobe.conf is corrupt on your system.  This sometimes happens as a result of a partial or a failed install.

The best way to fix this is to regress SAIL and asterisk.  rpm -e the rpms which you have installed.  In your case this will leave you with a clean system because you have no prior version  to regress to.  Reinstall using rpm -Uvh in the order ....

anabri-asterisk-zappri-1.2.6-3.i686.rpm
anabri-asterisk-1.2.9.1-3.i686.rpm
smeserver-asterisk-sounds-1.2.2-2.noarch.rpm

Finally install SAIL.

Test that everything is OK by doing "modprobe zaptel" at your console.

Next, regarding you card - it looks as though it may not be in the SAIL hardware database.  

do

lspci -vvn

and make a note of the manufacturers numbers for your card (or simply post the output for your card here).  We can check to see if it should work or not and either add it to the database or advise you which card to get.

One final word....  We will not continue to support an asterisk rpm for HFC Cards after kernel -42.  We are moving to third party rpms which don't support BriStuff. Furthermore, Cologne cards simply don't work well enough to install into a customer site and the zaphfc code is, at best, tempramental making it almost impossible to support.  You can still run SAIL with HFC but you will have to build asterisk yourself or find an rpm which supports them.  For industrial use we deploy SIP/ISDN Gateways, which are, unfortunately, expensive but they work faultlessly.  If we ever do support another ISDN Card it will be the Digium B410 and it does not use the BriStuff drivers.

Sorry, but that's where we are.

Kind Regards

Offline Oosterheert

  • *
  • 18
  • +0/-0
Selintra installing problem
« Reply #5 on: October 30, 2006, 12:40:07 PM »
Doing rpm -Uvh *.rpm in a folder with only the files
- anabri-asterisk-zappri-1.2.6-3.i686.rpm
- anabri-asterisk-1.2.9.1-3.i686.rpm
- smeserver-asterisk-sounds-1.2.2-2.noarch.rpm

and after that doing rpm -Uvh selintra-sail-2.1.14-344.noarch.rpm

should install Asterisk. Right?

Then doing modprobe zaptel gives:

Quote
WARNING: /etc/modprobe.conf line 51: ignoring bad line starting with 'post-install'
WARNING: /etc/modprobe.conf line 52: ignoring bad line starting with 'post-install'
WARNING: /etc/modprobe.conf line 53: ignoring bad line starting with 'post-install'
WARNING: /etc/modprobe.conf line 54: ignoring bad line starting with 'post-install'
WARNING: /etc/modprobe.conf line 55: ignoring bad line starting with 'post-install'
WARNING: /etc/modprobe.conf line 56: ignoring bad line starting with 'post-install'
WARNING: /etc/modprobe.conf line 57: ignoring bad line starting with 'post-install'
WARNING: /etc/modprobe.conf line 58: ignoring bad line starting with 'post-install'
WARNING: /etc/modprobe.conf line 59: ignoring bad line starting with 'post-install'
WARNING: /etc/modprobe.conf line 60: ignoring bad line starting with 'post-install'
WARNING: /etc/modprobe.conf line 61: ignoring bad line starting with 'post-install'
WARNING: /etc/modprobe.conf line 62: ignoring bad line starting with 'post-install'
WARNING: /etc/modprobe.conf line 63: ignoring bad line starting with 'post-install'
WARNING: /etc/modprobe.conf line 64: ignoring bad line starting with 'post-install'
FATAL: Module zaptel not found.


This is not just a problem with my HFC PCI card, right?

[edit]
My modprobe.conf:
Quote
cat /etc/modprobe.conf
#------------------------------------------------------------
# BE CAREFUL WHEN MODIFYING THIS FILE! It is updated automatically
# by the SME server software. Various aliases are added and/or
# deleted by the template processing of the file and white space
# is removed, but otherwise changes to the file are preserved.
# For more information, see http://www.e-smith.org/custom/ and
# the template fragments in /etc/e-smith/templates/etc/modprobe.conf/.
#
# copyright (C) 2002-2005 Mitel Networks Corporation
#------------------------------------------------------------
alias scsi_hostadapter sata_sil
alias eth2 hisax
alias usb-controller ehci-hcd
alias usb-controller1 uhci-hcd
alias block-major-3 off
alias bond0 bonding
alias char-major-43 hisax
alias net-pf-4 off
alias net-pf-10 off
alias net-pf-47 ip_gre
alias net-pf-24 pppoe
alias parport_lowlevel parport_pc
alias ppp ppp_generic
alias char-major-108 ppp
alias /dev/ppp ppp
alias tty-ldisc-3 ppp_async
alias tty-ldisc-14 ppp_synctty
alias ppp-compress-18 ppp_mppe
alias ppp-compress-21 bsd_comp
alias ppp-compress-24 ppp_deflate
alias ppp-compress-26 ppp_deflate
alias tap0 off
alias tap1 off
alias tap2 off
alias tap3 off
alias tap4 off
alias tap5 off
alias tap6 off
alias tap7 off
alias tap8 off
alias tap9 off
alias tap10 off
alias tap11 off
alias tap12 off
alias tap13 off
alias tap14 off
alias tap15 off
alias char-major-180 usbcore
options torisa base=0xd0000
alias char-major-196 torisa
post-install tor2 /sbin/ztcfg
post-install torisa /sbin/ztcfg
post-install wcusb /sbin/ztcfg
post-install wcfxo /sbin/ztcfg
post-install wctdm /sbin/ztcfg
post-install wctdm24xxp /sbin/ztcfg
post-install ztdynamic /sbin/ztcfg
post-install ztd-eth /sbin/ztcfg
post-install wct1xxp /sbin/ztcfg
post-install wct4xxp /sbin/ztcfg
post-install wcte11xp /sbin/ztcfg
post-install pciradio /sbin/ztcfg
post-install ztd-loc /sbin/ztcfg
post-install ztdummy /sbin/ztcfg
alias wcfxs wctdm
alias wct2xxp wct4xxp
alias eth0 tg3
alias eth1 8139too
options bond0 miimon=200 mode=active-backup
options hisax  protocol=2

[/edit]

just to be complete, lspci -vvn gives
Quote

04:05.0 Class 0280: 1397:2bd0 (rev 02)
        Subsystem: 1397:2bd0
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step                                                                                                  ping- SERR+ FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort                                                                                                  - <MAbort- >SERR- <PERR-
        Latency: 16 (4000ns max)
        Interrupt: pin A routed to IRQ 193
        Region 0: I/O ports at 3800
        Region 1: Memory at e8211000 (32-bit, non-prefetchable) [size=256]
        Capabilities: [40] Power Management version 1
                Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot                                                                                                  +,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Selintra installing problem
« Reply #6 on: October 30, 2006, 12:48:38 PM »
No this is not just a problem with your card.  Something is causing it to think that you don't have udev installed (and you do).

I'll have to put up a server with a Cologne card in it to test this properly.  How quickly do you need an answer?

In the meantime, you can try fixing modprobe.conf manually.  These rows should replace your post-install rows...
Code: [Select]
install tor2 /sbin/modprobe --ignore-install tor2 && /sbin/ztcfg
install torisa /sbin/modprobe --ignore-install torisa && /sbin/ztcfg
install wcusb /sbin/modprobe --ignore-install wcusb && /sbin/ztcfg
install wcfxo /sbin/modprobe --ignore-install wcfxo && /sbin/ztcfg
install wctdm /sbin/modprobe --ignore-install wctdm && /sbin/ztcfg
install wctdm24xxp /sbin/modprobe --ignore-install wctdm24xxp && /sbin/ztcfg
install ztdynamic /sbin/modprobe --ignore-install ztdynamic && /sbin/ztcfg
install ztd-eth /sbin/modprobe --ignore-install ztd-eth && /sbin/ztcfg
install wct1xxp /sbin/modprobe --ignore-install wct1xxp && /sbin/ztcfg
install wct4xxp /sbin/modprobe --ignore-install wct4xxp && /sbin/ztcfg
install wcte11xp /sbin/modprobe --ignore-install wcte11xp && /sbin/ztcfg
install pciradio /sbin/modprobe --ignore-install pciradio && /sbin/ztcfg
install ztd-loc /sbin/modprobe --ignore-install ztd-loc && /sbin/ztcfg
install ztdummy /sbin/modprobe --ignore-install ztdummy && /sbin/ztcfg
alias wcfxs wctdm
alias wct2xxp wct4xxp


After you've saved modprobe.conf run

depmod

to sort out the dependencies

You shouldn't hurt anything but you might want to save a copy of modprobe.conf before you begin.

 

Kind Regards

Selintra[/code]

Offline JonB

  • *
  • 351
  • +0/-0
Selintra installing problem
« Reply #7 on: October 30, 2006, 01:00:38 PM »
What kernel are you running?

From console

Code: [Select]
uname -r

Jon
...

Offline Oosterheert

  • *
  • 18
  • +0/-0
Selintra installing problem
« Reply #8 on: October 30, 2006, 01:55:24 PM »
JonB
my kernel is 2.6.9-34.ELsmp
My server is a HP ML110
P4 3,0Ghz
2x 256MB ECC RAM (just ordered 2x 512MB ECC RAM to replace)

selintra
after replacing those lines in modprobe.conf it still doesn't work right
Quote
modprobe zaptel
FATAL: Module zaptel not found.

reboot didn't help either

Perhaps my HP server is a problem. Because i tried a new install of SME 7 on it without the HFC PCI card being installed and after i then installed the anabri and sail rpm's i got the same error.
I'll go and install SME on a standard consumer pc (Sempron 2800+ on a Asus K8V-VM socket 754)

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Selintra installing problem
« Reply #9 on: October 30, 2006, 02:50:25 PM »
I can't find any reported problems with that HP server model.  

Zaptel load (modprobe) may fail while it is waiting for UDEV to buidl the device trees.

does /proc/zaptel or /dev/zap exist on your box?

if they don't, then try modprobing zaptel and waiting for around 30 seconds and looking again. Once they are there, zaptel should load.

Kind Regards

Selintra

Offline Oosterheert

  • *
  • 18
  • +0/-0
Selintra installing problem
« Reply #10 on: October 30, 2006, 04:56:27 PM »
/proc/zaptel and /dev/zap don't exist and don't appear after doing "modprobe zaptel"  (tried 3 times)

Besides that, i installed SME 7.0 on a different pc and then installed

- anabri-asterisk-1.2.9.1-3.i686.rpm
- anabri-asterisk-zappri-1.2.6-3.i686.rpm
- smeserver-asterisk-sounds-1.2.2-2.noarch.rpm
with a single rpm -Uvh *.rpm

and after that
i do rpm -Uvh selintra-sail-2.1.14-344.noarch.rpm

and again it doesn't work...?

I MUST be doing something very very wrong?? I mean nobody else seems to have this installation problem and I have it with two different freshly installed SME 7.0 computers?

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Selintra installing problem
« Reply #11 on: October 30, 2006, 05:13:48 PM »
I will run an install this evening to see if I can replicate this problem.

Kind Regards

Selintra

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Selintra installing problem
« Reply #12 on: October 30, 2006, 05:30:07 PM »
Doh Doh Doh!!!

I'm getting too old for this shit.   :oops:

You are running ELsmp.  Bristuff won't work (or install) with the smp kernel.  Reboot and hit the space bar when the penguin appears.  Choose the EL kernel (NOT EL-smp).

Wait for it to come up.  Remove the rpms and re-install them.

You should be good to go.

Sorry to mess you around - I should have spotted this earlier but I haven't looked at the asterisk code for a month or two.  

Kind Regards

Selintra

Offline riccge

  • **
  • 36
  • +0/-0
Selintra installing problem
« Reply #13 on: November 04, 2006, 02:11:48 PM »
Hi!
I've installed selintra on a fresh sme virtual machine and i've the same problem

[root@sme7 sme-selintra]# ls -Al
total 23352
-rw-r--r--  1 root root  1373738 Nov  2 15:13 selintra-sail-2.1.14-344.noarch.rpm
-rw-r--r--  1 root root 16473920 Aug  1 18:49 smeserver-asterisk-1.2.10-1.i686.rpm
-rw-r--r--  1 root root  3355261 Nov  2 16:53 smeserver-asterisk-sounds-1.2.2-2.noarch.rpm
-rw-r--r--  1 root root  2669759 Aug  1 18:40 smeserver-asterisk-zappri-MPP-1.2.6-1.i686.rpm

[root@sme7 sme-selintra]# uname -r
2.6.9-34.0.2.EL

[root@sme7 sme-selintra]# modprobe zaptel
WARNING: /etc/modprobe.conf line 54: ignoring bad line starting with 'post-install'
WARNING: /etc/modprobe.conf line 55: ignoring bad line starting with 'post-install'
WARNING: /etc/modprobe.conf line 56: ignoring bad line starting with 'post-install'
WARNING: /etc/modprobe.conf line 57: ignoring bad line starting with 'post-install'
WARNING: /etc/modprobe.conf line 58: ignoring bad line starting with 'post-install'
WARNING: /etc/modprobe.conf line 59: ignoring bad line starting with 'post-install'
WARNING: /etc/modprobe.conf line 60: ignoring bad line starting with 'post-install'
WARNING: /etc/modprobe.conf line 61: ignoring bad line starting with 'post-install'
WARNING: /etc/modprobe.conf line 62: ignoring bad line starting with 'post-install'
WARNING: /etc/modprobe.conf line 63: ignoring bad line starting with 'post-install'
WARNING: /etc/modprobe.conf line 64: ignoring bad line starting with 'post-install'
WARNING: /etc/modprobe.conf line 65: ignoring bad line starting with 'post-install'
WARNING: /etc/modprobe.conf line 66: ignoring bad line starting with 'post-install'
WARNING: /etc/modprobe.conf line 67: ignoring bad line starting with 'post-install'
FATAL: Module zaptel not found.

[root@sme7 sme-selintra]# service asterisk start
WARNING: /etc/modprobe.conf line 54: ignoring bad line starting with 'post-install'
WARNING: /etc/modprobe.conf line 55: ignoring bad line starting with 'post-install'
WARNING: /etc/modprobe.conf line 56: ignoring bad line starting with 'post-install'
WARNING: /etc/modprobe.conf line 57: ignoring bad line starting with 'post-install'
WARNING: /etc/modprobe.conf line 58: ignoring bad line starting with 'post-install'
WARNING: /etc/modprobe.conf line 59: ignoring bad line starting with 'post-install'
WARNING: /etc/modprobe.conf line 60: ignoring bad line starting with 'post-install'
WARNING: /etc/modprobe.conf line 61: ignoring bad line starting with 'post-install'
WARNING: /etc/modprobe.conf line 62: ignoring bad line starting with 'post-install'
WARNING: /etc/modprobe.conf line 63: ignoring bad line starting with 'post-install'
WARNING: /etc/modprobe.conf line 64: ignoring bad line starting with 'post-install'
WARNING: /etc/modprobe.conf line 65: ignoring bad line starting with 'post-install'
WARNING: /etc/modprobe.conf line 66: ignoring bad line starting with 'post-install'
WARNING: /etc/modprobe.conf line 67: ignoring bad line starting with 'post-install'
FATAL: Module zaptel not found.
Waiting for udev.
......

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Selintra installing problem
« Reply #14 on: November 04, 2006, 05:03:39 PM »
Hi riccge

It looks as though you have run a yum update on your SME system which has brought the kernel up to -02. This is fine but unfortunately, Asterisk is very sensitive to the kernel release and our rpms were compiled on the plain 34 kernel.  

Remove the asterisk and zappri rpms (rpm -e) and restart your system.  Press the space bar when the penguin appears.  Choose the 34 kernel (not 34-02).  Once the system comes up re-install your rpms.  

Asterisk should come up fine.  Now, to migrate your asterisk image so that it will run under 34-02, refer to the documentation here...

http://www.selintra.com/docs/cgi-bin/view/Main/DocChapter2510



Kind Regards

Selintra