aops-apollo及aops-diana启动无报错,但接口访问报no python application found

--- no python application found, check your startup logs for errors ---
[pid: 10124|app: -1|req: -1/1] 10.109.6.254 () {38 vars in 886 bytes} [Fri Sep 22 12:02:37 2023] GET /check/result/total/count => generated 21 bytes in 0 msecs (
HTTP/1.0 500) 2 headers in 83 bytes (0 switches on core 0)
--- no python application found, check your startup logs for errors ---
[pid: 10124|app: -1|req: -1/2] 10.109.6.254 () {38 vars in 977 bytes} [Fri Sep 22 12:02:37 2023] GET /check/result/domain/count?sort=count&direction=desc&page=1&
per_page=10 => generated 21 bytes in 0 msecs (HTTP/1.0 500) 2 headers in 83 bytes (0 switches on core 1)
--- no python application found, check your startup logs for errors ---
[pid: 10124|app: -1|req: -1/3] 10.109.6.254 () {38 vars in 959 bytes} [Fri Sep 22 12:02:37 2023] GET /check/result/list?page=1&per_page=10&sort=time&direction=de
sc => generated 21 bytes in 0 msecs (HTTP/1.0 500) 2 headers in 83 bytes (0 switches on core 0)

diana.ini

[uwsgi]
http=myip:11112
chdir=/usr/lib/python3.9/site-packages/diana
module=diana.manage
uwsgi-file=manage.py
pidfile=/opt/aops/uwsgi/diana.pid
callable=app
http-timeout=600
harakiri=600
processes=2
daemonize=/var/log/aops/uwsgi/diana.log
threads=2

apollo.ini

[uwsgi]
http=myip:11116
chdir=/usr/lib/python3.9/site-packages/apollo
module=apollo.manage
uwsgi-file=manage.py
pidfile=/opt/aops/uwsgi/apollo.pid
callable=app
http-timeout=600
harakiri=600
processes=1
daemonize=/var/log/aops/uwsgi/apollo.log
gevent=100
gevent-monkey-patch=true

请问如何继续定位并处理这个问题?

安装python3试试

no python一直在报,本问题所描述的是elasticsearch的配置问题,导致apollo不能创建index

1 Like

@openEulerBot 如何关闭求助贴?

嗨!要了解我能说什么,请说 @openeulerbot 显示帮助

@openeulerbot 显示帮助

我目前知道如何执行以下操作:

@openeulerbot 开始 {name-of-tutorial}

在个人消息中为你启动交互式教程。{name-of-tutorial} 可以是以下之一:教程, 高级教程

@openeulerbot 投掷 2d6

:game_die: 3、6

@openeulerbot 引用

:left_speech_bubble: 每一个困难中都蕴藏着机遇 — 阿尔伯特·爱因斯坦

@openeulerbot 财富

:crystal_ball: 你可以信赖它