Getting a little annoyed now

Lo all,

This is now, about the 5th time that I am reinstalling RT… Everytime,
something else just pops up…

When I run rt-mailgate as a non-privileged user, it cannot find various RT
modules RIGHT AFTER the make install and configuration in config.pm has been
done such as indicated in the RT documentation.

cknipe@netsonic:/home/savage$ /usr/local/rt/bin/rt-mailgate
Can’t locate object method “new” via package “RT::Handle” at
/usr/local/rt/lib/RT.pm line 26.
cknipe@netsonic:/home/savage$

I’ve read the fine manuals, and the FAQ (frankly, I downloaded all the HTML
and have them here with me for quick reference), I cannot find any reference
to this behaviour. And yes, I did check the permissions, everything is
perfectly just as make install installs it in my system. As I said, this is
done straight after installing RT - no fiddling, bare bones installation…

Is there someone with a clue that can give me some help here?

me

Is there someone with a clue that can give me some help here?

You know that you can pay for support, right?

-Robin

http://www.digitalkingdom.org/~rlpowell/ BTW, I’m male, honest.
le datni cu djica le nu zifre .iku’i .oi le so’e datni cu to’e te pilno
je xlali – RLP http://www.lojban.org/

Yes.

I had one look at it, and I’d rather not say what I think about it… I
don’t want to start any wars now…

US$1 = ZAR10 (Give or take a few cents).

With a bronze level support, I’m looking at US$6,000 for 4,000 tickets per
annum. In ZAR, that’s more than R60,000 for the year, costing me ZAR60 per
ticket. In my books, this is completely bizarre. Then, import duties and
bank charges needs to be added to the ZAR60K to get it out of SA, which will
probably end up making ZAR60K more in the region of ZAR75K. But hey, third
world countries always gets ripped off, so what’s new. I mean, a complete
decent computer, costs less than ZAR10,000… Just to give you an idea.

For ZAR60,000 I can almost buy myself a brand new car out of the box…
Now, you tell me… Are you rather going to invest the money to get a new
car, or pay someone ZAR60K for 1,000 support issues every year, that you’re
probably going to use maybe three times… I mean, once a system’s been
installed, there’s generally very low maintenance on it, which makes me
believe that paying ZAR60K for 1000 tickets is useless, seeing that I’ll
over a year maybe have 10 tickets, if even that much. What a nice waist of
money.

I ran the old RT (2.0.9 if I remember correctly) without problems before…
Maybe I should just forget about 2.0.13 and go back to running the old
version… Save myself the grey hairs…

me----- Original Message -----
From: “Robin Lee Powell” rlpowell@digitalkingdom.org
To: rt-users@lists.fsck.com
Sent: Saturday, July 13, 2002 9:40 PM
Subject: Re: [rt-users] Getting a little annoyed now

On Sat, Jul 13, 2002 at 09:26:20PM +0200, Chris Knipe wrote:

Is there someone with a clue that can give me some help here?

You know that you can pay for support, right?

-Robin


http://www.digitalkingdom.org/~rlpowell/ BTW, I’m male, honest.
le datni cu djica le nu zifre .iku’i .oi le so’e datni cu to’e te pilno
je xlali – RLP http://www.lojban.org/


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

I had one look at it, and I’d rather not say what I think about it… I
don’t want to start any wars now…

US$1 = ZAR10 (Give or take a few cents).

Robin’s point is actually more subtle than that. The rt-users mailing
list costs you $CURRENCY_OF_CHOICE 0.00, excluding local delivery charges.

This, by extension, implies that the people answering questions on
rt-users are unpaid, and do it out of their goodness of their
$BLOOD_CIRCULATION_DEVICE, as their local time permits.

Providing $INSULTS to the list is really not the best way to receive
$ASSISTANCE->FREE on any $RT matter, especially as $DEBUG hasn’t been
adequately done. $CHILL.

To answer your original question on this topic, you probably have one of
the lib/RT directories (or somewhere on the path) still inaccessible to
the user running rt-mailgate. This is a common problem when the RT
installation was done as root.

I’d suggest 0755 on all of the directories (root:rt), and 0440 (root:rt)
on config.pm itself.

