By zach196874
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 `<top (required)>'
from /usr/local/bin/thin:23:in `load'
from /usr/local/bin/thin:23:in `<main>'
does anyone know how to clean this up or what is going on? thank you for any help!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
That specific error seems to be from using “thin restart” when thin isn’t already running. The error: <br> <br><pre> <br>/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) <br></pre> <br> <br>is simply say that it can find a running thin process to kill. What is the error you see when running “thin start -p 3000” ?
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.