Config.pm

Can’t locate /opt/rt/etc/config.pm in @INC (@INC contains:
/usr/lib/perl5/5.0050
2/i686-linux /usr/lib/perl5/5.00502
/usr/lib/perl5/site_perl/5.005/i686-linux /u
sr/lib/perl5/site_perl/5.005 /opt/rt/lib) at /opt/rt/bin/rtmux.pl line 20.

any ideas of how to solve this?

my system is running on Slackware, Apache 1.3.14, Perl 5.005

it’s been several days i’ve been trying to install RT and so far i haven’t
seen even the face of the web interface…

PS: oh and as you must have guessed. i’m a newbie, so go easy on me.
thanks

mAX

I had the same issue when I first tried setting up RT. my problem is that I
screwed around with the permissions. Deleting the RT installation directory
and re-running make install corrected the issue.

Good Luck.

Cheers,
Billy Gunn
Unix Sys Admin
Interadnet, Inc.
919-657-4350-----Original Message-----
From: Max Mismetti [mailto:max@mediaworks.com.br]
Sent: Wednesday, November 22, 2000 12:48 PM
To: rt-users@lists.fsck.com
Subject: [rt-users] config.pm

Can’t locate /opt/rt/etc/config.pm in @INC (@INC contains:
/usr/lib/perl5/5.0050
2/i686-linux /usr/lib/perl5/5.00502
/usr/lib/perl5/site_perl/5.005/i686-linux /u
sr/lib/perl5/site_perl/5.005 /opt/rt/lib) at /opt/rt/bin/rtmux.pl line 20.

any ideas of how to solve this?

my system is running on Slackware, Apache 1.3.14, Perl 5.005

it’s been several days i’ve been trying to install RT and so far i haven’t
seen even the face of the web interface…

PS: oh and as you must have guessed. i’m a newbie, so go easy on me.
thanks

mAX

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

