Couldn't create object

Hello. Taking error like:
Couldn’t create object file
/opt/rt4/var/mason_data/obj/3452818388/standard/Admin/Queues/Scrips.html.obj:
Permission denied

apache is running under apache user.

[root@nixtool Queues]# ls -l
total 92
-rw-r–r-- 1 apache apache 3965 Jun 13 11:52 CustomFields.html.obj
-rw-r–r-- 1 apache apache 4733 Jun 13 03:04 GroupRights.html.obj
-rw-r–r-- 1 apache apache 9570 Jun 13 03:04 index.html.obj
-rw-r–r-- 1 apache apache 23046 Jun 13 03:04 Modify.html.obj
-rw-r–r-- 1 apache apache 14226 Jun 14 07:33 People.html.obj
-rw-r–r-- 1 apache apache 3637 Jun 13 11:52 Templates.html.obj
[root@nixtool Queues]# pwd
/opt/rt4/var/mason_data/obj/3452818388/standard/Admin/Queues

So it’s created somehow other files. What’s wrong with Scrips?

RT4
Regards, Vitaly Tskhovrebov
Senior System Administrator
U.S. +1 (206) 905-9939
Russia +7 911 094-2035

Hi,

Do ls -la. Probably dir itself is not writable.On Sat, Jun 18, 2011 at 4:50 PM, Vitaly Tskhovrebov vt@chgk.info wrote:

Hello. Taking error like:
Couldn’t create object file
/opt/rt4/var/mason_data/obj/3452818388/standard/Admin/Queues/Scrips.html.obj:
Permission denied

apache is running under apache user.

[root@nixtool Queues]# ls -l
total 92
-rw-r–r-- 1 apache apache 3965 Jun 13 11:52 CustomFields.html.obj
-rw-r–r-- 1 apache apache 4733 Jun 13 03:04 GroupRights.html.obj
-rw-r–r-- 1 apache apache 9570 Jun 13 03:04 index.html.obj
-rw-r–r-- 1 apache apache 23046 Jun 13 03:04 Modify.html.obj
-rw-r–r-- 1 apache apache 14226 Jun 14 07:33 People.html.obj
-rw-r–r-- 1 apache apache 3637 Jun 13 11:52 Templates.html.obj
[root@nixtool Queues]# pwd
/opt/rt4/var/mason_data/obj/3452818388/standard/Admin/Queues

So it’s created somehow other files. What’s wrong with Scrips?

RT4

Regards, Vitaly Tskhovrebov
Senior System Administrator
U.S. +1 (206) 905-9939
Russia +7 911 094-2035


2011 Training: http://bestpractical.com/services/training.html

Best regards, Ruslan.

Do ls -la. Probably dir itself is not writable.

[root@nixtool Queues]# ls -la
total 108
drwxr-xr-x 2 apache apache 4096 Jun 14 07:33 .
drwxr-xr-x 10 apache apache 4096 Jun 13 11:49 …
-rw-r–r-- 1 apache apache 3965 Jun 13 11:52 CustomFields.html.obj
-rw-r–r-- 1 apache apache 4733 Jun 13 03:04 GroupRights.html.obj
-rw-r–r-- 1 apache apache 9570 Jun 13 03:04 index.html.obj
-rw-r–r-- 1 apache apache 23046 Jun 13 03:04 Modify.html.obj
-rw-r–r-- 1 apache apache 14226 Jun 14 07:33 People.html.obj
-rw-r–r-- 1 apache apache 3637 Jun 13 11:52 Templates.html.obj

Regards, Vitaly Tskhovrebov
Senior System Administrator
U.S. +1 (206) 905-9939
Russia +7 911 094-2035

Hi,

Sorry for delay, however, I really have no more ideas except permissions.On Sat, Jun 18, 2011 at 9:16 PM, Vitaly Tskhovrebov vt@chgk.info wrote:

On 6/18/2011 7:03 PM, Ruslan Zakirov wrote:

Do ls -la. Probably dir itself is not writable.

[root@nixtool Queues]# ls -la
total 108
drwxr-xr-x 2 apache apache 4096 Jun 14 07:33 .
drwxr-xr-x 10 apache apache 4096 Jun 13 11:49 …
-rw-r–r-- 1 apache apache 3965 Jun 13 11:52 CustomFields.html.obj
-rw-r–r-- 1 apache apache 4733 Jun 13 03:04 GroupRights.html.obj
-rw-r–r-- 1 apache apache 9570 Jun 13 03:04 index.html.obj
-rw-r–r-- 1 apache apache 23046 Jun 13 03:04 Modify.html.obj
-rw-r–r-- 1 apache apache 14226 Jun 14 07:33 People.html.obj
-rw-r–r-- 1 apache apache 3637 Jun 13 11:52 Templates.html.obj


Regards, Vitaly Tskhovrebov
Senior System Administrator
U.S. +1 (206) 905-9939
Russia +7 911 094-2035


2011 Training: http://bestpractical.com/services/training.html

Best regards, Ruslan.

Vitaly Tskhovrebov <vt chgk.info> writes:

Hello. Taking error like:
Couldn’t create object file
/opt/rt4/var/mason_data/obj/3452818388/standard/Admin/Queues/Scrips.html.obj:
Permission denied

apache is running under apache user.

[root nixtool Queues]# ls -l
total 92
-rw-r–r-- 1 apache apache 3965 Jun 13 11:52 CustomFields.html.obj
-rw-r–r-- 1 apache apache 4733 Jun 13 03:04 GroupRights.html.obj
-rw-r–r-- 1 apache apache 9570 Jun 13 03:04 index.html.obj
-rw-r–r-- 1 apache apache 23046 Jun 13 03:04 Modify.html.obj
-rw-r–r-- 1 apache apache 14226 Jun 14 07:33 People.html.obj
-rw-r–r-- 1 apache apache 3637 Jun 13 11:52 Templates.html.obj
[root nixtool Queues]# pwd
/opt/rt4/var/mason_data/obj/3452818388/standard/Admin/Queues

So it’s created somehow other files. What’s wrong with Scrips?

RT4

I’m not sure exactly what caused this, maybe running the rt-server before
running it in Apache? Either way, I chown-ed the entire var/mason_data
directory to the user that Apache was using, and now it runs perfectly. (Apache
2.2.14, Ubuntu Server 10.04, RT 4.0.1)

root@RT4:/opt/rt4# chown www-data:www-data -R var/mason_data

Kelvin

I don’t know. I reinstalled it few dozen times and it helped

Regards, Vitaly Tskhovrebov
Senior System Administrator