Hedyt

Results 18 comments of Hedyt

启动服务时的报错,不确定是路径的原因 还是 未安装 celery 包的原因

[root@BYVL-OPS-49-7 scripts]# whereis celery celery: /usr/local/bin/celery 做了

[root@BYVL-OPS-49-7 scripts]# whereis gunicorn gunicorn: /usr/local/bin/gunicorn

[root@BYVL-OPS-49-7 server]# pwd /CodeAnalysis/server [root@BYVL-OPS-49-7 server]# ln -s /usr/local/python3/bin/to/celery /usr/local/bin/celery [root@BYVL-OPS-49-7 server]# ln -s /usr/local/python3/bin/to/gunicorn /usr/local/bin/gunicorn [root@BYVL-OPS-49-7 server]# whereis celery celery: /usr/local/bin/celery [root@BYVL-OPS-49-7 server]# export PATH=/usr/local/bin:$PATH [root@BYVL-OPS-49-7 server]# bash ./scripts/deploy.sh...

没有提示 [root@BYVL-OPS-49-7 server]# command -v celery [root@BYVL-OPS-49-7 server]#

还是有报错 [root@BYVL-OPS-49-7 server]# bash ./scripts/deploy.sh start Check python version... Check celery command... ❌ celery could not be found Check gunicorn command... ❌ gunicorn could not be found Start configs... start...

[root@BYVL-OPS-49-7 scripts]# bash deploy.sh start Check python version... Check celery command... Check gunicorn command... Start configs... start detect every dependcy for tca server... [TCAServerDependencyCheck] *make sure command python exist* [TCAServerDependencyCheck]...

上面的问题应该是解决了。 怎么访问呢?我这边访问,只返回了“Weclome to TCA”,访问的端口是8000. 这个是启动客户端返回的结果 [root@BYVL-OPS-49-7 tca-deploy-source]# bash ./scripts/deploy.sh init -d ###################################### 脚本说明 ###################################### # 前端部署脚本 # $1 action,为必传项,$2 其他参数,非必传项 # 部署web服务:bash ./scripts/deploy.sh init -d ###################################### 脚本说明 ###################################### % Total...

已安装,还是会出现上面的报错。 [root@BYVL-OPS-49-7 server]# django-admin --version 1.11.27