$NAME( “Campbell, Bruce”); $PGP( “562C8B1B” );
$ORGANISATION( “RIPE NCC” );
$ORGANIZATION( $ORGANISATION() ); # Work around for odd people.

To answer your original question on this topic, you probably have one of
the lib/RT directories (or somewhere on the path) still inaccessible to
the user running rt-mailgate. This is a common problem when the RT
installation was done as root.

Which, is what I thought aswell. The permissions are as make install set
them. However, I can access all the binaries fine. I can run rt-mailgate,
rt, rt-admin, etc as any unprivlidged user no problem. Perl cannot load
RT::Handle, which pointed me to $RTHome/lib. I fail to see any permission
problems there however.

drwxr-xr-x 8 root rt 512 Jul 13 20:56 /usr/local/rt

/usr/local/rt
drwxr-xr-x 5 root rt 512 Jul 13 20:54 WebRT
drwxr-xr-x 2 root rt 512 Jul 13 20:57 bin
drwxr-xr-x 2 root rt 512 Jul 13 20:57 etc
drwxr-xr-x 4 root bin 512 Jul 13 20:57 lib
drwxr-xr-x 3 root rt 512 Jul 13 20:54 local
drwxr-xr-x 2 root rt 512 Jul 13 21:07 log

/usr/local/rt/lib
drwxr-xr-x 5 root bin 1024 Jul 13 20:57 RT
-rwxr-xr-x 1 root bin 2945 Jul 13 20:57 RT.pm
drwxr-xr-x 3 root bin 512 Jul 13 20:55 auto

/usr/local/lib/RT

-rwxr-xr-x 1 root bin 1007 Nov 7 2001 Handle.pm

Now, how can other users not be able to read the files ?? I’m tempted to
do a ls -lR, but then I’ll prob just be wrong again…

me

rt, rt-admin, etc as any unprivlidged user no problem. Perl cannot load
RT::Handle, which pointed me to $RTHome/lib. I fail to see any permission
problems there however.

[snip ok set of permissions]

Now, how can other users not be able to read the files ?? I’m tempted to

RT::Handle depends on DBIx::SearchBuilder. As this ‘use’ is done inside
an eval (line 25), its possible that being unable to load SearchBuilder
might be misreported as an error in RT::Handle .

Check all files/directories below lib/DBIx ?

do a ls -lR, but then I’ll prob just be wrong again…

                         Bruce Campbell                            RIPE
               Systems/Network Engineer                             NCC
             www.ripe.net - PGP562C8B1B             Operations/Security

Now, how can other users not be able to read the files ?? I’m tempted
to

RT::Handle depends on DBIx::SearchBuilder. As this ‘use’ is done inside
an eval (line 25), its possible that being unable to load SearchBuilder
might be misreported as an error in RT::Handle .

Check all files/directories below lib/DBIx ?

I did originally have a problem with DBIx, I fixed it, and reinstalled RT
(as in, rm -rf /usr/local/rt, make dropdb, and recompile / install).

The permissions are right, everyone’s got read access to it:

root@netsonic:/usr/local/lib/perl5/site_perl/5.005# pwd
/usr/local/lib/perl5/site_perl/5.005
root@netsonic:/usr/local/lib/perl5/site_perl/5.005# ls -lR DBIx
total 30
drwxr-xr-x 2 root wheel 512 Jul 8 02:11 DataSource
-r–r--r-- 1 root wheel 2396 Sep 25 2000 DataSource.pm
drwxr-xr-x 4 root wheel 512 Jul 8 02:12 SearchBuilder
-r–r--r-- 1 root wheel 24819 May 2 10:07 SearchBuilder.pm

DBIx/DataSource:
total 7
-r–r--r-- 1 root wheel 2447 Sep 25 2000 Driver.pm
-r–r--r-- 1 root wheel 1821 Sep 25 2000 Pg.pm
-r–r--r-- 1 root wheel 1827 Sep 25 2000 mysql.pm

DBIx/SearchBuilder:
total 33
drwxr-xr-x 2 root wheel 512 Jul 8 02:12 Handle
-r–r--r-- 1 root wheel 8845 May 2 10:07 Handle.pm
drwxr-xr-x 2 root wheel 512 Jul 8 02:12 Record
-r–r--r-- 1 root wheel 21676 May 2 10:07 Record.pm

