16.8. openldap常见问题总结
- Date:
2018-10
16.8.1. openldap简介
安装openldap相关包:
1[root@ldap_001 ~]# yum install nscd nss-pam-ldapd nss-* pcre-* --skip-broken -y
上面安装报错:
1Error: Multilib version problems found. This often means that the root
2 cause is something else and multilib version checking is just
3 pointing out that there is a problem. Eg.:
4
5 1. You have an upgrade for nss-softokn-freebl which is missing some
6 dependency that another package requires. Yum is trying to
7 solve this by installing an older version of nss-softokn-freebl of the
8 different architecture. If you exclude the bad architecture
9 yum will tell you what the root cause is (which package
10 requires what). You can try redoing the upgrade with
11 --exclude nss-softokn-freebl.otherarch ... this should give you an error
12 message showing the root cause of the problem.
13
14 2. You have multiple architectures of nss-softokn-freebl installed, but
15 yum can only see an upgrade for one of those arcitectures.
16 If you don't want/need both architectures anymore then you
17 can remove the one with the missing update and everything
18 will work.
19
20 3. You have duplicate versions of nss-softokn-freebl installed already.
21 You can use "yum check" to get yum show these errors.
22
23 ...you can also use --setopt=protected_multilib=false to remove
24 this checking, however this is almost never the correct thing to
25 do as something else is very likely to go wrong (often causing
26 much more problems).
27
28 Protected multilib versions: nss-softokn-freebl-3.14.3-23.3.el6_8.x86_64 != nss-softokn-freebl-3.14.3-17.el6.i686
解决办法:
1[root@ldap_001 ~]# rpm -qa nss-softokn-freebl
2nss-softokn-freebl-3.14.3-17.el6.x86_64
3nss-softokn-freebl-3.14.3-17.el6.i686
4
5[root@ldap_001 ~]# yum update nss-softokn-freebl -y
6
7[root@ldap_001 ~]# yum install nscd nss-pam-ldapd nss-* pcre-* --skip-broken -y