Displaying 20 results from an estimated 11000 matches similar to: "god - start command exited with non-zero code = 1"
2008 Oct 01
8
Mongrel_Cluster unable to access OCI8 library
Hi,
I''m able to run a ROR application in a Red Hat Enterprise Linux 4.4
environment, as long as I start my mongrel_cluster via the command line:
[chris at localhost ~]$ mongrel_cluster_ctl start
I take a look at the two mongrel_rails processes that were just created:
[chris at localhost log]$ ps -ef | grep mongrel
chris 4781 1 5 05:55 ? 00:00:02 /usr/local/bin/ruby
2006 Mar 20
7
strange charecters after redcloth usage
I''m using redcloth on my blog to transform my input into html. Alot of
times if I type "I''ve" I''ll wind up with "I,ve" except that it''s not a
comma but a very similar charecter. This is really killing my rss
feeds. What''s causing this? How do I fix it?
--
Posted via http://www.ruby-forum.com/.
2006 Jul 18
2
Testing which RuntimeError is raised
I am just starting to use unit testing. Way cool. But I am not finding
very clear docs on assert_raise. I have managed to write a test that
tells me that the destroy I am trying to test fails with a
RuntimeError (as it should). However, I would really like to test that
it rails for the specific reason I have in my model. How can I get
more specific? Am I going to have to create my own exception
2007 Nov 01
9
Mongrel + apache 2.2 + proxy error
Hi,
I have a setup with apache 2.2.6 proxying requests to a cluster of 5
mongrels. Occassionally, I receive the following error in the logs:
[Tue Oct 30 12:00:28 2007] [error] (70007)The timeout specified has
expired: proxy: pass request body failed to 127.0.0.1:8013 (127.0.0.1)
from 213.205.247.171 ()
[Tue Oct 30 12:00:28 2007] [error] [client 213.205.247.171] Handler for
proxy-server returned
2007 Nov 07
11
Links go to ''localhost''
I am using Apache2.2 + Mongrel on my machine.
Now I am accessing it over LAN. When I enter http://mymachinename/myapp
it opens fine but when I click on any link in my rails app, it replaces
mymachinename with localhost (http://localhost/myapp/controller/action)
and thus I am unable to access it from remote location.
2006 Sep 08
4
Does acts_as_attachment :storage => :db_system work?
I found the post about needing to install acts_as_attachement_1_1_6 if
you are not on edge rails. But I am having trouble getting db_system
storage to work. As far as I can tell in from the database, things are
working, but I don''t see how my model table hooks up with the db_files
table so I am having trouble altering the image_tag from the tutorial
2011 Nov 13
2
Rspec not finding my examples
I am following the examples in chapter 2 of "Rails 3 in Action" and
for some reason I have to specify the full path + file name to get my
specs to run. The book and rspec docs led me to believe that I should
be able to just type ''rspec'' and rspec would find any spec files in a
directory called spec. I even tried adding a .rspec file with
"--default_path spec"
2005 Nov 03
12
Installation of plugins/gems/mix-ins confusion
I''m running 0.14.2 and am a little confused as to the best way to
install mix-ins. I''m specifically using "acts_as_paranoid" as an
example (as it is one of the simpler implementations). It is a gem and
can be "installed" as a gem, but then what''s the best way to integrate
it into my app (require_gem?). I''ve seen recommendations to require it
2007 Feb 05
3
Kernel panic kickstarting to CentOS 4
I have an older server I am trying to update to CentOS 4.3 but I can't
get to the installer screen because the machine kernel panics when
booted from the install CD. The error message I get is:
Kernel panic - not syncing: include/linux/smp_lock.h:25
spin_unlock(kernel/sched.c:c035) not locked
The boot messages before this point are mainly to do with acpi
including:
acpi_ps_parse_anl
2007 Nov 29
4
100% CPU use
I needed to restart my mongrel cluster today (updated a Rails
controller). And my mongrels didn''t really come back up. They bind the
port but don''t respond to any requests. I can''t find any log file that
has useful information. These were running fine until I tried the
restart. And I have not changed any software versions in a month. (And
yes, I tried rolling back the
2006 Jul 16
1
Help: migrating data from fixtures
I''m attempting to load some test data into a table , following along
with AWDWR example.
My migration is failing on the user connection.
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:123:in
`rake_original_const_missing'': uninitialized constant User (NameError)
So in this line from the migration file:
f =
2005 Dec 29
3
Storage for images: Database BLOBs or files?
I can''t decide where store images for my Rails application.
--
Posted via http://www.ruby-forum.com/.
2006 Mar 08
8
New ajaxy CMS on Rails: adminpages
hey, i''ve created a basic content management system using rails and
scriptaculous. I posted a first version last week, but I heavily
extended it since then.
Features:
Pages are arranged in a sortable tree (sortable by drag and drop)
Pages have "nice" URLS (no /index?articleid=97361496 or something)
Cacheing on page basis
every page has a layout with a number of columns
page
2007 Jul 30
3
validates_uniqueness_of doesn't work if value tested is numeric and column is string
Hello all,
I am working through the depot example in the rails book. If I add a
validates_uniqueness_of to a string column in the model, and then try
to create a record with a number in this string column I get an SQL
error. Looks like the SQL generated to test for uniqueness does not
quote the value if it''s numeric even though it''s comparing against a
varchar column. It does
2006 Jul 21
20
New version of AWDwR
Folks:
I''ve uplaoded the B1.05 version of AWDwR. It fixes a number of
reported errata (and a few that weren''t reported :), and
adds two significant changes:
1. It now uses the new Active Record decimal -> BigDecimal
conversion. I''ve personally been waiting for this for a long
time, and I''m really happy it''s now part of core. However,
2006 Mar 10
14
Oracle Date type errors rails on edit
I have a table with "expires_on" a DATE field.
"Show" and "Destroy" work, but "Edit" errors:
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/helpers/date_helper.rb:150:in
`select_hour''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/helpers/date_helper.rb:149:in
`select_hour''
It only happens when
2008 Aug 26
1
apache
How can I pass the following Oracle 10g variables to my apache?
ORACLE_BASE=/u01/oracle
ORACLE_HOME=/u01/oracle/10g
ORACLE_SID=king
LD_LIBRARY_PATH=$ORACLE_HOME/lib
LD_LIBRARY_PATH_32=$ORACLE_HOME/lib32
PATH=$PATH:$ORACLE_HOME/bin
NLS_LANG=AMERICAN_AMERICA.AR8MSWIN1256; export NLS_LANG
NLS_DATE_FORMAT=dd-mm-yyyy ; export NLS_DATE_FORMAT
export ORACLE_BASE ORACLE_HOME ORACLE_SID LD_LIBRARY_PATH
2007 Oct 01
10
Error with Mongrel_cluster
Hi Guys,
I?m getting this error with mongrel_cluster. I am able to start mongrel
through mongrel_rails start but the cluster is not working. Initially
mongrel_rails wouldn?t work but after I added $ORACLE_HOME and
$PD_LIBRARY_PATH variables it worked but mongrel_cluster isn?t working
still. The mongrel log file looks like below.
Any help is appreciated.
Thanks.
-----------begin
2007 Oct 23
3
Ruby on Rails and Oracle
Hello, I''m having a trouble when I try to connect RoR and Oracle.
I believe that it has something to do with database.yml, this is how my
database.yml looks:
development:
adapter: oci
database: 127.0.0.1:1521/XE
username: system
password: y1984nip0359
host: 127.0.0.1
And this is the Error that i get:
-> http://127.0.0.1:3000/blog
OCIError in BlogController#index
2008 Mar 13
4
Merb in production with God/Monit
Hey All,
I just wanted to get other peoples take on problems when running merb
in production? Just as Rails used to do, the mongrels tend to get
heavy/unresponsive over time so need a good kicking by a watcher
daemon like god or monit. However, I have had serious problems getting
God to restart the process, as the "merb -k <port>" command doesnt
appear to work reliably