153 lines
18 KiB
Plaintext
153 lines
18 KiB
Plaintext
2025-08-30 20:57:47.371 | INFO | __main__:<module>:109 - 应用程序启动
|
||
2025-08-30 20:57:47.411 | INFO | remote_command_tab:load_git_config:109 - 从配置文件加载git配置: git_url=http://192.168.3.241:3000/xiaji/webstatus, project_path=/home/xiaji/
|
||
2025-08-30 20:57:47.412 | INFO | django_tab:load_django_path:116 - 从当前服务器配置加载Django路径: /home/xiaji/
|
||
2025-08-30 20:57:47.412 | INFO | django_tab:__init__:22 - Django标签已连接到服务器切换信号
|
||
2025-08-30 20:57:47.414 | INFO | gunicorn_tab:load_gunicorn_config:191 - 从当前服务器配置加载Gunicorn配置: remote_directory=/home/xiaji/, project_name=statuspage
|
||
2025-08-30 20:57:47.414 | INFO | gunicorn_tab:__init__:50 - Gunicorn标签已连接到服务器切换信号
|
||
2025-08-30 20:57:49.480 | INFO | threads:run:47 - SSH连接成功: 192.168.3.157
|
||
2025-08-30 20:57:51.230 | INFO | gunicorn_tab:test_gunicorn:379 - 从配置获取主机地址: 192.168.3.157
|
||
2025-08-30 20:57:51.231 | INFO | gunicorn_tab:test_gunicorn:382 - 开始测试Gunicorn,Django路径: /home/xiaji/, 端口: 8000, 主机: 192.168.3.157
|
||
2025-08-30 20:57:51.243 | INFO | gunicorn_tab:test_gunicorn:389 - 创建Gunicorn测试线程
|
||
2025-08-30 20:57:51.243 | INFO | threads:__init__:787 - GunicornTestThread初始化 - Django路径: /home/xiaji/, 端口: 8000, 主机: 192.168.3.157
|
||
2025-08-30 20:57:51.244 | INFO | gunicorn_tab:test_gunicorn:396 - Gunicorn测试线程已启动
|
||
2025-08-30 20:57:51.335 | INFO | threads:run:815 - 找到wsgi.py文件: /home/xiaji/statuspage/wsgi.py
|
||
2025-08-30 20:57:51.336 | INFO | threads:run:829 - 使用项目名: statuspage, 工作目录: /home/xiaji/
|
||
2025-08-30 20:57:51.336 | INFO | threads:run:834 - 检查端口8000是否被其他进程占用
|
||
2025-08-30 20:57:51.390 | INFO | threads:run:846 - 端口8000未被占用
|
||
2025-08-30 20:57:51.391 | INFO | threads:run:850 - 执行Gunicorn测试命令: cd /home/xiaji/ && gunicorn --workers 4 --bind 0.0.0.0:8000 statuspage.wsgi:application --timeout 5 --log-level debug --access-logfile - --error-logfile -
|
||
2025-08-30 20:57:54.464 | INFO | threads:run:857 - Gunicorn进程检查结果: xiaji 68532 3.3 1.3 35528 23464 ? Ss 20:57 0:00 /usr/bin/python3 /usr/local/bin/gunicorn --workers 4 --bind 0.0.0.0:8000 statuspage.wsgi:application --timeout 5 --log-level debug --access-logfile - --error-logfile -
|
||
xiaji 68533 6.5 2.5 57064 43212 ? S 20:57 0:00 /usr/bin/python3 /usr/local/bin/gunicorn --workers 4 --bind 0.0.0.0:8000 statuspage.wsgi:application --timeout 5 --log-level debug --access-logfile - --error-logfile -
|
||
xiaji 68534 6.5 2.5 57064 43348 ? S 20:57 0:00 /usr/bin/python3 /usr/local/bin/gunicorn --workers 4 --bind 0.0.0.0:8000 statuspage.wsgi:application --timeout 5 --log-level debug --access-logfile - --error-logfile -
|
||
xiaji 68535 6.7 2.5 57064 43380 ? S 20:57 0:00 /usr/bin/python3 /usr/local/bin/gunicorn --workers 4 --bind 0.0.0.0:8000 statuspage.wsgi:application --timeout 5 --log-level debug --access-logfile - --error-logfile -
|
||
xiaji 68536 6.5 2.5 57064 43348 ? S 20:57 0:00 /usr/bin/python3 /usr/local/bin/gunicorn --workers 4 --bind 0.0.0.0:8000 statuspage.wsgi:application --timeout 5 --log-level debug --access-logfile - --error-logfile -
|
||
xiaji 68537 0.0 0.2 7432 3524 ? Ss 20:57 0:00 bash -c ps aux | grep gunicorn
|
||
xiaji 68539 0.0 0.1 6620 2380 ? S 20:57 0:00 grep gunicorn
|
||
|
||
2025-08-30 20:57:54.465 | INFO | threads:run:861 - 检测到Gunicorn Worker进程数量: 6
|
||
2025-08-30 20:57:54.466 | WARNING | threads:run:882 - 未检测到Gunicorn主进程
|
||
2025-08-30 20:57:54.466 | INFO | threads:run:885 - 检测到5个Gunicorn Worker进程:
|
||
2025-08-30 20:57:54.467 | INFO | threads:run:887 - - Worker PID: 68532, 命令: /usr/bin/python3 /usr/local/bin/gunicorn --workers 4 --bind 0.0.0.0:8000 statuspage.wsgi:application --timeout 5 --log-level debug --access-logfile - --error-logfile -
|
||
2025-08-30 20:57:54.467 | INFO | threads:run:887 - - Worker PID: 68533, 命令: /usr/bin/python3 /usr/local/bin/gunicorn --workers 4 --bind 0.0.0.0:8000 statuspage.wsgi:application --timeout 5 --log-level debug --access-logfile - --error-logfile -
|
||
2025-08-30 20:57:54.467 | INFO | threads:run:887 - - Worker PID: 68534, 命令: /usr/bin/python3 /usr/local/bin/gunicorn --workers 4 --bind 0.0.0.0:8000 statuspage.wsgi:application --timeout 5 --log-level debug --access-logfile - --error-logfile -
|
||
2025-08-30 20:57:54.468 | INFO | threads:run:887 - - Worker PID: 68535, 命令: /usr/bin/python3 /usr/local/bin/gunicorn --workers 4 --bind 0.0.0.0:8000 statuspage.wsgi:application --timeout 5 --log-level debug --access-logfile - --error-logfile -
|
||
2025-08-30 20:57:54.468 | INFO | threads:run:887 - - Worker PID: 68536, 命令: /usr/bin/python3 /usr/local/bin/gunicorn --workers 4 --bind 0.0.0.0:8000 statuspage.wsgi:application --timeout 5 --log-level debug --access-logfile - --error-logfile -
|
||
2025-08-30 20:57:54.468 | ERROR | threads:run:897 - Gunicorn进程结构异常: 未检测到完整的进程结构
|
||
2025-08-30 20:57:54.510 | INFO | threads:run:913 - Gunicorn进程运行正常,开始检查端口8000访问情况
|
||
2025-08-30 20:57:54.530 | INFO | threads:run:919 - ss命令检查端口8000结果: tcp LISTEN 0 2048 0.0.0.0:8000 0.0.0.0:* users:(("gunicorn",pid=68536,fd=5),("gunicorn",pid=68535,fd=5),("gunicorn",pid=68534,fd=5),("gunicorn",pid=68533,fd=5),("gunicorn",pid=68532,fd=5))
|
||
|
||
2025-08-30 20:57:54.530 | INFO | threads:run:933 - 端口8000处于LISTEN状态,开始本地请求测试
|
||
2025-08-30 20:57:54.600 | INFO | threads:run:940 - curl本地请求测试退出状态: 7
|
||
2025-08-30 20:57:54.600 | INFO | threads:run:941 - curl本地请求测试输出:
|
||
2025-08-30 20:57:54.601 | ERROR | threads:run:959 - Gunicorn进程运行正常,但本地请求失败:
|
||
2025-08-30 20:57:54.601 | ERROR | gunicorn_tab:on_test_gunicorn_result:406 - Gunicorn测试失败: Gunicorn进程运行正常,但本地请求失败:
|
||
2025-08-30 21:01:49.158 | INFO | __main__:<module>:109 - 应用程序启动
|
||
2025-08-30 21:01:49.197 | INFO | remote_command_tab:load_git_config:109 - 从配置文件加载git配置: git_url=http://192.168.3.241:3000/xiaji/webstatus, project_path=/home/xiaji/
|
||
2025-08-30 21:01:49.199 | INFO | django_tab:load_django_path:116 - 从当前服务器配置加载Django路径: /home/xiaji/
|
||
2025-08-30 21:01:49.200 | INFO | django_tab:__init__:22 - Django标签已连接到服务器切换信号
|
||
2025-08-30 21:01:49.201 | INFO | gunicorn_tab:load_gunicorn_config:191 - 从当前服务器配置加载Gunicorn配置: remote_directory=/home/xiaji/, project_name=statuspage
|
||
2025-08-30 21:01:49.202 | INFO | gunicorn_tab:__init__:50 - Gunicorn标签已连接到服务器切换信号
|
||
2025-08-30 21:01:51.033 | INFO | threads:run:47 - SSH连接成功: 192.168.3.157
|
||
2025-08-30 21:01:53.457 | INFO | gunicorn_tab:test_gunicorn:379 - 从配置获取主机地址: 192.168.3.157
|
||
2025-08-30 21:01:53.457 | INFO | gunicorn_tab:test_gunicorn:382 - 开始测试Gunicorn,Django路径: /home/xiaji/, 端口: 8000, 主机: 192.168.3.157
|
||
2025-08-30 21:01:53.469 | INFO | gunicorn_tab:test_gunicorn:389 - 创建Gunicorn测试线程
|
||
2025-08-30 21:01:53.469 | INFO | threads:__init__:787 - GunicornTestThread初始化 - Django路径: /home/xiaji/, 端口: 8000, 主机: 192.168.3.157
|
||
2025-08-30 21:01:53.470 | INFO | gunicorn_tab:test_gunicorn:396 - Gunicorn测试线程已启动
|
||
2025-08-30 21:01:53.563 | INFO | threads:run:815 - 找到wsgi.py文件: /home/xiaji/statuspage/wsgi.py
|
||
2025-08-30 21:01:53.564 | INFO | threads:run:829 - 使用项目名: statuspage, 工作目录: /home/xiaji/
|
||
2025-08-30 21:01:53.564 | INFO | threads:run:834 - 检查端口8000是否被其他进程占用
|
||
2025-08-30 21:01:53.619 | INFO | threads:run:846 - 端口8000未被占用
|
||
2025-08-30 21:01:53.620 | INFO | threads:run:850 - 执行Gunicorn测试命令: cd /home/xiaji/ && gunicorn --workers 4 --bind 0.0.0.0:8000 statuspage.wsgi:application --timeout 5 --log-level debug --access-logfile - --error-logfile -
|
||
2025-08-30 21:02:54.145 | INFO | gunicorn_tab:manage_service:469 - 正在执行服务 status 操作,服务名称: gunicorn_django
|
||
2025-08-30 21:02:54.150 | INFO | gunicorn_tab:get_password:312 - 密码为空,弹出密码输入对话框
|
||
2025-08-30 21:02:57.733 | INFO | gunicorn_tab:get_password:316 - 从对话框获取密码,长度: 5
|
||
2025-08-30 21:02:57.734 | INFO | gunicorn_tab:manage_service:489 - 获取到密码,长度: 5,创建ManageGunicornServiceThread线程
|
||
2025-08-30 21:02:57.734 | INFO | gunicorn_tab:manage_service:490 - 开始管理Gunicorn服务 - 服务名: gunicorn_django, 操作: status, 端口: 8000
|
||
2025-08-30 21:02:57.734 | INFO | threads:__init__:1153 - ManageGunicornServiceThread初始化 - 服务名: gunicorn_django, 操作: status, 端口: 8000
|
||
2025-08-30 21:02:57.734 | INFO | gunicorn_tab:manage_service:494 - Gunicorn服务管理线程已启动 - 操作: status
|
||
2025-08-30 21:02:57.735 | INFO | threads:run:1165 - 执行服务管理命令: systemctl status gunicorn_django
|
||
2025-08-30 21:02:57.744 | INFO | threads:run:1179 - 服务文件存在: -rw-r--r-- 1 xiaji xiaji 703 Aug 28 22:27 /etc/systemd/system/gunicorn_django.service
|
||
2025-08-30 21:02:57.819 | INFO | threads:run:1190 - 服务状态查询命令执行完成,退出状态: 3
|
||
2025-08-30 21:02:57.820 | ERROR | threads:run:1196 - 密码传递失败,仍然提示输入密码: [sudo] password for xiaji:
|
||
2025-08-30 21:02:57.821 | ERROR | gunicorn_tab:on_manage_service_result:506 - 服务操作失败: [sudo] password for xiaji:
|
||
2025-08-30 21:02:57.822 | WARNING | gunicorn_tab:on_manage_service_result:510 - 检测到可能的密码问题,提示用户重新输入密码
|
||
2025-08-30 21:03:02.944 | INFO | gunicorn_tab:manage_service:469 - 正在执行服务 status 操作,服务名称: gunicorn_django
|
||
2025-08-30 21:03:02.947 | INFO | gunicorn_tab:get_password:312 - 密码为空,弹出密码输入对话框
|
||
2025-08-30 21:03:06.912 | INFO | gunicorn_tab:get_password:316 - 从对话框获取密码,长度: 5
|
||
2025-08-30 21:03:06.913 | INFO | gunicorn_tab:manage_service:489 - 获取到密码,长度: 5,创建ManageGunicornServiceThread线程
|
||
2025-08-30 21:03:06.913 | INFO | gunicorn_tab:manage_service:490 - 开始管理Gunicorn服务 - 服务名: gunicorn_django, 操作: status, 端口: 8000
|
||
2025-08-30 21:03:06.913 | INFO | threads:__init__:1153 - ManageGunicornServiceThread初始化 - 服务名: gunicorn_django, 操作: status, 端口: 8000
|
||
2025-08-30 21:03:06.913 | INFO | gunicorn_tab:manage_service:494 - Gunicorn服务管理线程已启动 - 操作: status
|
||
2025-08-30 21:03:06.914 | INFO | threads:run:1165 - 执行服务管理命令: systemctl status gunicorn_django
|
||
2025-08-30 21:03:06.922 | INFO | threads:run:1179 - 服务文件存在: -rw-r--r-- 1 xiaji xiaji 703 Aug 28 22:27 /etc/systemd/system/gunicorn_django.service
|
||
2025-08-30 21:03:06.990 | INFO | threads:run:1190 - 服务状态查询命令执行完成,退出状态: 3
|
||
2025-08-30 21:03:06.990 | ERROR | threads:run:1196 - 密码传递失败,仍然提示输入密码: [sudo] password for xiaji:
|
||
2025-08-30 21:03:06.991 | ERROR | gunicorn_tab:on_manage_service_result:506 - 服务操作失败: [sudo] password for xiaji:
|
||
2025-08-30 21:03:06.991 | WARNING | gunicorn_tab:on_manage_service_result:510 - 检测到可能的密码问题,提示用户重新输入密码
|
||
2025-08-30 21:03:23.718 | INFO | gunicorn_tab:manage_service:469 - 正在执行服务 enable 操作,服务名称: gunicorn_django
|
||
2025-08-30 21:03:23.719 | INFO | gunicorn_tab:get_password:312 - 密码为空,弹出密码输入对话框
|
||
2025-08-30 21:03:27.156 | INFO | gunicorn_tab:get_password:316 - 从对话框获取密码,长度: 5
|
||
2025-08-30 21:03:27.156 | INFO | gunicorn_tab:manage_service:489 - 获取到密码,长度: 5,创建ManageGunicornServiceThread线程
|
||
2025-08-30 21:03:27.156 | INFO | gunicorn_tab:manage_service:490 - 开始管理Gunicorn服务 - 服务名: gunicorn_django, 操作: enable, 端口: 8000
|
||
2025-08-30 21:03:27.156 | INFO | threads:__init__:1153 - ManageGunicornServiceThread初始化 - 服务名: gunicorn_django, 操作: enable, 端口: 8000
|
||
2025-08-30 21:03:27.157 | INFO | gunicorn_tab:manage_service:494 - Gunicorn服务管理线程已启动 - 操作: enable
|
||
2025-08-30 21:03:27.157 | INFO | threads:run:1165 - 执行服务管理命令: systemctl enable gunicorn_django
|
||
2025-08-30 21:03:27.166 | INFO | threads:run:1179 - 服务文件存在: -rw-r--r-- 1 xiaji xiaji 703 Aug 28 22:27 /etc/systemd/system/gunicorn_django.service
|
||
2025-08-30 21:03:27.474 | INFO | threads:run:1221 - 服务enable命令执行完成,退出状态: 0
|
||
2025-08-30 21:03:27.474 | INFO | threads:run:1234 - 服务enable成功: gunicorn_django
|
||
2025-08-30 21:03:27.475 | INFO | gunicorn_tab:on_manage_service_result:503 - 服务操作成功: 服务enable成功: gunicorn_django
|
||
2025-08-30 21:03:36.243 | INFO | threads:run:220 - 时区设置成功,服务器正在重启
|
||
2025-08-30 21:03:36.245 | INFO | remote_command_tab:on_set_timezone_and_restart_result:229 - 时区设置成功: 时区设置成功,服务器正在重启
|
||
2025-08-30 21:03:36.430 | INFO | threads:run:860 - Gunicorn标准输出: 192.168.3.188 - - [30/Aug/2025:21:02:13 +0800] "GET / HTTP/1.1" 200 10909 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36 Edg/138.0.0.0"
|
||
192.168.3.188 - - [30/Aug/2025:21:02:14 +0800] "GET /api/services/ HTTP/1.1" 200 251 "http://192.168.3.157:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36 Edg/138.0.0.0"
|
||
192.168.3.188 - - [30/Aug/2025:21:02:14 +0800] "GET ...
|
||
2025-08-30 21:03:36.432 | ERROR | threads:run:862 - Gunicorn错误输出: [2025-08-30 21:01:53 +0800] [68872] [DEBUG] Current configuration:
|
||
config: ./gunicorn.conf.py
|
||
wsgi_app: None
|
||
bind: ['0.0.0.0:8000']
|
||
backlog: 2048
|
||
workers: 4
|
||
worker_class: sync
|
||
threads: 1
|
||
worker_connections: 1000
|
||
max_requests: 0
|
||
max_requests_jitter: 0
|
||
timeout: 5
|
||
graceful_timeout: 30
|
||
keepalive: 2
|
||
limit_request_line: 4094
|
||
limit_request_fields: 100
|
||
limit_request_field_size: 8190
|
||
reload: False
|
||
reload_engine: auto
|
||
reload_extra_files: []
|
||
spew: False
|
||
check_confi...
|
||
2025-08-30 21:03:36.433 | ERROR | threads:run:1025 - Gunicorn测试异常: SSH session not active
|
||
2025-08-30 21:03:36.435 | ERROR | gunicorn_tab:on_test_gunicorn_result:406 - Gunicorn测试失败: SSH session not active
|
||
2025-08-30 21:04:33.139 | INFO | threads:run:47 - SSH连接成功: 192.168.3.157
|
||
2025-08-30 21:04:37.816 | INFO | gunicorn_tab:manage_service:469 - 正在执行服务 start 操作,服务名称: gunicorn_django
|
||
2025-08-30 21:04:37.821 | INFO | gunicorn_tab:get_password:312 - 密码为空,弹出密码输入对话框
|
||
2025-08-30 21:04:40.868 | INFO | gunicorn_tab:get_password:316 - 从对话框获取密码,长度: 5
|
||
2025-08-30 21:04:40.869 | INFO | gunicorn_tab:manage_service:489 - 获取到密码,长度: 5,创建ManageGunicornServiceThread线程
|
||
2025-08-30 21:04:40.869 | INFO | gunicorn_tab:manage_service:490 - 开始管理Gunicorn服务 - 服务名: gunicorn_django, 操作: start, 端口: 8000
|
||
2025-08-30 21:04:40.869 | INFO | threads:__init__:1153 - ManageGunicornServiceThread初始化 - 服务名: gunicorn_django, 操作: start, 端口: 8000
|
||
2025-08-30 21:04:40.869 | INFO | gunicorn_tab:manage_service:494 - Gunicorn服务管理线程已启动 - 操作: start
|
||
2025-08-30 21:04:40.870 | INFO | threads:run:1165 - 执行服务管理命令: systemctl start gunicorn_django
|
||
2025-08-30 21:04:40.880 | INFO | threads:run:1179 - 服务文件存在: -rw-r--r-- 1 xiaji xiaji 703 Aug 28 22:27 /etc/systemd/system/gunicorn_django.service
|
||
2025-08-30 21:04:40.956 | INFO | threads:run:1221 - 服务start命令执行完成,退出状态: 0
|
||
2025-08-30 21:04:40.956 | INFO | threads:run:1234 - 服务start成功: gunicorn_django
|
||
2025-08-30 21:04:42.983 | WARNING | threads:run:1376 - 服务启动后状态检查失败: sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
|
||
sudo: a password is required
|
||
|
||
2025-08-30 21:04:42.987 | INFO | gunicorn_tab:on_manage_service_result:503 - 服务操作成功: 服务start成功: gunicorn_django
|
||
2025-08-30 21:04:54.834 | INFO | gunicorn_tab:test_gunicorn:379 - 从配置获取主机地址: 192.168.3.157
|
||
2025-08-30 21:04:54.835 | INFO | gunicorn_tab:test_gunicorn:382 - 开始测试Gunicorn,Django路径: /home/xiaji/, 端口: 8000, 主机: 192.168.3.157
|
||
2025-08-30 21:04:54.837 | INFO | gunicorn_tab:test_gunicorn:389 - 创建Gunicorn测试线程
|
||
2025-08-30 21:04:54.837 | INFO | threads:__init__:787 - GunicornTestThread初始化 - Django路径: /home/xiaji/, 端口: 8000, 主机: 192.168.3.157
|
||
2025-08-30 21:04:54.838 | INFO | gunicorn_tab:test_gunicorn:396 - Gunicorn测试线程已启动
|
||
2025-08-30 21:04:55.173 | INFO | threads:run:815 - 找到wsgi.py文件: /home/xiaji/statuspage/wsgi.py
|
||
2025-08-30 21:04:55.173 | INFO | threads:run:829 - 使用项目名: statuspage, 工作目录: /home/xiaji/
|
||
2025-08-30 21:04:55.173 | INFO | threads:run:834 - 检查端口8000是否被其他进程占用
|
||
2025-08-30 21:04:55.226 | INFO | threads:run:846 - 端口8000未被占用
|
||
2025-08-30 21:04:55.227 | INFO | threads:run:850 - 执行Gunicorn测试命令: cd /home/xiaji/ && gunicorn --workers 4 --bind 0.0.0.0:8000 statuspage.wsgi:application --timeout 5 --log-level debug --access-logfile - --error-logfile -
|