Question
thin and nginx troubleshooting
Hello, I am working on a server and it is giving me quite the headache. My issue seems to be my thin gem. My nginx config gets a successful test however my thin restart -s 5 gives me some errors. Also if I just start the server like: bundle exec thin start -p 3000 my server gets killed right after I try and connect to the site. my errors for thin restart are:
/usr/local/lib/ruby/gems/2.0.0/gems/thin-1.6.2/lib/thin/daemonizing.rb:143:in `kill': No such process (Errno::ESRCH)
from /usr/local/lib/ruby/gems/2.0.0/gems/thin-1.6.2/lib/thin/daemonizing.rb:143:in `force_kill'
from /usr/local/lib/ruby/gems/2.0.0/gems/thin-1.6.2/lib/thin/daemonizing.rb:138:in `rescue in send_signal'
from /usr/local/lib/ruby/gems/2.0.0/gems/thin-1.6.2/lib/thin/daemonizing.rb:122:in `send_signal'
from /usr/local/lib/ruby/gems/2.0.0/gems/thin-1.6.2/lib/thin/daemonizing.rb:111:in `kill'
from /usr/local/lib/ruby/gems/2.0.0/gems/thin-1.6.2/lib/thin/controllers/controller.rb:94:in `block in stop'
from /usr/local/lib/ruby/gems/2.0.0/gems/thin-1.6.2/lib/thin/controllers/controller.rb:135:in `tail_log'
from /usr/local/lib/ruby/gems/2.0.0/gems/thin-1.6.2/lib/thin/controllers/controller.rb:93:in `stop'
from /usr/local/lib/ruby/gems/2.0.0/gems/thin-1.6.2/lib/thin/runner.rb:199:in `run_command'
from /usr/local/lib/ruby/gems/2.0.0/gems/thin-1.6.2/lib/thin/runner.rb:155:in `run!'
from /usr/local/lib/ruby/gems/2.0.0/gems/thin-1.6.2/bin/thin:6:in `'
from /usr/local/bin/thin:23:in `load'
from /usr/local/bin/thin:23:in `'
does anyone know how to clean this up or what is going on? thank you for any help!
Add a comment
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×