Page 1 of 1

Installing Vicidial following the SCRATCH INSTALLATION guide

PostPosted: Wed Jan 27, 2010 1:25 am
by najim_mdn
Hello,
I am trying to install install Vicidial following the Scratch Installation Guide
Asterisk/astguiclient install from scratch. By the VICIDIAL group

My installation is going on right now. Hope everything goes fine. I have made some minor changes from the guide, mainly due to unavailibility of certain packages, which i shall post here. In case I make a mistake please do let know..
Thanks.

PostPosted: Wed Jan 27, 2010 2:08 am
by najim_mdn
Phase1
Used Ultimate Boot CD 4.1, Slackware version is 13.0
Installation went fine.

Phase2
My linux kernal version 2.6.29.6 . So i carried on with Option 2.

Step 4
Code: Select all
make menu config

There was a little difference in the menu.. still managed fine with a change in
that. I did not enable high memory () as my RAM is 2GB (which is lesser than 4GB)

Phase3
SUBPHASE 3.1: MySQL requirements
Had certain issues here

As mysql-5.0.67 was not available , used an updated version mysql-5.0.88

Code: Select all
scripts/mysql_install_db

Could not find mysql_install_db at that mentioned location. Located the file at /usr/bin.
Code: Select all
/usr/bin/mysql_install_db
worked. was that fine?? :?:

Code: Select all
chgrp -R mysql /usr/local/mysql

Did not work. i left it out there. :?:

Code: Select all
/usr/local/mysql/bin/mysqld_safe --user=mysql --skip-name-resolve --skip-host-cache &

did not work as mysqld_safe was not available at that location. Located it at /usr/bin
Changed the code to
Code: Select all
/usr/bin/mysqld_safe --user=mysql --skip-name-resolve --skip-host-cache &

It returned this message
root@tcsystems:/usr/local/mysql-5.0.88# nohup: ignoring input and redirecting stderr to stdout
Starting mysqld daemon with databases from /var/lib/mysql
STOPPING server from pid file /var/lib/mysql/tcsystems.pid
100125 20:21:21 mysqld ended


[1]+ Done /usr/bin/mysqld_safe --user=mysql --skip-name-resolve --skip-host-cache


Could not find the line
Code: Select all
max_connections = 200

in /etc/my.cnf . i appended that line to the end of the file. :?:

PostPosted: Wed Jan 27, 2010 2:31 am
by najim_mdn
SUBPHASE 3.2: Installing Perl Modules
It went fine.

SUBPHASE 3.3: Installing other utilities
Step 6, installation of iftop, returned this message :?:
root@tcsystems:/usr/local/iftop-0.17# iftop
interface: eth1
Unable to get IP address for interface: eth1
ioctl(SIOCGIFADDR): Cannot assign requested address
MAC address is: xx:xx:xx:xx:xx:xx
pcap_open_live(eth1): eth1: That device is not up


Step7, Did not do this part.. :?:
NOTE: uncomment these lines to compile on systems without X11(v232):
NOXFLAG = -DNOX11
XLIBS =
XOBJ =
NOTE: for the graphics to work on the AST_server_performance page you will
need the 'pl' script to be linked or copied into your htdocs/vicidial/ploticus directory
NOTE: you may need to edit the Makefile for ploticus if you do not have X11

PostPosted: Wed Jan 27, 2010 3:09 am
by raysolomon
According to mflorell you should only be using Ubuntu 8.04 or OpenSuSE 11

http://www.vicidial.org/VICIDIALforum/v ... 9940#39938

PostPosted: Wed Jan 27, 2010 4:02 am
by najim_mdn
Is it so..?? :shock: but i thought Vicidial Group recommended SLACKWARE. The guide that i am following says it is by the ViciDial Group.

Asterisk/astguiclient install from scratch. v.2.0.5 2009-04-03
By the VICIDIAL group


Now will i have to start it all over again..?? :?:

thanks

PostPosted: Wed Jan 27, 2010 4:39 am
by brett05
SLACKWARE is good but i recomend the use of debian and ubuntu server or opensuse 11.1
avoid centos ,and for the scratch install for each os you can use the autocd instalaltion as vicibox or vicibox redux for opensuse if you not familiarize with linux command .
why you search in every where and they are all doc in svn doc folder try to see them all scratch install is avaible

PostPosted: Wed Jan 27, 2010 7:19 am
by mflorell
I think the guide you are using is almost 2 years old...

PostPosted: Wed Jan 27, 2010 12:15 pm
by gardo
Looks like it badly needs an update. :D

Any Linux distribution can be used to install Vicidial. Be it Slakware, Ubuntu, CentOS, Gentoo and others. As long as the proper prerequisites are available and you know what you're doing you can have Vicidial up and running and on production on different distributions.

What's important is that the system is stable and working properly.

PostPosted: Wed Jan 27, 2010 3:33 pm
by raysolomon
I installed vicidial on CentOS with all the proper prerequisites and ran into one weird issue and asked for help on this forum, but mflorell said to not use CentOS. Being a programmer and server admin as my job, I thought knew what I was doing

http://download.vicidial.com/centos/README

Point is, if you use another OS besides Ubuntu 8.04 or OpenSuse 11, then don't expect to get much help from these forums.

PostPosted: Wed Jan 27, 2010 5:26 pm
by mflorell
I would say it's a bit unfair to say you won't receive any help. We have scripts for CentOS installs that we have published because we do have clients occasionally that we have to support on CentOS. Not surprisingly those are the systems that tend to have the most problems and take the longest to install properly.

With ViciBox(Ubuntu or OpenSuSE versions), or ViciDialNow(fork of CentOS) you can have a trouble-free install of ViciDial in about an hour without having to do much. At this point we don't really do installs on other OSs because we know how to install a trouble-free system quickly now, and we do it hundreds of times a year.