Re: [rt-users] RT Upgrade failing from 3.6.6 to 3.8.6 UPDATE: mason_data directory

2009-11-17 Thread Tom Lahti
 [Tue Nov 17 16:24:02 2009] [error] [client 216.222.31.30] Could not
 create '/opt/rt3/var/mason_data/obj/.__obj_create_marker': Permission
 denied\nStack:\n

You need to look specifically at the permissions on 
/opt/rt3/var/mason_data/obj and verify that the user the web server runs 
as can write to that directory.  The higher level directories are 
irrelevant.

Also, if you are using POSIX ACLs you might need to

getfacl /opt/rt3/var/mason_data/obj


-- 
--
   Tom Lahti, SCMDBA, LPIC-1
   BIT LLC
   (425)251-0833 x 117
   http://www.bitstatement.net/
--
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] RT Upgrade failing from 3.6.6 to 3.8.6 UPDATE: mason_data directory

2009-11-17 Thread Barron, Josh
Thanks Tom,

Looks like the permissions are set correctly:
[r...@help01 rt3]# ls -l /opt/rt3/var/mason_data/
total 24
drwxrwxrwx 2 apache apache 4096 Oct 30 15:51 cache
drwxrwxrwx 2 apache apache 4096 Oct 30 15:51 etc
drwxrwxrwx 2 apache apache 4096 Nov 17 13:33 obj

[r...@help01 rt3]# getfacl /opt/rt3/var/mason_data/obj
getfacl: Removing leading '/' from absolute path names
# file: opt/rt3/var/mason_data/obj
# owner: apache
# group: apache
user::rwx
group::rwx
other::rwx



-Original Message-
From: Tom Lahti [mailto:t...@bitstatement.net] 
Sent: Tuesday, November 17, 2009 2:47 PM
To: Barron, Josh
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] RT Upgrade failing from 3.6.6 to 3.8.6 UPDATE:
mason_data directory

 [Tue Nov 17 16:24:02 2009] [error] [client 216.222.31.30] Could not
 create '/opt/rt3/var/mason_data/obj/.__obj_create_marker': Permission
 denied\nStack:\n

You need to look specifically at the permissions on 
/opt/rt3/var/mason_data/obj and verify that the user the web server runs

as can write to that directory.  The higher level directories are 
irrelevant.

Also, if you are using POSIX ACLs you might need to

getfacl /opt/rt3/var/mason_data/obj


-- 
--
   Tom Lahti, SCMDBA, LPIC-1
   BIT LLC
   (425)251-0833 x 117
   http://www.bitstatement.net/
--
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] RT Upgrade failing from 3.6.6 to 3.8.6 UPDATE: mason_data directory

2009-11-17 Thread Tom Lahti
 [Tue Nov 17 16:24:02 2009] [error] [client 216.222.31.30] Could not
 create '/opt/rt3/var/mason_data/obj/.__obj_create_marker': Permission

Does the *file* .__obj_create_marker already exist in that location, 
with some un-overwritable permissions perhaps?

Or perhaps its in use?

lsof | grep marker



-- 
--
   Tom Lahti, SCMDBA, LPIC-1
   BIT LLC
   (425)251-0833 x 117
   http://www.bitstatement.net/
--
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] RT Upgrade failing from 3.6.6 to 3.8.6 UPDATE: mason_data directory

2009-11-17 Thread Barron, Josh
That file does not exist in the new RT directory, nor is any file by
that name in use anywhere from what I can see.

I'm really baffled by this.

-Josh

-Original Message-
From: Tom Lahti [mailto:t...@bitstatement.net] 
Sent: Tuesday, November 17, 2009 3:52 PM
To: Barron, Josh
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] RT Upgrade failing from 3.6.6 to 3.8.6 UPDATE:
mason_data directory

 [Tue Nov 17 16:24:02 2009] [error] [client 216.222.31.30] Could not
 create '/opt/rt3/var/mason_data/obj/.__obj_create_marker': Permission

Does the *file* .__obj_create_marker already exist in that location, 
with some un-overwritable permissions perhaps?

Or perhaps its in use?

lsof | grep marker



-- 
--
   Tom Lahti, SCMDBA, LPIC-1
   BIT LLC
   (425)251-0833 x 117
   http://www.bitstatement.net/
--
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] RT Upgrade failing from 3.6.6 to 3.8.6 UPDATE: mason_data directory

2009-11-17 Thread Stuart Browne
 -Original Message-
 From: Barron, Josh
 
 That file does not exist in the new RT directory, nor is any file by
 that name in use anywhere from what I can see.
 
 I'm really baffled by this.

SELinux isn't turned on by any chance is it?

getenforce
ausearch -m avc -ts today

Stuart
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com