Koozali.org: home of the SME Server

smeserver-freepbx

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: smeserver-freepbx
« Reply #45 on: November 05, 2009, 02:11:17 AM »
jader

Quote
I'm running on a Pentium III so it's a i686... why SME do not know it ?
FYI: I just moved my HDD from a epia (i586) motherboard.

When making a major hardware change you should do an upgrade install from the sme7.4 CD so that correct drivers and kernel & modules get installed.
Then run a normal yum update afterwards.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
Re: smeserver-freepbx
« Reply #46 on: November 05, 2009, 11:39:13 AM »
Mary

Have done all steps (upgrade from CD; yum update; rpm -ivh dahdi* ) and I'm getting exact same error message.

Any other tips?

Thanks

Jáder
...

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: smeserver-freepbx
« Reply #47 on: November 05, 2009, 12:53:34 PM »
jader

Do you still have the sme i586 switch in your grub.conf file ?
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
Re: smeserver-freepbx
« Reply #48 on: November 05, 2009, 01:18:15 PM »
Mary

I have found nothing:
Code: [Select]
macmini:~ jader$ sshk root@192.168.13.1
Last login: Thu Nov  5 08:34:41 2009
[root@lobo ~]# grep -i i586 /etc/grub.conf 
[root@lobo ~]# date
Thu Nov  5 20:08:28 BRST 2009
[root@lobo ~]#


This is the file:
Code: [Select]
[root@lobo ~]# cat /etc/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,0)
#          kernel /vmlinuz-version ro root=/dev/hda2
#          initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=5
splashimage=(hd0,0)/grub/smeserver.xpm.gz
foreground 000000
background 4E95D3
hiddenmenu
title SME Server (2.6.9-78.0.22.EL)
root (hd0,0)
kernel /vmlinuz-2.6.9-78.0.22.EL ro root=LABEL=/
initrd /initrd-2.6.9-78.0.22.EL.img
title SME Server (2.6.9-78.0.13.EL)
root (hd0,0)
kernel /vmlinuz-2.6.9-78.0.13.EL ro root=LABEL=/
initrd /initrd-2.6.9-78.0.13.EL.img
title SME Server (2.6.9-78.0.8.EL)
root (hd0,0)
kernel /vmlinuz-2.6.9-78.0.8.EL ro root=LABEL=/
initrd /initrd-2.6.9-78.0.8.EL.img
title SME Server (2.6.9-67.0.7.EL)
root (hd0,0)
kernel /vmlinuz-2.6.9-67.0.7.EL ro root=LABEL=/
initrd /initrd-2.6.9-67.0.7.EL.img
[root@lobo ~]#

I'm searching at google right now.
And google anwer: do a "uname -i" so

Code: [Select]
[root@lobo ~]# uname -i
i386

that's odd... searching more:
Code: [Select]
[root@lobo ~]# locate kernel-2.6.9-78.0.22.EL|grep rpm
/var/cache/yum/smeupdates/packages/kernel-2.6.9-78.0.22.EL.i586.rpm
 

So I'm running a i586 kernel... even after a cd upgrade.
Maybe time to a bug report.

anyway... this is not a FreePBX issue... will open a bug and new thread to discuss it if necessary.
« Last Edit: November 05, 2009, 11:53:11 PM by jader »
...

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: smeserver-freepbx
« Reply #49 on: November 06, 2009, 03:10:27 AM »
jader
 
Quote
So I'm running a i586 kernel... even after a cd upgrade.

That's what I suspected. I'm not sure the commands you issued prove that though.

You need to do a CD install, not a CD upgrade.
The CD install process will detect an existing install of sme exists, so then choose to upgrade it rather than wipe the disk and do a fresh install.
Correct kernels, modules and drivers should then be installed.

Alternatively you could manually install the correct kernel & modules, then edit /boot/grub/grub.conf to boot to that kernel.
Then delete the old kernels etc, see this and links mentioned
http://forums.contribs.org/index.php/topic,42927.0.html



« Last Edit: November 08, 2009, 11:55:37 PM by mary »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
Re: smeserver-freepbx
« Reply #50 on: November 06, 2009, 11:34:22 AM »
Mary
I did a CD install, choose upgrade and all it dit was to return rkhunter rpm... after that I did  a yum update who replaced rkhunter again and nothing was changed at kernel level.

Even worst. When I try to install a i686 kernel, I got same error message...it's a i686 rpm ...no for i386 .

I search grub.conf and see nothing about i586.
But when I search /var/yum/cache I found kernel.i586 packages.

« Last Edit: November 06, 2009, 11:56:52 AM by jader »
...

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: smeserver-freepbx
« Reply #51 on: November 06, 2009, 07:03:43 PM »
jader

Quote
uname -a
Linux lobo 2.6.9-78.0.22.EL #1 Thu Apr 30 19:06:46 EDT 2009 i686 i686 i386 GNU/Linux

