CentOS解決無意間寶塔面板引發的連鎖問題 - “F
導讀:建站文章建站文章 本來是解決一個wordpress博客后臺無法登錄的問題,刪除了寶塔的備份插件谷歌硬盤,然后點寶塔面板修復造成了寶塔面板無法登錄。環境:centos7.6ngi高端網站建設網站建設制作。
本來是解決一個wor網站seo優化診斷工具dpress博客后臺無法登錄的問題,刪除了寶塔的備份插件谷歌硬盤,然后點寶塔面板修復造成了寶塔面板無法登錄。
環境:centos7.6
nginx1.2? ph網seo優化趨勢p7.2? mysql5.5
重啟寶塔會出現以下2個錯誤
Error: BT-Panel service startup failed. Error: BT-Task service startup failed.打算重新安裝運行yum 后提示
error: Failed to initialize NSS library There was a problem importing one of the Python modules required to run yum. The error leading to this problem was:
cannot import name ts
Please install a package which provides this module, or verify that the module is installed correctly.
It's possible that the above module doesn't match the current version of Python, which is: 2.7.5 (default, Aug 7 2019, 00:51:29) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)]
If you cannot solve this problem yourself, please go to the yum faq at: http://yum.baseurl.org/wiki/Faq
解決方案:重新安裝Sqlite:因為sqlite會引發一系列軟件均不可用,包括:yum, rpm等
操作記錄:
# download required rpm package wget -c http://archives.fedoraproject.org/pub/archive/fedora/linux/updates/23/x86_64/s/sqlite-3.11.0-3.fc23.x86_64.rpm wget -c http://archives.fedoraproject.org/pub/archive/fedora/linux/updates網站seo優化軟件/23/x86_64/s/sqlite-libs-3.11.0-3.fc23.x86_64.rpm # change rpm format package into cpio format, then install both rpm2cpio sqlite-3.11.0-3.fc23.x86_64.rpm | cpio -idmv rpm2cpio sqlite-libs-3.11.0-3.fc23.x86_64.rpm | cpio -idmv # copy and rewrite usr/bin and usr/libs cp -R usr/ / # work done! Everything is OK! # if not be assured, you can reinstall sqlite yum reinstall sqlite
相關高端網站建設網站建設制作。
聲明: 本文由我的SEOUC技術文章主頁發布于:2023-05-28 ,文章CentOS解決無意間寶塔面板引發的連鎖問題 - “F主要講述CentOS,寶塔面板報錯網站建設源碼以及服務器配置搭建相關技術文章。轉載請保留鏈接: http://www.bifwcx.com/article/web_11527.html