易陆发现互联网技术论坛

 找回密码
 开始注册
查看: 3621|回复: 1
收起左侧

centos6.5安装openldap+phpldapadmin

[复制链接]
发表于 2017-10-17 15:01:48 | 显示全部楼层 |阅读模式
购买主题 本主题需向作者支付 2 金钱 才能浏览
 楼主| 发表于 2017-10-17 15:50:47 | 显示全部楼层
# yum install -y libldap_*7 g* N1 d, I* \1 X( p
There was a problem importing one of the Python modules9 W' v" b* W( I  E: Y
required to run yum. The error leading to this problem was:  A; o: Q! v2 s1 `
4 s$ j  B9 k+ `; ~9 Z' [
   libldap-2.4.so.2: cannot open shared object file: No such file or directory
2 R: v, c! d- j" \- |
, o* M* a% Z1 Q8 r, q% HPlease install a package which provides this module, or" ]' R9 N* i, @7 j  V6 n* x
verify that the module is installed correctly.6 P" n1 X. {! q2 I6 q5 n  w

/ Z8 X: h: G5 p- ?1 ]# y: [' cIt's possible that the above module doesn't match the
. t+ H  p: @( x( u5 f1 F6 vcurrent version of Python, which is:
( w  `+ V; l" B) b2 x# i5 N) ~3 U2.6.6 (r266:84292, Nov 22 2013, 12:16:22)
( w0 }% u+ A0 T7 T' ~[GCC 4.4.7 20120313 (Red Hat 4.4.7-4)]% X+ i2 f4 H/ I8 n

, `1 v2 m0 D( ~If you cannot solve this problem yourself, please go to # v# I4 J3 b! c2 N7 g; }2 d
the yum faq at:9 Q, G0 Z, M9 D  a% E0 r
  http://yum.baseurl.org/wiki/Faq( s# I" o9 ^& q9 X5 _, m/ g
  
5 h% c; j# _* n* l& \3 N& p; e/ J# d. y1 W/ e
我就把这个文件夹删了,并且把openldap相关包都卸载了,再准备重新yum安装的时候就出现了这个问题。
! k4 A! Z: v. C( Z' p& G解决办法:
6 I' z- Y% D' O2 v从镜像文件里面将相关包都上传到服务器上,然后rpm进行安装。
. o1 Q" j' A( N0 N! A9 E" C2 J
! x1 d% }8 a9 f: vopenldap-servers-2.4.23-32.el6_4.1.x86_64
8 y. ]3 ^" J2 l$ t+ r: y/ h+ ]" xopenldap-clients-2.4.23-32.el6_4.1.x86_649 h+ ?6 t$ U# ]8 R/ s' K2 w) ]
compat-openldap-2.3.43-2.el6.x86_643 @5 B3 \& X- I) u* a) Z& W) |
openldap-devel-2.4.23-32.el6_4.1.x86_64
' O9 Z; ^5 c6 B0 l: A3 nopenldap-2.4.23-32.el6_4.1.x86_647 O7 E' ~) s' @  @) S+ Y, p9 y, U/ H. Q
rpm -ivh --nodeps ***包名
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

站长推荐上一条 /4 下一条

北京云银创陇科技有限公司以云计算运维,代码开发

QQ|返回首页|Archiver|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )点击这里给我发消息

GMT+8, 2026-4-9 01:10 , Processed in 0.048744 second(s), 29 queries .

Powered by Discuz! X3.4 Licensed

© 2012-2025 Discuz! Team.

快速回复 返回顶部 返回列表