Tux's lil' helper
Joined: 31 May 2017
|Posted: Thu Jan 18, 2018 1:27 pm Post subject: supervisor failed to start tornado server
I installed tornado web server using pip in normal user jerry's home directory. I can start the server as a normal user jerry with command "python /home/jerry/artoftime/main.py".
but it failed to start under supervisor's supervision. the error log prompts that it can not find tornado.
the supervisord.conf file is below:
the other part is the same with output produced by echo_supervisord_conf.
I have set user=jerry. why did python fail to find tornado. tornado is just in jerry's home directory.
I have no idea how to fix it. Could anyone help me? Thanks a lot!