[rt-users] rt-1.3.70 dependencies

Jesse jesse at fsck.com
Fri Apr 27 22:30:41 EDT 2001


In your makefile, you need to set the username of the user apache
runs as.



On Thu, Apr 26, 2001 at 04:41:22PM -0400, Eric Mandel wrote:
> 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
> 
> _______________________________________________
> rt-users mailing list
> rt-users at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-users
> 

-- 
jesse reed vincent -- root at eruditorum.org -- jesse at fsck.com 
70EBAC90: 2A07 FC22 7DB4 42C1 9D71 0108 41A3 3FB3 70EB AC90

And I'm told we do share some common rituals. Our "flame war" is apparently 
held in person in their land and called "project meeting".
					-Alan Cox [on "Suits"]




More information about the rt-users mailing list