Displaying 20 results from an estimated 4000 matches similar to: "fcgi woes"
2006 Aug 10
6
More GoDaddy Woes
My GoDaddy Rails site has been plugging away for a couple of weeks.
Its just a proof of concept with very little use. I haven''t updated
it or restarted FCGI at all. But today, it just quit working
altogether. In the error log, I''m getting:
(104)Connection reset by peer: FastCGI: comm with server
"dispatch.fcgi" aborted: read failed
FastCGI: incomplete
2006 Feb 11
1
Fastcgi and mysql woes
Hi,
I have been heck of a time to get mysql and fastcgi to
work properly on my Mac OS X box. I keep getting the
following error: Can''t connect to local MySQL server
through socket ''/opt/local/var/run/mysql5/mysqld.sock''
(13)
I have even tried commenting out the "socket" option
in my database.yml but it still gives me the same
error. I''m ok when I
2006 Jun 09
2
Noob with Overwhelming Deployment Woes...
I''m doing some searching for deployment options, and I feel like I''m
getting buried in a lot of new technology and assumptions that I know
all that it''s dependent on. In the past I''ve done small things with PHP
where I just dump the app in a folder and everything works out of the
box.
I found that everyone is using Capistrano, which relies on Subversion
2006 Mar 28
3
compiling php with fcgi on tiger
I can''t figure out how to compile php with fcg enabled.
I found a website which gives an example of how to write options in
configure
http://scoops.totallyrule.com/articles/2006/02/01/mysql5-ab-package-and-php5
So I wrote
./configure --prefix=/usr/local --program-suffix=5 --enable-fastcgi
--enable-discard-path --enable-force-cgi-redirect
--with-mysqli=/usr/local/mysql/bin/mysql_config
2006 Mar 24
0
fcgid woes
hi there,
I''m running rails on apache2 with mod_fcgid which works, but I''m having trouble with environments adn separate dev & prodution vhosts. I have DefaultInitEnv set in the VirtualHost directive for each (as production | development), which works fine after a server restart for whichever vhost I hit first, but thereafter the RAILS_ENV seems to be locked into one
2006 Apr 05
13
Apache Deployment Woes
Hi Everybody,
I''m down to my last straw. I''ve been trying to deploy my latest rails
project on Apache for about two weeks with limited success. I have a
lot of info, but still no clue what is causing my problem. I decided to
turn to the community for some help...
Basically, my site works fine with Apache and FastCGI most of the time,
but sometimes I get the "Rails
2006 Feb 21
7
Self-referencial habtm relationship
Heyo!
I am setting up a self-referencial habtm relationship with the users
of my app. I am using Chad Fowler''s "Rails Recipes" to get me started,
and everything works great with the join table "people_friends". I add
friends by doing somebody.friends << somebodyelse. However, with my
app, there is an approval process so my join table has columns
person_id,
2006 Feb 06
4
Relationship Question (STI)
My girlfriend and I have been dating for two years, and she just told me she
has an STI...
Actually, I currently have three different models, like: Dog, Whale, Monkey
They all have some similar attributes, but, they are unique enough to
break into their own models. I could use STI, but I think the table would
just have too many columns.
Now, I wanted to let the Dog''s, Whale''s
2006 Feb 06
6
ActionMailer - ROR Recipes - Multipart/alternative
I am using the SaltedHashLoginGenerator. and would like to send the e-mail in multipart/alternative format.
By default my application is using forgot_password_en.rhtml template.
I read in the ROR Recipes book
"ActionMailer sees these templates, recognizes the pattern in their
file names, and automatically sets the MIME type of the message to
multipart/alternative and adds
2006 Jul 20
13
GoDaddy Woes
Has anyone had any luck setting up a Rails App using GoDaddy? I''m at my wits
end, I uploaded the site using the "instructions" in the Help Center but I
keep getting the
Application error
Rails application failed to start properly"
Error. I''ve lucked all over for help, and I''ve tried a bunch of things
(adjusting the chmod values of my dispatch files
2007 Dec 14
1
does gem fcgi require fcgi to be installed?
Does anyone know if the gem fcgi needs fcgi to be installed on my
machine? I''m trying to install the gem fcgi and I''m getting the
following message:
-bash-3.00# gem install fcgi
Updating metadata for 9 gems from http://gems.rubyforge.org
.........
complete
Building native extensions. This could take a while...
ERROR: Error installing fcgi:
ERROR: Failed to build gem
2006 Mar 08
3
migrations schema_info table, Rails Recipes Bug?
I have the rails recipes book and i was going through the migrations
recipe. Everything seemed to work except for the last part in trying to do
a rake migrate with a migration file version 1 and the schema_info version
set to 0. Without the force attribute, the rake migration fails, as
expected.
So the recipe says to run this:
ruby script/runner
2006 Feb 09
2
Manually running dispatch.fcgi fails
I''m a newbie trying to setup lighttpd. It is failing with error 500.
I tried running dispatch.fcgi by hand and I''m getting:
# ./dispatch.fcgi
/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 ./dispatch.fcgi:24
Not sure how to proceed from here.
2005 Dec 28
0
Probs installing ruby-fcgi on Linux
Hi. I''ve installed fcgi 2.4.0 on a CentOS 4.2 box without problems using:
./configure --prefix=/usr/local/fcgi --exec-prefix=/usr/local/fcgi
make && make install
When I try to install ruby-fcgi bindings I get the following:
[root@machine ruby-fcgi-0.8.6]# ruby install.rb config --
--with-fcgi-lib=/usr/local/fcgi/lib
--with-fcgi-include=/usr/local/fcgi/include
install.rb:
2006 Apr 07
4
Big fcgi problem...
Hi all
My lighty spawn 10 fcgi process, some times, one or two of them will
eat all most 90% CPU, when i kill them, everything is ok.
I want a script to auto kill these Big fcgi,
could you give me some advise?
regards
--
Posted via http://www.ruby-forum.com/.
2006 Mar 04
4
managing number of dispatch.fcgi processes ?
I have a problem where when I try and access my site a dispatch.fcgi
process is started but then exits right after the page has loaded.
Requireing it to start all over agin the next time a request is made.
I''ve read about people using two or more FCGI processes to help with the
request load but how do people do this?
Firstly, how do you make a FCGI process persistant? I''m
2006 May 25
4
downloads dispatch.fcgi for every request!!
Hi All, has anyone ever seen it when they vist the URL in the applicaion
that it just tries to download the FCGI dispatch file?
Im running FC3, Lighttpd1.4.11, Rails 1.1.2 and FastCGI.
i run IRB and get...
irb(main):001:0> require ''fcgi.so''
=> true
irb(main):001:0> require ''fcgi''
=> true
On the default rails install page ''riding on
2006 Mar 31
3
RJS templates outputting bloated code?
I''m an RJS newbie. I just did the tutorial at
http://www.codyfauser.com/articles/2005/11/20/rails-rjs-templates, and
then used wget to look at the output the RJS template generates. This is
what I got:
try {
new Insertion.Bottom("list", "<li>Fox</li>");
new Effect.Highlight("list",{duration:1});
Element.update("header", "RJS
2004 Nov 18
0
Ruby 1.8.2 breaks dispatch.fcgi
Hi,
dispatch.fcgi does:
require ''fcgi''
FCGI.each_cgi { |cgi| Dispatcher.dispatch(...
Because each_cgi is only in fcgi.rb, this is dependant on finding fcgi.rb
first.
Rub 1.8.2 shows the following $LOAD_PATH
/usr/lib/ruby/1.8/i386-linux-gnu
/usr/lib/ruby/site_ruby/1.8/i686-linux-gnu
/usr/lib/ruby/site_ruby/1.8
/usr/lib/ruby/site_ruby/1.8/i686-linux
/usr/lib/ruby/site_ruby
2005 May 26
1
No response from Apache 2 / fcgi / rails...
Hello! I''m struggling here with getting Typo running on a Red Hat
server under Apache 2 / fcgi... Every time I try to load the public
home page, I get this in my error log:
[Thu May 26 00:20:52 2005] [error] [client 24.22.74.233] FastCGI:
comm with (dynamic) server "/home/httpd/vhosts/brigleb.com/httpdocs/
public/dispatch.fcgi" aborted: (first read) idle timeout (30 sec)