Displaying 20 results from an estimated 10000 matches similar to: "Problem with lighttpd"
2006 Mar 25
4
Can''t quite get Rails working on Mac, help please :).
I''ve followed the install the install guide on
http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger
and it seemed to work. And I''ve been following the Instant Gratifiction
guide in Chapter four in Agile Web Development with Rails book. I''m in
terminal and I type -
cd work (everything works fine) then
rails demo (everything seems to work) then
cd
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 19
3
lighttpd config on os x
I finally got around to installing lighttpd on my mac for dev work,
followed the instructions at
http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger
When I go into my rails app and type "./script/server" I get the
following errors:
baggio:~/work/teore pergesu$ ./script/server
=> Booting lighttpd (use ''script/server webrick'' to force WEBrick)
2006 Apr 24
6
Error starting lighttpd
Hi, I''m getting the following error message when I try to start lighttpd:
BEGIN ERROR:
$ script/server
=> Booting lighttpd (use ''script/server webrick'' to force WEBrick)
=> Rails application started on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server (see config/lighttpd.conf for options)
2006-04-24 03:29:39: (mod_fastcgi.c.1022)
2006 Jan 24
17
Updated lighttpd to 1.4.9 - error running dispatch.fcgi
Hi all,
I just updated lighttpd from 1.4.8 to 1.4.9 and it now refuses to
start with the following error:
2006-01-24 23:12:24: (mod_fastcgi.c.989) execve failed for: public/
dispatch.fcgi No such file or directory
2006-01-24 23:12:24: (mod_fastcgi.c.1015) the fastcgi-backend public/
dispatch.fcgi failed to start:
2006-01-24 23:12:24: (mod_fastcgi.c.1019) child exited with status 2
2006 Nov 04
2
[ Rails ] Multiple rails apps on 1 host
Team,
I''m trying to figure out how to run 2 rails apps on one host.
I ran an experiment:
cd /tmp/
rails app1
rails app2
cd app1
script/server
rails put a copy of lighttpd.conf in
/tmp/app1/config/
and then started lighttpd
http://localhost:3000
gave me the splash page.
I shutdown the server
I added something to
/tmp/app1/config/lighttpd.conf
server.modules = (
2005 Aug 24
1
FastCGI timeout problem
Hi everybody,
after more than 18 hours trying to get Ruby Rails running, i ran into this
problem that i cannot solve. I want to mention that with normal CGI the test app
was running fine. FastCGI is making me problems.
I receive in the browser:
"Application error
Rails application failed to start properly"
and in apache2 log files i have:
[Thu Aug 25 00:13:49 2005] [error] [client
2006 Feb 27
3
Rails via Lighttpd
I am trying to get Rails running through Lighttpd, on a Suse 10 box
running Rails 1.0.0 and Lighttpd 1.4.10
I followed the instructions in the wiki
(http://wiki.rubyonrails.com/rails/pages/Lighttpd) but keep getting the
same error:
linux:/etc/lighttpd # lighttpd -f lighttpd.conf
2006-02-27 12:32:17: (mod_fastcgi.c.997) execve failed for:
2006 Feb 01
3
apache2 / fcgi / RoR - no connection
Hi,
I''ve generated a new Rails app and dummy controller "foo" with method
"hello". I am trying to run it under Apache/2.0.53 with fastcgi, and
getting the index.html page when I hit http://localhost/foo/hello, or
for any other request (http://localhost/kdjfslkfjs). Also, there is
nothing in the rails logs, and no errors in the apache logs.
Relevant bit of
2006 May 19
5
more fcgi problems
Finally got fcgi installed with apache. Now whe I click on "About your
application''s environment" on the Rails Welcome page, it simply prints
out the dispatch.fcgi script as shown below. I would appreciate any help
I can get on this. I can provide other infomation if necessary.
#!/usr/local/bin/ruby
#
# You may specify the path to the FastCGI crash log (a log of unhandled
#
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 Jul 25
3
+ camping 1.4.140 -- apache+fastcgi, lighttpd+fastcgi
Okay, I have tested mounting several of my apps under Lighttpd and Apache,
both running FastCGI. I''m going to explain the configuration, but first:
update.
gem install camping --source code.whytheluckstiff.net
== Mounting Root for Lighttpd+FastCGI ==
server.port = 3045
server.bind = "192.168.0.103"
server.modules = (
2006 Jun 07
7
Tunneling in capistrano twice
Hi there,
The default recipe expects you to be able to access your web server
directly from your local machine.
On our web server, for security purposes, it is only possible to ssh
to it through one particular ip (which is also a remote machine.)
The capistrano source is so compact and tidy it looks very hackable.
But rather than messing around I thought I''d ask first if anyone else
2006 Aug 18
3
Lighttpd Conf Help - Multiple Domains Multiple Apps
Hi Guys,
I hope someone can help me out. I am trying to configure two
applications to run on lighttpd and each app will have its own domain.
My machine is running on Fedora. When I run my lighttpd with the
following conf file, I get no error but when I check out my app, it
dishes out a 404 error- the 404 being served isn''t the 404 inside the
railsapp/public folder.
Do hope someone
2006 Apr 09
18
I can''t get mod_fcgid to work
Hi,
I just installed mod_fcgid on my apache2 server.
When I try to load my application I get an
"Application error - Rails application failed ..." message.
In my Apache2 error-log it says:
Premature end of script headers dispatch.fcgi
mod_fcgid process /data/www/app/dispacth.fcgi exit (communication
error),
terminated by calling exit(), return code 1
Any help with this would be
2006 Mar 23
5
[OT] building fastcgi
Following the instructions on Hivelogic, everything works flawlessly on my
Powerbook until I do the ''sudo gem install fcgi.
I''m getting no-definition errors all over the place. Any thoughts how to
resolve this?
Example of errors:
No definition for fcgi_s_accept
No definition for fcgi_s_each
No definition for fcgi_s_each
No definition for fcgi_s_iscgi
--
View this message in
2006 Feb 16
11
Multiple Rails app on the same server?
I have a rails app on a debian server running lighttpd and I''m trying to
set up typo so that it also works (with a different url). I have 4 URLs
running -- let''s call them foo.com, bar.com, www.typo.com and
php.typo.com
I am starting lighttpd by going into the directory where my foo.com app
is and typing either ruby script/server or script/server -e production
-- either
2006 Feb 06
4
fcgi to run cgi scripts
Dear experts,
I have rail site that is running lighttpd and fcgi. I want the default
domain to serve the rails application, and I also want to have a
virtualhost (bugs.mysite) to resolve to a bugzilla instance.
Bugzilla is basically Perl application called through CGI.
I tried to find pointers on how to set fcgi to run both rails dispatcher
and other cgi scripts in a different virtualhost, and
2006 Jun 28
5
Production deployment
Gang-
We are getting ready to launch our ROR application; the last item
remaining is the deployment platform. For testing, we had used Apache +
MOD_FastCGI. I am not that impressed with it; sometimes it has strange
effects. For example, when we start the application, for about 5 minutes
or so, the app is very unstable and it gets better over time.
My questions is .. should I go with (1)
2006 Mar 01
4
RailsFCGIHandler(NameError)
/usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:200:in
`const_missing'': uninitialized constant RailsFCGIHandler (NameError)
from /var/rails/depot/public/dispatch.fcgi:24
I get the above log from my webserver running on apache+FastCGI
Any help would be greatly appreciated,
Mohammad