Updating kernels and zaptel

darmock

PIAF Developer
Joined
Oct 18, 2007
Messages
2,891
Reaction score
97
FYI

If you update you kernel to whatever is latest zaptel WILL stop working period! You will need to hand compile zaptel if you have upgraded stuff outside of update-source.

It is possible that Digium may have move the zaptel package around to make it more difficult to install Still looking into why people are having problems so be patient. In the meantime if you are having problems with zaptel after running an update then try hand compiling stuff

cd /usr/src/zaptel
make clean
./configure
make
make install


Then REBOOT!

Tom
 
FYI

If you update you kernel to whatever is latest zaptel WILL stop working period! You will need to hand compile zaptel if you have upgraded stuff outside of update-source.

It is possible that Digium may have move the zaptel package around to make it more difficult to install Still looking into why people are having problems so be patient. In the meantime if you are having problems with zaptel after running an update then try hand compiling stuff

cd /usr/src/zaptel
make clean
./configure
make
make install


Then REBOOT!

Tom

Doesn't really work because it needs kernel sources:

Code:
make[2]: Leaving directory `/usr/src/zaptel/menuselect'
make[1]: Leaving directory `/usr/src/zaptel/menuselect'
make[1]: Entering directory `/usr/src/zaptel'
echo "You do not appear to have the sources for the 2.6.18-92.1.13.el5 kernel installed."
You do not appear to have the sources for the 2.6.18-92.1.13.el5 kernel installed.
exit 1
make[1]: *** [modules] Error 1
make[1]: Leaving directory `/usr/src/zaptel'
make: *** [all] Error 2
root@pbx:/usr/src/zaptel $

And when you do try to install kernel sources:
Code:
Requested dep: kernel-devel-i686 is provided by installed package
Requested dep: kernel-devel is provided by installed package

I know you're aware of this from another thread, but I'm putting it here for others who might get the answer here.
 
This sounds like it is a problem in the upstream yum repo. You can try cleaning yum by

yum clean all

then

yum makecache and then try to install the kernel stuff

This sounds like there was a failed attempt to install a new kernel and it got corrupted.



Tom
 
This sounds like it is a problem in the upstream yum repo. You can try cleaning yum by

yum clean all

then

yum makecache and then try to install the kernel stuff

This sounds like there was a failed attempt to install a new kernel and it got corrupted.



Tom
Doing all the yum stuff and running update-source again.
 
I think you have a kernel mistmatch. I did manage to duplicate the problem once so here goes

1. Open cli as root

2. wget http://mirrors.kernel.org/centos/5.2/updates/i386/RPMS/kernel-2.6.18-92.1.17.el5.i686.rpm

3. wget http://mirrors.kernel.org/centos/5.2/updates/i386/RPMS/kernel-devel-2.6.18-92.1.17.el5.i686.rpm

4. wget http://mirrors.kernel.org/centos/5.2/updates/i386/RPMS/kernel-headers-2.6.18-92.1.17.el5.i386.rpm

5. rpm -Uv *.rpm

6. This should bring you up to date. I bet that things will work. The date of this kernel is Nov 05, 2008 thus 2 days ago. This could be where the problems all started. I am looking into it further.


Tom
 
This sounds like it is a problem in the upstream yum repo. You can try cleaning yum by

yum clean all

then

yum makecache and then try to install the kernel stuff

This sounds like there was a failed attempt to install a new kernel and it got corrupted.



Tom

I think you have a kernel mistmatch. I did manage to duplicate the problem once so here goes

1. Open cli as root

2. wget http://mirrors.kernel.org/centos/5.2/updates/i386/RPMS/kernel-2.6.18-92.1.17.el5.i686.rpm

3. wget http://mirrors.kernel.org/centos/5.2/updates/i386/RPMS/kernel-devel-2.6.18-92.1.17.el5.i686.rpm

4. wget http://mirrors.kernel.org/centos/5.2/updates/i386/RPMS/kernel-headers-2.6.18-92.1.17.el5.i386.rpm

5. rpm -Uv *.rpm

6. This should bring you up to date. I bet that things will work. The date of this kernel is Nov 05, 2008 thus 2 days ago. This could be where the problems all started. I am looking into it further.


Tom

I'm still running update-source and it still does this:
Code:
*Now Compiling Asterisk-Addons                                        *
*PLEASE RESIST THE URGE TO TAP THE ENTER KEY THE INSTALL IS PROCEEDING*
***********************************************************************
Now copying file to /usr/sbin
cp: cannot stat `/usr/src/zaptel/fxotune': No such file or directory
***************************************************
* Now compiling asterisk-flite                    *
***************************************************
* Please resist the urge to tap the ENTER key!    *
***************************************************


FATAL: Module zaptel not found.

So, I guess when it comes back up from the reboot, I'll have to do this.

And keep going around in circles or something. What do you suggest I do after it comes back up?
 
Ok, so after installing the kernel rpms like you suggested, I rebooted. Then, I went straight for /usr/src/zaptel and compiled. It worked without spewing that error about the kernel headers.

Rebooting now to see what's going to happen.
 
Of course you ran genzaptelconf -dsv after you compiled it right?

Tom
 
Could be! All to do with a properly configured timing source I bet.


Tom
 
Could be! All to do with a properly configured timing source I bet.


Tom

Done.
Still no workie with the incall recording. I'm going to try reinstalling, or moving to Trixbox tomorrow.
 
I'm having the same problem with my hosted VPS piaf 1.3
Zaptel comes not running for some reason. So I tried to use update-source using the Stable option to get zaptel to download and compile. But the update-source script (102308) fails to rename the /usr/src/zaptel-1.4.12.1 to /usr/src/zaptel
therefore the script spits out an error compiling zaptel
update-source: line 1362: cd: /usr/src/zaptel file or directory does not exist
The rest goes fine.
So I tried to compile zaptel manually and it says
You do not appear to have the sources for the 2.6.18-53.1.19.el5.028stab053.14 kernel installed.

googling that kernel I can find the kernel-... and the kernel-devel... but I can't find the kernel-header...
Is there anyway I can compile Zaptel on this VPS system?

ps. my VPS is synapseglobal
 

Members online

Forum statistics

Threads
26,687
Messages
174,410
Members
20,257
Latest member
Dempan
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top