WebFaction
Community site: login faq

I have been following this tutorial to setup thin in a proxy with nginx. Nginx seems to be running fine, trying to proxy to thin. Thin, however, while I start it, doesn't seem to do anything, in my thin log it shows >> Writing PID to /home/spyckprime/tmp/pids/thin.11401.pid >> Exiting! which isn't doing anything for me. My thin config yml file contains this: chdir: /home/MY_USERNAME/webapps/MY_APP environment: production address: 127.0.0.1 port: MY_PORT timeout: 30 log: /home/MY_USERNAME/webapps/MY_APP/log/thin.log pid: /home/MY_USERNAME/tmp/pids/thin.pid max_conns: 1024 max_persistent_conns: 512 require: [] rackup: /home/MY_USERNAME/webapps/MY_APP/config/config.ru wait: 30 servers: 1 daemonize: true

Would any of this cause trouble?

The URL to see nginx's error is http://www.odysseystory.com

asked 17 Nov '11, 17:43

spyckprime
112
accept rate: 0%

edited 17 Nov '11, 17:47

There should be an actual error message immediate after the:

>> Writing PID to /home/spyckprime/tmp/pids/thin.11401.pid
>> Exiting!

lines. Are there any Require errors or any other type of specific error messages here?

(17 Nov '11, 19:20) ryans ♦♦

Looking through it, it does.

The rackup file seems to be unable to load my sinatra file, named os.rb, from either the APP/config directory or the APP/ directory.

permanent link

answered 17 Nov '11, 20:14

spyckprime
112
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×186
×81
×25
×3

question asked: 17 Nov '11, 17:43

question was seen: 2,548 times

last updated: 17 Nov '11, 20:14

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM