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

     

  • 相关阅读:
    jmeter的基本功能使用详解
    服务器资源监控插件(jmeter)
    前端技术之--CSS
    前端技术之--HTML
    TCP/IP基础知识
    TCP/IP、Http的区别
    关于性能调优
    如何修改Docker已运行实例的端口映射
    Mysql 主从同步配置
    Presto的基本概念
  • 原文地址:https://www.cnblogs.com/yantou/p/13731617.html
Copyright © 2011-2022 走看看