solusvm的auto ftp backup出现错误Could not connect to master server. Is the master online with port 5656 SSL open 但其他slave机器的autoftpbackup都备份正常,所以不是master的问题。
================================================== =====================
Backup Log Started : May 17 2012 01:30:02
================================================== =====================
Could not connect to master server. Is the master online with port 5656 SSL open?
================================================== =====================
Backup Log Finished : May 17 2012 01:30:02
================================================== =====================
在有问题的slave机器上debug,如下:
/usr/bin/php /usr/local/solusvm/includes/autoftpbackup.php --debug=1
Connecting to ctohome.com master: 10x.x.x
Array
(
[status] => ctohome error
[statusmsg] => access denied - unknown ctohome ip
[ip] => 173.x.x.x
)
发现问题:这台slave机器绑定了2个ip,1个是eth0,一个是eth0:1,而这个173.x.x.x是eth0:1
在master的node资料里面,这台slave机器登记的ip是eth0的ip
解决办法:
把master的node资料里面,这台slave机器登记的ip改为eth0:1的173.x.x.x的ip即可