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

    [root@test153 ~]# /usr/local/mysql/bin/mysqld --initialize --user=mysql --basedir=/usr/local/mysql --datadir=/data/mysql_data1
    /usr/local/mysql/bin/mysqld: error while loading shared libraries: libnuma.so.1: cannot open shared object file: No such file or directory

    [root@test153 ~]# yum -y install numactl
    Loaded plugins: fastestmirror
    Setting up Install Process
    Loading mirror speeds from cached hostfile
    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 base 74 k

    Transaction Summary
    ========================================================================================================================================================
    Install 1 Package(s)

    Total download size: 74 k
    Installed size: 171 k
    Downloading Packages:
    numactl-2.0.9-2.el6.x86_64.rpm | 74 kB 00:00
    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!

    yum -y install numactl
    yum install libnuma
    yum install ld-linux.so.2
    yum install libaio.so.1
    yum install libnuma.so.1
    yum install libstdc++.so.6
    yum install libtinfo.so.5

    yum clean all
    yum makecache

  • 相关阅读:
    shell学习(三)
    shell学习(四)
    自定义yum源
    fpm制作rpm包
    shell学习(三)
    shell学习(二)
    linux系统下创建lvm挂载到指定目录
    nginx做代理安装docker
    df -h命令卡死解决办法
    docker安装
  • 原文地址:https://www.cnblogs.com/childking/p/14120539.html
Copyright © 2011-2022 走看看