[root@localhost server]# /etc/init.d/LsiSASH.sh start
Starting LSI Storage Authority: [FAILED]
[root@localhost server]#
逐層解析/etc/init.d/LsiSASH.sh的運作,手動測試執行過程
./slpd 運作正常
./nginx 運作正常
./LSA -start 少了libpluginmanager.so,是因為export那部分沒做,手動補上
./LSA -start 少了libldap-2.4.so.2,檢查rpm -qa | grep openldap,有裝LDAP但少了libldap-2.4.so.2
CentOS Stream 9自帶的openldap是2.6.6,查了資料,這支libldap-2.4.so.2在套件openldap-compat內
最後把openldap-compat補上,再./LSA -start 沒出現缺libldap-2.4.so.2,也沒出現其他錯誤
把手動執行的process刪除
killall slpd
killall nginx
killall LSA
或是 /etc/init.d/LsiSASH stop
接著嘗試啟動LsiSASH
/etc/init.d/LsiSASH start
Starting LSI Storage Authority: [ OK ]
就成功啦