Apache setup woes

I’m currently in the middle of installing/configuring a rt2 setup. I’m
trying to get apache setup. I’m using apache 1.3.24 with mod_perl 1.26
on a solaris 7 machine. Database is mysql, mta is postfix 1.1.5.

$RT_PATH is /apps/rt and I have the following in my apache config (taken
from the docs on fsck.com)

DocumentRoot /apps/rt/WebRT/html
ServerName rt.mydomain.com
PerlModule Apache::DBI
PerlFreshRestart On
PerlRequire /apps/rt/bin/webmux.pl

SetHandler perl-script
PerlHandler RT::Mason

After setting up my httpd.conf, I ran an apachectl configtest, and I’m
getting the following error

[/apps/apache/conf] …/bin/apachectl configtest
[Tue Mar 26 11:02:23 2002] [error] mkdir /apps/rt/WebRT/data/obj:
Permission denied at
/usr/local/lib/perl5/site_perl/5.6.0/HTML/Mason/Interp.pm line 180
Compilation failed in require at (eval 5) line 1.

Syntax error on line 31 of /apps/apache/conf/httpd.conf:
mkdir /apps/rt/WebRT/data/obj: Permission denied at
/usr/local/lib/perl5/site_perl/5.6.0/HTML/Mason/Interp.pm line 180
Compilation failed in require at (eval 5) line 1.

The permissions on /apps/rt/WebRT/data are
[/apps/rt/WebRT/data] ls -ld
drwxrwxr-x 2 nobody rt 96 Mar 23 13:55 .

Line 31 on httpd.conf is the PerlRequire /apps/rt/bin/webmux.pl

I’m about stuck at this point, any help anyone can offer would be
greatly appreciated.

Thanks
Sean

Sean Lutner
Senior Systems & Network Administrator
TechTarget, Inc.
117 Kendrick St, Suite 800
Needham, MA 02494
P: 781-657-1337
F: 781-657-1100
E: sean@techtarget.com W: http://www.techtarget.com

“Imagination is more important than knowledge.” – Albert Einstein

Sean, in the install docs, there are a couple of tips about what you
need to do when you change the default install location. I went around
this by maintaining consisteny for the location. In your case, I would do

cd /apps
mkdir opt

cd /
ln -s /var/opt opt

then install RT to /opt/rt2

Try this and see if the perms issues persist. I am also a newbie to RT but from
the install docs, this is my first guess.

If not then

cd /apps

chown -R webserver_user:webserver_group rt/

I don’t use slowlaris so it may differe, but I guess you get the point, yes??

I’m currently in the middle of installing/configuring a rt2 setup. I’m
trying to get apache setup. I’m using apache 1.3.24 with mod_perl 1.26
on a solaris 7 machine. Database is mysql, mta is postfix 1.1.5.

$RT_PATH is /apps/rt and I have the following in my apache config (taken
from the docs on fsck.com)

DocumentRoot /apps/rt/WebRT/html
ServerName rt.mydomain.com
PerlModule Apache::DBI
PerlFreshRestart On
PerlRequire /apps/rt/bin/webmux.pl

SetHandler perl-script
PerlHandler RT::Mason

After setting up my httpd.conf, I ran an apachectl configtest, and I’m
getting the following error

[/apps/apache/conf] …/bin/apachectl configtest
[Tue Mar 26 11:02:23 2002] [error] mkdir /apps/rt/WebRT/data/obj:
Permission denied at
/usr/local/lib/perl5/site_perl/5.6.0/HTML/Mason/Interp.pm line 180
Compilation failed in require at (eval 5) line 1.

Syntax error on line 31 of /apps/apache/conf/httpd.conf:
mkdir /apps/rt/WebRT/data/obj: Permission denied at
/usr/local/lib/perl5/site_perl/5.6.0/HTML/Mason/Interp.pm line 180
Compilation failed in require at (eval 5) line 1.

The permissions on /apps/rt/WebRT/data are
[/apps/rt/WebRT/data] ls -ld
drwxrwxr-x 2 nobody rt 96 Mar 23 13:55 .

Line 31 on httpd.conf is the PerlRequire /apps/rt/bin/webmux.pl

I’m about stuck at this point, any help anyone can offer would be
greatly appreciated.

Thanks
Sean


Sean Lutner
Senior Systems & Network Administrator
TechTarget, Inc.
117 Kendrick St, Suite 800
Needham, MA 02494
P: 781-657-1337
F: 781-657-1100
E: sean@techtarget.com W: http://www.techtarget.com

“Imagination is more important than knowledge.” – Albert Einstein


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

-Wash

Odhiambo Washington wash@wananchi.com "The box said 'Requires
Wananchi Online Ltd. www.wananchi.com Windows 95, NT, or better,'
Tel: 254 2 313985-9 Fax: 254 2 313922 so I installed FreeBSD."
GSM: 254 72 743 223 GSM: 254 733 744 121 This sig is McQ! :slight_smile:

“I can’t decide whether to commit suicide or go bowling.”
– Florence Henderson