DBIx/SearchBuilder/Handle:
total 7
-r–r--r-- 1 root wheel 2371 May 2 10:07 Oracle.pm
-r–r--r-- 1 root wheel 1683 May 2 10:07 Pg.pm
-r–r--r-- 1 root wheel 1479 May 2 10:07 mysql.pm

DBIx/SearchBuilder/Record:
total 7
-r–r--r-- 1 root wheel 7104 May 2 10:07 Cachable.pm
root@netsonic:/usr/local/lib/perl5/site_perl/5.005#

screams&moans&kicks&mumbles&stuff

me

Now, how can other users not be able to read the files ?? I’m tempted
to

RT::Handle depends on DBIx::SearchBuilder. As this ‘use’ is done inside
an eval (line 25), its possible that being unable to load SearchBuilder
might be misreported as an error in RT::Handle .

Check all files/directories below lib/DBIx ?

I did originally have a problem with DBIx, I fixed it, and reinstalled RT
(as in, rm -rf /usr/local/rt, make dropdb, and recompile / install).

The permissions are right, everyone’s got read access to it:

This may not be your style, but when I’m worried that permissions might
by a problem with something, I set everything to 777 and test that way.

-Robin

http://www.digitalkingdom.org/~rlpowell/ BTW, I’m male, honest.
le datni cu djica le nu zifre .iku’i .oi le so’e datni cu to’e te pilno
je xlali – RLP http://www.lojban.org/

Chris Knipe:

With a bronze level support, I’m looking at US$6,000 for 4,000 tickets per
annum. In ZAR, that’s more than R60,000 for the year, costing me ZAR60 per
ticket. In my books, this is completely bizarre.

Tell me, have you seen figures for support contracts for equivalent
commercialware? They’ll make your hair turn grey immediately.
Oh, and you have to pay for the software. At least RT gives you a head
start…

“Having just ordered 40 books and discovered I have no change out of a grand,
I’m thinking of getting a posse together and going after some publishers. I’d
walk into a petrol station and buy lots of petrol on Monday, too, but I think
I’d get funny looks. More funny looks.” - Mark Dickerson

Chris Knipe:

With a bronze level support, I’m looking at US$6,000 for 4,000 tickets
per

annum. In ZAR, that’s more than R60,000 for the year, costing me ZAR60
per

ticket. In my books, this is completely bizarre.

Tell me, have you seen figures for support contracts for equivalent
commercialware? They’ll make your hair turn grey immediately.
Oh, and you have to pay for the software. At least RT gives you a head
start…

All I’m merely saying, is that I can’t afford it, and that 1,000 tickets a
year is a tad overkill for 6K. Hell, that’s more than 3 tickets / day to be
able to utilise all 1,000.

Anways, I don’t want to start a war on this…

me

FINALLY!

Progress. I did a small little scan through all my perl include dirs, and I
found quite a few modules that are not readable by everyone. (Some required
modules by RT had one or two non-readable files, such as
x/auto/i386-bsd/auto/HTML/blah/blah)…

Based on multiple .pm depending on various others, this is more than likely
my problem.

After resetting and fixing all the permissions of all the files everyone
could not read, my problem vanished. I’m not sure if perl can do this, I
had a look just now, I couldn’t see a option for it… but,

If possible, won’t it be advisable to perhaps add debug in a fashion that
perl reports more error information on pm files as well? I.e. show me which
use / require failed to load - even if it is used in another perl module??
(If this even makes sense).

Right, now, all my permissions for perl are sorted out. ls -lR | less and a
/— indicated that there are no files that are not readable by everyone.
As such, RT now finds all the relevant required files that perl needs, and
they are all happy.

And… IT WORKS! eg

Thank you everyone for helping, and sorry if my annoyance led to ignorance
or, if I was a bit grumpy… I’ve been battling at this the last 2 days now
:frowning:

SO… To sum up… The problem was related towards NON RELAVENT (directly by
RT in any case) perl modules that did not have proper permissions… Wow…
How’s this one for a head scratcher…

bye!

