Moderators: enjay, williamconley, Staydog, mflorell, MJCoate, mcargile, Kumba
You need to select yes to the update option when it prompts.
Use SVN Code : y
Install Core DB : n
Install Web App : n
Install Telephony : y
- Additional Server : y
- Install Wanpipe : y
- Install Voicetime : n
If you plan to install and boot from a new kernel you will need
to recompile libPRI, DAHDI, Wanpipe, and Asterisk after installation.
The system will give you instructions as it progresses on certain key
combinations to enter for proper installation. This installer will
automatically pause at those instructions.
--- Press Enter to continue or CTRL-C to exit ---
Configuring general system
Configuring Firewall
Installing required PERL modules
|
Installing general requirements -Installing Telephony Server (This may take some time)
/
Installing Telephony Server (This may take some time)
|mkdir: cannot create directory `/var/lib/asterisk/quiet-mp3': File exists \
This server is about to connect to the database to configure it's server
entry in ViciDial. Please make sure that the Database server is installed
and that it is reachable from the dialer before continuing.
Please do not change the old server IP as it is the default value.
--- Press Enter to continue or CTRL-C to exit ---
CLI defined old server IP: 10.10.10.16
CLI defined server IP: 192.168.0.241
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...
|0E0|UPDATE servers SET server_ip='192.168.0.241' where server_ip='10.10.10.16';|
Updating phones table...
|0E0|UPDATE phones SET server_ip='192.168.0.241' where server_ip='10.10.10.16';|
Updating inbound_numbers table...
|0E0|UPDATE inbound_numbers SET server_ip='192.168.0.241' where server_ip='10.10.10.16';|
Updating server_updater table...
|0E0|UPDATE server_updater SET server_ip='192.168.0.241' where server_ip='10.10.10.16';|
Updating conferences table...
|0E0|UPDATE conferences SET server_ip='192.168.0.241' where server_ip='10.10.10.16';|
Updating vicidial_conferences table...
|0E0|UPDATE vicidial_conferences SET server_ip='192.168.0.241' where server_ip='10.10.10.16';|
Updating vicidial_stations table...
|0E0|UPDATE vicidial_stations SET server_ip='192.168.0.241' where server_ip='10.10.10.16';|
Updating vicidial_remote_agents table...
|0E0|UPDATE vicidial_remote_agents SET server_ip='192.168.0.241' where server_ip='10.10.10.16';|
Updating phone_favorites table...
|0E0|UPDATE phone_favorites SET server_ip='192.168.0.241' where server_ip='10.10.10.16';|
Updating vicidial_server_trunks table...
|0E0|UPDATE vicidial_server_trunks SET server_ip='192.168.0.241' where server_ip='10.10.10.16';|
Updating vicidial_server_carriers table...
|0E0|UPDATE vicidial_server_carriers SET server_ip='192.168.0.241' where server_ip='10.10.10.16';|
Updating vicidial_inbound_dids table...
|0E0|UPDATE vicidial_inbound_dids SET server_ip='192.168.0.241' where server_ip='10.10.10.16';|
Updating vicidial_process_triggers table...
|0E0|UPDATE vicidial_process_triggers SET server_ip='192.168.0.241' where server_ip='10.10.10.16';|
Setting servers to rebuild conf files...
|1|UPDATE servers SET rebuild_conf_files='Y' where generate_vicidial_conf='Y' and active_asterisk_server='Y';|
SERVER IP ADDRESS CHANGE FOR VICIDIAL FINISHED!
- process runtime (0 sec) (0 minutes)
If the server was updated successfully, you should see it listed in your
ViciDial admin interface with the corrected IP that you entered. Please make
sure this server has a unique name so that it won't conflict with any other
ViciDial servers before continuing.
--- Press Enter to continue or CTRL-C to exit ---
You have new mail in /var/mail/root
dialer1:~ #
i don't suppose you still have that screen available?Trying wrote:Sorry, yes I only used the IP address and left the username and password the defaults.
# The IP address of this machine
VARserver_ip => 192.168.0.241
# Database connection information
VARDB_server => 192.168.0.236
VARDB_database => asterisk
VARDB_user => cron
VARDB_pass => 1234
VARDB_custom_user => custom
VARDB_custom_pass => custom1234
VARDB_port => 3306
and this?williamconley wrote:i don't suppose you still have that screen available?Trying wrote:Sorry, yes I only used the IP address and left the username and password the defaults.
I've installed many times and Never update the OS (reflex: that function used to crash the install! LOL). But I always get latest SVN. Are you sure that was the only difference? (Have you tried not updating the OS again to see if that breaks SVN again?)Trying wrote:One problem is sorted. When I installed this time I chose to upgrade the OS. Then only does it download the latest SVN as well.
By default, all new installs of ViciBox have the firewall enabled.
You will either need to disable the firewall or open up ports in order to do
multi-server configurations or access services externally. Unless this server
is going to be directly connected to the internet we recommend disabling the
firewall.
Would you like to turn the built-in firewall off? (y/N) : y
ViciDial currently has two standard codebases. Version 2.2.1 is the latest
stable release of the software. There is also the SVN Trunk branch which
includes any new features and/or bugfixes. Any custom development or other
bug fixes done after the last stable release will be in SVN Trunk. We
normally recommend our customers use the SVN Trunk code base.
Do you want to use the SVN Trunk codebase? (y/N) : y
ViciBox can be installed in varying rolls depending upon your needs.
The following questions will ask you what role this particular server
is to play within your environment. If this server is NOT acting as the
DataBase then you need to wait until the Database server is up and
properly provisioned. This install WILL FAIL if the database is not
installed and provisioned prior to this installation. Please have the
DataBase IP available to complete the install.
Will this server be used as the Database? (y/N) : n
Will this server be used as a Web server? (y/N) : n
Will this server be used as a Telephony server? (y/N) : y
---> Is this an additional telephony server in a cluster? (y/N) : y
---> Do you have a Sangoma T1/E1 card installed? (y/N) : y
Your ViciBox Redux system will be configured as follows:
OS Update : y
Stop Firewall : y
Use SVN Code : y
Install Core DB : n
Install Web App : n
Install Telephony : y
- Additional Server : y
- Install Wanpipe : y
- Install Voicetime : n
If you plan to install and boot from a new kernel you will need
to recompile libPRI, DAHDI, Wanpipe, and Asterisk after installation.
The system will give you instructions as it progresses on certain key
combinations to enter for proper installation. This installer will
automatically pause at those instructions.
Updating SVN
Updating OS
/
Updating PERL modules (This may take some time)
\
Installing general requirements
Installing Telephony Server (This may take some time)
/no crontab for root \
CLI defined webroot path: /srv/www/htdocs
CLI active keepalive procs: 123468
CLI copy conf files: YES
Would you like to use manual configuration and installation(y/n): [y]
STARTING ASTGUICLIENT MANUAL CONFIGURATION PHASE...
astguiclient home path or press enter for default: [/usr/share/astguiclient]
/usr/share/astguiclient does not exist, would you like me to create it?(y/n) [y]
/usr/share/astguiclient directory created
astguiclient logs path or press enter for default: [/var/log/astguiclient]
/var/log/astguiclient does not exist, would you like me to create it?(y/n) [y]
/var/log/astguiclient directory created
asterisk agi-bin path or press enter for default: [/var/lib/asterisk/agi-bin]
server webroot path or press enter for default: [/srv/www/htdocs]
asterisk sounds path or press enter for default: [/var/lib/asterisk/sounds]
asterisk monitor path or press enter for default: [/var/spool/asterisk/monitor]
asterisk DONEmonitor path or press enter for default: [/var/spool/asterisk/monitorDONE]
server IP address or press enter for default: [192.168.0.241]
DB server address or press enter for default: [localhost] 192.168.0.236
DB database name or press enter for default: [asterisk]
DB user login or press enter for default: [cron]
DB user password or press enter for default: [1234]
DB custom user login or press enter for default: [custom]
DB custom password login or press enter for default: [custom1234]
DB connection port or press enter for default: [3306]
Numeric list of the astGUIclient processes to be kept running
(value should be listing of characters with no spaces: 123456)
X - NO KEEPALIVE PROCESSES (use only if you want none to be keepalive)
1 - AST_update
2 - AST_send_listen
3 - AST_VDauto_dial
4 - AST_VDremote_agents
5 - AST_VDadapt (If multi-server system, this must only be on one server)
6 - FastAGI_log
7 - AST_VDauto_dial_FILL (only for multi-server, this must only be on one server)
8 - ip_relay (used for blind agent monitoring)
9 - Timeclock auto logout
Enter active keepalives or press enter for default: [123468]
Enter the Asterisk version that you are installing VICIDIAL for
(value should be listing of characters with no spaces: 123456)
1.2
1.4
Enter asterisk version or press enter for default: [1.4]
Copy sample configuration files to /etc/asterisk/ ? [y]
FTP host address or press enter for default: [10.0.0.4] 192.168.0.237
FTP user login or press enter for default: [cron] archive
FTP user password or press enter for default: [test] Cancer4139#
FTP connection port or press enter for default: [21]
FTP directory or press enter for default: [RECORDINGS]
HTTP path for archive or press enter for default: [http://10.0.0.4] 192.168.0.237
REPORT host address or press enter for default: [10.0.0.4] http://192.168.0.237
REPORT user login or press enter for default: [cron] archive
REPORT user password or press enter for default: [test] Cancer4139#
REPORT connection port or press enter for default: [21]
REPORT directory or press enter for default: [REPORTS]
FastAGI log minimum child servers: [3]
FastAGI log maximum child servers: [16]
FastAGI log minimum spare child servers: [2]
FastAGI log maximum spare child servers: [8]
FastAGI log maximum requests per child server: [1000]
FastAGI log check-for-dead seconds: [30]
FastAGI log check-for-wait seconds: [60]
defined home path: /usr/share/astguiclient
defined logs path: /var/log/astguiclient
defined agi-bin path: /var/lib/asterisk/agi-bin
defined webroot path: /srv/www/htdocs
defined sounds path: /var/lib/asterisk/sounds
defined monitor path: /var/spool/asterisk/monitor
defined DONEmonitor path: /var/spool/asterisk/monitorDONE
defined server_ip: 192.168.0.241
defined DB_server: 192.168.0.236
defined DB_database: asterisk
defined DB_user: cron
defined DB_pass: 1234
defined DB_custom_user: custom
defined DB_custom_pass: custom1234
defined DB_port: 3306
defined active_keepalives: 123468
defined asterisk_version: 1.4
defined copying conf files: y
defined FTP_host: 192.168.0.237
defined FTP_user: archive
defined FTP_pass: Cancer4139#
defined FTP_port: 21
defined FTP_dir: RECORDINGS
defined HTTP_path: 192.168.0.237
defined REPORT_host: http://192.168.0.237
defined REPORT_user: archive
defined REPORT_pass: Cancer4139#
defined REPORT_port: 21
defined REPORT_dir: REPORTS
defined fastagi_log_min_servers: 3
defined fastagi_log_max_servers: 16
defined fastagi_log_min_spare_servers: 2
defined fastagi_log_max_spare_servers: 8
defined fastagi_log_max_requests: 1000
defined fastagi_log_checkfordead: 30
defined fastagi_log_checkforwait: 60
Are these settings correct?(y/n): [y]
Writing to astguiclient.conf file: /etc/astguiclient.conf
STARTING ASTGUICLIENT INSTALLATION PHASE...
Creating /usr/share/astguiclient/LEADS_IN directories...
Creating /var/spool/asterisk/monitor directories...
Creating /var/log/astguiclient/archive directory for backups...
Copying bin scripts to /usr/share/astguiclient ...
Copying libs to /usr/share/astguiclient ...
setting cron scripts to executable...
Copying extras files to /usr/share/astguiclient ...
Copying agi-bin scripts to /var/lib/asterisk/agi-bin ...
setting agi-bin scripts to executable...
Copying sounds to /var/lib/asterisk/sounds...
Copying ip_relay scripts to /usr/share/astguiclient...
Setting ip_relay scripts to executable...
Starting ip_relay port forwarding for IAX on 40569 and 41569
Creating /srv/www/htdocs web directories...
Copying web files...
setting web scripts to executable...
Copying sample conf files to /etc/asterisk/...
Creating auto-generated placeholder conf files in /etc/asterisk/...
ASTGUICLIENT INSTALLATION FINISHED! ENJOY!
- process runtime (774 sec) (12.9 minutes)
This server is about to connect to the database to configure it's server
entry in ViciDial. Please make sure that the Database server is installed
and that it is reachable from the dialer before continuing.
Please do not change the old server IP as it is the default value.
--- Press Enter to continue or CTRL-C to exit ---
CLI defined old server IP: 10.10.10.16
CLI defined server IP: 192.168.0.241
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...
|0E0|UPDATE servers SET server_ip='192.168.0.241' where server_ip='10.10.10.16';|
Updating phones table...
|0E0|UPDATE phones SET server_ip='192.168.0.241' where server_ip='10.10.10.16';|
Updating inbound_numbers table...
|0E0|UPDATE inbound_numbers SET server_ip='192.168.0.241' where server_ip='10.10.10.16';|
Updating server_updater table...
|0E0|UPDATE server_updater SET server_ip='192.168.0.241' where server_ip='10.10.10.16';|
Updating conferences table...
|0E0|UPDATE conferences SET server_ip='192.168.0.241' where server_ip='10.10.10.16';|
Updating vicidial_conferences table...
|0E0|UPDATE vicidial_conferences SET server_ip='192.168.0.241' where server_ip='10.10.10.16';|
Updating vicidial_stations table...
|0E0|UPDATE vicidial_stations SET server_ip='192.168.0.241' where server_ip='10.10.10.16';|
Updating vicidial_remote_agents table...
|0E0|UPDATE vicidial_remote_agents SET server_ip='192.168.0.241' where server_ip='10.10.10.16';|
Updating phone_favorites table...
|0E0|UPDATE phone_favorites SET server_ip='192.168.0.241' where server_ip='10.10.10.16';|
Updating vicidial_server_trunks table...
|0E0|UPDATE vicidial_server_trunks SET server_ip='192.168.0.241' where server_ip='10.10.10.16';|
Updating vicidial_server_carriers table...
|0E0|UPDATE vicidial_server_carriers SET server_ip='192.168.0.241' where server_ip='10.10.10.16';|
Updating vicidial_inbound_dids table...
|0E0|UPDATE vicidial_inbound_dids SET server_ip='192.168.0.241' where server_ip='10.10.10.16';|
Updating vicidial_process_triggers table...
|0E0|UPDATE vicidial_process_triggers SET server_ip='192.168.0.241' where server_ip='10.10.10.16';|
Setting servers to rebuild conf files...
|1|UPDATE servers SET rebuild_conf_files='Y' where generate_vicidial_conf='Y' and active_asterisk_server='Y';|
SERVER IP ADDRESS CHANGE FOR VICIDIAL FINISHED!
- process runtime (1 sec) (0.0166666666666667 minutes)
If the server was updated successfully, you should see it listed in your
ViciDial admin interface with the corrected IP that you entered. Please make
sure this server has a unique name so that it won't conflict with any other
ViciDial servers before continuing.
dialer1:~ # mysql -h 192.168.0.236 -u cron -p1234
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 10632
Server version: 5.1.46-log SUSE MySQL RPM
Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL v2 license
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql>
From root@db1.affinity.co.za Thu Nov 11 23:33:01 2010
Return-Path: <root@db1.affinity.co.za>
X-Original-To: root
Delivered-To: root@db1.affinity.co.za
Received: by db1.affinity.co.za (Postfix, from userid 0)
id CA7F0B46289; Thu, 11 Nov 2010 23:33:01 +0200 (SAST)
From: root@db1.affinity.co.za
To: root@db1.affinity.co.za
Subject: Cron <root@db1> /usr/share/astguiclient/ADMIN_keepalive_ALL.pl
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=root>
X-Cron-Env: <USER=root>
Message-Id: <20101111213301.CA7F0B46289@db1.affinity.co.za>
Date: Thu, 11 Nov 2010 23:33:01 +0200 (SAST)
DBD::mysql::st execute failed: Unknown column 'generate_cross_server_exten' in 'field list' at /usr/share/astguiclient/ADMIN_keepalive_ALL.pl line 858.
executing: SELECT sounds_central_control_active,active_voicemail_server,custom_dialplan_entry,default_codecs,generate_cross_server_exten FROM system_settings; Unknown column 'generate_cross_server_exten' in 'field list' at /usr/share/astguiclient/ADMIN_keepalive_ALL.pl line 858.
From root@db1.affinity.co.za Thu Nov 11 23:34:01 2010
From root@dialer1.affinity.co.za Thu Nov 11 22:53:02 2010
Return-Path: <root@dialer1.affinity.co.za>
X-Original-To: root
Delivered-To: root@dialer1.affinity.co.za
Received: by dialer1.affinity.co.za (Postfix, from userid 0)
id B32C87E8B75; Thu, 11 Nov 2010 22:53:02 +0200 (SAST)
From: root@dialer1.affinity.co.za
To: root@dialer1.affinity.co.za
Subject: Cron <root@dialer1> /usr/share/astguiclient/ADMIN_keepalive_ALL.pl
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=root>
X-Cron-Env: <USER=root>
Message-Id: <20101111205302.B32C87E8B75@dialer1.affinity.co.za>
Date: Thu, 11 Nov 2010 22:53:02 +0200 (SAST)
DBD::mysql::st execute failed: Unknown column 'generate_cross_server_exten' in 'field list' at /usr/share/astguiclient/ADMIN_keepalive_ALL.pl line 858.
executing: SELECT sounds_central_control_active,active_voicemail_server,custom_dialplan_entry,default_codecs,generate_cross_server_exten FROM system_settings; Unknown column 'generate_cross_server_exten' in 'field list' at /usr/share/astguiclient/ADMIN_keepalive_ALL.pl line 858.
From root@dialer1.affinity.co.za Thu Nov 11 22:54:01 2010
Return to ViciBox Server Install and Demo
Users browsing this forum: No registered users and 45 guests