Freepbx on vps with CentOS 6.4, am i out of luck?

i followed this guide to install freepbx, i m getting error at DAHDI. when i try to do make && make install && make config.

[root@micgohost dahdi-linux-complete-2.7.0.1+2.7.0.1]# make && make install && make config
make -C linux all
make[1]: Entering directory /usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux' make -C drivers/dahdi/firmware firmware-loaders make[2]: Entering directory/usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux/drivers/dahdi/firmware’
make[2]: Leaving directory /usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux/drivers/dahdi/firmware' You do not appear to have the sources for the 2.6.32-042stab078.26 kernel installed. make[1]: *** [oct612x-lib] Error 1 make[1]: Leaving directory/usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux’
make: *** [all] Error 2

uname -r

2.6.32-042stab078.26

rpm -qa|grep kernel

vzkernel-2.6.32-042stab078.26.x86_64
libreport-plugin-kerneloops-2.0.9-15.el6.centos.x86_64
kernel-2.6.32-358.18.1.el6.x86_64
vzkernel-headers-2.6.32-042stab078.26.x86_64
kernel-devel-2.6.32-358.18.1.el6.x86_64
kernel-firmware-2.6.32-358.18.1.el6.centos.plus.noarch
kernel-devel-2.6.32-358.18.1.el6.centos.plus.x86_64
abrt-addon-kerneloops-2.0.8-15.el6.centos.x86_64
dracut-kernel-004-303.el6.noarch
kernel-2.6.32-358.18.1.el6.centos.plus.x86_64

any idea ?

i mean this guide here

http://www.powerpbx.org/content/rhel-asterisk-freepbx-install-guide-rhel-v6-asterisk-v11-freepbx-v211

use following command.
yum install ftp://mirror.switch.ch/pool/1/mirror/scientificlinux/6rolling/x86_64/os/Packages/kernel-devel-2.6.32-358.el6.x86_64.rpm

You can do rest of them. If you want good guide http://www.ebayram.net/how-to-install-freepbx-and-asterix-on-centos-6-4-running-on-xenserver/ look at this web page.

before that command you need to update your kernel.
yum update

We discourage linking to guides and information on other sites as that information can vary, be outdated and later be deleted etc, why don't you check out the FreePBX wiki?

 For example a guide to installing FreePBX with CentOS can be found here

We are also always looking for help with documenting the project.

 

 

 

 

Running Transaction
Installing : kernel-devel-2.6.32-358.el6.x86_64 1/1
Verifying : kernel-devel-2.6.32-358.el6.x86_64 1/1

Installed:
kernel-devel.x86_64 0:2.6.32-358.el6

Complete!
[root@micgohost ~]# yum update
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile

  • base: centos.sonn.com
  • centosplus: mirrors.usc.edu
  • epel: mirrors.solfo.com
  • extras: mirror.pac-12.org
  • updates: mirror.rackspace.com
    Setting up Update Process
    No Packages marked for Update
    [root@micgohost ~]# cd /usr/src
    [root@micgohost src]# cd /usr/src/dahdi-linux-complete*
    [root@micgohost dahdi-linux-complete-2.7.0.1+2.7.0.1]#
    [root@micgohost dahdi-linux-complete-2.7.0.1+2.7.0.1]# make && make install && make config
    \make -C linux all
    make[1]: Entering directory /usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux' make -C drivers/dahdi/firmware firmware-loaders make[2]: Entering directory/usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux/drivers/dahdi/firmware’
    make[2]: Leaving directory /usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux/drivers/dahdi/firmware' You do not appear to have the sources for the 2.6.32-042stab078.26 kernel installed. make[1]: *** [oct612x-lib] Error 1 make[1]: Leaving directory/usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux’
    make: *** [all] Error 2
    [root@micgohost dahdi-linux-complete-2.7.0.1+2.7.0.1]#

You do not appear to have the sources for the 2.6.32-042stab078.26 kernel installed.

do I need to install the same version 2.6.32-042stab078.26 ?

Please look at that web page and install correct kernel for your system. I think you are using 64 bit.
http://download.openvz.org/kernel/branches/rhel6-2.6.32/042stab078.28/
yum install http://download.openvz.org/kernel/branches/rhel6-2.6.32/042stab078.28/vzkernel-devel-2.6.32-042stab078.28.x86_64.rpm

thx a lot for all the reply

my error is

You do not appear to have the sources for the 2.6.32-042stab078.26 kernel installed.

do I need to install 2.6.32-042stab078.26 ? or 078.28 will work also ?

[root@micgohost dahdi-linux-complete-2.7.0.1+2.7.0.1]# make && make install && make config
make -C linux all
make[1]: Entering directory /usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux' make -C drivers/dahdi/firmware firmware-loaders make[2]: Entering directory/usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux/drivers/dahdi/firmware’
Attempting to download dahdi-fwload-vpmadt032-1.25.0.tar.gz
–2013-09-21 02:27:55-- http://downloads.digium.com/pub/telephony/firmware/releases/dahdi-fwload-vpmadt032-1.25.0.tar.gz
Resolving downloads.digium.com… 76.164.171.238, 2001:470:e0d4::ee
Connecting to downloads.digium.com|76.164.171.238|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 149360 (146K) [application/x-gzip]
Saving to: âdahdi-fwload-vpmadt032-1.25.0.tar.gzâ

100%[==========================================================================================================================>] 149,360 609K/s in 0.2s

2013-09-21 02:27:55 (609 KB/s) - âdahdi-fwload-vpmadt032-1.25.0.tar.gzâ

make[2]: Leaving directory /usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux/drivers/dahdi/firmware' You do not appear to have the sources for the 2.6.32-042stab078.26 kernel installed. make[1]: *** [oct612x-lib] Error 1 make[1]: Leaving directory/usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux’
make: *** [all] Error 2
[root@micgohost dahdi-linux-complete-2.7.0.1+2.7.0.1]# rpm -qa | grep -i kernel
kernel-2.6.32-358.18.1.el6.x86_64
kernel-headers-2.6.32-358.18.1.el6.x86_64
abrt-addon-kerneloops-2.0.8-15.el6.centos.x86_64
dracut-kernel-004-303.el6.noarch
vzkernel-devel-2.6.32-042stab078.26.x86_64
kernel-firmware-2.6.32-358.18.1.el6.noarch
libreport-plugin-kerneloops-2.0.9-15.el6.centos.x86_64
kernel-devel-2.6.32-358.18.1.el6.x86_64

I got vzkernel-devel-2.6.32-042stab078.26.x86_64 installed on my vps already. when I try to make && make install && make config at the dahdi step it’s still telling me I don’t have vzkernel-devel-2.6.32-042stab078.26.x86_64 installed

You don’t have to install DAHDi, So I would just skip it. Also skip libpri.