New webserver broke Sounds server

All installation and configuration problems and questions

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

New webserver broke Sounds server

Postby KeithHBW » Fri Apr 12, 2013 10:20 am

I swapped the old webserver we had with a new server and found that this broke my central sound server. What are some steps I can use to bring the new webserver up as the sound server? I have done the following so far:
On the new webserver:
mkdir sdligoi234t#!#$%dklsjgkld
chmod 777 sdligoi234t#!#$%dklsjgkld

I attempted to do:
/usr/share/astguiclient/ADMIN_audio_store_sync.pl --upload
But I get: Audio Sync Settings not active, Exiting

I looked at the potential causes:
sounds_central_control_active < 1 ? It is 1
active_asterisk_server !~ /Y/ ? I made a new entry in Admin->Servers for it, set it to Y
settings_override < 1 ? Not sure about this one, I tried to run the command with --settings_override=1
Vicibox 7.0.1 from .iso | Vicidial 2.12b0.5 Build 160122-1401 | Asterisk 11.21.0-vici | Cluster | No Digium/Sangoma Hardware | No Extra Software After Installation | [Six Core CPU] Intel Xeon E5-2640 @ 2.50GHz
KeithHBW
 
Posts: 104
Joined: Fri Jan 13, 2012 12:58 pm

Re: New webserver broke Sounds server

Postby williamconley » Fri Apr 12, 2013 7:46 pm

1) define "broke my central sound server". i'm pretty sure it does not come up on the web gui with an "under construction" signpost ... so what exactly do you mean? (aside from the not active response ... is there anything else not working?)

2) did you modify the IP/FQDN under Admin->System settings to show the new IP/Domain name of the new server? It may just be the the new server does not believe it is the sound server.

3) You may want to describe how you "swapped" out the old server. It may be a good idea to add a new server to the cluster via the new vicibox installer (be sure to match the svn revision precisely), if that is not what you did.

Hope I helped :)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: New webserver broke Sounds server

Postby KeithHBW » Sat Apr 13, 2013 10:00 pm

I built a new webserver and took out the old one and added the new one to the cluster. It has the same IP address as the old one. When it was built I may not have had it set itself as the sound server during the vicidial install process (not sure). By broke I mean nothing comes up when I select choose audio for sounds.
Vicibox 7.0.1 from .iso | Vicidial 2.12b0.5 Build 160122-1401 | Asterisk 11.21.0-vici | Cluster | No Digium/Sangoma Hardware | No Extra Software After Installation | [Six Core CPU] Intel Xeon E5-2640 @ 2.50GHz
KeithHBW
 
Posts: 104
Joined: Fri Jan 13, 2012 12:58 pm

Re: New webserver broke Sounds server

Postby williamconley » Sun Apr 14, 2013 10:07 pm

KeithHBW wrote:I built a new webserver and took out the old one and added the new one to the cluster. It has the same IP address as the old one. When it was built I may not have had it set itself as the sound server during the vicidial install process (not sure). By broke I mean nothing comes up when I select choose audio for sounds.

next time, instead of recycling the IP address ... try actually adding a new web server using the Vicibox installer to add a server to the cluster. With a new IP and proper settings it should perform all the necessary tasks. Although you may still need to modify system settings to the new machine, copy all the old files to the new machine, and possibly even create the folder to put them in. but i would definitely explore the use of the tool provided by Kumba before I did anything else were I doing it. :)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: New webserver broke Sounds server

Postby KeithHBW » Thu Apr 18, 2013 10:59 am

Was a dumb mistake, after debugging through /usr/share/astguiclient/ADMIN_audio_store_sync.pl I found that the server ip wasn't set correctly in /etc/astguiclient.conf
Vicibox 7.0.1 from .iso | Vicidial 2.12b0.5 Build 160122-1401 | Asterisk 11.21.0-vici | Cluster | No Digium/Sangoma Hardware | No Extra Software After Installation | [Six Core CPU] Intel Xeon E5-2640 @ 2.50GHz
KeithHBW
 
Posts: 104
Joined: Fri Jan 13, 2012 12:58 pm


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 108 guests