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,宝塔面板报错网站建设源码以及服务器配置搭建相关技术文章。转载请保留链接: https://www.seouc.com/article/web_11527.html