Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
supervisor failed to start tornado server
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Jackie Lin
Tux's lil' helper
Tux's lil' helper


Joined: 31 May 2017
Posts: 115

PostPosted: Thu Jan 18, 2018 1:27 pm    Post subject: supervisor failed to start tornado server Reply with quote

Hi,there.
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:
Code:

[program:artoftime]
command=python /home/jerry/artoftime/main.py
directory=/home/jerry
user=jerry
autorestart=true
stdout_logfile=/home/jerry/log/artoftime.log
stderr_logfile=/home/jerry/log/error.log

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!
_________________
peace, focus.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum