Displaying 20 results from an estimated 10000 matches similar to: "re: trouble in Lighty"
2006 Feb 28
6
scgi+lighttpd+windows - why wont it work?
two problems, pls help...I''m under big pressure at work to fix this!
I''m having trouble getting scgi and lighttpd running on windows - here''s
what I did:
On Win XP, I installed ruby, rubygems, and setup my rails app. All works
fine with webrick.
I then did: gem install cmdparse and gem install highline (as required
for the scgi_rails gem according to
2006 Feb 23
5
Running apps in subdirectories using lighty/scgi
Hi,
So thanks to Zed I was able to get lighty/scgi and a Rails app running.
I know this might not be the best place to post this, but I guessed
there may be several others with similar experiences here.
So, the following step is to have several apps each in its on
subdirectory. I tried the following to no avail:
$HTTP["url"] =~ "^/tango/" {
server.document-root =
2006 Feb 23
5
Help with SCGI please :(
Hi,
While learning Ruby and Rails, I decided I just as well learn Linux
along the way... It''s been fun, but I''m stuck at one of those
exasperating moments... I hope someone can help me :)
I installed Ruby 1.8.4 on Fedora Core 4, then Rails, then lighty, and
then SCGI.
I used yum to install lighty... and it already comes with mod_scgi.
I created my first application in
2005 Dec 01
12
Difficult process of restarting SCGI, Lighttpd, Apache, sessions
I''ve managed to get Rails working using Apache->Lighttpd->SCGI. Restarting everything is really
difficult. This appears to be the process:
- stop apache
- stop lighttpd
- stop scgi
- make sure scgi still isn''t running (it sometimes does) - if it is, kill it
- delete all session files (they often cause permission errors)
- start scgi
- start apache
- start lighttpd
- cross
2006 Jul 28
4
SCGI + Rails at System Startup
All of the documentation for scgi_ctrl says to run it from your Rails
app directory, and I can''t get it to run from a single command line like
you would in a system startup script.
I''ve tried:
scgi_ctrl -c /www/myapp/config/scgi.yaml start
...but that just errors out unless I run it from within the root of my
rails app (/www/myapp).
--
Posted via
2006 Feb 15
0
Lighty/SCGI: not found: /dispatch.scgi
I have a ton of these in my Lighty error log:
2006-02-15 15:55:53: (connections.c.1383) Warning: Either the
error-handler returned status 404 or the error-handler itself was not
found: /dispatch.scgi
2006-02-15 15:55:53: (connections.c.1385) returning the original status
404
2006-02-15 15:55:53: (connections.c.1387) If this is a rails app: check
your production.log
And I guess it''s
2006 Apr 15
19
Trouble with Lighty
I''m trying to setup my rails application with Light+fcgi.
This is the error I''m getting when I try to start Lighttpd :
============
[getcapture@alpha getcapture]$ ~/etc/rc.d/lighttpd.sh start
Starting Lighttpd
2006-04-15 11:27:24: (mod_fastcgi.c.1022) execve failed for:
/home/getcapture/application/public/dispatch.fcgi No such file or
directory
[getcapture@alpha getcapture]$
2006 Jan 27
5
Multiple Apps running under Lighttpd with scgi on a Windows Box ... possible?
I''ve run into a problem on one of my development machines. I''m trying to
run multiple rails apps on one dev machine that runs Windows. Problem is
that is seems that I can only run one scgi_service at a time, meaning
that only one of my apps will function at a time. Anyone know how I can
get around this, other than getting a *nix box (which I should have
soon, hopefully) ?
2006 Mar 29
1
Problems with lighty
I''ve been trying to get lighty configured to work with Rails and I''m
having quite a time of it.
I have all of the following installed on a FC4 system:
ruby-1.8.4
gems-0.8.11
rails-1.0
fcgi-2.4.0
ruby-fcgi-0.8.6
lighttpd-1.4.10
Before I tried setting up multiple apps, I just decided to try for a
single app setup. I have the following configuration:
### begin config ###
2006 Mar 21
2
Lighty+Mongrel unresponsive after so many requests
I transferred a site from Lighty+SCGI to Lighty+Mongrel, and now I''m
having problems with it becoming unresponsive. It works fine for about
10-15 minutes, but then attempts to access the site just stall forever.
Nothing is written in any of lighty''s or mongrel''s logs. Here''s my
lighty config:
$HTTP["host"] =~ "www.xyz.com" {
2005 Dec 28
3
problems with lighty on linux
I''m trying to get our app running on Lighty... I followed Ezra''s
instructions: http://brainspl.at/pages/rails_stack... Currently the app
runs fine with webrick, but with lighty I get 404 errors on everything.
I found if I don''t edit the lighttpd.conf file to use absolute paths, it
works fine. But this is not good for production because I need to run it
with the -d
2006 Apr 30
0
Ruby and Rails on Linux
Hi!
1. I want to install Ruby and Rails on Red Hat... Any
RPM available...
2. I am not able to install Fast CGI gem in windows
environment... with Lighty..
I am getting following error: Pl. guide me to correct
this error...
Thanks
Siva.
C:\>gem install fcgi
Attempting local installation of ''fcgi''
Local gem file not found: fcgi*.gem
Attempting remote installation of
2005 Dec 19
1
Lighty External Fast CGI Process Load Balacing Note
I''ve just spent a while chasing a false bug in lighttpd and load
balancing among external fast cgi processes due to what I think is a
documentation bug. Following the info on the wiki page
<http://wiki.rubyonrails.com/rails/pages/LighttpdWithProcessScripts>,
one would think that something like this works:
fastcgi.debug = 1
fastcgi.server = ( ".fcgi" =>
(
2006 Jun 04
1
Problem with images on Apache and Lighttpd
Hello.
Since two days I am trying to set up two rails-apps on a vserver-host so
that I can access from work ;-)
I tried all I can imagine and what Google/MSN teached me: FastCGI, SCGI,
Lighttpd, Apache, Alias, Vhosts,....
But nothing really works. I am on Debian 3.1 with Ruby 1.8.4, Rails
1.1.2, FastCGI 2.4.0, mod_fastcgi 2.4.2, ruby_fcgi 0.8.6, ruby_gems
0.8.11, Apache 2.0.54, Lighttpd
2007 Jan 09
0
Production Mode with SCGI
Hi,
I have an application running on Apache SCGI (Win XP). Once I run it in
production mode (scgi_ctrl config -S -e production ) I''m getting
stack trace instead of HTTP status 500 (Application Error) and the
error is logged production.log. The application works fine without
SCGI. Your help is highly appreciated....
Thanx
/* production.log */
# Logfile created on Thu Jan 04 16:35:43
2005 Oct 19
35
Why you MUST use SCGI for Rails development
Hello happy Railers,
I used to develop with a local out-of-the-box Apache and load times were
pretty slow (like a few seconds each page). "Well, it''s the price to
pay for no compile / cache / etc..." I thought. Nonsense. Yesterday I
installed SCGI, and now I''ve got the best of both worlds: rails
development env uses my very latest modifications, while SCGI ensures I
2006 May 22
1
configuring apache with scgi
i had been trying for weeks to get fcgi to play right with apache. i
finally got it working, but it''s far from stable. it was recommended to
me that i should try using SCGI and that it is much easier to set up.
being new to this stuff though, i''m not sure if there''s a lack of
documentation or if there are some things that are just assumed and not
known by a noob
2006 Apr 03
9
Problem with Windows not finding methods
I am running (testing) a noob-tube for myself as follows:
Windows XP SP2
lighty
ruby 1.8.x
rails 1.1
scgi
I have everything working fairly well, but with one minor exception:
the actions that I have defined as follows are not found.
class MytestController < ApplicationController
def index
render_text "Hello Nurse!"
end
def dilbert
render_text "Dilbert
2006 Jul 24
0
apache proxy lighttpd
Hi, I''m trying to setup up a rails deploy environment. I get an error
when start lighty in production.log
undefined method `downcase'' for nil:NilClass
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/request.rb:17:in
`method''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/base.rb:902:in
`log_processing''
2006 Apr 03
12
scgi?? do i need it for ruby?
This might be obvious to everyone but it is something that i haven''t
been able to find an answer to. Do I need to have either
scgi/fastcgi/cgi running on either lighttpd/apache for ruby scripts to
work? If yes, why? I have installed the scgi server and i can get the
service to run, i have also installed the following mod_fastcgi/2.4.2
mod_ruby/1.2.4 Ruby/1.8.2(2004-12-25) mod_scgi,