===============宝塔面板命令行==================
(1) 重启面板服务 (8) 改面板端口
(2) 停止面板服务 (9) 清除面板缓存
(3) 启动面板服务 (10) 清除登录限制
(4) 重载面板服务 (11) 设置是否开启IP + User-Agent验证
(5) 修改面板密码 (12) 取消域名绑定限制
(6) 修改面板用户名 (13) 取消IP访问限制
(7) 强制修改MySQL密码 (14) 查看面板默认信息
(22) 显示面板错误日志 (15) 清理系统垃圾
(23) 关闭BasicAuth认证 (16) 修复面板(检查错误并更新面板文件到最新版)
(24) 关闭动态口令认证 (17) 设置日志切割是否压缩
(25) 设置是否保存文件历史副本 (18) 设置是否自动备份面板
(0) 取消 (29) 取消访问设备验证
===============================================
请输入命令编号:22
===============================================
正在执行(22)...
===============================================
[2023-05-05 00:00:19][DEBUG] - 开始更新SSH登录日志...
[2023-05-05 00:00:19][DEBUG] - 更新ssh日志成功
[2023-05-05 20:37:09][DEBUG] - 更新成功.
[2023-05-05 20:37:09][DEBUG] - 缓存更新成功,耗时: 0.60 秒
[2023-05-05 20:37:09][DEBUG] - 开始更新消息json...
[2023-05-05 20:37:09][DEBUG] - 更新消息json成功
[2023-05-06 00:00:39][DEBUG] - 开始更新SSH登录日志...
[2023-05-06 00:00:39][DEBUG] - 更新ssh日志成功
[2023-05-07 00:00:59][DEBUG] - 开始更新SSH登录日志...
[2023-05-07 00:00:59][DEBUG] - 更新ssh日志成功
[2023-05-07 06:09:50][DEBUG] - Traceback (most recent call last):
File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/connection.py", line 175, in _new_conn
(self._dns_host, self.port), self.timeout, **extra_kw
File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/util/connection.py", line 96, in create_connection
raise err
File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/util/connection.py", line 86, in create_connection
sock.connect(sa)
socket.timeout: timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 706, in urlopen
chunked=chunked,
File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 382, in _make_request
self._validate_conn(conn)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
conn.connect()
File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/connection.py", line 358, in connect
conn = self._new_conn()
File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/connection.py", line 182, in _new_conn
% (self.host, self.timeout),
urllib3.exceptions.ConnectTimeoutError: (<urllib3.connection.HTTPSConnection object at 0x7eff0c5e7c90>, 'Connection to www.bt.cn timed out. (connect timeout=60)')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/www/server/panel/pyenv/lib/python3.7/site-packages/requests/adapters.py", line 449, in send
timeout=timeout
File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 756, in urlopen
method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
File "/www/server/panel/pyenv/lib/python3.7/site-packages/urllib3/util/retry.py", line 574, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.bt.cn', port=443): Max retries exceeded with url: /api/wpanel/get_messages (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7eff0c5e7c90>, 'Connection to www.bt.cn timed out. (connect timeout=60)'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "class/http_requests.py", line 104, in post
result = requests.post(url,data,timeout=timeout,headers=headers,verify=verify)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/requests/api.py", line 117, in post
return request('post', url, data=data, json=json, **kwargs)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/requests/adapters.py", line 504, in send
raise ConnectTimeout(e, request=request)
requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='www.bt.cn', port=443): Max retries exceeded with url: /api/wpanel/get_messages (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7eff0c5e7c90>, 'Connection to www.bt.cn timed out. (connect timeout=60)'))
[2023-05-08 00:01:28][DEBUG] - 开始更新SSH登录日志...
[2023-05-08 00:01:28][DEBUG] - 更新ssh日志成功
[2023-05-09 00:01:47][DEBUG] - 开始更新SSH登录日志...
[2023-05-09 00:01:47][DEBUG] - 更新ssh日志成功
[2023-05-10 00:02:06][DEBUG] - 开始更新SSH登录日志...
[2023-05-10 00:02:06][DEBUG] - 更新ssh日志成功
[2023-05-11 00:02:25][DEBUG] - 开始更新SSH登录日志...
[2023-05-11 00:02:25][DEBUG] - 更新ssh日志成功
[2023-05-12 00:02:43][DEBUG] - 开始更新SSH登录日志...
[2023-05-12 00:02:43][DEBUG] - 更新ssh日志成功
[2023-05-13 00:03:03][DEBUG] - 开始更新SSH登录日志...
[2023-05-13 00:03:03][DEBUG] - 更新ssh日志成功
[2023-05-14 00:03:21][DEBUG] - 开始更新SSH登录日志...
[2023-05-14 00:03:21][DEBUG] - 更新ssh日志成功
[2023-05-15 00:03:40][DEBUG] - 开始更新SSH登录日志...
[2023-05-15 00:03:40][DEBUG] - 更新ssh日志成功
[2023-05-16 00:03:59][DEBUG] - 开始更新SSH登录日志...
[2023-05-16 00:03:59][DEBUG] - 更新ssh日志成功
[2023-05-17 00:04:18][DEBUG] - 开始更新SSH登录日志...
[2023-05-17 00:04:18][DEBUG] - 更新ssh日志成功
[2023-05-17 14:03:03][DEBUG] - 更新成功.
[2023-05-17 14:03:03][DEBUG] - 缓存更新成功,耗时: 0.59 秒
[2023-05-17 14:03:03][DEBUG] - 开始更新消息json...
[2023-05-17 14:03:03][DEBUG] - 更新消息json成功
[2023-05-17 15:41:49][DEBUG] - 更新成功.
[2023-05-17 15:41:49][DEBUG] - 缓存更新成功,耗时: 0.56 秒
[2023-05-17 15:41:49][DEBUG] - 开始更新消息json...
[2023-05-17 15:41:49][DEBUG] - 更新消息json成功
[2023-05-18 00:04:37][DEBUG] - 开始更新SSH登录日志...
[2023-05-18 00:04:37][DEBUG] - 更新ssh日志成功
[2023-05-19 00:04:56][DEBUG] - 开始更新SSH登录日志...
[2023-05-19 00:04:56][DEBUG] - 更新ssh日志成功
[2023-05-20 00:05:15][DEBUG] - 开始更新SSH登录日志...
[2023-05-20 00:05:15][DEBUG] - 更新ssh日志成功
[2023-05-20 15:30:37][DEBUG] - 更新成功.
[2023-05-20 15:30:37][DEBUG] - 缓存更新成功,耗时: 0.52 秒
[2023-05-20 15:30:37][DEBUG] - 开始更新消息json...
[2023-05-20 15:30:37][DEBUG] - 更新消息json成功
|
|