zoukankan      html  css  js  c++  java
  • Can't start server: Bind on TCP/IP port: Permission denied(mysqld.service failed because a timeout was exceeded)

    2019-12-21 22:06:36 26587 [Note] Plugin 'FEDERATED' is disabled.
    2019-12-21 22:06:36 26587 [Note] InnoDB: Using atomics to ref count buffer pool pages
    2019-12-21 22:06:36 26587 [Note] InnoDB: The InnoDB memory heap is disabled
    2019-12-21 22:06:36 26587 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
    2019-12-21 22:06:36 26587 [Note] InnoDB: Memory barrier is not used
    2019-12-21 22:06:36 26587 [Note] InnoDB: Compressed tables use zlib 1.2.11
    2019-12-21 22:06:36 26587 [Note] InnoDB: Using Linux native AIO
    2019-12-21 22:06:36 26587 [Note] InnoDB: Using CPU crc32 instructions
    2019-12-21 22:06:37 26587 [Note] InnoDB: Initializing buffer pool, size = 128.0M
    2019-12-21 22:06:37 26587 [Note] InnoDB: Completed initialization of buffer pool
    2019-12-21 22:06:37 26587 [Note] InnoDB: Highest supported file format is Barracuda.
    2019-12-21 22:06:37 26587 [Note] InnoDB: 128 rollback segment(s) are active.
    2019-12-21 22:06:37 26587 [Note] InnoDB: Waiting for purge to start
    2019-12-21 22:06:37 26587 [Note] InnoDB: 5.6.46 started; log sequence number 1626107
    2019-12-21 22:06:37 26587 [Note] RSA private key file not found: /var/lib/mysql//private_key.pem. Some authentication plugins will not work.
    2019-12-21 22:06:37 26587 [Note] RSA public key file not found: /var/lib/mysql//public_key.pem. Some authentication plugins will not work.
    2019-12-21 22:06:37 26587 [Note] Server hostname (bind-address): '*'; port: 3507
    2019-12-21 22:06:37 26587 [Note] IPv6 is available.
    2019-12-21 22:06:37 26587 [Note] - '::' resolves to '::';
    2019-12-21 22:06:37 26587 [Note] Server socket created on IP: '::'.
    2019-12-21 22:06:37 26587 [ERROR] Can't start server: Bind on TCP/IP port: Permission denied
    2019-12-21 22:06:37 26587 [ERROR] Do you already have another mysqld server running on port: 3507 ?
    2019-12-21 22:06:37 26587 [ERROR] Aborting

       

         很二,此问题竟然是没关安全增强型Linux,即SELINUX=disabled,用vi /etc/selinux/config

         这个没关闭后就会导致systemctl start mysql,启动耗时在10分钟左右,然后报超时错误

         设置完成后重启服务器后就可以正常启动MySQL了,哎,太伤。

     

        

  • 相关阅读:
    perl 监控网站域名劫持
    OpenLayers访问Geoserver发布的地图
    基于OpenLayers的地图封装Javascript类定义
    Linux_正则表达式
    Linux_正则表达式
    帆软出品: 7点搞定制药企业数据分析系统开发需求
    帆软出品: 7点搞定制药企业数据分析系统开发需求
    Geoserver地图样式SLD资料收集
    GeoServer地图开发解决方案:地图数据处理篇
    Geoserver发布shapfile,中文字段乱码问题
  • 原文地址:https://www.cnblogs.com/zhongjicainiao/p/12093904.html
Copyright © 2011-2022 走看看