zoukankan      html  css  js  c++  java
  • mysql初始化时报错bin/mysqld: error while loading shared libraries: libnuma.so.1: cannot open shared object file: No such file or directory的处理

    问题描述:

      今天新安装了一个linux虚拟机,然后安装mysql 5.7.21,在进行初始化的时候,报错

    bin/mysqld: error while loading shared libraries: libnuma.so.1: cannot open shared object file: No such file or directory

    解决方法:

    1.安装numactl软件包

    [root@testvm01 mysql]# yum -y install numactl
    Loaded plugins: product-id, subscription-manager
    This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package numactl.x86_64 0:2.0.9-2.el6 will be installed
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    ===============================================================================================================================================================================================
     Package                                     Arch                                       Version                                          Repository                                       Size
    ===============================================================================================================================================================================================
    Installing:
     numactl                                     x86_64                                     2.0.9-2.el6                                      rhel-source                                      74 k
    
    Transaction Summary
    ===============================================================================================================================================================================================
    Install       1 Package(s)
    
    Total download size: 74 k
    Installed size: 171 k
    Downloading Packages:
    Running rpm_check_debug
    Running Transaction Test
    Transaction Test Succeeded
    Running Transaction
      Installing : numactl-2.0.9-2.el6.x86_64                                                                                                                                                  1/1 
      Verifying  : numactl-2.0.9-2.el6.x86_64                                                                                                                                                  1/1 
    
    Installed:
      numactl.x86_64 0:2.0.9-2.el6                                                                                                                                                                 
    
    Complete!

    2.再次进行初始化操作

    [root@testvm01 mysql]# bin/mysqld --initialize --user=mysql

    备注:可以正常的执行初始化,没有报错.

    文档创建时间:2018年8月14日15:14:42

  • 相关阅读:
    吐血巨献:VB网络编程(webbrowser+Inet+抓包封包+经验)
    亦思验证码识别系统3.1详解
    开机自动连接宽带程序
    轻松报选修智能报选修程序(适用于正方教学管理系统)
    低调发布一个百度谷歌关键字搜索工具
    解惑:Postmessage函数模拟鼠标单击指定坐标
    分享一些经典资源
    英文单词缩写查询
    css控制的个性导航栏
    导航栏中加入自动弹出下拉菜单
  • 原文地址:https://www.cnblogs.com/chuanzhang053/p/9474797.html
Copyright © 2011-2022 走看看