[rt-users] rt-1.3.70 dependencies
Eric Mandel
EMandel at worldnow.com
Thu Apr 26 16:41:22 EDT 2001
Thanks a lot. This helped a lot. I wasn't sure if it was okay to ignore the
failed test. I guess so. I am having another problem now. During make
install of rt-1.3.70, I received the following error:
chown: www-data: invalid user
make: *** [fixperms] error 1
Then it placed me back at the prompt. When I try to start apache with the
new VirtualHost directive in place, I receive the following error:
Failed to start apache :
Starting httpd: Use of uninitialized value in chown at
/opt/rt2/bin/webmux.pl line 95.
Even though it says failed to start, Apache is running. When I go to the url
for RT I receive the following:
error in file: /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Parser.pm
line 1140: mkdir /opt/rt2/WebRT/data/obj: Permission
denied
context: ...
1136: if (!-f $object_file) {
1137: my ($dirname) = dirname($object_file);
1138: if (!-d $dirname) {
1139: unlink($dirname) if (-e $dirname);
1140: push(@newfiles,mkpath($dirname,0,0775));
1141: die "Couldn't create directory $dirname: $!" if (!-d $dirname);
1142: }
1143: rmtree($object_file) if (-d $object_file);
1144: }
...
code stack: /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Parser.pm:1140
/usr/lib/perl5/5.6.0/File/Path.pm:136
/usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Parser.pm:1140
/usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Interp.pm:375
/usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Request.pm:116
Obviously, it's a permissions issue. Should I have a www-data user created?
Can I create it and re-run make install to fix this problem?
Thanks again.
-----Original Message-----
From: Sanjeev Gopal [mailto:sgo at antarix.net]
Sent: Thursday, April 26, 2001 2:54 PM
To: Eric Mandel
Subject: Re: [rt-users] rt-1.3.70 dependencies
Eric:
Here is exactly what I did on Redhat 7.0, and got RT working:
MySQL Installation
------------------
Source: /root/MySQL-3.23.36-1.i386.rpm, MySQL-client-3.23.36-1.i386.rpm,
MySQL-devel-3.23.36-1.i386.rpm
Sequence:
cd /root
rpm ?iv MySQL-3.23.36-1.i386.rpm
rpm ?iv MySQL-client-3.23.36-1.i386.rpm
rpm ?iv MySQL-devel-3.23.36-1.i386.rpm
/usr/bin/mysqladmin -u root -p password 'new-password'
RT Installation
---------------
Source: /root/rt-1.3.70.tar.gz
Sequence:
cd /root
tar zxvf rt-1.3.70.tar.gz
chown ?R root:root *
cd rt-1.3.70
make testdeps // To check if all dependency packages are
installed
make fixdeps // Lot of packages to be installed
manual configuration = no
HTML-Mason
Use defaults, but fails
cd /root/.cpan/build/HTML-Mason-1.015
perl Makefile.PL
make
make install
Configure httpd as per doc
cd /root/.cpan/build/Apache-Session-1.53
perl Makefile.PL
make
make install
cd /root/rt-1.3.70
make fixdeps // All OK
make testdeps // All OK
groupadd rt
Edit Makefile
RT_PATH = /usr/local/rt2
DB_RT_USER = rt_user
DB_RT_PASS = rt_pass
WEB_USER = apache
make install
Hope this helps.
Regards,
Sanjeev Gopal
IT Consultant
Antarix e Applications Limited
Phone: +91 44 820 3554
Fax: +91 44 827 2274
More information about the rt-users
mailing list