Displaying 20 results from an estimated 50000 matches similar to: "App crash but nothing in logs"
2006 May 17
12
Help with Apache config
I have been attempting for days to configure Apache for Rails. I have
read forums, followed How-To''s all in vain. I am hoping someone can help
me out. I am getting the Rails Welcome screen, but when trying to go to
any other url, I get the 500.html message. Take a look for yourself at
http://66.139.78.237 and click on "about your application''s
environment".
2005 Dec 30
0
XP Apache FastCGI ok if RAILS_ENV="", crash when RAILS_ENV="production"
Dears,
Thanks to Demetrius (dema.ruby.com.br, see Taming FastCGI) I''ve a
running FastCGI Rails 1.0 environment with :
- Win XP "Professional" (just brand name)
- Apache 2.0.55 (msi)
- Ruby for Apache 1.3.1
- Database backend is now Oracle 8.1
Everything run fine with default environment, I''m confused for
switching into ''production''.
By default
2005 Sep 02
0
RE: ActiveRecord::StatementInvalid error after app has beenrunning for a while
I have this problem as well... After so many hours of inactivity, I get
"statement invalid" and if I restart Apache or WEBrick, everything works
fine again.
What steps can I take to fix this? I don''t want to have to restart the
server!
-Brian
-----Original Message-----
From: rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
2006 Jul 21
3
ROR - Apache - FastCGI / Can''t see stylesheets or javascript
Folks ...
I have been porting my app from dev environment on Webrick to Apache
with FastCGI. I have the app responding and pulling up the data, but it
is ignoring the "images", "stylesheets", "javascripts" directories
located in the public directory.
I''m running Apache under Suse Linux 9.x. Here is the information that I
have in my vhosts.conf file:
2006 Jul 06
5
Building a standalone application with RoR
Hello,
I have to code a small application for a car repair shop running under
Windows (98 SE but may be my client could upgrade to 2000) and using RoR
is my definite choise !
The app will be powered by WebRick (which is enough powerfull for a
small app used by only ONE user at a time)
My questions are targeted to the best database to use... I had a look to
SQLite and Firebird but support
2006 Jun 02
4
RoR on Apache not working
Hi
I''m a RoR newbie, in fact i''ve been using it for less than 24 hours, but
I''m not an internet/pc/apache/developement newbie so I expected this to
go much easier :)
Ok, here it goes. I''ve been trying to get RoR working with apache both
on a RH server and after i didn;t managed there I tried on my machine,
an windows XP/Apache2 machine.
I don''t like
2005 Aug 30
1
ActiveRecord::StatementInvalid error after app has been running for a while
Hi,
I''m having a bit of a problem with a rails app and I wonder if anyone can help.
It seems to run fine for a while, but if it''s left running too long
(left running as a fastcgi or webrick process that is) it starts
failing with an "ActiveRecord::StatementInvalid" error (i''ve included
the full error from the log file below).
I''m seeing this on both
2006 May 18
0
SOLVED: Re: How to debug the rendering in Rails?
It seems to be working now.
I used "puts" debug statement that were rendered to the webrick console in
the dev environment, but that made fastcgi trip ...
Cheers,
Mariano
On 5/18/06, Mariano Kamp <mariano.kamp@gmail.com> wrote:
>
> Hi,
>
> I have some controller code like this:
>
> def mailing_lists
> @ml =
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 Aug 05
0
RMagick and FastCGI on Windows
I''m having trouble getting RMagick to work on my Apache/FastCGI setup.
If I top Apache and start WEBrick on the exact same app/dirs, it works
fine.
I installed RMagick following the instructions here:
http://rmagick.rubyforge.org/install-faq.html#win
That gives me:
C:\ruby\lib\ruby\gems\1.8\gems\RMagick-win32-1.9.2-mswin32\lib
2005 Oct 14
1
Detecting Webrick // determining application "root" directory
Is there a way to detect Webrick at runtime? I''ve
noticed a couple of differences between my dev
environment (Webrick) and the production environment
(Apache 2/FastCGI):
* stream must be false in send_file with webrick
* pwd is different
- Webrick: It''s where you run ruby
script/server from
- Apache: It''s the public directory
... unless someone
2009 Jul 29
1
Windows+Apache+FastCGI+Postgres - didn't work
Hello All,
Get
[Thu Jul 30 03:46:12 2009] [error] [client 66.249.67.10] (OS 2) Can''t
find specified file: FastCGI: failed to connect to server "C:/usr/www/
public/dispatch.fcgi": CreateFile()/WaitNamedPipe() timed out
[Thu Jul 30 03:46:12 2009] [error] [client 66.249.67.10] FastCGI:
incomplete headers (0 bytes) received from server "C:/usr/www/public/
dispatch.fgi"
2006 Feb 22
3
Newbe Rails question on Apache.
Hello,
I am new to Rails, like totally new. I am not new to application development
having near 10 years experience with data mining and store front development
with various Java web severs.
I see a ton of power in Rails but I am slightly put off by what looks like a
difficulty when running Rails apps under Apache. So I am posting a few
prelimenary questions of getting Rails apps going
2005 Mar 01
3
problems with apache
Hi all
I''m currently running rails on apache/windows and it seems like rails
has trouble getting started the first few times I start apache and
request a page.
I created a blank controller called ''test'', and it has an index method
and associated index.rhtml file. (All it contains is <p>hello world</p>)
I keep getting ''500 server
2005 May 14
6
HELP!! Serious memory leak in my rails app!!
I''m having a huge memory leak problem with a rails application I''m developing!
I first noticed that when running under webrick (via script/server) there was
a fast memory leak.. several users using the app for a few hours would use 2
gig of memory!!!
I searched the archives and found that some users found that it could be
avoided by saying --daemon when launching webrick..
2006 Jan 06
5
Routing problems - Apache proxy vs. Webrick direct
I dropped the use of fastcgi because I could not get popen working (see
''[Rails] Apache2 and popen''). It works under WebBrick. Since CGI is too
slow, I thought I''d proxy to WebBrick via Apache.
I am having routing problems now with escaped slashes in the URL.
Here''s my routes.rb:
map.connect '''', :controller => "wiki"
2005 Oct 11
0
Re: stylesheets directory unavailable in Apache but notWebrick
If I switch from fcgi to the cgi dispatcher the stylesheets work? Anyone have any ideas?
Thanks in advance,
Scott
Thanks,
Scott Caldwell
Database Administrator
City of Fayetteville
113 W Mountain St
Fayetteville, AR 72701
(479) 575-8329 phone
(479) 575-8316 fax
http://www.accessfayetteville.org/
http://www.faygis.org/
>>>
2006 Jan 22
0
MySQL Adaptor on WinXP Dual CPU machine broken?
When I run using webrick on a dual WinXP SP2 machine it crashes
intmittently at random locations.
If the page has no MySQL lookups in it it will go and go forever. The
moment I put one
MyModel.find(:first) into the controller. Webrick starts crashing
again. Crash as in illegal access into low addresses of memory.
I have tried installing MySQL 4.1 and 5 GA as well as uninstalling and
2006 Mar 09
12
ruby/rails seems to be fubar''d
Hello. Any help the community can give me will be greatly appreciated.
I''ve got the server guys who administer my dedicated server working on
my issue, but it''s been two days and they are still at square one.
Let''s start with the history. I''ve been working with ruby for a month
or so now, and am starting to get pretty comfortable with it. I asked
my host
2006 Feb 18
0
RoR with FastCGI cannot get it working.
I have Ruby on Rails setup on a server using the guide for cPanel from
the wiki at the RoR main site, but it does not work properly.
I ran the test.fcgi file I found on a page on the wiki and it just
loops. The default test controller dispatch.fcgi also loops.
I see a FastCGI error along the lines of "has failed to remain running
for 30 seconds given 3 attempts, its restart interval has