linux一键安装包
35037
服务器断电后,禅道起不来了已解决 悬赏5积分
提问者温带阳光
答案数1
阅读数2091
发表时间2019-04-28 10:29:59
/opt/zbox/run/apache/httpd: error while loading shared libraries: libdl.so.2: cannot open shared
object file: No such file or directory
禅道版本:10.1
安装包类型:Linux安装包
操作系统:CentOS
客户端浏览器:Chrome
答案列表
禅道-李锡碧
2019-04-28 13:30:59
解决问题,就好。
回复
|
联系我们
联系人
丁芝/高级客户经理
电话(微信)
17663906485
QQ号码
1481227768
联系邮箱
dingzhi@chandao.com
1问题:服务器断电后就起不来禅道了
/opt/zbox/run/apache/httpd: error while loading shared libraries: libdl.so.2: cannot open shared
object file: No such file or directoryStart Apache fail. You can see the log /opt/zbox/logs/apache_error.log
Start Mysql fail. You can see the log /opt/zbox/logs/mysql_error.log
2确认文件存在:
[root@bogon zbox]# find / -name libdl.so.2
/opt/zbox/run/lib/libdl.so.2
/lib64/libdl.so.2
3:查看配置文件库依赖地址
[root@bogon zbox]# ldd /opt/zbox/run/apache/httpd libdl.so.2
linux-vdso.so.1 => (0x00007ffc8b9fa000)
/lib/libhtsjava.so.1.0.19 (0x00007f153f4dd000)
libpcre.so.3 => /opt/zbox/run/lib/libpcre.so.3 (0x00007f153f29f000)
libaprutil-1.so.0 => /opt/zbox/run/lib/libaprutil-1.so.0 (0x00007f153f076000)
libapr-1.so.0 => /opt/zbox/run/lib/libapr-1.so.0 (0x00007f153ee3f000)
libpthread.so.0 => /opt/zbox/run/lib/libpthread.so.0 (0x00007f153ec1e000)
libc.so.6 => /opt/zbox/run/lib/libc.so.6 (0x00007f153e859000)
libdl.so.2 => /lib64/libdl.so.2 (0x0000003a1a400000)
libexpat.so.0 => /opt/zbox/run/lib/libexpat.so.0 (0x00007f153e62d000)
libcrypt.so.1 => /opt/zbox/run/lib/libcrypt.so.1 (0x00007f153e3f2000)
/opt/zbox/run/lib/ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2 (0x0000003a1a000000)
4修改文件,添加路径
vi /etc/ld.so.conf
include /lib64
5使修改生效
ldconfig
问题解决