man uname
gives
uname -m (machine)
i686
uname -p (processor)
i686
uname -i (architecture)
i386

All current IBM PC's are 386 based

uname -a
shows all options
So that all looks OK to me.

Quote
...package dahdi-linux-kmdl-2.6.9-78.0.22.EL-2.1.0.4-60.el4 is intended for a i686 architecture...

Perhaps the issue is with your older PIII processor, maybe that package expects something more recent eg a Pentium 4 ???
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
Re: smeserver-freepbx
« Reply #52 on: November 08, 2009, 01:09:14 PM »
Mary

It's a bug (open nbr 5568)... I'm having some problems to convince developers... but I'm sure I'm running i586 and even worst, an "yum install kerneli686" do not will install i686 kernel.
I'll retry FreePBX once my kernel bug is fixed.
...

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: smeserver-freepbx
« Reply #53 on: November 08, 2009, 02:52:34 PM »
jader

I have looked at bug 5568.
Something seems wrong.
Your system appears to be reporting itself as a i686 but it won't let you install a i686 kernel. Hardware fault or wrong BIOS setting ??

It may be best to keep this in the bugtracker for now, assuming more input will come.

You can manually get the kernel package from here and do a yum localinstall but I suspect you have already done that (or similar) and the system won't let you install it.
http://distro.ibiblio.org/pub/linux/distributions/smeserver/releases/7/smeupdates/i386/RPMS/
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline Bud

  • *
  • 487
  • +0/-0
Re: smeserver-freepbx
« Reply #54 on: May 05, 2010, 01:45:53 PM »
hope you guys can help

trying to install freepbx on a new sme7.4 system with NO Digium or Telco Controller Card Installed

i cannot seem to install the dahdi tools

when i do a " modprobe dahdi " = FATAL: module dahdi not found
when i do a " uname -r " = 2.6.9-89.0.16.ELsmp

when i do a " rpm -qa | grep dahdi "

i get

warning: only V3 signatures can be verified, skipping V4 signature
warning: only V3 signatures can be verified, skipping V4 signature
warning: only V3 signatures can be verified, skipping V4 signature


when i do a " yum update " = No Packages marked for Update/Obsoletion

when i do a " yum --enablerepo=smecontribs install dahdi-tools dahdi-linux dahdi-linux-kmdl-$(uname -r) "

i get

No Match for argument: dahdi-linux-kmdl-2.6.9-89.0.16.ELsmp
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package dahdi-linux.i386 0:2.2.1.1-67.el4 set to be updated
---> Package dahdi-tools.i386 1:2.2.1.1-65.el4 set to be updated
--> Running transaction check
--> Processing Dependency: dahdi-linux-kmdl-2.2.1.1-67.el4 for package: dahdi-linux
--> Finished Dependency Resolution
Error: Missing Dependency: dahdi-linux-kmdl-2.2.1.1-67.el4 is needed by package dahdi-linux


 :shock:

any help greatly appreciated (please anybody)

Offline johnp

  • ****
  • 312
  • +0/-0
Re: smeserver-freepbx
« Reply #55 on: May 05, 2010, 02:32:21 PM »
Looks like it's in maintainer's repo. My bad, seems it isn't there
« Last Edit: May 05, 2010, 02:42:12 PM by johnp »

Offline Bud

  • *
  • 487
  • +0/-0
Re: smeserver-freepbx
« Reply #56 on: May 05, 2010, 02:43:22 PM »
johnp thanks for the info

what must i now do (sorry for the noob question)  :P


Offline johnp

  • ****
  • 312
  • +0/-0
Re: smeserver-freepbx
« Reply #57 on: May 05, 2010, 02:57:36 PM »
Did you try the additional steps in the wiki http://wiki.contribs.org/FreePBX like adding the fws repo and then trying to install everything again?

dahdi-linux-kmdl-2.6.9-89.0.16.ELsmp is in the fws repo


Offline Bud

  • *
  • 487
  • +0/-0
Re: smeserver-freepbx
« Reply #58 on: May 05, 2010, 03:05:18 PM »
johnp thanks for your input

i did as per http://wiki.contribs.org/FreePBX

[root@sme ~]# db yum_repositories set fws repository \
> BaseURL http://repo.firewall-services.com/sme/ \
> EnableGroups no GPGCheck no \
> Visible yes status disabled
[root@sme ~]# signal-event yum-modify

however when i do a

[root@sme ~]# yum --enablerepo=smecontribs --enablerepo=fws install smeserver-freepbx dahdi-linux-kmdl-$(uname -r)
Loading "protect-packages" plugin
Loading "fastestmirror" plugin
Loading "installonlyn" plugin
Loading "smeserver" plugin
Existing lock /var/run/yum.pid: another copy is running. Aborting.

what now ?

Offline johnp

  • ****
  • 312
  • +0/-0
Re: smeserver-freepbx
« Reply #59 on: May 05, 2010, 03:10:53 PM »
Wait a few minutes and try again. Yum is liely looking to see if there are updates