Displaying 20 results from an estimated 4000 matches similar to: "Error 500"
2006 Feb 22
1
Urgent help needed
Hi,
I''m on Apache 2.0.54, Linux Fedora Core 2 with Plesk.
I installed a Rails application previously on the box using SCGI and
it works fine; even now.
I''m trying to get a second app online and it fails. Same config,
except for the SCGI runner ports of course.
It looks like the error comes from the fact that the mod_rewrite
loops. WHY ???
BTW : I have to put this app
2007 Apr 16
4
Web Flow and the session method in ActionController
Hi there,
I''m writing a port of Spring Webflow to Ruby on rails and I''ve
encountered quite a lot of difficulty finding how to override the
session[] method which is accessed via any ActionController.
I have my pseudo-code ready to implement, but I can''t find the method
declaration to copy it''s signature.
Also, if anyone wants to collaborate on this particular
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 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,
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
2005 Nov 15
11
Collecting thread: Too many open files (Rails+SCGI crash)
I have a problem with running Rails 0.13.1 with scgi_rails 0.4.3 and
Apache. After running for some time (more than a day), the SCGI
process stops with the following error (from scgi.log):
--
[ERR][24189] Collecting thread: Too many open files
[ERR][24189] /usr/local/lib/ruby/gems/1.8/gems/scgi_rails-0.4.3/lib/scgi.rb:188:in
`accept''
2006 Mar 31
2
AAARGH! Need some fresh eyes to look at this pls
I just switched my rails app over to production mode, couldn''t get it
working, switched it back to development mode, and now nothing gets
outputted in the browser. I''m sure I''ve missed something in the configs.
Setup: Lighttpd/SCGI on WinXP, Rails 1.0.
Environment.rb:
ENV[''RAILS_ENV''] ||= ''development''
require
2006 Jan 11
10
Recommend server for developing RoR on win
Hi all,
can you recommend me which web server config to use for developing rails
on windows machine. I tried webrick, which is good but it''s annoying
because console window is in taskbar for every site running and it have
to be started manually. Apache with CGI is to slow and using FastCGI on
the other side brings me lot of problems, like randomly not working RoR
sites.
Any help is
2007 Nov 13
35
XEN - Broadcom issue: survey
I totally agree with Luc Boudreau about this problem.
On modern branded server they ALL use Broadcom chipset... I must admit that:
a) lot of people are experiencing the problem but can tolerate it
or
b) someone already experienced this problem and solved it
Lets'' approach the problem pragmatically... just start with a survey on
the list. ... hope we solve this issue soon.
Ivan
2006 Jul 07
3
Observer and Plugin conflict...
Hi fellas,
I have setup the acts_as_authenticated plugin and activated the
UserObserver to send activation emails.
I also have a homemade security plugin which adds methods to
ActiveRecord::Base like let_read and let_write.
On the server start, those two enter in conflict because the Observer
does something with the User model but it can''t find the let_read and
the let_write
2006 Feb 23
1
Base path
Hi there
I''m using scgi to interface a rails app with Apache 2. My app''s stylesheet
and javascript tags add ''/scgi-bin/'' to the path, to stylesheets src
attributes are "src=''/scgi-bin/stylesheets/style.css"; that''s bad.
How can I fix this ??
--
_____________________________
Luc Boudreau
-------------- next part --------------
An
2008 Jan 07
25
PV- Drivers for Windows (XP, 2003 Server)
hallo everybody,
i googled a lot of time, looking for PV-drivers for Windows- domUs.
I found a few things about that, but nothing about download an installation.
Do anybody know, where I can get it and how to install?
My configuration:
Dom0: CentOS 5.1
DomUs: Windows XP and 2003 Server
Thanks for any help,
Guenter
_______________________________________________
Xen-users mailing list
2005 Dec 28
8
Rails app lags after inactivity
Hi all. I have two Rails applications. Each is on its own VPS hosted by
Pipespring (excellent service btw).
My app runs lightning quick - AFTER the first load. If I visit my site after
a period of inactivity (i.e. no visitors to my site), it takes up to 10
seconds to load that first time. After that I can hop around with no
problems.
Has anyone run into this before? Ideas?
- Rabbit
2007 Dec 06
6
DomU (Centos 5) with dedicated e1000 (intel) device dropping packets
Hello everybody,
I''ve finished with pci export from DomU to Dom0 (Debian Etch) but now i
have a new problem, and a big one.
My ethernet card is dropping packets but after some time (i can''t tell
how)
It can work for a day (not in production so not hard tested) and then
all packets are dropped.
Look at the ifconfig output :
eth0 Link encap:Ethernet HWaddr
2006 Apr 12
1
Great Job Instant Rails Team
Hey John, I received the same type of functionality but I simply used
WebBrick instead of SCGI and I was up and running. Great Job Instant Rails
Team! :-) BTW, I have used rails on my PowerMac but this is the first for
the PC and it took me less than 10 minutes to get operational. This
includes download time, unpacking, and firing up the cookbook application.
Now, I wish that my .Net project
2006 Apr 29
1
Warnings printed to console causes error if console closed on Linux
I had a statement that was generating a warning about parenthesise
argument for future version. The interesting thing was it would crash
the page with an input/output error on my production linux server, but
worked fine in webbrick/windows. I finally tracked it down to it crashed
when trying to print the warning to the console. If I kept the terminal
open that I started the server on it would
2006 Jan 17
15
legacy database and finder_sql nightmare!
This is my first rails app with a legacy database and I''m having a
terrible time getting the models set up correctly. I have an order
table that has a primary field named order_number. I have a name table
with a primary of item_number. These two tables are liked by the
item_number and the order_number, but not as you might think. If the
order_number is 2500, then each entry in
2007 Sep 25
4
No eth0 device found in domU
Hi,
I tried already a long time to enable network in my domU but I always
fail with:
# ifconfig eth0 192.168.0.1 up
SIOCSIFADDR: No such device
SIOCGIFFLAGS: No such device
Do I need to load a kernel module?
I use OpenSuse 10.2 with kernel 2.6.18.8-0.5-xen (for both domU and dom0).
My config:
kernel = "/boot/vmlinuz-xen"
ramdisk = "/home/jens/initrd.gz"
memory = 1024
name
2005 Dec 18
8
Invoking Rails from an API
Hi,
I am trying to use ruby int an embedded web server. The environment
does not have the luxury of CGI or WebBrick. I find limited
documentation on how to get this to work. As a test program on windows,
I tried the code in the section below.
I have the issues.
1. Is public/dispatch.rb the right script to invoke a rails app? If
so, what is the right way to invoke dispatch.rb?
2.
2006 Apr 03
2
testing proportional hazard in a Cox model including a time-varying covariate
I am using a syntax like coxph(Surv(start, stop, event) ~ X, data) to estimate the effect of X, which may change at each measurement (every 6 months). Is there anyone who knows a way to test the proportional hazard assumption in that case?
Thank you in advance
Jean-François Boudreau
Sherbrooke University
[[alternative HTML version deleted]]