centos 部署的时候安装不上Mariadb,缺少依赖文件


并不存在这个sock文件
使用systemctl status mariadb.service 查看报错信息

提示libsystemd.so.0文件不存在,
安装systemd-libs包,解决问题,重新安装一遍,成功。

2019-11-20 16:39:09
在redhat7.0上安装的时候也有类似问题,
第一个是openssl需要安装,
第二个是systemd-libs也是需要的,
在yum安装的时候,提示
Error: initscripts conflicts with redhat-release-server-7.0-1.el7.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
解决:
删除即可
[root@localhost ~]# rpm -e redhat-release-server-7.0-1.el7.x86_64 --nodeps

原文地址:https://www.cnblogs.com/cizao/p/11816050.html