Installing Vicidial following the SCRATCH INSTALLATION guide

All installation and configuration problems and questions

Moderators: Kumba, mflorell, williamconley, enjay, Michael_N, Staydog, gardo, Op3r, gerski, mcargile

Installing Vicidial following the SCRATCH INSTALLATION guide

Postby najim_mdn » Wed Jan 27, 2010 1:25 am

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.
najim_mdn
 
Posts: 19
Joined: Tue Jan 26, 2010 8:26 am

Postby najim_mdn » Wed Jan 27, 2010 2:08 am

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. :?:
najim_mdn
 
Posts: 19
Joined: Tue Jan 26, 2010 8:26 am

Postby najim_mdn » Wed Jan 27, 2010 2:31 am

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
najim_mdn
 
Posts: 19
Joined: Tue Jan 26, 2010 8:26 am

Postby raysolomon » Wed Jan 27, 2010 3:09 am

According to mflorell you should only be using Ubuntu 8.04 or OpenSuSE 11

http://www.vicidial.org/VICIDIALforum/v ... 9940#39938
Scratch Install for CentOS
http://ray-solomon.com/vicidial.html

SVN: 2052
VERSION: 2.8-420a
BUILD: 131210-1741
Asterisk: 1.8.23.0-vici
CentOS 6.5 64-bit
Kernel: 2.6.32-431.1.2.0.1.el6.x86_64
SIP & ulaw
Xeon 3470
HDD 500GB RAID 1
RAM 4GB
30 agents max
raysolomon
 
Posts: 95
Joined: Fri Jan 08, 2010 9:02 pm
Location: Phoenix, Arizona

Postby najim_mdn » Wed Jan 27, 2010 4:02 am

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..?? :?:
najim_mdn
 
Posts: 19
Joined: Tue Jan 26, 2010 8:26 am

thanks

Postby brett05 » Wed Jan 27, 2010 4:39 am

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
Jasperreports & Queuemetrics & SugarCRM integration - Customization and Add-ons
Freepbx||Billing||Centos||Opensuse||Debian||Centos||Fedora||Sangoma||Diguim
brett05
 
Posts: 571
Joined: Sun May 24, 2009 5:48 pm
Location: tunisia

Postby mflorell » Wed Jan 27, 2010 7:19 am

I think the guide you are using is almost 2 years old...
mflorell
Site Admin
 
Posts: 13869
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby gardo » Wed Jan 27, 2010 12:15 pm

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.
GOautodial powered services:
http://justgovoip.com - VoIP termination/origination
http://justgocloud.com - On-demand cloud call center
gardo
 
Posts: 1867
Joined: Fri Sep 15, 2006 10:24 am
Location: Manila, 1004

Postby raysolomon » Wed Jan 27, 2010 3:33 pm

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.
Last edited by raysolomon on Thu Jan 28, 2010 12:12 am, edited 1 time in total.
Scratch Install for CentOS
http://ray-solomon.com/vicidial.html

SVN: 2052
VERSION: 2.8-420a
BUILD: 131210-1741
Asterisk: 1.8.23.0-vici
CentOS 6.5 64-bit
Kernel: 2.6.32-431.1.2.0.1.el6.x86_64
SIP & ulaw
Xeon 3470
HDD 500GB RAID 1
RAM 4GB
30 agents max
raysolomon
 
Posts: 95
Joined: Fri Jan 08, 2010 9:02 pm
Location: Phoenix, Arizona

Postby mflorell » Wed Jan 27, 2010 5:26 pm

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.
mflorell
Site Admin
 
Posts: 13869
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to Support

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], Yahoo [Bot] and 3 guests