宝塔51特惠活动,企业版1099元/年,送SSL证书,最高立减2万元!查看活动
当前位置:论坛首页 > Linux面板 > 求助

【待反馈】linux 宝塔启动失败

发表在 Linux面板2023-9-16 11:50 [复制链接] 10 2571

为了能快速了解并处理您的问题,请提供以下基础信息:
面板、插件版本:
系统版本:linux  麒麟v10国防版
问题描述:宝塔启动失败
相关截图(日志、错误):

企业微信截图_16948325259065.png
使用道具 举报 只看该作者 回复
发表于 2023-9-16 15:02:23 | 显示全部楼层
您好,您这个是模块没有安装到,所以启动失败了。您那边在服务器命令行下执行下面命令安装下模块看看
  1. btpip install psutil
  2. bt 1
复制代码
使用道具 举报 回复 支持 反对
发表于 2023-9-16 15:53:05 | 显示全部楼层
谢花郎 发表于 2023-9-16 15:02
您好,您这个是模块没有安装到,所以启动失败了。您那边在服务器命令行下执行下面命令安装下模块看看
...

还是不行,终端运行第一行代码提示:
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Looking in indexes: https://mirrors.aliyun.com/pypi/simple
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /pypi/simple/psutil/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /pypi/simple/psutil/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /pypi/simple/psutil/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /pypi/simple/psutil/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /pypi/simple/psutil/
Could not fetch URL https://mirrors.aliyun.com/pypi/simple/psutil/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='mirrors.aliyun.com', port=443): Max retries exceeded with url: /pypi/simple/psutil/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
ERROR: Could not find a version that satisfies the requirement psutil (from versions: none)
ERROR: No matching distribution found for psutil
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Could not fetch URL https://mirrors.aliyun.com/pypi/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='mirrors.aliyun.com', port=443): Max retries exceeded with url: /pypi/simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
使用道具 举报 回复 支持 反对
发表于 2023-9-18 09:40:21 | 显示全部楼层
宝塔用户_ezyevh 发表于 2023-9-16 15:53
还是不行,终端运行第一行代码提示:
WARNING: pip is configured with locations that require TLS/SSL, ...

无法连接到pip源,联系您那边技术尝试更改pip源,或者重新设置所使用请求https的pip源修改到http试试
使用道具 举报 回复 支持 反对
发表于 2023-9-18 15:59:15 | 显示全部楼层
本帖最后由 宝塔用户_ezyevh 于 2023-9-18 16:06 编辑
谢花郎 发表于 2023-9-18 09:40
无法连接到pip源,联系您那边技术尝试更改pip源,或者重新设置所使用请求https的pip源修改到http试试 ...

pip源 处理后。
运行 btpip install psutil
bt 1
提示:
Traceback (most recent call last) :File "/www/server/panel/BT-Panel",line 10, in <module>
from gevent import monkey
ModuleNotFoundError: No module named 'gevent!
Traceback (most recent call last):
File "/www/server/panel/BT-Panel",line 10,in <module>from gevent import monkeyModuleNotFoundError: No module named 'geventn
Iraceback (most recent call last) :File "/www/server/panel/BT-Panel",line 10,in <module>from gevent import monkeyModuleNotFoundError: No module named' gevent!
bt22.png
使用道具 举报 回复 支持 反对
发表于 2023-9-18 17:26:34 | 显示全部楼层
宝塔用户_ezyevh 发表于 2023-9-18 15:59
pip源 处理后。
运行 btpip install psutil
bt 1

您直接在命令行下执行下面命令:
  1. btpip install  -r /www/server/panel/requirements.txt
复制代码
使用道具 举报 回复 支持 反对
发表于 2023-9-19 11:35:05 | 显示全部楼层
谢花郎 发表于 2023-9-18 17:26
您直接在命令行下执行下面命令:

还是不行 。提示如下
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
并且 运行 bt 1 还是启动不了

bt333.png
使用道具 举报 回复 支持 反对
发表于 2023-9-19 11:38:34 | 显示全部楼层
宝塔用户_ezyevh 发表于 2023-9-19 11:35
还是不行 。提示如下
WARNING: Running pip as the 'root' user can result in broken permissions and co ...

还是缺少了python模块的问题,根据No module named 'ssl'错误找下对应的模块进行安装
使用道具 举报 回复 支持 反对
发表于 2023-9-19 13:46:42 | 显示全部楼层
谢花郎 发表于 2023-9-19 11:38
还是缺少了python模块的问题,根据No module named 'ssl'错误找下对应的模块进行安装 ...

有什么具体的命令吗  
使用道具 举报 回复 支持 反对
发表于 2023-12-7 23:08:48 | 显示全部楼层
谢花郎 发表于 2023-9-19 11:38
还是缺少了python模块的问题,根据No module named 'ssl'错误找下对应的模块进行安装 ...

同求,我也是这个错误
使用道具 举报 回复 支持 反对
发表于 2024-3-13 12:03:52 | 显示全部楼层
您好,您的问题解决了吗?
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

点击联系技术免费分析
快速回复 返回顶部 返回列表