2

我试图让 supervisord 管理 ColdFusion 9 进程。

我的 supervisord.conf 中有以下内容:

[program:coldfusion]
command=/etc/init.d/coldfusion_9
redirect_stderr=true          ; redirect proc stderr to stdout (default false)
autostart=true                ; start at supervisord start (default: true)
autorestart=unexpected               ; whether/when to restart (default: unexpected)

但是,当我尝试启动 supervisord 服务时,出现以下错误:

2013-08-28 09:15:03,512 INFO supervisord started with pid 29417
2013-08-28 09:15:04,515 INFO spawned: 'coldfusion' with pid 29419
2013-08-28 09:15:04,526 INFO exited: coldfusion (exit status 1; not expected)
2013-08-28 09:15:05,528 INFO spawned: 'coldfusion' with pid 29423
2013-08-28 09:15:05,539 INFO exited: coldfusion (exit status 1; not expected)
2013-08-28 09:15:06,540 INFO gave up: coldfusion entered FATAL state, too many start retries too quickly

主管启动时,ColdFusion 是否有任何理由返回退出状态 1?

我会在 server.log 中看到这样的行

"Information","main","08/27/13","10:57:15",,"ColdFusion started"
"Information","Thread-1","08/27/13","10:57:25",,"ColdFusion stopped"

其他可用的日志是:

application.log
cfserver.log
exception.log
mail.log

我搜索了谷歌,但似乎没有人尝试过使用 Supervisor 管理 CF!- 或者至少这样做没有任何问题。

4

0 回答 0