Goautodial 3.0 from scratch on Centos 5.8 updated to 5.9 - DAHDI won't install
Added by TWT Team over 11 years ago
Hi All,
I have an issue installing Goautodial 3.0 32bit on hosted servermy server provider can offer me only centos 5.8 and not 5.9
so I tried to update the centos 5.8 to 5.9
- yum list updates
- yum -y update
#cat /etc/redhat-release
5.9 final
then I followed your instructions from here
http://goautodial.org/projects/goautodialce/wiki/64bit
At the end of the process
#lsmod | grep dahdi
show nothing so dahdi is not installed.
I get these errors during the installation:
Installing : dkms-dahdi 162/191
Creating symlink /var/lib/dkms/dahdi/2.6.1-1.go/source ->
/usr/src/dahdi-2.6.1-1.go
DKMS: add completed.
Error! echo
Your kernel headers for kernel 2.6.18-308.1.1.el5 cannot be found at
/lib/modules/2.6.18-308.1.1.el5/build or /lib/modules/2.6.18-308.1.1.el5/source.
Error! echo
Your kernel headers for kernel 2.6.18-308.1.1.el5 cannot be found at
/lib/modules/2.6.18-308.1.1.el5/build or /lib/modules/2.6.18-308.1.1.el5/source.
Installing : dahdi 163/191
Installing : perl-Spreadsheet-Read 164/191
Installing : asterisk 165/191
Installing : perl-XML-Parser 166/191
Installing : perl-libwww-perl 167/191
Installing : perl-Unicode-Map 168/191
Installing : perl-OLE-Storage_Lite 169/191
Installing : perl-Spreadsheet-ParseExcel 170/191
Installing : perl-Spreadsheet-WriteExcel 171/191
Installing : perl-rrdtool 172/191
Installing : rrdtool 173/191
Installing : perl-Net-Server 174/191
Installing : perl-Mail-Sendmail 175/191
Installing : perl-Archive-Zip 176/191
Installing : perl-Spreadsheet-ReadSXC 177/191
Installing : perl-Spreadsheet-XLSX 178/191
Installing : vicidial 179/191
Initializing MySQL database: WARNING: The host 'myHost' could not be looked up with resolveip.
This probably means that your libc libraries are not 100 % compatible
with this binary MySQL version. The MySQL daemon, mysqld, should work
normally with the exception that host name resolving will not work.
This means that you should use IP addresses instead of hostnames
when specifying MySQL privileges !
Installing MySQL system tables...
OK
Filling help tables...
OK
To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your system
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h myHost password 'new-password'
Alternatively you can run:
/usr/bin/mysql_secure_installation
which will also give you the option of removing the test
databases and anonymous user created by default. This is
strongly recommended for production servers.
See the manual for more instructions.
You can start the MySQL daemon with:
cd /usr ; /usr/bin/mysqld_safe &
You can test the MySQL daemon with mysql-test-run.pl
cd mysql-test ; perl mysql-test-run.pl
Please report any problems with the /usr/bin/mysqlbug script!
The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at http://shop.mysql.com
[ OK ]
Starting mysqld: [ OK ]
Starting httpd: httpd: apr_sockaddr_info_get() failed for myHost
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[ OK ]
Vicidial configuration not found. Installing data...
Installing Vicidial...
Updating IP address...
CLI defined old server IP: 10.10.100.139
Previous astGUIclient configuration file found at: /etc/astguiclient.conf
Writing change to astguiclient.conf file: /etc/astguiclient.conf
STARTING DATABASE TABLES UPDATES PHASE...
Updating servers table...
|1|UPDATE servers SET server_ip='MyIPAddress' where server_ip='10.10.100.139';|
..................
SERVER IP ADDRESS CHANGE FOR VICIDIAL FINISHED!
- process runtime (0 sec) (0 minutes)
----- USING LOCAL DATA FILES -----
1069
42456
Installing : goautodial-ce 180/191
GOautodial applications data not found. Installing data...
Installing GOautodial applications...
Installing : asterisk-perl 181/191
Installing : goautodial-ce-config 182/191
Configuring GoAutoDial system...
Can't open /etc/selinux/config: No such file or directory.
error reading information on service sendmail: No such file or directory
error reading information on service bluetooth: No such file or directory
error reading information on service firstboot: No such file or directory
error reading information on service gpm: No such file or directory
Cleanup : glibc 183/191
Cleanup : e2fsprogs 184/191
Cleanup : libgcc 185/191
Cleanup : glibc-common 186/191
Cleanup : zlib 187/191
Cleanup : krb5-libs 188/191
Cleanup : libstdc++ 189/191
Cleanup : e2fsprogs-libs 190/191
Cleanup : openssl 191/191
Installed:
goautodial-ce.noarch 0:3.0-1377576000 goautodial-ce-config.noarch 0:3.0-1369368000
Dependency Installed:
......
Dependency Updated:
......
Complete!
[root@call yum.repos.d]#
Thanks for your help.
Regards,
Alex
Replies (32)
RE: Goautodial 3.0 from scratch on Centos 5.8 updated to 5.9 - DAHDI won't install
-
Added by Wilper Necesario over 11 years ago
Hi Alex,
Try to install CentOS 5.9 64 bit this is recommended.
Cheers
q^_^p
RE: Goautodial 3.0 from scratch on Centos 5.8 updated to 5.9 - DAHDI won't install
-
Added by TWT Team over 11 years ago
I can't install Centos 5.9 64bit I can only upgrade from Centos 5.8 64bit
and I did both attempt with 32 and 64 bit the same issue
of kernel headers for kernel 2.6.18-308.1.1.el5 appears
seems that upgrade to 5.9 somehow maintains still connection to 5.8 kernel headers
Installing : dkms-dahdi 162/191
Creating symlink /var/lib/dkms/dahdi/2.6.1-1.go/source ->
/usr/src/dahdi-2.6.1-1.go
DKMS: add completed.
Error! echo
Your kernel headers for kernel 2.6.18-308.1.1.el5 cannot be found at
/lib/modules/2.6.18-308.1.1.el5/build or /lib/modules/2.6.18-308.1.1.el5/source.
Error! echo
Your kernel headers for kernel 2.6.18-308.1.1.el5 cannot be found at
/lib/modules/2.6.18-308.1.1.el5/build or /lib/modules/2.6.18-308.1.1.el5/source.
Installing : dahdi 163/191
:(
Does anyone know the reason why upgraded centos from 5.8 to 5.9 still
mantains connection to 5.8 kernel headers and how to solve the issue.
Thanks,
Alex
RE: Goautodial 3.0 from scratch on Centos 5.8 updated to 5.9 - DAHDI won't install
-
Added by Demian Biscocho over 11 years ago
Are you installing on a dedicated server or on a virtual server/machine?
RE: Goautodial 3.0 from scratch on Centos 5.8 updated to 5.9 - DAHDI won't install
-
Added by TWT Team over 11 years ago
Hi Demian,
Thanks for your reply.
It's on a VPS that I am trying to test it.
RE: Goautodial 3.0 from scratch on Centos 5.8 updated to 5.9 - DAHDI won't install
-
Added by Demian Biscocho over 11 years ago
That's where the issue lies. Depending on what kind of VPS it is, you might need to have the DAHDI modules installed in the host server itself. Alternately you can use VMware or Virtualbox VMs for testing purposes.
RE: Goautodial 3.0 from scratch on Centos 5.8 updated to 5.9 - DAHDI won't install
-
Added by TWT Team over 11 years ago
Thank you for your reply Demian.
I think that the issue is with upgrade of Centos from 5.8 to 5.9
since during the installation of Dahdi Goautodial 3.0 installation scripts
somehow are search for kernel headers of Centos 5.8
and not upgraded Centos 5.9 kernel headers that means that in upgraded Centos 5.9
all links were not updated If I had clue where to update those links in the OS it would be solved in my opinion.
The error I get during Goautodial installation:
Error! echo
Your kernel headers for kernel 2.6.18-308.1.1.el5 cannot be found at
/lib/modules/2.6.18-308.1.1.el5/build or /lib/modules/2.6.18-308.1.1.el5/source.
RE: Goautodial 3.0 from scratch on Centos 5.8 updated to 5.9 - DAHDI won't install
-
Added by Demian Biscocho over 11 years ago
You need to have the kernel-headers installed for the particular CentOS kernel. That's why you're have this message:
The error I get during Goautodial installation: Error! echo Your kernel headers for kernel 2.6.18-308.1.1.el5 cannot be found at /lib/modules/2.6.18-308.1.1.el5/build or /lib/modules/2.6.18-308.1.1.el5/source.
Install the kernel headers by running:
yum install kernel-headers -y
RE: Goautodial 3.0 from scratch on Centos 5.8 updated to 5.9 - DAHDI won't install
-
Added by TWT Team over 11 years ago
Following your instructions from
http://goautodial.org/projects/goautodialce/wiki/64bit
I do step 3
3. Update system
Command: yum -y update
Once update is finished I get Centos 5.8 is upgraded to 5.10 version:
Command: cat /etc/redhat-release
Output: CentOS release 5.10 (Final)
Then I follow your last instruction of:
Command: yum install kernel-headers -y
Output: Package kernel-headers-2.6.18-371.el5.i386 already installed and latest version Nothing to do
RE: Goautodial 3.0 from scratch on Centos 5.8 updated to 5.9 - DAHDI won't install
-
Added by Demian Biscocho over 11 years ago
You can manually compile and install DAHDI by:
cd /usr/src/dahdi make make install
Reboot your server and see if if loads properly on startup.
RE: Goautodial 3.0 from scratch on Centos 5.8 updated to 5.9 - DAHDI won't install
-
Added by TWT Team over 11 years ago
I get this error now
make
make -C drivers/dahdi/firmware firmware-loaders
make1: Entering directory `/usr/src/dahdi-2.6.1-1.go/drivers/dahdi/firmware'
make1: Leaving directory `/usr/src/dahdi-2.6.1-1.go/drivers/dahdi/firmware'
You do not appear to have the sources for the 2.6.18-308.1.1.el5 kernel installed.
make: *** [modules] Error 1
RE: Goautodial 3.0 from scratch on Centos 5.8 updated to 5.9 - DAHDI won't install
-
Added by Demian Biscocho over 11 years ago
What's the kernel version you are running? Type:
uname -r
Looks like you have multiple kernel version installed. Make sure you have the kernel-headers installed for your running kernel.
RE: Goautodial 3.0 from scratch on Centos 5.8 updated to 5.9 - DAHDI won't install
-
Added by TWT Team over 11 years ago
[root@call yum.repos.d]# uname -r
2.6.18-308.1.1.el5
RE: Goautodial 3.0 from scratch on Centos 5.8 updated to 5.9 - DAHDI won't install
-
Added by TWT Team over 11 years ago
Installing : dkms-dahdi 153/173
Creating symlink /var/lib/dkms/dahdi/2.6.1-1.go/source ->
/usr/src/dahdi-2.6.1-1.go
DKMS: add completed.
Error! echo
Your kernel headers for kernel 2.6.18-308.1.1.el5 cannot be found at
/lib/modules/2.6.18-308.1.1.el5/build or /lib/modules/2.6.18-308.1.1.el5/source.
Error! echo
Your kernel headers for kernel 2.6.18-308.1.1.el5 cannot be found at
/lib/modules/2.6.18-308.1.1.el5/build or /lib/modules/2.6.18-308.1.1.el5/source.
Installing : dahdi
RE: Goautodial 3.0 from scratch on Centos 5.8 updated to 5.9 - DAHDI won't install
-
Added by TWT Team over 11 years ago
[root@call yum.repos.d]# cat /etc/redhat-release
CentOS release 5.10 (Final)
RE: Goautodial 3.0 from scratch on Centos 5.8 updated to 5.9 - DAHDI won't install
-
Added by Demian Biscocho over 11 years ago
We have posted updates to our repository. Try running "yum update -y" again to apply the latest updates.
RE: Goautodial 3.0 from scratch on Centos 5.8 updated to 5.9 - DAHDI won't install
-
Added by TWT Team over 11 years ago
[root@call yum.repos.d]# yum update -y
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: ftp.osuosl.org
* extras: ftp.osuosl.org
* updates: centosc6.centos.org
Setting up Update Process
No Packages marked for Update
RE: Goautodial 3.0 from scratch on Centos 5.8 updated to 5.9 - DAHDI won't install
-
Added by TWT Team over 11 years ago
Installing : dkms-dahdi 153/173
Creating symlink /var/lib/dkms/dahdi/2.6.1-1.go/source ->
/usr/src/dahdi-2.6.1-1.go
DKMS: add completed.
Error! echo
Your kernel headers for kernel 2.6.18-308.1.1.el5 cannot be found at
/lib/modules/2.6.18-308.1.1.el5/build or /lib/modules/2.6.18-308.1.1.el5/source.
Error! echo
Your kernel headers for kernel 2.6.18-308.1.1.el5 cannot be found at
/lib/modules/2.6.18-308.1.1.el5/build or /lib/modules/2.6.18-308.1.1.el5/source.
Installing : dahdi
################
Is this happening only to me?
I've tried on two different VPS providers and I get the same error
www.digitalocean.com and www.dotblock.com
RE: Goautodial 3.0 from scratch on Centos 5.8 updated to 5.9 - DAHDI won't install
-
Added by Demian Biscocho over 11 years ago
Try deleting the yum cache and run "yum update" again.
rm /var/cache/yum/goautodial-* -rf yum update -y
RE: Goautodial 3.0 from scratch on Centos 5.8 updated to 5.9 - DAHDI won't install
-
Added by TWT Team over 11 years ago
[root@call ~]# rm /var/cache/yum/goautodial-* -rf
[root@call ~]# yum update -y
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: ftp.osuosl.org
* extras: ftp.osuosl.org
* updates: centosc6.centos.org
base | 1.1 kB 00:00
extras | 2.1 kB 00:00
goautodial-addons | 951 B 00:00
goautodial-addons/primary | 1.7 kB 00:00
goautodial-addons 2/2
goautodial-current | 951 B 00:00
goautodial-current/primary | 273 kB 00:00
goautodial-current 628/628
goautodial-updates | 951 B 00:00
goautodial-updates/primary | 40 kB 00:00
goautodial-updates 30/30
updates | 1.9 kB 00:00
Setting up Update Process
No Packages marked for Update
[root@call ~]#
RE: Goautodial 3.0 from scratch on Centos 5.8 updated to 5.9 - DAHDI won't install
-
Added by TWT Team over 11 years ago
Following striker 24x7 instruction on how to reinstall Dahdi didn't help
http://striker24x7.blogspot.in/2013/05/steps-to-reinstall-or-upgrade-dahdi.html
######################
[root@go dahdi-linux-complete-2.7.0.1+2.7.0.1]# uname -ra
Linux go.goautodial.org 2.6.18-371.1.2.el5.goPAE #1 SMP Mon Oct 28 20:03:50 EDT 2013 i686 athlon i386 GNU/Linux
######################
[root@go dahdi-linux-complete-2.7.0.1+2.7.0.1]# make clean
make C linux clean*.o
make1: Entering directory `/root/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux'
make -C drivers/dahdi/firmware clean
make2: Entering directory `/root/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux/dr ivers/dahdi/firmware'
rm -f dahdi-fw
make2: Leaving directory `/root/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux/dri vers/dahdi/firmware'
make -C /lib/modules/2.6.18-371.1.2.el5.goPAE/build M='/root/dahdi-linux-complet e-2.7.0.1+2.7.0.1/linux/drivers/dahdi/oct612x' clean
make: Entering an unknown directory
make: * /lib/modules/2.6.18-371.1.2.el5.goPAE/build: No such file or directory . Stop.
make: Leaving an unknown directory
make1: [clean] Error 2
make1: Leaving directory `/root/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux'
make: ** [clean] Error 2
######################
[root@go dahdi-linux-complete-2.7.0.1+2.7.0.1]# cat /etc/redhat-release
CentOS release 5.10 (Final)
######################
[root@go dahdi-linux-complete-2.7.0.1+2.7.0.1]# yum update -y
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: centos.schlundtech.de
* extras: centos.schlundtech.de
* updates: mirror.jgotteswinter.com
Skipping security plugin, no data
Setting up Update Process
No Packages marked for Update
RE: Goautodial 3.0 from scratch on Centos 5.8 updated to 5.9 - DAHDI won't install
-
Added by Demian Biscocho over 11 years ago
Can you post the output of:
rpm -qa | grep kernel
It looks like you don't have the "kernel-devel" package for your running kernel.
RE: Goautodial 3.0 from scratch on Centos 5.8 updated to 5.9 - DAHDI won't install
-
Added by TWT Team over 11 years ago
[root@go src]# rpm -qa | grep kernel
kernel-devel-2.6.18-371.1.2.el5
kernel-devel-2.6.18-348.12.1.el5.go
kernel-xen-devel-2.6.18-371.1.2.el5
kernel-PAE-2.6.18-348.12.1.el5.go
kernel-headers-2.6.18-371.1.2.el5
kernel-devel-2.6.18-371.1.2.el5.go
kernel-PAE-2.6.18-371.1.2.el5.go
kernel-PAE-devel-2.6.18-371.1.2.el5
You have new mail in /var/spool/mail/root
[root@go src]#
RE: Goautodial 3.0 from scratch on Centos 5.8 updated to 5.9 - DAHDI won't install
-
Added by Demian Biscocho over 11 years ago
You have the kernel-devel package installed for your running kernel. We tried replicating your issue by installing GOautodial CE 3.0 in a Virtualbox VM and doing a "yum update". We were able to successfully install DAHDI.
cd /usr/src/dahdi/ make make install
The error you have below:
make: * /lib/modules/2.6.18-371.1.2.el5.goPAE/build: No such file or directory . Stop. make: Leaving an unknown directory make1: [clean] Error 2 make1: Leaving directory `/root/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux' make: ** [clean] Error 2
Can be fixed by manually symlinking the proper directories:
ln -s /usr/src/kernels/2.6.18-371.1.2.el5.go-i686/ /lib/modules/2.6.18-371.1.2.el5.go/build ln -s /usr/src/kernels/2.6.18-371.1.2.el5.go-i686/ /lib/modules/2.6.18-371.1.2.el5.go/source
Reinstall DAHDI:
cd /usr/src/dahdi/ make make install
Let us know how it goes.
RE: Goautodial 3.0 from scratch on Centos 5.8 updated to 5.9 - DAHDI won't install
-
Added by TWT Team over 11 years ago
Hi Demian,
Thanks for your help.
I tried to follow your instructions:
[root@go /]# ln -s /usr/src/kernels/2.6.18-371.1.2.el5.go-i686/ /lib/modules/2.6.18-371.1.2.el5.go/build
ln: creating symbolic link `/lib/modules/2.6.18-371.1.2.el5.go/build' to `/usr/src/kernels/2.6.18-371.1.2.el5.go-i686/': No such file or directory
[root@go /]# ln -s /usr/src/kernels/2.6.18-371.1.2.el5.go-i686/ /lib/modules/2.6.18-371.1.2.el5.go/source
ln: creating symbolic link `/lib/modules/2.6.18-371.1.2.el5.go/source' to `/usr/src/kernels/2.6.18-371.1.2.el5.go-i686/': No such file or directory
I've checked content of /lib/modules/
[root@go /]# cd /lib/modules/
[root@go modules]# dir
2.6.18-348.12.1.el5.goPAE 2.6.18-371.1.2.el5.goPAE
Changing instruction to reflect my situation 2.6.18-371.1.2.el5.goPAE
[root@go modules]# ln -s /usr/src/kernels/2.6.18-371.1.2.el5.go-i686/ /lib/modules/2.6.18-371.1.2.el5.goPAE/build
ln: creating symbolic link `/lib/modules/2.6.18-371.1.2.el5.goPAE/build' to `/usr/src/kernels/2.6.18-371.1.2.el5.go-i686/': File exists
cd /usr/src/dahdi/
[root@go dahdi]# make
make -C drivers/dahdi/firmware firmware-loaders
make1: Entering directory `/usr/src/dahdi-2.6.1-1.go/drivers/dahdi/firmware'
make1: Leaving directory `/usr/src/dahdi-2.6.1-1.go/drivers/dahdi/firmware'
You do not appear to have the sources for the 2.6.18-371.1.2.el5.goPAE kernel installed.
make: *** [modules] Error 1
RE: Goautodial 3.0 from scratch on Centos 5.8 updated to 5.9 - DAHDI won't install
-
Added by Demian Biscocho over 11 years ago
Sorry, I didn't notice that you were running kernel-PAE.
[root@go dahdi-linux-complete-2.7.0.1+2.7.0.1]# uname -ra Linux go.goautodial.org 2.6.18-371.1.2.el5.goPAE #1 SMP Mon Oct 28 20:03:50 EDT 2013 i686 athlon i386 GNU/Linux
Install the kernel-PAE-devel package for your running kernel:
yum install kernel-PAE-devel
Then redo the DAHDI re-installation steps.