| Can’t locate /opt/rt/etc/config.pm in @INC (@INC contains:
±–>8

This usually indicates incorrect permissions: /opt/rt/etc and/or
/opt/rt/etc/config.pm aren’t searchable/readable by the RT user, or
suid_wrapper isn’t setuid.

brandon s. allbery [os/2][linux][solaris][japh] allbery@kf8nh.apk.net
system administrator [WAY too many hats] allbery@ece.cmu.edu
electrical and computer engineering KF8NH
carnegie mellon university [“better check the oblivious first” -ke6sls]

well it’s a new day and it’s time for more problems, if you guys can help
me…

i was getting a server error trying to access the CGIs, right?

well i decided to run the CGI from the command line on the actual server and
it was far better explained than “500 server error”:

Can’t locate object method “new” via package “Digest::MD5” at
/opt/rt/lib/rt/ui/
web/auth.pm line 36.

anyone knows what this means and what to do to solve it.

thanks in advance and sorry for being SO newbie

mAX

perl -MCPAN -e’install Digest::MD5’ should fix that.On Thu, Nov 23, 2000 at 09:44:22AM -0200, Max Mismetti wrote:

well it’s a new day and it’s time for more problems, if you guys can help
me…

i was getting a server error trying to access the CGIs, right?

well i decided to run the CGI from the command line on the actual server and
it was far better explained than “500 server error”:

Can’t locate object method “new” via package “Digest::MD5” at
/opt/rt/lib/rt/ui/
web/auth.pm line 36.

anyone knows what this means and what to do to solve it.

thanks in advance and sorry for being SO newbie

mAX


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

jesse reed vincent – root@eruditorum.orgjesse@fsck.com
70EBAC90: 2A07 FC22 7DB4 42C1 9D71 0108 41A3 3FB3 70EB AC90

This is scary. I’m imagining tracerouting you and seeing links like “Route
84” and “Route 9, Exit 14”. Obviously, this is illness induced.
–Cana McCoy

Check to be sure that you have the perl module Digest::MD5 installed.

Cheers,
Billy Gunn-----Original Message-----
From: Max Mismetti [mailto:max@mediaworks.com.br]
Sent: Thursday, November 23, 2000 6:44 AM
To: rt-users@lists.fsck.com
Subject: [rt-users] today’s problems

well it’s a new day and it’s time for more problems, if you guys can help
me…

i was getting a server error trying to access the CGIs, right?

well i decided to run the CGI from the command line on the actual server and
it was far better explained than “500 server error”:

Can’t locate object method “new” via package “Digest::MD5” at
/opt/rt/lib/rt/ui/
web/auth.pm line 36.

anyone knows what this means and what to do to solve it.

thanks in advance and sorry for being SO newbie

mAX

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

Hi,

Check to see if Digest::MD5 is installed (the module was once
known as just MD5 and changed names with time).

Navigating the perl lib/site_perl directories can be confusing and is
installation-dependent. Here are a couple ways to check:

this should fail

$ perl -MDigest::Scooby -e ‘print “Hi!\n”;’
Can’t locate Digest/Scooby.pm in @INC (@INC contains:
/usr/local/lib/perl5/5.00503/sun4-solaris /usr/local/lib/perl5/5.00503
/usr/local/lib/perl5/site_perl/5.005/sun4-solaris
/usr/local/lib/perl5/site_perl/5.005 .).
BEGIN failed–compilation aborted.
zsh: 24509 exit 2 perl -MDigest::Scooby -e print “Hi!\n”;

this should succeed if Digest::MD5 is installed

$ perl -MDigest::MD5 -e ‘print “Hi!\n”;’
Hi!

this is probably a better test:

$ perl -MDigest::MD5 -e ‘print $Digest::MD5::VERSION, “\n”;’
2.11

Also, “perldoc Digest::MD5” is an easy way to check but it only
verifies that the documentation is installed. Unless you’ve upgraded
perl a number of times, the presence of documentation usually
indicates the module is installed. Not always, though, so it’s best
to use a functional test like the ones above.

Finally, if you’re really bored you can do something like:

$ find /usr/local/lib/perl5/site_perl -name MD5.pm -print
/usr/local/lib/perl5/site_perl/MD5.pm
/usr/local/lib/perl5/site_perl/5.005/sun4-solaris/Digest/MD5.pm
/usr/local/lib/perl5/site_perl/5.005/sun4-solaris/MD5.pm

This doesn’t tell you if perl can find the module (the real problem;
who cares if the library is installed but perl can’t find it?). If the
functional test fails, this might help explain why (from the results,
we expect that ‘use MD5;’ and ‘use Digest::MD5;’ should be
available. If the funcitonal tests don’t agree, we may need to
reinstall Digest::MD5).

Anyway, enough about detecting problems. The easiest long-term
fix is to get perl communicating with CPAN. If you’ve never done it
before, it’s tedious but easy (slightly less easy if you’re sitting
behind a firewall).

As root:

perl -MCPAN -e shell

answer all the questions if you’ve never done this before, then

cpan> install Digest::MD5

another cool trick is

cpan> r

which tells you which perl modules you have that need upgrading

hth,

– BobOn 23 Nov 2000, at 9:44, Max Mismetti wrote:

well it’s a new day and it’s time for more problems, if you guys can
help me…

i was getting a server error trying to access the CGIs, right?

well i decided to run the CGI from the command line on the actual
server and it was far better explained than “500 server error”:

Can’t locate object method “new” via package “Digest::MD5” at
/opt/rt/lib/rt/ui/
web/auth.pm line 36.

anyone knows what this means and what to do to solve it.

thanks in advance and sorry for being SO newbie

mAX


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

thanks a lot for the tip! here’s the result of the test:

correio:/usr/lib/perl5/5.00502/CPAN# perl -MDigest::MD5 -e 'print “Hi!\n”;'
Hi!

but the version test shows me nothing (weird huh?)

anyway, i need to know how to reinstall CPAN from scratch cuz:

  1. i think i did some newbinesses (ha!) when i first installed it
  2. since hope was the last to die, i set it up for a brazilian server and
    it’s not finding it (damn this country, never again i’ll trust our servers).
    now i gotta do the right thing and select a US server

as always: thank you all for all the help i’ve been getting here!

mAX

thank to you guys’ help, my RT is (apparently) fully functional!

is there anyway to customize web pages?

like the font it’s using for displaying the message (on the web interface)
seems to be a Courier, but it’s pretty small, i’m wondering if i could
increase the size of that.

mAX

Hi

I’v gust installed rt 2.0.9 and it’s looking good but i have some
configuration problem

On config.pm can you help me please with the exact syntax because i’m
getting the error
On line 222 … $CommentAddress='RT::

The following addresses had permanent fatal errors -----
“| /usr/local/rt2/bin/rt-mailgate --queue general --action correspond”
(reason: 255)

and

Bareword found where operator expected at /usr/local/rt2/etc/config.pm
line 222, near
“$CommentAddress='RT::”
(Might be a runaway multi-line ‘’ string starting on line 220)
(Missing operator before RT::?)
Array found where operator expected at /usr/local/rt2/etc/config.pm line
222, at end of line
Bad name after com’ at /usr/local/rt2/etc/config.pm line 222.
Compilation failed in require at
/usr/local/rt2/lib/RT/Interface/Email.pm line 105.

Thank’s Yair

yairv@verisity.com

You’re missing a '; at the end of the line:

from config.pm:

$CommentAddress=‘RT::CommentAddress.not.set’;

A.

yairv wrote: