Project

General

Profile

Goautodial 3.0 from scratch on Centos 5.8 updated to 5.9 - DAHDI won't install

Added by TWT Team over 10 years ago

Hi All,

I have an issue installing Goautodial 3.0 32bit on hosted server
my 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
  1. yum list updates
  2. 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 TWT Team over 10 years ago

[root@go ~]# yum install kernel-PAE-devel
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile * base: centos.mirror.linuxwerk.com * extras: mirror.netcologne.de * updates: centos.schlundtech.de
Setting up Install Process
Package kernel-PAE-devel-2.6.18-371.1.2.el5.i686 already installed and latest version
Nothing to do

[root@go ~]# 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

RE: Goautodial 3.0 from scratch on Centos 5.8 updated to 5.9 - DAHDI won't install - Added by Demian Biscocho over 10 years ago

You need to have the kernel-PAE-devel associated with your running kernel installed.

[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

Something is definitely wrong with your server. I'd recommend installing and testing in a virtual machine like Virtualbox or VMware. Kernel-PAE-2.6.18-371.1.2.el5.go should have kernel-PAE-devel-2.6.18-371.1.2.el5.go.

RE: Goautodial 3.0 from scratch on Centos 5.8 updated to 5.9 - DAHDI won't install - Added by Jurdan Escobedo about 10 years ago

I find the solutions here: https://www.digitalocean.com/community/questions/asterisk-with-kernel-devel

i search google for this string: kernel-devel 2.6.18-308.1.1.el5

then i went to this website: http://rpm.pbone.net/index.php3/stat/4/idpl/18035832/dir/scientific_linux_5/com/kernel-devel-2.6.18-308.1.1.el5.i686.rpm.html

I chose this link to download ftp://ftp.pbone.net/mirror/ftp.scientificlinux.org/linux/scientific/58/i386/SL/kernel-devel-2.6.18-308.1.1.el5.i686.rpm

I went to /usr/src/dahdi then issued "rpm -ivh ftp://ftp.pbone.net/mirror/ftp.scientificlinux.org/linux/scientific/58/i386/SL/kernel-devel-2.6.18-308.1.1.el5.i686.rpm

at first it says the newer kernel is installed already and so it didn't install. But what I did was issue a yum remove command of that existing kernel-devel on the current system, after it uninstalled that newer version kernel, I repeated the "rpm -ivh ftp://ftp.pbone.net/mirror/ftp.scientificlinux.org/linux/scientific/58/i386/SL/kernel-devel-2.6.18-308.1.1.el5.i686.rpm" and it installed succefully.

then i went back to /usr/src/dahdi, issued the make and make install command, and wala!!! dahdi installed! after i rebooted my goautodial install is working perfectly at digital ocean vps.

btw I followed this steps: http://asteriskonvps.com/how-to-install-vicidial-on-goautodial-in-centos-5/

RE: Goautodial 3.0 from scratch on Centos 5.8 updated to 5.9 - DAHDI won't install - Added by Emmanuel Dubuc over 8 years ago

Hi,

If you are using DigitalOcean you need to update your kernel in Settings > Kernel

(26-32/32) Go to top