My install on Mac OS X server

I’m trying to get RT-3.4.4 installed on Mac OS X server using the
built in Apache Server, the supplied Perl, and Postfix email. I think
I’m making progress but I’ve hit two things that confuse me, so I’m
humbly asking for help diagnosing them. Since the system is
preconfigured to host multiple site, I just enable my support site
briefly and use apachectl to produce the error messages, which as you
can see below, it does. Is this a configuration setting - where I
somehow need to get my RT_SiteConfig file into my path - or is this a
major problem.

Also when I try to test my setup by simply sending mail I wound up
with “Dec 13 10:29:33 secretariat postfix/local[21128]: D7066215CFC3:
to=rt@secretariat.saratoga.lib.ny.us, relay=local, delay=2,
status=deferred (temporary failure. Command output: An Error Occurred
================= 302 Found )” Is this a mail setup problem. I’m
very new to postscript and have a long way to go before my mail is
set up right, with or without RT.

secretariat:~/Downloads/rt-3.4.4 josh$ sudo -u www apachectl configtest
Processing config directory: /etc/httpd/sites/*.conf
[all the other sites’ stuff removed.]

[Tue Dec 13 10:25:50 2005] [error] Can’t locate /opt/rt3/etc/
RT_SiteConfig.pm in
@INC (@INC contains: /opt/rt3/local/lib /opt/rt3/lib /sw/lib/
perl5/5.8.6/darwin
-thread-multi-2level /sw/lib/perl5/5.8.6 /sw/lib/perl5 /sw/lib/perl5/
darwin /Sys
tem/Library/Perl/5.8.6/darwin-thread-multi-2level /System/Library/
Perl/5.8.6 /Li
brary/Perl/5.8.6/darwin-thread-multi-2level /Library/Perl/5.8.6 /
Library/Perl /N
etwork/Library/Perl/5.8.6/darwin-thread-multi-2level /Network/Library/
Perl/5.8.6
/Network/Library/Perl /System/Library/Perl/Extras/5.8.6/darwin-thread-
multi-2le
vel /System/Library/Perl/Extras/5.8.6 /Library/Perl/5.8.1/darwin-
thread-multi-2l
evel /Library/Perl/5.8.1 . /usr/ /usr/lib/perl) at /opt/rt3/lib/RT.pm
line 131.
nBEGIN failed–compilation aborted at /opt/rt3/bin/webmux.pl line 76.
\nCompilati
on failed in require at (eval 6) line 1.\n
Syntax error on line 9 of /etc/httpd/sites/
0008_208.20.128.196_80_support.sspl.o
rg.conf:
Can’t locate /opt/rt3/etc/RT_SiteConfig.pm in @INC (@INC contains: /
opt/rt3/loca
l/lib /opt/rt3/lib /sw/lib/perl5/5.8.6/darwin-thread-multi-2level /sw/
lib/perl5/
5.8.6 /sw/lib/perl5 /sw/lib/perl5/darwin /System/Library/Perl/5.8.6/
darwin-threa
d-multi-2level /System/Library/Perl/5.8.6 /Library/Perl/5.8.6/darwin-
thread-mult
i-2level /Library/Perl/5.8.6 /Library/Perl /Network/Library/Perl/
5.8.6/darwin-th
read-multi-2level /Network/Library/Perl/5.8.6 /Network/Library/Perl /
System/Libr
ary/Perl/Extras/5.8.6/darwin-thread-multi-2level /System/Library/Perl/
Extras/5.8
.6 /Library/Perl/5.8.1/darwin-thread-multi-2level /Library/Perl/
5.8.1 . /usr/ /u
sr/lib/perl) at /opt/rt3/lib/RT.pm line 131.
BEGIN failed–compilation aborted at /opt/rt3/bin/webmux.pl line 76.
Compilation failed in require at (eval 6) line 1.

Josh Kuperman
josh.kuperman@gmail.com

Hi Josh,

if i understand the error correct, then the Apache can’t find: Can’t
locate /opt/rt3/etc/RT_SiteConfig.pm

Have yuo checked, that you have that file (followed the installation
Steps) and that the files has correct ownerships?

Torsten

Josh Kuperman schrieb:

Hi Josh,

if i understand the error correct, then the Apache can’t find: Can’t
locate /opt/rt3/etc/RT_SiteConfig.pm

You’re right! The problem is apparently permissions. The ownership is
root with group rt. I just changed the permissions from 550 to 555 so
that any user could read or execute the file and that seemed to work.
But obviously this is not right as the original permissions should be
correct.

Josh Kuperman
josh.kuperman@gmail.com

In my RT install on Mac OS X 10.4 Server, the permissions are r-xr-
x— with root as the owner and rt3 as the group.

Be sure your group is set to the short name of the RT group in
Workgroup Manager. Example: mine is Name: Request Tracker, Short
Name: rt3, Group ID 1025

I have a start of a install and setup document for 10.4 server going,
if you’ are interested.

Mike Braziel
mike@mactech-solutions.comOn Dec 13, 2005, at 11:07 AM, Josh Kuperman wrote:

On 12/13/05, Torsten Brumm tob@brummix.de wrote:

Hi Josh,

if i understand the error correct, then the Apache can’t find: Can’t
locate /opt/rt3/etc/RT_SiteConfig.pm

You’re right! The problem is apparently permissions. The ownership is
root with group rt. I just changed the permissions from 550 to 555 so
that any user could read or execute the file and that seemed to work.
But obviously this is not right as the original permissions should be
correct.


Josh Kuperman
josh.kuperman@gmail.com


The rt-users Archives

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

Download a free sample chapter of RT Essentials from O’Reilly Media
at http://rtbook.bestpractical.com

WE’RE COMING TO YOUR TOWN SOON - RT Training in Amsterdam, Boston and
San Francisco - Find out more at Services — Best Practical Solutions
training.html