加载中…
个人资料
  • 博客等级:
  • 博客积分:
  • 博客访问:
  • 关注人气:
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
正文 字体大小:

【填坑】启动MySQL: Connection reset by peer

(2017-05-23 14:11:42)
标签:

peer

connection

mysql

reset

分类: 【环境安装与Linux、win系统】
$ sudo systemctl status mysql.service
● mysql.service - MySQL Community Server
   Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled)
   Active: active (running) since Mon 2017-05-22 23:09:47 PDT; 12s ago
  Process: 5967 ExecStartPost=/usr/share/mysql/mysql-systemd-start post (code=exited, status=0/SUCCESS)
  Process: 5958 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=0/SUCCESS)
 Main PID: 5966 (mysqld)
   CGroup: /system.slice/mysql.service
           └─5966 /usr/sbin/mysqld

May 22 23:09:47 big2 mysqld[5966]: 2017-05-23T06:09:47.239165Z 0 [Note] Beginning of list of non-natively partitioned tables
May 22 23:09:47 big2 mysqld[5966]: 2017-05-23T06:09:47.246081Z 0 [Note] End of list of non-natively partitioned tables
May 22 23:09:47 big2 mysqld[5966]: 2017-05-23T06:09:47.810164Z 5 [Note] Access denied for user 'root'@'localhost' (using password: NO)
May 22 23:09:47 big2 systemd[1]: Started MySQL Community Server.
May 22 23:09:48 big2 mysqld[5966]: warning: can't get client address: Connection reset by peer
May 22 23:09:50 big2 mysqld[5966]: warning: can't get client address: Connection reset by peer
May 22 23:09:52 big2 mysqld[5966]: warning: can't get client address: Connection reset by peer
May 22 23:09:54 big2 mysqld[5966]: warning: can't get client address: Connection reset by peer
May 22 23:09:56 big2 mysqld[5966]: warning: can't get client address: Connection reset by peer
May 22 23:09:58 big2 mysqld[5966]: warning: can't get client address: Connection reset by peer

后面就每2秒钟出一个warning,百思不得其解中……虽然居然不影响使用

【发现】
原来启动keepalived进程后才会出现这样的问题。
在关闭keepalived进程的情况下,不会出现connection reset by peer
在开启的情况下才会出现。具体原因以及该现象的影响仍然在探索中



0

阅读 收藏 喜欢 打印举报/Report
  

新浪BLOG意见反馈留言板 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 产品答疑

新浪公司 版权所有