我试图让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
我搜索谷歌,但似乎没有人曾试图与主管管理CF! - 或者至少没有任何问题这样做。