[rt-users] Invalid group error on "make upgrade"

Nicôle Layne-Balram nlayne at telebarbados.com
Thu Dec 27 11:06:57 EST 2012


Problem sorted.

For some reason I forgot to run (or assumed I had already run) ./configure, so once I ran this first before the make testdeps and make fixdeps, it worked...

Thanks for your help.

Kind regards,
Nicôle

-----Original Message-----
From: Nicôle Layne-Balram 
Sent: Thursday, December 27, 2012 9:15 AM
To: 'Ruslan Zakirov'
Cc: rt-users at lists.bestpractical.com
Subject: RE: [rt-users] Invalid group error on "make upgrade"

I believe the correct group is www-data instead of www:

# ls -l  /opt/rt4/etc
total 176
-r-------- 1 root www-data   770 2012-07-05 16:07 acl.mysql
-r-------- 1 root www-data    27 2012-07-05 16:07 acl.Oracle
-r-------- 1 root www-data  2129 2012-07-05 16:07 acl.Pg
-r-------- 1 root www-data 23556 2012-07-05 16:07 initialdata
-r--r----- 1 root www-data 71159 2012-07-05 16:07 RT_Config.pm
-rw-r----- 1 root www-data  2241 2012-07-05 16:01 RT_SiteConfig.pm
-r-------- 1 root www-data 16384 2012-07-05 16:07 schema.mysql
-r-------- 1 root www-data 14014 2012-07-05 16:07 schema.Oracle
-r-------- 1 root www-data 15437 2012-07-05 16:07 schema.Pg
-r-------- 1 root www-data 12642 2012-07-05 16:07 schema.SQLite

What's the best way to change this in the make upgrade? Is "./install-sh -m 0755 -o root -g www -d /opt/rt4/etc" the only command run, where I can just replace www with www-data?

Kind regards,
Nicôle
 
-----Original Message-----
From: ruslan.zakirov at gmail.com [mailto:ruslan.zakirov at gmail.com] On Behalf Of Ruslan Zakirov
Sent: Monday, December 24, 2012 1:53 PM
To: Nicôle Layne-Balram
Cc: rt-users at lists.bestpractical.com
Subject: Re: [rt-users] Invalid group error on "make upgrade"

On Mon, Dec 24, 2012 at 9:55 PM, Nicôle Layne-Balram <nlayne at telebarbados.com> wrote:
> Thanks for responding,
>
> Top & Ps didn't tell me much so I tried apache as the group, and when that didn't work, I tried root and ran the command directly and that did something, but I think it made things worse:
>
> root at rt:/home/<user>/rt-4.0.8# ./install-sh -m 0755 -o root -g apache 
> -d /opt/rt4/etc
> chgrp: invalid group: `apache'
> root at rt:/home/<user>/rt-4.0.8# ./install-sh -m 0755 -o root -g root -d 
> /opt/rt4/etc root at rt:/home/<user>/rt-4.0.8#
>
> Apache logs:
> [Mon Dec 24 17:43:07 2012] [error]: mkdir
> /opt/rt4/var/mason_data/obj/1972688873: Permission denied at 
> /usr/local/share/perl/5.10.1/HTML/Mason/Compiler/ToObject.pm line 107
> (/opt/rt4/sbin/../lib/RT/Interface/Web/Handler.pm:208)

Why don't you check apache's config. User and Group directives.

>
> Kind regards,
> Nicôle
>
> -----Original Message-----
> From: ruslan.zakirov at gmail.com [mailto:ruslan.zakirov at gmail.com] On 
> Behalf Of Ruslan Zakirov
> Sent: Monday, December 24, 2012 12:59 PM
> To: Nicôle Layne-Balram
> Cc: rt-users at lists.bestpractical.com
> Subject: Re: [rt-users] Invalid group error on "make upgrade"
>
> On Mon, Dec 24, 2012 at 8:40 PM, Nicôle Layne-Balram <nlayne at telebarbados.com> wrote:
>> I'm running into the following error when upgrading from 4.06 to 4.08.
>>
>> All dependencies have been found, but when I run "make upgrade" it errors out with the following after re-checking dependencies:
>>
>> ./install-sh -m 0755 -o root -g www -d /opt/rt4/etc
>> chgrp: invalid group: `www'
>> make: *** [config-install] Error 1
>>
>> Any ideas? I may have to check which group/user this instance runs apache with?
>
> Probably it's apache/apache, check httpd.conf or ps/top output.
>
>
>>
>> Kind regards,
>> Nicôle
>>
>>
>>
>>
>
>
>
> --
> Best regards, Ruslan.
>



--
Best regards, Ruslan.



More information about the rt-users mailing list