安装mysql在初始化的时候,出现/usr/local/mysql/bin/mysqld:error while loading shared libraries:libaio.so.1 :cannot open shared object file:NO such file or directory 解决方法: <P>type the following</P> <P>apt-get install libaio1 libaio-dev</P> <P…
1.查找文件放在哪里 sudo find / -name libevent-2.1.so.6 发现放在/usr/local/lib/libevent-2.1.so.6下. 2.创建软链接 sudo ln -s /usr/local/lib/libevent-2.1.so.6 /usr/lib/libevent-2.1.so.6 参考: https://my.oschina.net/itblog/blog/633074…
启动memcached的时候发现找不到libevent的库,这是memcache的默认查找路径不包含libevent的安装路径,所以要告诉memcached去哪里查找libevent. 操作命令如下: 1.touch /etc/ld.so.conf.d/libevent.conf 2.echo 'libevent的安装路径'  >>  /etc/ld.so.conf.d/libevent.conf; 3.ldconfig…
[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 fi…
问题描述: 今天新安装了一个linux虚拟机,然后安装mysql 5.7.21,在进行初始化的时候,报错 bin/mysqld: error : 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 Thi…
启动zabbix_server时报错: /application/zabbix/sbin/zabbix_server: error while loading shared libraries: libmysqlclient.so.18: cannot open shared object file: No such file or directory 解决办法: [root@test88 etc]# ln -s /application/mysql/lib/libmysqlclient.so.…
如果安装mysql出现了以上的报错信息.这是却少numactl这个时候如果是Centos就yum -y install numactl就可以解决这个问题了. ubuntu的就sudo apt-get install numactl就可以解决这个问题了…
使用yum安装mysql服务端: [root@centos ~]# yum -y install mysql-server Loaded plugins: fastestmirror, security Setting up Install Process Loading mirror speeds from cached hostfile epel | : extras | : os | : updates | : Resolving Dependencies --> Running tran…