2019年9月24日

elasticsearch启动日志报错not enough master nodes discovered during pinging (found [[]], but needed [-1]), pinging again

摘要: 排查步骤 逻辑上讲是,一个节点去ping master节点,结果却没有得到回应,多次重试依旧失败。应该重点观察: 1.master启动后,IP是否可以有防火墙权限,设置防火墙规则或则直接关闭防火墙 centos6 查看当前防火墙状态 service iptables status 停止防火墙 ser 阅读全文

posted @ 2019-09-24 16:24 鑫春 阅读(4495) 评论(0) 推荐(0) 编辑

ElasticSearch启动报错,bootstrap checks failed

摘要: ERROR: [3] bootstrap checks failed[1]: max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536][2]: memory locki 阅读全文

posted @ 2019-09-24 13:47 鑫春 阅读(644) 评论(0) 推荐(0) 编辑

2019年9月11日

mysql5.6.36 编译报错make[1]: *** [storage/perfschema/unittest/CMakeFiles/pfs_connect_attr-t.dir/all]..

摘要: 编译信息如上,报错 阅读全文

posted @ 2019-09-11 17:36 鑫春 阅读(838) 评论(0) 推荐(0) 编辑

2019年9月2日

indent expected

摘要: 缩进问题 检查代码缩进 阅读全文

posted @ 2019-09-02 19:32 鑫春 阅读(6365) 评论(0) 推荐(0) 编辑

2019年8月31日

解决zabbix中文乱码问题

摘要: 进入Windows系统控制面板-->外观和个性化-->字体(选择一个字体文件simsun.ttc复制)进入zabbix的web服务器[root@test-zabbix]# cd ~/zabbix/assets/fonts/上传文件simsun.ttc至该目录[root@test-zabbix]# m 阅读全文

posted @ 2019-08-31 11:44 鑫春 阅读(229) 评论(0) 推荐(0) 编辑

Windows安装zabbix-agent4.0

摘要: 1.在Windows系统中的C盘,新建一个zabbix目录C:/zabbix2.先下载zabbix-agent的安装包https://assets.zabbix.com/downloads/4.0.10/zabbix_agents-4.0.10-win-amd64.zip3.解压zabbix_age 阅读全文

posted @ 2019-08-31 11:33 鑫春 阅读(1389) 评论(0) 推荐(0) 编辑

2019年8月22日

ERROR 2002 (HY000): Can 't connect to local MySQL server through socket '/tmp/mysql.sock '(2) "

摘要: 找不到mysql.sock这个文件 如果在你操作安装提示创建该文件,重启服务器还是提示这个错误可以试一下 mysql -uroot -h 127.0.0.1 -p 应该是可以直接进入 具体处理方法 重新创建并指定一个新的mysql.sock vim /etc/my.cnf 分别添加,将原先的/tmp 阅读全文

posted @ 2019-08-22 16:08 鑫春 阅读(257) 评论(0) 推荐(0) 编辑

2019年8月1日

解决pycharm问题:module 'pip' has no attribute 'main'

摘要: 找到安装目录下 helpers/packaging_tool.py文件,找到如下代码: def do_install(pkgs): try: import pip except ImportError: error_no_pip() return pip.main(['install'] + pkgs) def do_uninstall... 阅读全文

posted @ 2019-08-01 11:53 鑫春 阅读(183) 评论(0) 推荐(0) 编辑

Centos7搭建主从DNS服务器

摘要: 1、准备 例:两台192.168.11.10(主),192.168.11.11(从),域名www.test1.com # 主从DNS服务器均需要安装bind、bind-chroot、bind-utils yum -y install bind bind-utils bind-chroot# 如果防火 阅读全文

posted @ 2019-08-01 07:51 鑫春 阅读(1175) 评论(1) 推荐(0) 编辑

2019年7月30日

docker 启动镜像报 WARNING: IPv4 forwarding is disabled. Networking will not work.

摘要: centos7 解决办法: # vi /etc/sysctl.conf 添加如下代码: net.ipv4.ip_forward=1 重启network服务 # systemctl restart network 查看是否修改成功 # sysctl net.ipv4.ip_forward 如果返回为“ 阅读全文

posted @ 2019-07-30 11:15 鑫春 阅读(184) 评论(0) 推荐(0) 编辑

导航