Koozali.org: home of the SME Server

Following the install from here SARK UCS/MVP 3.x/4.x Quick Start notes

Offline Drifting

  • ****
  • 431
  • +0/-0
---> 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
Infamy, Infamy, they all have it in for me!

Offline Drifting

  • ****
  • 431
  • +0/-0
Re: Following the install from here SARK UCS/MVP 3.x/4.x Quick Start notes
« Reply #1 on: February 06, 2013, 11:44:52 AM »
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
Infamy, Infamy, they all have it in for me!

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Following the install from here SARK UCS/MVP 3.x/4.x Quick Start notes
« Reply #2 on: February 06, 2013, 09:35:38 PM »
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
 


Offline Drifting

  • ****
  • 431
  • +0/-0
Re: Following the install from here SARK UCS/MVP 3.x/4.x Quick Start notes
« Reply #3 on: February 07, 2013, 06:15:50 PM »
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
Infamy, Infamy, they all have it in for me!

guest22

Re: Following the install from here SARK UCS/MVP 3.x/4.x Quick Start notes
« Reply #4 on: February 08, 2013, 02:07:46 PM »
Drifting,

you may want to take a look at this:
http://forums.contribs.org/index.php/topic,49338.0.html


Offline Drifting

  • ****
  • 431
  • +0/-0
Re: Following the install from here SARK UCS/MVP 3.x/4.x Quick Start notes
« Reply #5 on: February 08, 2013, 03:09:59 PM »
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

Infamy, Infamy, they all have it in for me!

guest22

Re: Following the install from here SARK UCS/MVP 3.x/4.x Quick Start notes
« Reply #6 on: February 08, 2013, 03:15:31 PM »
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

Offline Drifting

  • ****
  • 431
  • +0/-0
Re: Following the install from here SARK UCS/MVP 3.x/4.x Quick Start notes
« Reply #7 on: February 08, 2013, 03:34:41 PM »
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
Infamy, Infamy, they all have it in for me!

Offline apmuthu

  • *
  • 244
  • +0/-0
Re: Following the install from here SARK UCS/MVP 3.x/4.x Quick Start notes
« Reply #8 on: February 10, 2013, 05:21:11 AM »
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.

Offline Drifting

  • ****
  • 431
  • +0/-0
Re: Following the install from here SARK UCS/MVP 3.x/4.x Quick Start notes
« Reply #9 on: February 11, 2013, 12:24:24 PM »
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
Infamy, Infamy, they all have it in for me!

Offline apmuthu

  • *
  • 244
  • +0/-0
Re: Following the install from here SARK UCS/MVP 3.x/4.x Quick Start notes
« Reply #10 on: February 12, 2013, 08:49:31 AM »
Follow instructions at SME8FA18V311-22.iso install wiki page.

If you still don't get it and would like to start from where you currently are, then paste the output of:
Code: [Select]
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 will contain the DAHDI drivers compiled for various architectures and kernel builds and the following drivers must match the SME SAIL kernel:
Code: [Select]
kmod-dahdi-linux-hpec*
kmod-dahdi-linux-fwload-vpmadt032*

As on date, the latest kernel build for the said compiled drivers is:
Code: [Select]
2.6.18_308.24.1.el5

The related rpms]/b] are:
Code: [Select]
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






« Last Edit: February 12, 2013, 12:07:52 PM by apmuthu »

Offline Drifting

  • ****
  • 431
  • +0/-0
Re: Following the install from here SARK UCS/MVP 3.x/4.x Quick Start notes
« Reply #11 on: February 13, 2013, 11:21:30 AM »
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


Infamy, Infamy, they all have it in for me!

Offline apmuthu

  • *
  • 244
  • +0/-0
Re: Following the install from here SARK UCS/MVP 3.x/4.x Quick Start notes
« Reply #12 on: February 13, 2013, 01:23:14 PM »
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, get the latest sail v3.1.1-22 from the new ISO or download it from my repo 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
instead of the smesailenv-1.0.0-30.noarch.rpm
 
Install in SME8 with:
Code: [Select]
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 in the Wiki.
« Last Edit: February 13, 2013, 01:37:03 PM by apmuthu »

Offline Drifting

  • ****
  • 431
  • +0/-0
Re: Following the install from here SARK UCS/MVP 3.x/4.x Quick Start notes
« Reply #13 on: February 13, 2013, 02:00:39 PM »
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
« Last Edit: February 13, 2013, 02:26:29 PM by Drifting »
Infamy, Infamy, they all have it in for me!

Offline apmuthu

  • *
  • 244
  • +0/-0
Re: Following the install from here SARK UCS/MVP 3.x/4.x Quick Start notes
« Reply #14 on: February 13, 2013, 04:02:53 PM »
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 to open the rpm if you are on windows.
 
Code: [Select]
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. 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.
« Last Edit: February 13, 2013, 04:09:28 PM by apmuthu »