OK, Ive been trying to setup a secondary server with ISPConfig3 for a couple days now. First I fixed a bug in the source and Ill explain that.
The Bug
Part 1)
mysql_connect doesnt have the new_link parameter set as true, if you use the same mysql host for both slave and master then it will be treated as the same connection. *FIXED LOCALLY* will report to bug tracker
Part 2)
Only hostnames are compared to detirmine if the masterdb = localdb. Needs to compare hostname and database for people using replication like me.
The current problem
I have a feeling this bug caused the problems I am experiencing now.
None of the datalog entries (actions) are being executed on the server. When running "/usr/local/ispconfig/server/server.sh" with debug output I get the following every time.
Code:
s5:/usr/local/ispconfig/server/lib# /usr/local/ispconfig/server/server.sh
22.12.2010-15:24 - DEBUG - Set Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
22.12.2010-15:24 - DEBUG - Found 19 changes, starting update process.
22.12.2010-15:24 - DEBUG - Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
finished.
Recent comments
20 hours 47 min ago
1 day 6 hours ago
1 day 7 hours ago
1 day 10 hours ago
1 day 15 hours ago
1 day 15 hours ago
1 day 17 hours ago
2 days 3 hours ago
2 days 8 hours ago
2 days 10 hours ago