After successful installation, I get an error when I try to run /rt/admin-
webrt.cgi.The log error shows:
Can’t locate /usr/local/rt/etc/config.pm in @INC (@INC contains:
/usr/libdata/pe
rl5/5.00503/i386-bsdos /usr/libdata/perl5/5.00503 /usr/libdata/perl5/site_perl/i
386-bsdos /usr/libdata/perl5/site_perl /usr/libdata/perl5/site_perl/i386-bsdos/i
nclude /usr/local/rt/lib) at /usr/local/rt/bin/rtmux.pl line 20.
config.pm is located in /usr/local/rt/etc. I’ve played with permissions,
location of the config.pm file, additional paths in @INC, to no avail. We run
BSDI 4.2, Apache, and mysql 3.23.29 if that helps.
David Work (541) 942-7088
Oregon Internet Properties,LLC fax (541) 942-1892
PO Box 188, Cottage Grove OR 97424
Lane and Douglas County Real Estate : http://www.oip.net
My quick guess is that you don’t have the setuid bit set on admin-webrt.cgiOn Sat, Jun 23, 2001 at 10:14:21AM -0700, dwork@oip.net wrote:
After successful installation, I get an error when I try to run /rt/admin-
webrt.cgi.The log error shows:
Can’t locate /usr/local/rt/etc/config.pm in @INC (@INC contains:
/usr/libdata/pe
rl5/5.00503/i386-bsdos /usr/libdata/perl5/5.00503 /usr/libdata/perl5/site_perl/i
386-bsdos /usr/libdata/perl5/site_perl /usr/libdata/perl5/site_perl/i386-bsdos/i
nclude /usr/local/rt/lib) at /usr/local/rt/bin/rtmux.pl line 20.
config.pm is located in /usr/local/rt/etc. I’ve played with permissions,
location of the config.pm file, additional paths in @INC, to no avail. We run
BSDI 4.2, Apache, and mysql 3.23.29 if that helps.
David Work (541) 942-7088
Oregon Internet Properties,LLC fax (541) 942-1892
PO Box 188, Cottage Grove OR 97424
Lane and Douglas County Real Estate : http://www.oip.net
Thanks for pointing me in the right direction, permissions get me every time
… the group settings were wrong. Now I get a different error - “Undefined
subroutine CGI::Vars”. When I installed the program, it checked for CGI 2.71
but couldn’t find it. I’m running Perl 5.005.03 which supposed runs CGI 2.76
(so webmin says), so I took the check for version off & it did find “CGI”. Am I
running an incorrect version?
My quick guess is that you don’t have the setuid bit set on admin-webrt.cgi
After successful installation, I get an error when I try to run /rt/admin-
webrt.cgi.The log error shows:
Can’t locate /usr/local/rt/etc/config.pm in @INC (@INC contains:
/usr/libdata/pe
rl5/5.00503/i386-bsdos /usr/libdata/perl5/5.00503 /usr/libdata/perl5/site_perl/i
386-bsdos /usr/libdata/perl5/site_perl /usr/libdata/perl5/site_perl/i386-bsdos/i
nclude /usr/local/rt/lib) at /usr/local/rt/bin/rtmux.pl line 20.
config.pm is located in /usr/local/rt/etc. I’ve played with permissions,
location of the config.pm file, additional paths in @INC, to no avail. We run
BSDI 4.2, Apache, and mysql 3.23.29 if that helps.
David Work (541) 942-7088
Oregon Internet Properties,LLC fax (541) 942-1892
PO Box 188, Cottage Grove OR 97424
Lane and Douglas County Real Estate : http://www.oip.net
David Work (541) 942-7088
Oregon Internet Properties,LLC fax (541) 942-1892
PO Box 188, Cottage Grove OR 97424
Lane and Douglas County Real Estate : http://www.oip.net
Nevermind - I got beyond this finally. FYI, I installed CGI.pm 3.02 and
received this error:
Function CGI::Object::Vars does not exist at /usr/local/rt/lib/rt/ui/web/support
.pm line 150
I backed up to CGI.pm 2.753 and the system initialized itself and finally
displayed something! On to other errors … Thanks.
Date sent: Sat, 23 Jun 2001 22:58:08 -0700
Priority: normal
Thanks for pointing me in the right direction, permissions get me every time
… the group settings were wrong. Now I get a different error - “Undefined
subroutine CGI::Vars”. When I installed the program, it checked for CGI 2.71
but couldn’t find it. I’m running Perl 5.005.03 which supposed runs CGI 2.76
(so webmin says), so I took the check for version off & it did find “CGI”. Am I
running an incorrect version?
My quick guess is that you don’t have the setuid bit set on admin-webrt.cgi
After successful installation, I get an error when I try to run /rt/admin-
webrt.cgi.The log error shows:
Can’t locate /usr/local/rt/etc/config.pm in @INC (@INC contains:
/usr/libdata/pe
rl5/5.00503/i386-bsdos /usr/libdata/perl5/5.00503 /usr/libdata/perl5/site_perl/i
386-bsdos /usr/libdata/perl5/site_perl /usr/libdata/perl5/site_perl/i386-bsdos/i
nclude /usr/local/rt/lib) at /usr/local/rt/bin/rtmux.pl line 20.
config.pm is located in /usr/local/rt/etc. I’ve played with permissions,
location of the config.pm file, additional paths in @INC, to no avail. We run
BSDI 4.2, Apache, and mysql 3.23.29 if that helps.
David Work (541) 942-7088
Oregon Internet Properties,LLC fax (541) 942-1892
PO Box 188, Cottage Grove OR 97424
Lane and Douglas County Real Estate : http://www.oip.net
David Work (541) 942-7088
Oregon Internet Properties,LLC fax (541) 942-1892
PO Box 188, Cottage Grove OR 97424
Lane and Douglas County Real Estate : http://www.oip.net
David Work (541) 942-7088
Oregon Internet Properties,LLC fax (541) 942-1892
PO Box 188, Cottage Grove OR 97424
Lane and Douglas County Real Estate : http://www.oip.net
Sorry to bug you about a problem that’s not specifically rt’s fault, but after
installing an email alias “rt” in /etc/mail/aliases per instructions in the rt
README, when I send email to the rt email alias I get this error:
Can’t locate /usr/local/rt/etc/config.pm in @INC (@INC contains:
/usr/libdata/perl5/5.00503/i386-bsdos /usr/libdata/perl5/5.00503
/usr/libdata/perl5/site_perl/i386-bsdos /usr/libdata/perl5/site_perl
/usr/libdata/perl5/site_perl/i386-bsdos/include /usr/local/rt/lib) at
/usr/local/rt/bin/rtmux.pl line 20. 554 5.3.0 “|/usr/local/rt/bin/rt-mailgate
general
correspond”… unknown mailer error 13
I got the same error (can’t locate …) from the admin-webrt.cgi until I
changed ownership to nobody.nogroup, then the web interface worked fine.
This may be incorrect anyway, but can you tell me what the permissions
or ownership need to be so sendmail can find config.pm and the web
interface will still work?
David Work (541) 942-7088
Oregon Internet Properties,LLC fax (541) 942-1892
PO Box 188, Cottage Grove OR 97424
Lane and Douglas County Real Estate : http://www.oip.net
----- The following addresses had permanent fatal errors -----
|“/home/rt2/bin/rt-mailgate --queue helpdesk --action correspond”
(reason: 2)
(expanded from: rt@babylon.ee.washington.edu)
----- Transcript of session follows -----
Can’t locate config.pm in @INC (@INC contains: /home/rt2/etc /home/rt2/lib
/usr/local/lib/perl5/5.6.1/i686-linux
/usr/local/lib/perl5/5.6.1 /usr/local/lib/perl5/site_perl/5.6.1/i686-linux
/usr/local/lib/perl5/site_perl/5.6.1
/usr/local/lib/perl5/site_perl .) at /home/rt2/lib/RT/Interface/Email.pm
line 81.
BEGIN failed–compilation aborted at /home/rt2/lib/RT/Interface/Email.pm
line 81.
Compilation failed in require at /home/rt2/bin/rt-mailgate line 18.
BEGIN failed–compilation aborted at /home/rt2/bin/rt-mailgate line 18.
554 5.3.0 |“/home/rt2/bin/rt-mailgate --queue helpdesk --action
correspond”… unknown mailer error 2
Walter Marchuk
Senior Computer Specialist
University of Washington
Electrical Engineering
Room: 307g
206-221-5421
marchuk@ee.washington.edu
Walter Marchuk
Senior Computer Specialist
University of Washington
Electrical Engineering
Room: 307g
206-221-5421
marchuk@ee.washington.eduOn Thu, 19 Jul 2001, Phil Homewood wrote:
marchuk@ee.washington.edu wrote:
I am now getting an error when trying to send to rt.
It does not look like a permission problem nor a sendmail problem, I
checked both.
All permissions were set by the default make install.
Walter Marchuk
Senior Computer Specialist
University of Washington
Electrical Engineering
Room: 307g
206-221-5421
marchuk@ee.washington.eduOn Wed, 18 Jul 2001, Robert Shaw wrote:
rt-mailgate works if root executes and passes the email through a
pipe. rt-mailgate does not seem to work through sendmail therefore I
think it must be some kind of a user permission access problem.
I think sendmail executes a script as user ‘mail’ so maybe ‘mail’ should
be in the rt group?
Walter Marchuk
Senior Computer Specialist
University of Washington
Electrical Engineering
Room: 307g
206-221-5421
marchuk@ee.washington.eduOn Wed, 18 Jul 2001, Robert Shaw wrote:
I guess I keep answering my own questions… but by putting all the rt
aliases in rt user .forward worked.
Walter Marchuk
Senior Computer Specialist
University of Washington
Electrical Engineering
Room: 307g
206-221-5421
marchuk@ee.washington.eduOn Thu, 19 Jul 2001 marchuk@ee.washington.edu wrote:
Actually sendmail executes a script as user ‘daemon’ if the alias is in
/etc/aliases. So either make daemon part of rt group or put the aliases
in the .forward of rt user.
Walter Marchuk
Senior Computer Specialist
University of Washington
Electrical Engineering
Room: 307g
206-221-5421
marchuk@ee.washington.edu
On Thu, 19 Jul 2001 marchuk@ee.washington.edu wrote:
rt-mailgate works if root executes and passes the email through a
pipe. rt-mailgate does not seem to work through sendmail therefore I
think it must be some kind of a user permission access problem.
I think sendmail executes a script as user ‘mail’ so maybe ‘mail’ should
be in the rt group?
Walter Marchuk
Senior Computer Specialist
University of Washington
Electrical Engineering
Room: 307g
206-221-5421
marchuk@ee.washington.edu
Actually sendmail executes a script as user ‘daemon’ if the alias is in
/etc/aliases. So either make daemon part of rt group or put the aliases
in the .forward of rt user.
Walter Marchuk
Senior Computer Specialist
University of Washington
Electrical Engineering
Room: 307g
206-221-5421
marchuk@ee.washington.eduOn Thu, 19 Jul 2001 marchuk@ee.washington.edu wrote:
rt-mailgate works if root executes and passes the email through a
pipe. rt-mailgate does not seem to work through sendmail therefore I
think it must be some kind of a user permission access problem.
I think sendmail executes a script as user ‘mail’ so maybe ‘mail’ should
be in the rt group?
Walter Marchuk
Senior Computer Specialist
University of Washington
Electrical Engineering
Room: 307g
206-221-5421
marchuk@ee.washington.edu
m> Actually sendmail executes a script as user ‘daemon’ if the alias is in
m> /etc/aliases. So either make daemon part of rt group or put the aliases
m> in the .forward of rt user.
The setgid bit on rt-mailgate should take care of that. Just make
sure your suidperl is setuid root, like it should be. You don’t
need to add special system accounts to your rt group.