本文首发链接
查看我的个人博客:https://hubinqiang.com
问题描述
根据官方文档中文版安装SAIO过程中,在启动主线程的时候遇到的问题,错误如下:
hubinqiang@ubuntu:/etc$ startmain
WARNING: Unable to modify max process limit. Running as non-root?
Starting proxy-server...(/etc/swift/proxy-server.conf)
Starting container-server...(/etc/swift/container-server/1.conf)
Starting container-server...(/etc/swift/container-server/2.conf)
Starting container-server...(/etc/swift/container-server/3.conf)
Starting container-server...(/etc/swift/container-server/4.conf)
Starting account-server...(/etc/swift/account-server/1.conf)
Starting account-server...(/etc/swift/account-server/2.conf)
Starting account-server...(/etc/swift/account-server/3.conf)
Starting account-server...(/etc/swift/account-server/4.conf)
Starting object-server...(/etc/swift/object-server/1.conf)
Starting object-server...(/etc/swift/object-server/2.conf)
Starting object-server...(/etc/swift/object-server/3.conf)
Starting object-server...(/etc/swift/object-server/4.conf)
liberasurecode[18631]: liberasurecode_backend_open: dynamic linking error libJerasure.so.2: cannot open shared object file: No such file or directory
liberasurecode[18631]: liberasurecode_backend_open: dynamic linking error libJerasure.so.2: cannot open shared object file: No such file or directory
liberasurecode[18631]: liberasurecode_backend_open: dynamic linking error libisal.so.2: cannot open shared object file: No such file or directory
liberasurecode[18631]: liberasurecode_backend_open: dynamic linking error libshss.so.1: cannot open shared object file: No such file or directory
liberasurecode[18632]: liberasurecode_backend_open: dynamic linking error libJerasure.so.2: cannot open shared object file: No such file or directory
liberasurecode[18632]: liberasurecode_backend_open: dynamic linking error libJerasure.so.2: cannot open shared object file: No such file or directory
liberasurecode[18632]: liberasurecode_backend_open: dynamic linking error libisal.

在安装openstack swift时遇到'liberasurecode[XX]: liberasurecode_backend_open: dynamic linking error'的问题。通过分析,发现是系统找不到共享库。解决方案是将'/usr/local/lib'添加到LD_LIBRARY_PATH环境变量中,然后执行使改动生效的命令,问题即可解决。
最低0.47元/天 解锁文章
4112