meFrom: “Chris Knipe” savage@savage.za.org
To: “Bruce Campbell” bruce_campbell@ripe.net; rt-users@lists.fsck.com
Sent: Saturday, July 13, 2002 10:58 PM
Subject: Re: [rt-users] Getting a little annoyed now

To answer your original question on this topic, you probably have one of
the lib/RT directories (or somewhere on the path) still inaccessible to
the user running rt-mailgate. This is a common problem when the RT
installation was done as root.

Which, is what I thought aswell. The permissions are as make install set
them. However, I can access all the binaries fine. I can run
rt-mailgate,
rt, rt-admin, etc as any unprivlidged user no problem. Perl cannot load
RT::Handle, which pointed me to $RTHome/lib. I fail to see any permission
problems there however.

drwxr-xr-x 8 root rt 512 Jul 13 20:56 /usr/local/rt

/usr/local/rt
drwxr-xr-x 5 root rt 512 Jul 13 20:54 WebRT
drwxr-xr-x 2 root rt 512 Jul 13 20:57 bin
drwxr-xr-x 2 root rt 512 Jul 13 20:57 etc
drwxr-xr-x 4 root bin 512 Jul 13 20:57 lib
drwxr-xr-x 3 root rt 512 Jul 13 20:54 local
drwxr-xr-x 2 root rt 512 Jul 13 21:07 log

/usr/local/rt/lib
drwxr-xr-x 5 root bin 1024 Jul 13 20:57 RT
-rwxr-xr-x 1 root bin 2945 Jul 13 20:57 RT.pm
drwxr-xr-x 3 root bin 512 Jul 13 20:55 auto

/usr/local/lib/RT

-rwxr-xr-x 1 root bin 1007 Nov 7 2001 Handle.pm

Now, how can other users not be able to read the files ?? I’m tempted to
do a ls -lR, but then I’ll prob just be wrong again…


me


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

I could be wrong, but I always thought the 1000 tickets was the size
of your database, not the number of support calls.??

Mat.

-----Original Message-----
From: rt-users-admin@lists.fsck.com
[mailto:rt-users-admin@lists.fsck.com]On Behalf Of Chris Knipe
Sent: Sunday, 14 July 2002 6:12 AM
To: rt-users@lists.fsck.com
Subject: Re: [rt-users] Getting a little annoyed now

Yes.

I had one look at it, and I’d rather not say what I think about it… I
don’t want to start any wars now…

US$1 = ZAR10 (Give or take a few cents).

With a bronze level support, I’m looking at US$6,000 for 4,000 tickets per
annum. In ZAR, that’s more than R60,000 for the year, costing me
ZAR60 per
ticket. In my books, this is completely bizarre. Then, import duties and
bank charges needs to be added to the ZAR60K to get it out of SA,
which will
probably end up making ZAR60K more in the region of ZAR75K. But hey, third
world countries always gets ripped off, so what’s new. I mean, a complete
decent computer, costs less than ZAR10,000… Just to give you an idea.

For ZAR60,000 I can almost buy myself a brand new car out of the box…
Now, you tell me… Are you rather going to invest the money to get a new
car, or pay someone ZAR60K for 1,000 support issues every year,
that you’re
probably going to use maybe three times… I mean, once a system’s been
installed, there’s generally very low maintenance on it, which makes me
believe that paying ZAR60K for 1000 tickets is useless, seeing that I’ll
over a year maybe have 10 tickets, if even that much. What a
nice waist of
money.

I ran the old RT (2.0.9 if I remember correctly) without problems
before…
Maybe I should just forget about 2.0.13 and go back to running the old
version… Save myself the grey hairs…


me

----- Original Message -----
From: “Robin Lee Powell” rlpowell@digitalkingdom.org
To: rt-users@lists.fsck.com
Sent: Saturday, July 13, 2002 9:40 PM
Subject: Re: [rt-users] Getting a little annoyed now

Is there someone with a clue that can give me some help here?

You know that you can pay for support, right?

-Robin


http://www.digitalkingdom.org/~rlpowell/ BTW, I’m male, honest.
le datni cu djica le nu zifre .iku’i .oi le so’e datni cu to’e te pilno
je xlali – RLP http://www.lojban.org/


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.373 / Virus Database: 208 - Release Date: 1/07/2002

Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.373 / Virus Database: 208 - Release Date: 1/07/2002