免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 4295 | 回复: 2
打印 上一主题 下一主题

mysql 主备同步报错 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-11-26 12:04 |显示全部楼层 |倒序浏览
Could not initialize master info structure; more error messages can be found in the MySQL error log

论坛徽章:
0
2 [报告]
发表于 2009-11-26 12:41 |显示全部楼层
日志 Neither --relay-log nor --relay-log-index were used; so replication may break when this MySQL server acts as a slave and has his hostname changed!! Please use '--relay-log=backup-relay-bin' to avoid this problem

论坛徽章:
0
3 [报告]
发表于 2009-11-26 14:12 |显示全部楼层
Error counting relay log space
091125 17:05:08 [ERROR] Error reading master configuration
091125 17:10:24 [ERROR] log ./backup-relay-bin.000012 listed in the index, but failed to stat
091125 17:10:24 [ERROR] Error counting relay log space
091125 17:23:24 [ERROR] Error reading master configuration
091125 18:07:52 [ERROR] Error reading master configuration
091125 18:08:18 [ERROR] Error reading master configuration
091125 18:11:15 [ERROR] Error reading master configuration
091126 11:05:35 [Note] /usr/local/mysql/libexec/mysqld: Normal shutdown

091126 11:05:35 [Note] Event Scheduler: Purging the queue. 0 events
091126 11:05:37 [Note] /usr/local/mysql/libexec/mysqld: Shutdown complete

091126 11:05:37 mysqld_safe mysqld from pid file /usr/local/mysql/var/backup.pid ended
091126 11:05:58 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
091126 11:05:58 [Note] Event Scheduler: Loaded 0 events
091126 11:05:58 [Note] /usr/local/mysql/libexec/mysqld: ready for connections.
Version: '5.1.34-log'  socket: '/tmp/mysql.sock'  port: 3306  Source distribution
091126 11:07:04 [Warning] Neither --relay-log nor --relay-log-index were used; so replication may break when this MySQL server acts as a slave and has his hostname changed!! Please use '--relay-log=backup-relay-bin' to avoid this problem.
091126 11:07:04 [ERROR] Failed to open log (file './backup-relay-bin.000010', errno 2)
091126 11:07:04 [ERROR] Failed to open the relay log 'FIRST' (relay_log_pos 4)
091126 11:07:04 [ERROR] Could not open log file
091126 11:09:51 [ERROR] Error reading master configuration
091126 11:25:29 [ERROR] Failed to open log (file './backup-relay-bin.000010', errno 2)
091126 11:25:29 [ERROR] Failed to open the relay log 'FIRST' (relay_log_pos 4)
091126 11:25:29 [ERROR] Could not open log file
091126 11:51:29 [Note] /usr/local/mysql/libexec/mysqld: Normal shutdown

091126 11:51:29 [Note] Event Scheduler: Purging the queue. 0 events
091126 11:51:31 [Note] /usr/local/mysql/libexec/mysqld: Shutdown complete

091126 11:51:31 mysqld_safe mysqld from pid file /usr/local/mysql/var/backup.pid ended
091126 11:51:48 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
091126 11:51:48 [Note] Event Scheduler: Loaded 0 events
091126 11:51:48 [Note] /usr/local/mysql/libexec/mysqld: ready for connections.
Version: '5.1.34-log'  socket: '/tmp/mysql.sock'  port: 3306  Source distribution
091126 12:02:30 [Warning] Neither --relay-log nor --relay-log-index were used; so replication may break when this MySQL server acts as a slave and has his hostname changed!! Please use '--relay-log=backup-relay-bin' to avoid this problem.
091126 12:02:30 [ERROR] Error reading slave log configuration
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP