[rt-users] little help w/ fastcgi please...

Ken Gunderson gundee at rmci.net
Sat Sep 28 18:01:36 EDT 2002


howdy folks:

i wanted to test out rt2 with vhosts and fstcgi.  box is FreeBSD and has 
suid perl enabled.  perl, version 5.005_03.  when i try to access the 
web ui i get the following:

Insecure dependency in mkdir while running setgid at 
/usr/libdata/perl/5.00503/File/Path.pm line 137,  chunk 1.

Stack:
  [/usr/libdata/perl/5.00503/File/Path.pm:137]
  [/usr/local/lib/perl5/site_perl/5.005/HTML/Mason/Interp.pm:566]
  [/usr/local/lib/perl5/site_perl/5.005/HTML/Mason/Interp.pm:258]
  [/usr/local/lib/perl5/site_perl/5.005/HTML/Mason/Request.pm:174]
  [/usr/local/lib/perl5/site_perl/5.005/HTML/Mason/Request.pm:138]
  [/usr/local/lib/perl5/site_perl/5.005/Class/Container.pm:194]
  [/usr/local/lib/perl5/site_perl/5.005/Class/Container.pm:257]
  [/usr/local/lib/perl5/site_perl/5.005/HTML/Mason/Interp.pm:168]
  [/usr/local/lib/perl5/site_perl/5.005/HTML/Mason/Interp.pm:162]
  [/home/www/foo.com/rt/bin/mason_handler.fcgi:208]


vhost block of apache (1.3.26) looks like this:

<VirtualHost x.x.x.x>
        DocumentRoot /home/www/foo.com/rt/WebRT/html
        ServerName rt.foo.com
        AddHandler fastcgi-script fcgi fcgi fpl
        FastCgiServer /home/www/foo.com/rt/bin/mason_handler.fcgi
        ScriptAlias / /home/www/foo.com/rt/mason_handler.fcgi/
        Alias /NoAuth/images/rt.jpg 
/home/www/foo.com/rt/WebRT/html/NoAuth/images/rt.jpg
</VirtualHost>


http-err.log yields warning like this:

[Sat Sep 28 15:31:37 2002] [notice] FastCGI: process manager initialized 
(pid 5653)
[Sat Sep 28 15:31:37 2002] [warn] FastCGI: server 
"/home/www/foo.com/rt/bin/mason_handler.fcgi" started (pid 5654)
[Sat Sep 28 15:31:38 2002] [notice] Apache/1.3.26 (Unix) 
mod_fastcgi/2.2.12 mod_ssl/2.8.10 OpenSSL/0.9.6e configured -- resuming 
normal operations
[Sat Sep 28 15:31:38 2002] [notice] Accept mutex: flock (Default: flock)


don't know if this has relevance, but rt group is member of apache group 
www and logs dir is chgrp'd to rt and chmod'd to 755.  rt log file gets 
ceated thusly however:

-rw-------  1 www  rt  0 Sep 28 14:54 rt.log80

i'm not much of a perl person.  anyone can give me a clue or two??

tia-- ken




More information about the rt-users mailing list