2 server setup
Posted: Wed Jul 07, 2010 9:18 am
I have this working with a different server, but for some reason, this new server I just installed vicidial on will not let me connect a second server to it
2 servers
1 (main server) will hold mysql & also be used as dialer (71.43.11.111 )
2 (second server will be used only as a dialer - have pointed mysql ip to main server (71.43.11.113)
> below is from file etc/astguiclient - off server #2
but this gives me this error
I have also change the DB settings in /var/www/html/vicidial/dbconnect.php and /var/www/html/agc2/dbconncet.php
now I have a different main server and this works fine - so this must have somethign to do with a setting in my main server - even though I just dumped the database from the old to new server ... any one have any ideas??
2 servers
1 (main server) will hold mysql & also be used as dialer (71.43.11.111 )
2 (second server will be used only as a dialer - have pointed mysql ip to main server (71.43.11.113)
> below is from file etc/astguiclient - off server #2
- Code: Select all
# Database connection information
VARDB_server => 71.43.11.111
VARDB_database => asterisk
VARDB_user => cron
VARDB_pass => 1234
VARDB_port => 3306
but this gives me this error
- Code: Select all
MySQL connect ERROR: Lost connection to MySQL server at 'reading initial communication packet', system error: 113
I have also change the DB settings in /var/www/html/vicidial/dbconnect.php and /var/www/html/agc2/dbconncet.php
now I have a different main server and this works fine - so this must have somethign to do with a setting in my main server - even though I just dumped the database from the old to new server ... any one have any ideas??