Page 1 of 1

New webserver broke Sounds server

PostPosted: Fri Apr 12, 2013 10:20 am
by KeithHBW
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

Re: New webserver broke Sounds server

PostPosted: Fri Apr 12, 2013 7:46 pm
by williamconley
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 :)

Re: New webserver broke Sounds server

PostPosted: Sat Apr 13, 2013 10:00 pm
by KeithHBW
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.

Re: New webserver broke Sounds server

PostPosted: Sun Apr 14, 2013 10:07 pm
by williamconley
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. :)

Re: New webserver broke Sounds server

PostPosted: Thu Apr 18, 2013 10:59 am
by KeithHBW
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