Installation help

I am looking for some help getting RT2 installed correctly. I am running
perl 5.6.1 on FreeBSD 4.3.

After logging in, I get the following error when I select a queue:

Mason error
error in file: /usr/local/lib/perl5/site_perl/5.6.1/HTML/Mason/Parser.pm
line 1147: Couldn’t write object file
/usr/local/rt2/WebRT/data/obj/STANDARD/Search/TicketCell: Permission denied

context: …
1143: rmtree($object_file) if (-d $object_file);
1144: }
1145:
1146: my $fh = make_fh();
1147: open $fh, “>$object_file” or die “Couldn’t write object file
$object_file: $!”;
1148: print $fh $object_text;
1149: close $fh or die “Couldn’t close object file $object_file: $!”;
1150: @$files_written = @newfiles if (defined($files_written))
1151: }

component stack: /Search/Listing.html [standard]
/autohandler [standard]

code stack: /usr/local/lib/perl5/site_perl/5.6.1/HTML/Mason/Parser.pm:1147
/usr/local/lib/perl5/site_perl/5.6.1/HTML/Mason/Interp.pm:375
/usr/local/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm:467
/usr/local/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm:596
/usr/local/rt2/WebRT/data/obj/STANDARD/Search/Listing.html:78
/usr/local/rt2/WebRT/data/obj/STANDARD/autohandler:52

What do I have messed up?

Wally Strzelec wrote:

I am looking for some help getting RT2 installed correctly. I am running
perl 5.6.1 on FreeBSD 4.3.

After logging in, I get the following error when I select a queue:

Mason error
error in file: /usr/local/lib/perl5/site_perl/5.6.1/HTML/Mason/Parser.pm
line 1147: Couldn’t write object file
/usr/local/rt2/WebRT/data/obj/STANDARD/Search/TicketCell: Permission denied

What are the permissions of /usr/local/rt2/WebRT/data/obj/STANDARD/Search?

It seems to me that RT isn’t allowed to that location in your
Filesystem.

Ralph
Ralph Angenendt | "Military justice is to justice what military
http://www.letras.de | music is to music"
ra@letras.de | – Groucho Marx

When running “make install” i get the following
error…anyone help me out with this?

/usr/bin/perl -p -i -e " s’!!DB_TYPE!!‘“mysql”‘g;
s’!!DB_HOST!!’“localhost”‘g;
s’!!DB_RT_PASS!!'"dir99ekt
"'g;\

s’!!DB_RT_HOST!!‘“localhost”‘g;
s’!!DB_RT_USER!!’“rt_user”‘g;
s’!!DB_DATABASE!!'“rt2”'g;"
//opt/rt2/etc/acl.mysql
Substitution replacement not terminated at -e line 1.
make: *** [acls] Error 255

Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.

Colin B wrote:

When running “make install” i get the following
error…anyone help me out with this?

Substitution replacement not terminated at -e line 1.

http://www.fsck.com/rtfm/article.html?id=5#232

it’s a bug, but it’s easy enough to avoid. :wink:
�|� Request Tracker — Best Practical Solutions – Trouble Ticketing. Free.

Hi,

First hope that everything had a good 4th of July.

I am running Ubuntu Server. I have unzipped the RT package into “/var/www/” directory and try to run
sudo /var/www/rt/configure --help
&
/var/www/rt/configure --help

Both commands fail (see attached screenshot). I originally tried to upload the files to the /sr/ directory but didn’t have permissions and choose to use /var/www/ because it was the one directory (besides /home/) that I had already created permissions for.

This is my first time trying to do an install of this type and I have had a really hard time.

Thanks.

Best,
Joseph Sobecki

I am running Ubuntu Server. I have unzipped the RT package into “/var/www/” directory and try
to run
sudo /var/www/rt/configure --help
&
/var/www/rt/configure --help

Both commands fail (see attached screenshot). I originally tried to upload the files to the
/sr/ directory but didn’t have permissions and choose to use /var/www/ because it was the one
directory (besides /home/) that I had already created permissions for.

This is my first time trying to do an install of this type and I have had a really hard time.

The rt tarball doesn’t unpack into an rt/ directory, it unpacks into
rt-4.0.13 (or whatever the version is). Also, it doesn’t run from the
untarred tarball.

You can see this by looking at ls /var/www
Also, don’t run configure from outside the RT tarball directory.

Untar it in your home directory, find the correct directory and start
from there.

-kevin