zoukankan      html  css  js  c++  java
  • 运维遇到的问题

    [root@iZwz98lfc18pzzkm2hfl6aZ nginx]# /usr/local/nginx/sbin/nginx -t
    nginx: [emerg] module "/usr/local/nginx/modules/ngx_http_geoip2_module.so" is not binary compatible in /usr/local/nginx/conf/nginx.conf:3
    nginx: configuration file /usr/local/nginx/conf/nginx.conf test failed

    添加安装

    yum install -y wget perl-ExtUtils-Embed readline-devel zlib-devel pam-devel libxml2-devel libxslt-devel gd-devel GeoIP-devel autoconf-2.69-11.el7.noarch gcc libxml2 libxml2-dev openldap-devel python-devel gcc-c++  openssl-devel cmakepcre-develnanowget  gcc gcc-c++ ncurses-devel perl pcre-devel libtool libsysfs automake openssl openssl-devel redhat-rpm-config.noarch unzip libmaxminddb libunwind.x86_64  -y
    yum install -y google-pertools

    重新编译

    ./configure --add-dynamic-module=/usr/local/nginx/ngx_http_geoip2_module-3.3 --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module
     make && make install 

    mysql主从遇到问题

      Last_IO_Errno: 1236
    

    解决

    mysql> stop slave;
    mysql> reset slave;
    mysql> start slave;

    mysql> show slave statusG;
    *************************** 1. row ***************************
    Slave_IO_State: Waiting for master to send event
    Master_Host: 120.78.91.23
    Master_User: replication
    Master_Port: 3306
    Connect_Retry: 60
    Master_Log_File: mysql-bin.000001
    Read_Master_Log_Pos: 761
    Relay_Log_File: wrhq_02-relay-bin.000003
    Relay_Log_Pos: 924
    Relay_Master_Log_File: mysql-bin.000001
    Slave_IO_Running: Yes
    Slave_SQL_Running: Yes

     

  • 相关阅读:
    Mac下配置Android adb环境变量
    在远程Linux上搭建jenkins
    早期渲染模板-Thymeleaf总结
    启动SpringBoot时的banner自定义修改
    MySQL密码策略及修改或忘记密码
    (转)Maven使用总结
    转-安全层开发—Shiro对比Spring Security
    JavaWeb应用-发布打成jar包和war包区别
    Gitea中常规git工作流程
    简述JSP与Servlet的区别及联系
  • 原文地址:https://www.cnblogs.com/yantou/p/13731617.html
Copyright © 2011-2022 走看看