mysql on a separate server

All installation and configuration problems and questions

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

mysql on a separate server

Postby u_gots_2_go » Tue Feb 26, 2008 9:55 pm

I am trying to put mysql database on a separate server behind firewall... and I am having issues :(

I set up separate OpenSuSE box with mysql. Backed up database from asterisk/vidial server and restored it to this new box. Gave all permissions to public. I can log into the server from console and select/insert/update/delete records... but vicidial is not autodialing. At first it complained by sending some mail (before I granted permissions), but now there are no errors, but it still don't work.

I changed database connection settings in /etc/astguiclient.conf.

Dunno what else I need to do... Please help.

TJ
u_gots_2_go
 
Posts: 9
Joined: Thu Jan 31, 2008 2:07 pm

Postby Op3r » Tue Feb 26, 2008 11:05 pm

Did you also changed the ip on the asterisk database?

Did you check if your server time synced?
Get paid for US outbound Toll Free calls. PM me.
Op3r
 
Posts: 1432
Joined: Wed Jun 07, 2006 7:53 pm
Location: Manila

Postby u_gots_2_go » Wed Feb 27, 2008 4:33 pm

OK, it works! 8)

Last night I saw someone's post with similar context and they fixed it by installing ntpd service. I thought to myself, Ya, whatever, I am gonna try it, but it probably won't help.

I set up NTP on both servers and made them sync to my router. BOOM! Everything started working! :D

Op3r, could you explain why that happens? I vaguely remember reading something that if 2 linux pcs' times differ by more than certain amount, bad things will happen.

TJ
u_gots_2_go
 
Posts: 9
Joined: Thu Jan 31, 2008 2:07 pm

Postby u_gots_2_go » Wed Feb 27, 2008 4:35 pm

Op3r wrote:Did you also changed the ip on the asterisk database?


You mean IP address of the mysql server in astguiclient.conf? Or is it something I have to change in the database? Which table?

TJ
u_gots_2_go
 
Posts: 9
Joined: Thu Jan 31, 2008 2:07 pm

Postby aster1 » Thu Feb 28, 2008 2:04 pm

there is a script in /usr/share/astguiclient with name of ADMIN_update_server_ip or something like that .. run that and follow prompts, it will do the work for you .
aster1
 
Posts: 281
Joined: Sun Dec 24, 2006 6:48 am
Location: India


Return to Support

Who is online

Users browsing this forum: No registered users and 74 guests