簡體   English   中英

為什么馬戲團服務器沒有開始/停止?

[英]Why circus server is not getting start/stop?

我正在使用circus服務器來運行python程序作為守護進程。 但現在馬戲團沒有開始或停止,甚至沒有我所了解的馬戲團的地位。

我嘗試過:

sudo circusctl restart <name_of_repository>
sudo circusctl stop
sudo circusctl start
sudo circusctl status

但所有命令都給我以下錯誤:

Timed out. Try to raise the --timeout value

誰應該知道這個錯誤。 請提前幫助我...

使用此命令啟動circus時遇到類似問題:

bin/circusd --daemon

Cirsusd沒有開始(ps ax | grep circus)什么都沒有。 但沒有出現任何錯誤。

bin/circusctl status

給了我回應

Timed out.
A time out usually happens in one of those cases:
#1 The Circus daemon could not be reached.
#2 The Circus daemon took too long to perform the operation
For #1, make sure you are hitting the right place
by checking your --endpoint option.
For #2, if you are not expecting a result to
come back, increase your timeout option value
(particularly with waiting switches)

這意味着馬戲團無法與馬戲團交流。 我有很多頭疼的問題,但之后只是在沒有--daemon參數的情況下開始馬戲團,就像這樣:

bin/circusd

馬戲團現在給了我真正的錯誤:

backports.configparser.InterpolationSyntaxError: '%' must be followed by '%' or '(', found: '%Y-%m-%d %H:%M:%S'

在buildout配置文件中,這個錯誤很快被修復了兩倍。

所以真正的問題是馬戲團在使用--daemon參數啟動時沒有給出任何錯誤。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM