[asterisk-users] Asterisk running on a Xen Centos Serverchallenge!!!

Rafael Prado Rocchi prado at practis.com.br
Mon Mar 22 18:24:22 CDT 2010


There's something weird at you linux system.

Your kernel sources are i686 sources, but the output of your ls shows you
are on a X86-64 system. (?)


>lrwxrwxrwx 1 root root     54 Nov  6 23:31 build ->
> ../../../usr/src/kernels/2.6.18-164.6.1.el5-xen-x86_64     <<<<<<<<<<<<<<
Look here!


> -bash-3.2#  ls /usr/src/kernels
> 2.6.18-164.6.1.el5-xen-i686  2.6.18-164.6.1.el5xen-i686    <<< and here!
>



To install (and update) the correct kernel and kernel sources, try using:
yum install kernel-*
After that, reboot with the new kernel and recompile Dahdi.



Rafael Prado
+55 (11) 3323-1055
ttp://www.practis.com.br


PRACTIS - Comunicação & Tecnologia 
Av Aquidaban, 766 - Conj 51        
CEP 13026-510, Campinas/SP - Brasil


> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-
> bounces at lists.digium.com] On Behalf Of Daniel Leite de Abreu
> Sent: domingo, 21 de março de 2010 10:28
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [asterisk-users] Asterisk running on a Xen Centos
> Serverchallenge!!!
> 
> Hi Thanks very much for reply it and helping me out.
> 
> 
> This is the out put
> 
> 
> -bash-3.2# ls -l /lib/modules/2.6.18-164.6.1.el5xen/
> total 1280
> lrwxrwxrwx 1 root root     54 Nov  6 23:31 build ->
> ../../../usr/src/kernels/2.6.18-164.6.1.el5-xen-x86_64
> drwxr-xr-x 2 root root   4096 Nov  3 17:31 extra
> drwxr-xr-x 9 root root   4096 Nov  6 23:31 kernel
> -rw-r--r-- 1 root root 282675 Nov  6 23:31 modules.alias
> -rw-r--r-- 1 root root     69 Nov  6 23:31 modules.ccwmap
> -rw-r--r-- 1 root root 231095 Nov  6 23:31 modules.dep
> -rw-r--r-- 1 root root    147 Nov  6 23:31 modules.ieee1394map
> -rw-r--r-- 1 root root    375 Nov  6 23:31 modules.inputmap
> -rw-r--r-- 1 root root  12632 Nov  6 23:31 modules.isapnpmap
> -rw-r--r-- 1 root root     74 Nov  6 23:31 modules.ofmap
> -rw-r--r-- 1 root root 219500 Nov  6 23:31 modules.pcimap
> -rw-r--r-- 1 root root   4033 Nov  6 23:31 modules.seriomap
> -rw-r--r-- 1 root root 132264 Nov  6 23:31 modules.symbols
> -rw-r--r-- 1 root root 356940 Nov  6 23:31 modules.usbmap
> lrwxrwxrwx 1 root root      5 Nov  6 23:31 source -> build
> drwxr-xr-x 2 root root   4096 Nov  3 17:31 updates
> drwxr-xr-x 2 root root   4096 Nov  3 17:31 weak-updates
> -bash-3.2#
> 
> 
> 
> This is the other out put.
> 
> 
> -bash-3.2#  ls /usr/src/kernels
> 2.6.18-164.6.1.el5-xen-i686  2.6.18-164.6.1.el5xen-i686
> 
> 
> waiting for you .
> 
> 
> Thanks very much
> 
> 
> daniel
> 
> On 19 Mar 2010, at 8:51 PM, Tzafrir Cohen wrote:
> 
> > On Fri, Mar 19, 2010 at 01:26:43AM +0200, Tzafrir Cohen wrote:
> >> On Thu, Mar 18, 2010 at 05:03:12PM -0500, Warren Selby wrote:
> >>> On Thu, Mar 18, 2010 at 6:56 PM, Daniel Leite de Abreu
> <dlabreu at gmail.com>wrote:
> >>>
> >>>> Hi David!
> >>>>
> >>>>
> >>>> Thanks very much for helping me out will all !
> >>>>
> >>>>
> >>>> Ok i try your tip and @ the moment i still have the same problem
> but now i
> >>>> have the kernel and the kernel devel the same but wend i try to
> run make i
> >>>> still get the same erro, do you guys have any idea how to fix it?
> >>>>
> >>>> -bash-3.2# rpm -qa kernel*
> >>>> kernel-xen-devel-2.6.18-164.6.1.el5
> >>>> kernel-xen-2.6.18-164.6.1.el5
> >>>> -bash-3.2#
> >>>>
> >>>
> >>> After you install the kernel source, you'll need to rerun
> ./configure.
> >>
> >> Nope. The dahdi-linux makefile has no ./configure .
> >>
> >>>
> >>> You may want to run "make clean" and / or "make distclean" before
> rerunning
> >>> ./configure.
> >
> > Specifically: it will look for:
> >
> >  /lib/modules/VERSION/build/.config
> >
> > Where:
> >
> > VERSION is the kernel version string. 2.6.18-164.6.1.el5 in your
> case.
> > 'build' is a symbolic link to the (often partial) kernel tree.
> >
> > What is the output of:
> >
> >  ls -l /lib/modules/2.6.18-164.6.1.el5
> >
> > What is the output of:
> >
> >  ls /usr/src/kernels
> >
> > --
> >               Tzafrir Cohen
> > icq#16849755              jabber:tzafrir.cohen at xorcom.com
> > +972-50-7952406           mailto:tzafrir.cohen at xorcom.com
> > http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir
> >
> > --
> > _____________________________________________________________________
> > -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> > New to Asterisk? Join us for a live introductory webinar every Thurs:
> >               http://www.asterisk.org/hello
> >
> > asterisk-users mailing list
> > To UNSUBSCRIBE or update options visit:
> >   http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> 
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>                http://www.asterisk.org/hello
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5192 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20100322/c6d049ec/attachment.bin 


More information about the asterisk-users mailing list