Displaying 20 results from an estimated 3000 matches similar to: "Fails to restart mongrel cluster after Capistrano rollback (PIDs not deleted)"
2007 Aug 14
1
can not delete pid fils when stopping mongrel_cluster
Hi all,
i im using Capistrano2 to deploy my rails app and Apache/Mongrel as it''s
env. All is well except deploy:rollback task. the following is log messages
when running cap deploy:rollback :
[DEPRECATION] Capistrano.configuration is deprecated. Use Capistrano::
Configuration.instance instead
* executing `deploy:rollback''
* executing `deploy:rollback_code''
*
2006 Apr 28
2
tests and login_engine
Hi there,
I just started writing tests today after some months of using rails (slap wrists).
I seem to be getting the hang of things, but I''m hitting a wall when it comes to functional_testing pages protected by login_engine/user_engine.
all my assertions come back with:
Expected response to be a <:success>, but was <302>
Is there a way I can login from within a test?
2007 Jul 09
8
Capistrano mongrel recipes and /usr/local/bin
Hello,
I''m trying to deploy my application with Capistrano using Mongrel
recipes. Since I''ve installed Ruby from source code, mongrel scripts
are found in /usr/local/bin. But the recipes can''t find
mongrel_rails : "bash: mongrel_rails: command not found". The path of
the user account used to deploy is OK. For sure, I can redefine
2012 Nov 09
3
General function to substitute values in a data frame
Hi R users,
I need a way to substitute the values 10:31 to the letters A:V (i.e 10=A,
11=B, ..., 31=V) in a data frame.
For example:
> y<-c(10,11,12,13)
> z<-c(28,29,30,31)
> df<-data.frame(y,z)
> df
y z
1 10 28
2 11 29
3 12 30
4 13 31
Then I would substitute it and obtain a data frame like this as a result of
the function:
>
2009 Mar 20
1
CCA - manual selection
Hello,
I am trying to obtain f-values for response (independent) variables from a
CCA performed in vegan package, to see which ones of them have
significative influence in my dependent variables (like the manual selection
in canoco), but I can't find any function (or package) that do such a thing.
The dependents variables are species data, and the independents are
ambiental data.
Than you.
2011 May 08
1
Transaction - but no rollback?
Hello,
I''m having trouble with transactions with rails 3.0.3 and mysql 5. I''d
like to import data etl-batch-style:
class Job < ActiveRecord::Base
# ...
def perform_etl
connection.transaction do
extract # some connection.execute / job.update_attribute stuff
transform # some connection.execute / job.update_attribute stuff
end
end
#...
end
2010 Jul 23
7
fail rollback transaction with manual raise exception
With :
PostgreSQL 8.4 or postgresql-8.3
rails 2.3.4
pg 9.x or pg 8.x
I test this code:
=========================
class NkiBatch < ActiveRecord::Base
Bank.connection.transaction do
bank = Bank.new(:name => "ddsjdsjdsjk")
bank.save!
raise ActiveRecord::Rollback.new
end
end
and this:
=========================
class NkiBatch < ActiveRecord::Base
2007 Apr 08
8
SQLite3 build is broken because calling rollback!() doesn't prevent COMMIT
I know why SQLite3 is broken. This code:
Topic.transaction do |transaction|
transaction.rollback!
end
results in the following database commands:
BEGIN;
ROLLBACK;
COMMIT;
In other words, there is a COMMIT when no transaction is in flight.
MySQL and Postgres are coll with it, but SQLite3 blows up with
indignation.
Recorded as a ticket: http://dev.rubyonrails.org/ticket/8030
2007 Dec 11
3
Transactional/Rollback problems
I''m having a rollback problem with rspec trunk. It doesn''t seem like
rollbacks are happening quite as often as they should be. It
appears as though the rollbacks are *NOT* occurring on the first
description block in a file, but are for the rest. Here is a set of
specs that are failing:
require File.dirname(__FILE__) + "/../spec_helper"
describe
2005 Nov 30
3
How to do a rollback
Hi. I''d like to know how can i do a rollback after a
Table.new(params:id)?
thank you
--
Posted via http://www.ruby-forum.com/.
2013 Jun 20
2
[PATCH V2] ocfs2: need rollback when journal_access failed in ocfs2_orphan_add()
While adding a file into orphan dir in ocfs2_orphan_add(),
it calls __ocfs2_add_entry() before ocfs2_journal_access_di().
If ocfs2_journal_access_di() failed, the file is added into
orphan dir, and orphan dir dinode updated, but file dinode
has not been updated.
Accordingly, the data is not consistent between file dinode
and orphan dir.
So, need to call ocfs2_journal_access_di() before
2012 Jun 22
1
'yum update' rollback or .. ?
Hello,
we have several physical servers (CentOS 5.*) with rather critical applications where (because of stability)
we don't do regularly 'yum update'. In virtualized environemnts (under Vmware)
we do a snapshot, then 'yum update', reboot and if something is wrong we rollback the snapshot.
On physical servers we cannot do that. I have read about rollback option of rpm but not
2012 Aug 15
2
how best to rollback from a yum update?
Suppose I want to upgrade a bunch of packages on a system, but in case the upgrade produces unexpected, undesired results, I want to be able to rollback the system to its original state. What is the best way to do that?
Often, I won't have, or be able to find, packages for the current installed versions. I.e. If I haven't upgraded postgres for 2 years, it may be that I can no longer
2006 Oct 20
2
how do you manually cause a rollback in a transaction?
how do you manually cause a rollback in a transaction?
I''ve looked everywhere with no suceess. Anyone know?
Thanks in advance
Chris
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2017 Sep 19
1
Re: Rollback to running VM
2012 Jan 11
1
How many "rollback" TXGs in a ring for 4k drives?
Hello all, I found this dialog on the zfs-devel at zfsonlinux.org list,
and I''d like someone to confirm-or-reject the discussed statement.
Paraphrasing in my words and understanding:
"Labels, including Uberblock rings, are fixed 256KB in size each,
of which 128KB is the UB ring. Normally there is 1KB of data in
one UB, which gives 128 TXGs to rollback to. When ashift=12 is
2009 Dec 11
7
Doing ZFS rollback with preserving later created clones/snapshot?
Hi.
Is it possible on Solaris 10 5/09, to rollback to a ZFS snapshot,
WITHOUT destroying later created clones or snapshots?
Example:
--($ ~)-- sudo zfs snapshot rpool/ROOT at 01
--($ ~)-- sudo zfs snapshot rpool/ROOT at 02
--($ ~)-- sudo zfs clone rpool/ROOT at 02 rpool/ROOT-02
--($ ~)-- LC_ALL=C sudo zfs rollback rpool/ROOT at 01
cannot rollback to ''rpool/ROOT at 01'': more
2007 Aug 23
6
mongrel + pound + ziya problems
Hi,
i''m using to ziya to display some graph.
If i use it running mongrel as single instance all work good (very slow
but work).
If i try to use it with pound as htto proxy ziya charts wait forever for
data...that never arrive.
If i check the mongrel log it seemes to make queries on the database and
retrieve data,but nothin appera.
Anyone have an idea on how i can solve this problem?
2007 Oct 19
2
Using raid 1 for rollback purposes
Hi All,
For quite some time I've used raid 1 as a means of providing a
rollback mechanism for an upgrade (which I learned from others long
ago). So essentially, before an upgrade you split the mirrors and
upgrade one side or the other. If your upgrade goes well you sync one
way, if your upgrade does not you sync the other (much hand waving and
chanting going on, as its more complicated than
2007 Jul 13
11
Mongrel + Insert Web Server Here
Which web server does mongrel fair best with?
-Ron