笨猫博客

  • 🍟首页
  • 🍘目录
    • 🥝VPS教程
    • 🍾猫玩技术
    • 🍹干货分享
    • 🍏软件分享
    • 🍩一只猫
  • 🍋工具
    • 🌽IP路由追踪
    • 🍐域名Whois查询
    • 🥘域名被墙查询
    • 🍧IP正常检测
    • 🔥IP端口检测
    • 🍆短网址
    • 🐟VIP音乐播放
    • 🍯KMS激活
  • 🍓链接
  • 🍪联系
  • 🍱登录
    • 🥦登录
    • 🍒注册
关注互联网,生活,音乐,乐此不疲的一只笨猫
  1. 首页
  2. 一只猫
  3. 正文

CentOS解决无意间宝塔面板引发的连锁问题 - “Failed to initialize NSS library”

2020-03-04 10828点热度 2人点赞 0条评论

本来是解决一个wordpress博客后台无法登录的问题,删除了宝塔的备份插件谷歌硬盘,然后点宝塔面板修复造成了宝塔面板无法登录。

环境:centos7.6

nginx1.2  php7.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/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

 

 

 

 

 

标签: CentOS 宝塔面板报错
最后更新:2020-03-04

笨猫

这个人很懒,什么都没留下

点赞
< 上一篇
下一篇 >

文章评论

razz evil exclaim smile redface biggrin eek confused idea lol mad twisted rolleyes wink cool arrow neutral cry mrgreen drooling persevering
取消回复

最新 热点 随机
最新 热点 随机
MoonTV 客户端 v1.0.0 发布! Windows/Office 激活工具HEU KMS Activator v63.0.0 WinRAR7.13中文商业版以及授权文件 开源免费的2FA工具推荐(华为手机避坑Microsoft Authenticator 微软验证器) 情侣飞行棋:比吵架有趣,比看剧更亲密 Windows11美化方案教程
MoonTV 客户端 v1.0.0 发布!
读你:心理FM 黄金大劫案,复仇者联盟,超级战舰下载,在线观看 magicTCP:魔法TCP优化 WordPress永久链接或固定链接的方法 那年代的回忆 FODI反向代理 实现高速下载 OneDrive网盘文件
最近评论
天天下载Ttzip 发布于 3 周前(09月15日) 很棒的网站!感谢分享,谢谢站长!!@天天下载Ttzip
诗音 发布于 1 个月前(08月29日) 时间改到2099年在暂停更新也可以
vip券网 发布于 2 个月前(08月01日) 写的很详细,赞 :razz: :evil:
萧瑟 发布于 3 个月前(07月14日) 这个我也用了好久,不知道啥时候能上IP证书
梵蒂冈 发布于 3 个月前(07月08日) 士大夫
标签
elliptictrue100.10.02
BLOG ChatGPT Chrome CloudFlare DirectAdmin github Godaddy google kloxo Linux OneDrive OneIndex PHP QQ shadowsocks SNS ssh Typecho VPS web2.0 whmcs Windows wordpress 一键脚本 下载 免费 博客 图文教程 图标 图片 域名 头像 奥运 宝塔面板 插件 教程 日记 有趣 浏览器 游戏 猫 生活 电影 百度 网站 视频 设计 软件 阿里云盘 音乐
好友
  • glzjin's blog glzjin's blog
  • ZAERA博客
  • 冰沫记
  • 奇它博客
  • 猫腻‘s Blog
  • 猫饭
  • 肥宅之家
  • 萌博
  • 野路子程序员

COPYRIGHT © 2022 笨猫博客. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang