Koozali.org: home of the SME Server
Obsolete Releases => SME VoIP (Asterisk, SAIL etc) => Topic started by: Drifting on February 05, 2013, 07:00:23 PM
-
---> Package kmod-dahdi-linux.i686 0:2.6.1-1_centos5.2.6.18_308.24.1.el5 set to be updated
--> Processing Dependency: kernel-i686 = 2.6.18-308.24.1.el5 for package: kmod-dahdi-linux
---> Package kmod-dahdi-linux-fwload-vpmadt032.i686 0:2.6.1-1_centos5.2.6.18_308.24.1.el5 set to be updated
--> Processing Dependency: kernel-i686 = 2.6.18-308.24.1.el5 for package: kmod-dahdi-linux-fwload-vpmadt032
--> Finished Dependency Resolution
kmod-dahdi-linux-2.6.1-1_centos5.2.6.18_308.24.1.el5.i686 from asterisk-current has depsolving problems
--> Missing Dependency: kernel-i686 = 2.6.18-308.24.1.el5 is needed by package kmod-dahdi-linux-2.6.1-1_centos5.2.6.18_308.24.1.el5.i686 (asterisk-current)
kmod-dahdi-linux-fwload-vpmadt032-2.6.1-1_centos5.2.6.18_308.24.1.el5.i686 from digium-current has depsolving problems
--> Missing Dependency: kernel-i686 = 2.6.18-308.24.1.el5 is needed by package kmod-dahdi-linux-fwload-vpmadt032-2.6.1-1_centos5.2.6.18_308.24.1.el5.i686 (digium-current)
Error: Missing Dependency: kernel-i686 = 2.6.18-308.24.1.el5 is needed by package kmod-dahdi-linux-2.6.1-1_centos5.2.6.18_308.24.1.el5.i686 (asterisk-current)
Error: Missing Dependency: kernel-i686 = 2.6.18-308.24.1.el5 is needed by package kmod-dahdi-linux-fwload-vpmadt032-2.6.1-1_centos5.2.6.18_308.24.1.el5.i686 (digium-current)
You could try using --skip-broken to work around the problem
I am assuming that the required files are not available for the kernel I have ? Is there a work around?
P
-
Realise how dumb that was, but apart from going back to an earlier kernel, is there any other option? I know I could possibly compile one, but not really skilled or confident enough to do that.
P
-
Hi Paul
It's hard to comment because I can't tell where you've started from in terms of your SME server release. Unless there is something on there that you need to preserve then it might be easier to download and install the sark iso. - http://sailpbx.com/iso/SME8/
Best
Jeff
-
Hi Jeff
Sadly there was, so a clean install would be something that I would prefer to avoid.
As you can see I had a fully updated SME 8, this was a vanilla install, not one of the Sark ISO's I followed the instructions on your wiki as above, and had all those dep errors. Do I just wait a while for the later kmod etc?
Regards P
-
Drifting,
you may want to take a look at this:
http://forums.contribs.org/index.php/topic,49338.0.html
-
Drifting,
you may want to take a look at this:
http://forums.contribs.org/index.php/topic,49338.0.html
Thanks for that, really get confused with deps and what is requiring whatever.
But
I followed your instructions, but got this :-
No package kernel-2.6.18-308.24.1.el5 available.
Regards P
-
Yep, at the time of writing it was valid...
The SME Kernel and the available DAHDI modules are not in sync atm. Downgrading the current SME kernel will not help for the previous available kernel in smeupdates is also not in sync or better yet, the DAHDI modules are not in sync.
The moment there is a kernel compatibility between DAHDI and SME, then youcan use the script with the correct kernel versions.
For now you're stuk regarding RPM's, so compiling from source would be the way to go forward or use the Sail ISO
-
Thanks for the reply.
Not really got the skills for compiling, managed to do it once, but that was a long time ago.
Looks like a backup an re install.
Regards P
-
Use the Digium 1.8 and Asterisk 1.8 repos and install the latest Asterisk and Dahdi - it should match the latest CentOS SME kernels.
-
Use the Digium 1.8 and Asterisk 1.8 repos and install the latest Asterisk and Dahdi - it should match the latest CentOS SME kernels.
You seem to have excellent knowledge on this subject, any chance of an elaboration on how to do this with SME8 ?
P
-
Follow instructions at SME8FA18V311-22.iso install wiki page (http://www.sailpbx.com/mediawiki/index.php/SME_8.0_%2B_Asterisk_1.8_%2B_SAIL_3.1.1-22).
If you still don't get it and would like to start from where you currently are, then paste the output of:
cat /etc/issue
rpm -qa | grep asterisk
rpm -qa | grep dahdi
rpm -qa | grep kmod-dahdi
rpm -qa | grep sail
rpm -qa | grep sox
uname -a
The Digium Current Repo (http://packages.digium.com/centos/5/current/i386/RPMS/) will contain the DAHDI drivers compiled for various architectures and kernel builds and the following drivers must match the SME SAIL kernel:
kmod-dahdi-linux-hpec*
kmod-dahdi-linux-fwload-vpmadt032*
As on date, the latest kernel build for the said compiled drivers is:
2.6.18_308.24.1.el5
The related rpms]/b] are:
kmod-dahdi-linux-hpec-2.6.1-1_centos5.2.6.18_308.24.1.el5.i686.rpm
kmod-dahdi-linux-hpec-PAE-2.6.1-1_centos5.2.6.18_308.24.1.el5.i686.rpm
kmod-dahdi-linux-hpec-xen-2.6.1-1_centos5.2.6.18_308.24.1.el5.i686.rpm
kmod-dahdi-linux-fwload-vpmadt032-2.6.1-1_centos5.2.6.18_308.24.1.el5.i686.rpm
kmod-dahdi-linux-fwload-vpmadt032-PAE-2.6.1-1_centos5.2.6.18_308.24.1.el5.i686.rpm
kmod-dahdi-linux-fwload-vpmadt032-xen-2.6.1-1_centos5.2.6.18_308.24.1.el5.i686.rpm
-
Sorry to take this thread a different route, but I need to start from the ground up, before I go adding the latest packages.
With this in mind I have just done a clean install of SME 8 , kernel-2.6.18-308.24.1.el5.i686.rpm
Followed the instructions for installing asterisk from the quick start notes. All went well apart from the download of the sound files, but found a fix workaround involving installing it separately.
Came to the install of sail and got this :-
sail-3.1.1-20.noarch from /sail-3.1.1-20.noarch has depsolving problems
--> Missing Dependency: smesailenv >= 1.0.0-30 is needed by package sail-3.1.1-20.noarch (/sail-3.1.1-20.noarch)
Error: Missing Dependency: smesailenv >= 1.0.0-30 is needed by package sail-3.1.1-20.noarch (/sail-3.1.1-20.noarch)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
What? I thought the environment should be installed after the sail install? As per :-
#
# SAIL-3.1.0
#
SAIL NOW REQUIRES AN ENVIRONMENTAL RPM IF IT IS BEING INSTALLED INTO AN
SME SERVER SYSTEM. THE RPM IS CALLED smesailenv. YOU SHOULD INSTALL SAIL
THEN INSTALL THE ENVIRONMENT RPM.
So now what is wrong?
Regards P
-
Whilst the sailenv rpm may have had to be installed prior to sail in sail v3.1.0 when the manual was written, it must now follow sail or rather be installed along with it. This is so since the apache httpd.conf file locations in the rpm and the rpm's job of moving it to the appropriate folder has come to pass since the release of the last sail rpm.
Assuming that all the perl and htpasswd rpms have been downloaded (http://sailpbx.com/sail/sail-3.1/), get the latest sail v3.1.1-22 from the new ISO (http://sailpbx.com/iso/SME8/sail-3.1.1/SME8FA18V311-22.iso) or download it from my repo (http://sail-3.1.1-22.noarch.rpm/) where it has been extracted and made available separately.
If you are installing on CentOS 5, you will need:
http://sailpbx.com/sail/sail-3.1/el5sailenv-1.0.0-5.noarch.rpm (http://sailpbx.com/sail/sail-3.1/el5sailenv-1.0.0-5.noarch.rpm)
instead of the smesailenv-1.0.0-30.noarch.rpm (http://sailpbx.com/sail/sail-3.1/smesailenv-1.0.0-30.noarch.rpm)
Install in SME8 with:
rpm -ivh \
sail-3.1.1-22.noarch.rpm \
smesailenv-1.0.0-30.noarch.rpm \
perl-Apache-Htpasswd-1.8-1.el5.rf.noarch.rpm \
perl-DBD-SQLite-1.14-1.el5.rf.i386.rpm \
perl-File-ReadBackwards-1.04-1.2.el4.rf.noarch.rpm \
perl-IO-Interface-1.04-1.el5.rf.i386.rpm \
perl-IO-Socket-Multicast-1.12-1.rhel5.i386.rpm \
perl-Text-CSV-1.12-1.el5.rf.noarch.rpm
I've created a separate SAIL FAQ page (http://www.sailpbx.com/mediawiki/index.php/SAIL_FAQs) in the Wiki.
-
Thankyou apmuthu for your patience, have it all installed.
Spoke too soon, went to the web interface and got:-
The requested URL /sail/navigation.htm was not found on this server.
Yet, there is :-
/opt/sark/cache/navigation.htm
Tried a remove and re install:-
Installing : smesailenv 1/2
/bin/mv: cannot move `opt/sark/cache/navigation.htm' to `opt/sark/www/navigation.htm': No such file or directory
Suggestions ?
Regards P
-
This file comes from smesailenv-1.0.0-30.noarch.rpm. Just delete the file and force re-install the said rpm or just extract the file from it and upload it. Use 7-Zip (http://www.7-zip.org/) to open the rpm if you are on windows.
rpm -Uvh --force smesailenv-1.0.0-30.noarch.rpm
You will also need another unreleased rpm that exists only in their ISO - I've placed it in my repo (http://www.apmuthu.com/files/smesailenvast18-1.0.0-1.noarch.rpm). Just install that as well.
Also refer all issues and fixes in the SAIL FAQs wiki page and my other post here on SAIL 3.1.1-22 and the Feature code anomalies post (http://forums.contribs.org/index.php/topic,49562.msg247808.html#msg247808).