Displaying 20 results from an estimated 14000 matches similar to: "Bizarre log file permissions"
2009 Mar 15
3
Capistrano deploy errors
Hi, when I do cap deploy:cold I get this error:
rake aborted!
undefined local variable or method `acts_as_commentable'' for #<Class:
0x7fa1c34a2f10>
/usr/local/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/
base.rb:1833:in `method_missing_without_paginate''
/usr/local/lib/ruby/gems/1.8/gems/mislav-will_paginate-2.3.8/lib/
will_paginate/finder.rb:170:in
2007 Oct 29
9
Problems with mongrel on NetBSD
I seem to have a (recent) problem with mongrel on NetBSD. I''m running
a development release of NetBSD (called NetBSD-current 4.99.34).
When I start mongrel, it listens on the IPv6 wildcard address, but not
on the IPv4 wildcard:
=> Booting Mongrel (use ''script/server webrick'' to force WEBrick)
=> Rails application starting on http://0.0.0.0:3000
=> Call with
2009 Feb 26
11
OpenSSL::Cipher decrypt returns 'wrong final block length'
I just want to encrypt a string submitted through a form before saving
it to the DB. And then decrypt it again when I need to retrieve and
use it.
Im trying to use the OpenSSL::Cipher library. I have the following
module for encryption/decryption
[code]
require ''openssl''
module AESCrypt
# Decrypts a block of data (encrypted_data) given an encryption key
# and an
2007 Oct 30
5
Using UUID in a Migration
Has anyone ever used UUID in a migration?
I thought I could set the default value of a field to be UUID but that
only sets the value the string instead of executing the function to
create a new unique identifier.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
2013 Mar 05
4
searching model and has_one association
Howdy.
I have these models:
User, field "mundane_name"
user has_one :instructor_profile (may or may not exist)
instructor_profile, field "sca_name"
belongs_to :user
I would like to craft a search on these fields, which is effectively this,
but in one go:
matching_users = User.where("mundane_name ILIKE ?", "%#{target}%")
matching_profiles =
2007 Oct 23
11
validates_confirmation_of not working?
I just can''t get validates_confirmation_of working for the life of
me!...
It''s not the first time I''m having problems with it but I just never
understand why!... This time I pretty much followed *exactly* the
example in Agile Rails Development and still...it just won''t work! I put
2 different passwords in the form and it doesn''t trigger an error,
2007 Nov 10
1
Upgrade on windows to 1.1
Attempting remote update of mongrel
Select which gem to install for your platform (i386-mswin32)
1. mongrel 1.1 (java)
2. mongrel 1.1 (mswin32)
3. mongrel 1.1 (ruby)
4. mongrel 1.0.4 (ruby)
5. mongrel 1.0.4 (mswin32)
6. Skip this gem
7. Cancel installation
2
> ERROR: While executing gem ... (OpenURI::HTTPError)
404 Not Found
This is using the NetBean IDE''s ''ruby
2008 Jul 18
2
disabled save button when pdf generated
Hi
I m new in Ireport, I want to dasabled the save button for generated
PDF file and also not allowed to copy past.
can any body help me.
Thanks and Regards
Kundan
--~--~---------~--~----~------------~-------~--~----~
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
2007 Oct 15
6
SQL injection with :order, :limit, :group
I know how to avoid SQL injection attacks when you use :conditions
User.find :first, :conditions => ["login=?", params[:username]]
but how about with :order, :limit or :group?
# uh-oh...spaghetti-oh
User.find :first, :order => "login; delete from users; select * from users"
Pat
--~--~---------~--~----~------------~-------~--~----~
You received this message because you
2014 Jun 16
1
SELinux issue?
I've recently built a new mail server with centos6.5, and decided to bite the
bullet and leave SELinux running. I've stumbled through making things work and
am mostly there.
I've got my own spam and ham corpus as mbox files in /home/user/Mail/learned.
These files came from my backup of the centos 5 server this machine is replacing.
The folder is owned by the user (the following is
2007 Dec 09
2
Mocks and Manual Tests
Is it possible for me to use Mock objects in manual testing?
They work great for functional testing, but now I need to load the pages and play around with some stuff, but of course I cant load them because there are a number of classes without implementations, which I want to just mock out.
Any ideas?
-----------------------------------------------------------------
Find the home of your dreams
2017 Jun 28
3
afr-self-heald.c:479:afr_shd_index_sweep
Hi list,
yesterday I noted the following lines into the glustershd.log log file:
[2017-06-28 11:53:05.000890] W [MSGID: 108034]
[afr-self-heald.c:479:afr_shd_index_sweep]
0-iso-images-repo-replicate-0: unable to get index-dir on
iso-images-repo-client-0
[2017-06-28 11:53:05.001146] W [MSGID: 108034]
[afr-self-heald.c:479:afr_shd_index_sweep] 0-vm-images-repo-replicate-0:
unable to get index-dir
2009 Jan 30
3
Shared subscription, acl-list and uidvalidity(s)
Hello,
I'm running dovecot-1.1.8/Maildir/ACL plugin. I sucessfully set up a Maildir
shared between users of the unix group 'doveshared' via a public namespace,
unix permissions and ACL files.
The location of my public namespace is /path/to/public.
I tried 2 sub-setups :
First setup
----------
drwxrws--- 4 root doveshared 4096 Jan 30 13:39 public
-rw-r----- 1 root doveshared
2017 Jun 28
2
afr-self-heald.c:479:afr_shd_index_sweep
On Wed, Jun 28, 2017 at 9:45 PM, Ravishankar N <ravishankar at redhat.com>
wrote:
> On 06/28/2017 06:52 PM, Paolo Margara wrote:
>
>> Hi list,
>>
>> yesterday I noted the following lines into the glustershd.log log file:
>>
>> [2017-06-28 11:53:05.000890] W [MSGID: 108034]
>> [afr-self-heald.c:479:afr_shd_index_sweep]
>>
2017 Jun 28
0
afr-self-heald.c:479:afr_shd_index_sweep
On 06/28/2017 06:52 PM, Paolo Margara wrote:
> Hi list,
>
> yesterday I noted the following lines into the glustershd.log log file:
>
> [2017-06-28 11:53:05.000890] W [MSGID: 108034]
> [afr-self-heald.c:479:afr_shd_index_sweep]
> 0-iso-images-repo-replicate-0: unable to get index-dir on
> iso-images-repo-client-0
> [2017-06-28 11:53:05.001146] W [MSGID: 108034]
>
2017 Jun 29
2
afr-self-heald.c:479:afr_shd_index_sweep
On 06/29/2017 01:08 PM, Paolo Margara wrote:
>
> Hi all,
>
> for the upgrade I followed this procedure:
>
> * put node in maintenance mode (ensure no client are active)
> * yum versionlock delete glusterfs*
> * service glusterd stop
> * yum update
> * systemctl daemon-reload
> * service glusterd start
> * yum versionlock add glusterfs*
> *
2013 Aug 29
2
Bizarre permissions problem
Help!
I have been using dovecot for some years with great success. A little while ago, I changed my mail server from Fedora to CentOS linux. I reinstalled dovecot, and *almost* everything seems to be working, but one thing. There's *one* user I can't get it to work on without a workaround. The user is "newuser" and the uid is 1111 (actual name and number changed to protect
2012 Nov 23
1
Bug?
root@graff:~# xm usb-list-assignable-devices
1-6 : ID 14dd:0002 Peppercon AG Multidevice
2-2 : ID 051d:0002 American Power Conversion Smart-UPS 3000 RM XL FW:691.16.I USB FW:7.3
root@graff:~# xm usb-hc-create bosch-w2k3-pv 1 1
root@graff:~# xm usb-list bosch-w2k3-pv
Idx BE state usb-ver BE-path
0 0 1 USB1.1 /local/domain/0/backend/vusb/55/0
2014 Nov 12
2
Query: SELECT "INBOX" permission denied
Yesterday I was forced to migrate servers due to a hardware failure. I
have been able to bring up my mail server, and set up Squirrelmail and
Dovecot. I am able to access (via Squirrelmail) all users' mail except
one - which happens to be my wife's, so it would be really helpful if I
could get that working too. I am able to log in, but see the following
message in the main pane:
2017 Jun 29
2
afr-self-heald.c:479:afr_shd_index_sweep
Hi Pranith,
I'm using this guide
https://github.com/nixpanic/glusterdocs/blob/f6d48dc17f2cb6ee4680e372520ec3358641b2bc/Upgrade-Guide/upgrade_to_3.8.md
Definitely my fault, but I think that is better to specify somewhere
that restarting the service is not enough simply because in many other
case, with other services, is sufficient.
Now I'm restarting every brick process (and waiting for