the rail application I have developed (really simple one 2 -> db tables
with no more than 100 records) works perfectly in development /
production mode on my windows desktop (win200 pro + mysql + ruby 1.8.2
rails 1.1.6). when deploying the application on linux (ruby 1.8.4 ,
rails 1.1.6 the same mysql as on windows) everything seems to work
fine. well atleast for the first few hours. the next morning the rails
application just don’t react. it is even stranger since the webrick
process still runs! I have checked the log files and there is nothing
wrong with them. the probelm gets even stranger since I have deployed
the application on another linux machine (Ubunto) and exactly the same
happend. do I need to start WEBRick as root? do I have to install
another server? does anyone has some idea?
happend. do I need to start WEBRick as root? do I have to install
another server? does anyone has some idea?
s/Ubunto/Ubuntu/g
There are no root privileges needed if you run it on a port above
1024.
Webrick runs, no reaction and nothing wrong in logfiles? Is there
connection information for accessing the application or not?
What’s with netstat? Is it still listening on the specified port?
Is Webrick really not responding or is something wrong with the app?
Switch debug on to find out more. Use a tcp dump to know what’s going
over the network…
Hi, netstat tells me (see output at the end of post) that webrick is
listening to port 3001, further more when I request hostname:3001 I see
the welcome page of rails. when requesting any of my controller’s url
then webrick seems not to respond well atleast judging from the log
files.