similar to: Problems starting mongrel running a rails app as a service

Displaying 20 results from an estimated 9000 matches similar to: "Problems starting mongrel running a rails app as a service"

2007 Nov 21
3
Mongrel Timeout?
Hi, I am using a railsapp to call an external app and print some barcode-labels. My problem is, after a while there seems to be a timeout. Then I need to stop the Mongrel-Server and restart it. Below you can see the error message, when i stop the server. Has somebody seen this before? Greetings, Oli C:\etikett>mongrel_rails start -d -e production ** WARNING: Win32 does not support daemon
2006 Jul 18
6
backgroundrb - Connection closed
Hello, maybe someone can help with backgroundrb. I''ve written an application, which makes use of backgroundrb. Everything works fine on my development machine, but it crashes on my production server. Something seems to be wrong with backgroundrb, but I don''t know the cause. All I get is the error message attached below, which is extracted from the production.log. I
2006 Apr 10
1
Mongrel Web Server 0.3.12.4 -- Relaxed Parser, Date Fix
Hello Everyone, Just a small announcement for Mongrel 0.3.12.4 which fixes the following things: * Corrects the date format returned so that months are three chars only. * Fixes a problem where DirHandler wasn''t returning Last-Modified and Etag headers for unknown MIME types. * Implements a default mime type for anything it doesn''t know about, and lets you set it via an
2006 Jun 13
13
Pass infomation between different views and controllers
Hi, I am a rails and ruby nuby :-) How do you pass data between different controllers and views? I have a page ( a quote) that I am editing url ....quote/edit/6 6 id the current id. I then go to a catalog (url....catalog) to add an item to my quote (I do this via a line_item file that the quote reads) I now want to go back to the quote. I have tried this <%= link_to ''Back to
2006 Apr 19
8
Win32 Gem Dependencies
Yeah I just noticed that the latest mongrel gem for win32 doesn''t have the proper dependency for ''daemons''. This of course causes the require to fail. Any chance at getting this fixed for future gems? :) Thanks Josh Ferguson
2006 Apr 28
6
Nightly mongrel issues...
Hi, I have Apache (2.2) setup to proxy requests through to Mongrel (0.3.12.4) for a Rails (1.1.2) application (on ruby 1.8.4). The setup is great, but I''m experiencing some nightly failures. I thought I''d post here before digging in too deeply, but it looks like Rails is going into lala land and Mongrel can''t recover... Seems like everything gets all backed up in
2006 May 14
6
Broken win32 service support for lastest mongrels.
Ok, this might sound bad... well, actually it is. I''m my rewrite of mongrel_rails_service and provide a uniform set of commands in the line of gem_plugin commands, found a few issues while stopping the service. Thinking that rails (1.1.2) was responsable, tested against my 1.0.0 rails app, both with the same results. Again, reverted to mongrel 0.3.8, when services was working ok, with
2006 Feb 21
9
Checked mongrel_rails_service drafts
Ok, I have checked in the first draft of rails win32 service into examples mongrel_rails_service is the controller, and the _svc script is actually the service. The controller uses Mongrel Commands as requested by Zed, but the service was simplified for debugging purposes, later will merge and refactor both files. The environment defaults to production, so if wanted to run it on other, you must
2006 Jun 10
6
Mongrel 0.3.13 Pre-Release -- Win32! Win32!
Hello Windows Users! I have finally got my new computer with it''s win32 build working and have just done the first pre-release for 0.3.13 that has win32 support. *** All win32 users should try to grab the pre-release and tell me if it works. *** You can install it with: $ gem install mongrel --source=http://mongrel.rubyforge.org/releases/ >From EITHER win32 or any other platform
2007 Mar 09
3
Rails log file permissions
When I start a Rails server with $ mongrel_rails start --chdir ~/railsapp --port 3003 --pid \ /home/me/railsapp/tmp/pids/mongrel.pid --daemonize the server starts and opens two log files, development.log and mongrel.log. Both have permissions -rw-rw-rw-. If I omit --deamonize, it opens one log file, development.log, with permissions -rw-r--r--. I would like to make the server use
2004 Feb 02
4
Hooks for win32-service
Just trying to come up with hooks for win32-service. It looks like Perl''s Win32::Daemon defines these: start....................The service is starting. pause....................The service is entering a paused state. continue.................The service is resuming from a paused state. stop.....................The service is stopping running..................The service is running
2004 Feb 09
1
Curious pause/resume behavior
Hi all, While testing the pause/resume functionality with the daemon_test.rb script, I noticed this odd bit of behavior. It appears that sometimes, the pause command seems to actually stop the service. It doesn''t happen every time - just sometimes. Here is a bit of command line history to demonstrate: C:\eclipse\workspace\win32-service-0.4.0\test>ruby daemon_test.rb start VERSION:
2006 Apr 17
5
XML-RPC Webservice API
Hi, After following the excellent tutorials in the Agile Web Development with Rails book, I was able to get my webservice working pretty much perfectly :) I can access it via SOAP and XML-RPC and look at service.wsdl to find the API. What I can''t do however is get the API for the XML-RPC call. It fails with : Internal protocol error: NilClass is not a valid input stream. It must
2006 Feb 22
8
Temporary win32 gems up.
Hey, I did some pre-compiled gems for both Mongrel and win32 service, wrote some quick instructions, and threw everything onto a (Mongrel hosted) temp site. Please go hit: http://zedshaw.homelinux.org:3000/files/win32_howto.html And give the instructions a shot. Luis should have the stuff moved around and then we''ll have a nice clean install and set of instructions for all this. Any
2006 Mar 05
4
Test out the upcoming plugins stuff for me
Hi folks, I''ve been working on the plugins system this weekend and I think I''ve nailed it down. The system will basically be able to load gems that are configured right to be plugins. It''ll do it fairly dynamically and shouldn''t require any configuration from the end user other than to install the gem. Doing this though will involve a bit of surgery on the
2006 Feb 20
8
Graceful stop in, timeouts out (for now)
Hey Luis, Just implemented the first cut at a graceful stop setup. It seems to mostly work except for a few hicups here and there which I''ll test out. I''ve tested this under OSX and will test on the other platforms soon. To use it take a look at the examples/simpletest.rb and see how I setup an "INT" handler to call HttpServer.stop. Hopefully this will help with
2006 Jun 10
1
mongrel (0.3.12.4) blows up
Hello, I don''t know if this is really relevant anymore because a new version is about to be released it seems, however I''ve been trying to run mongrel 0.3.12.4 on a development server in development mode (simply with mongrel_rails start). I try to access the server and the first page (static file) loads, but then the server dies and I get this in the logs. I''m
2006 Apr 19
4
Deployment with Capistrano
Hey all, Has anyone out there got Mongrel deployments working with Capistrano? I''ve had a crack at setting it up, and I''ve found that after a deployment (with updated symlinks) that a mongrel restart does not pick up the new deployed site. It seems to me (in my linkted experience) that the HUP that is sent to mongrel does not re-evaluate the ./current symlink that Cap puts in
2006 Feb 22
13
Mongrel 0.3.6 -- Win32 Service/Rails Real Good
Hello Folks, This release of Mongrel should make the win32 folks go crazy. Thanks to Luis Lavena it supports a full service system for installing any Rails app as a service. This lets you start your rails apps from either the command line or the Service console. Stopping is still a bit problematic but we hope to have that solved in the next release. You win32 folks should probably send Luis
2006 May 30
1
Error in mongrel_rails script with Cygwin/Mongrel/Rails
Hi, I am experiencing an error in the mongrel_rails script on a pc under cygwin/mongrel/rails. My installation details and error are as follows: With some guidance from various blogposts out there, I installed Cygwin on a Windows XP box followed by: Ruby 1.8.4(via cygwin setup), Gems (0.8.1 via ruby install.rb), Mongrel .3.12.4 (via gems), Rake 0.7.1(via gems, GemPlugin (via gems), Rails (via