similar to: Error on Windows and FreeBSD

Displaying 20 results from an estimated 10000 matches similar to: "Error on Windows and FreeBSD"

2006 Sep 04
11
balancer://mongrel_cluster
A couple of questions please: What is the benefit of having more than one Mongrel/Rails instance on the same machine, could one instance not serve as many requests as say three instances? Is Mongrel Cluster a Apache add-in (like mod_*) or a separately running load balancer which runs on a separate port, I could not work it out from the sample Apache config... |# Redirect all non-static
2006 Sep 25
5
HTTP Parser (Regal)
Hi I was interested to see how Mongrel uses Lex/Yacc to parse the HTTP requests using a Regal generated parser. I downloaded the source but do not see the lex and yacc files...
2007 Mar 08
10
bad URI(is not URI?): c:\boot.ini
Please note this message is not related to my previous one from yesterday, this is on a different server (textdrive server). I have only one mongrel application running but ''randomly'' it will go down, the mongrel.log file shows: ERROR: undefined method ''request_uri'' for #<URI::Generic:0x5383948 URL:*> ERROR: bad URI(is not URI?): c:\boot.ini [FATAL]
2006 Sep 21
5
Static files in public
My question is about the static files in the Rails public folder. These files should be served by Apache instead of Mongrel, so do I need to upload these files to Apache''s htdoc''s or will Apache cache them the first time they are requested from Mongrel... Im not sure how this works? Many thanks.
2007 Mar 25
2
Mongrel & Mint (PHP related)
Hi, Does anyone have the Mint stats package setup with their Rails application. I have uploaded Mint to the public folder, but when I try and request domain.com/mint/index.php the page is served as a download instead of being processed by mod_php. Im guessing this isn''t really a Mongrel problem but what I actually need to do is prevent Apache proxying certain requests to Mongrel.
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 Dec 18
3
Using a network drive to share files between Mongrel/Rails instances...?
I have a Apache proxying to a number of Mongrel''s on different physical machines. What I need to do next is share files between the Rails instances. I am creating dynamic files which will be created by Rails and stored on disk. The file is then recovered and served at a later date by an ajax request. But because of the proxying the ajax call my be routed to a different machine.
2007 Mar 07
1
Two Mongrel''s Two Rails Applications
Hi, I have Mongrel up and running for one application (port 3000), but when I start another Mongrel for a second application (port 4000) I can access both sites locally (using curl) but not remotly via a browser. If I stop the first applications Mongrel and start the second the second one works. In other words I can only run one application at once... I have both on different ports, it makes
2007 Mar 09
5
https load balancer for windows?
Hello, I noticed that mongrel would work very nicely with something called Pound to get https access to a rails app. However, I think Pound isn''t available for the windows platform? Is there any other nice lightweight load balancer like Pound that I could take a look at to get https with mongrel and rails? Cheers, /Erik -------------- next part -------------- An HTML
2006 Feb 14
5
SSL and domain as account key
Say I have an hosted application which allows the user to use their own domain name (company.com) to access it, and that application must be accessed over SSL, how do you go about our SSL certificate not being registered to their domain. Sure the connection will be safe but the browser will pop up a warning saying the certificate is invalid for this domain. I dont think this problem occur
2005 Sep 22
5
Adding Categories to the Depot example in the Agile Rails book
Hi ya, I want to add categories to the depot example in the Agile rails book. These are my thoughts: Create a new table called categories with id, title, description, and image fields. Add a new field to the products table called category_id Create a model called Category with "has_many :products" Now I should have a one to many link between the products and categories tables? Now
2005 Dec 16
6
rake remote_exec on Windows
I am using the shovel deploy.rb from http://nubyonrails.com/pages/shovel I have SwitchTower-ized my app, copied the shovel deploy.rb file and put my settings in it. But when I run "rake remote_exec ACTION=setup_lighty" from the local app root it has no effect. It should prompt for a password for at least throw an error? I just get returned to the DOS prompt. If I do "rake
2007 Aug 10
10
what is the correct way to stop/start a mongrel instance using monit with mongrel cluster
Hi -- I have been reading documentation and googling around to find the correct way to do this but I have found many ways that seem to not work, or the documentation makes no reference to. I am using mongrel cluster with 10 mongrels for each server. Recently I installed monit but which lead me to find the correct way to start/stop mongrel instances one pid at a time. I am assuming one pid at a
2006 Aug 29
13
restart - `exec'': Operation not supported
I''m using the latest Mongrel (0.3.13.4) and restarting causes Mongrel to die. From mongrel.log: ** USR2 signal received. ** Restarting with arguments: ruby /opt/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/bin/mongrel_rails start -C config/mongrel.yml /opt/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/bin/mongrel_rails:142:in `exec'': Operation not supported - ruby
2007 Jul 16
2
mongrel_rails start working mongrel_rails cluster::start not working
Hi everybody, I have installed mongrel and mongrel cluster in a new linux box .... at the end of the day I was able to lunch mongrel (mongrel_rails start -e production) and all is working fine with. However, when I tried to set a mongrel cluster the command mongrel_rails cluster::start get the following output : starting port 8000 starting port 8001 starting port 8002 But when I lunched the
2010 Jun 13
5
script/server vs mongrel_rails start issue
I am having different results between when I start mongrel with script/ server and with mongrel_rails start. When I run script/server to boot mongrel everything runs fine, no errors. When I run mongrel_rails start I get the following errors - verified the problem on a fresh app and on two different environments (mac and yes, windows server 2008). The actual line of fault changes but the problem
2006 Dec 04
5
Log problem on stop/restart
I''m using the mongrel_cluster recipes for Capistrano as laid out by codahale.com and the new ed. of the Agile Development book, but I''m having problems on restart and stop: I can start: [root current]# mongrel_rails cluster::start Starting 3 Mongrel servers... And I can see 3 processes running: [root current]# ps aux | grep mongrel mongrel 1947 0.0 8.2 24684 10776 ?
2007 May 08
5
mongrel_cluster 1.0.1.1 does not create /var/run/mongrel_cluster
Hi everyone, I am going crazy over here! :) I just want to be able to use --clean with my mongrel_rails cluster::start command. I''ve upgraded to mongrel_cluster 1.0.1.1 and mongrel_rails 1.0.1. my config file is in /etc/mongrel_rails/config.yml and contains: --- log_file: log/mongrel.log port: 8000 pid_file: /var/run/mongrel_cluster/mongrel.pid servers: 2 address: 127.0.0.1 environment:
2005 Nov 16
2
does upgrading rails require you to use generate rails again for existing apps?
If I upgrade from my current version 0.14 to the latest version using "gem update rails" do my existing apps need to have the rails structure re-generated to take advantage of changes to rails? If so is there an easy way to do this without loosing my MCV''s? Thanks, Kris.
2006 Nov 16
12
OSX requires sudo for using ports < 1024
I assume some of you have run into this error before when trying to run mongrel on port 80 (or another port < 1024) in OSX: $ mongrel_rails start -p 80 ** Starting Mongrel listening at 0.0.0.0:80 /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.14/lib/mongrel/tcphack.rb:12:in `initialize_without_backlog'': Permission denied - bind(2) (Errno::EACCES) from