[rt-devel] RT3, FastCgi, and Solaris

Michael K. Brown michael.k.brown at alcatel.com
Tue Mar 18 11:50:55 EST 2003


Hi Rich!

Whatever you can dig up would be greatly appreciated, and I'm sure I'm
not the only one needing it.

Thanks for your time!

/Mike

-----Original Message-----
From: Rich West [mailto:Rich.West at wesmo.com] 
Sent: Tuesday, March 18, 2003 11:48 AM
To: Michael K. Brown
Cc: Rt-Devel; stock at cse.Buffalo.EDU
Subject: Re: [rt-devel] RT3, FastCgi, and Solaris


When I did the install way back when under Solaris 8, I believe I 
hardcoded the path.  Either that, or I modified @INC to reflect the 
proper path.  I cannot remember off hand, but I can go back and check..

-Rich


Michael K. Brown wrote:

>Hi Matt!
>
>I'm having the same problem with Solaris 8 and FastCGI, freshly 
>compiled apache.  You're not the only one!
>
>Hope somebody can help us out!
>
>/Mike
>
>
>Matt said:
>Has anyone been successful getting FastCGI to work right out of the box

>under Solaris?  Unless I make code changes, running mason_handler.fcgi 
>gives me:
>
>copper {local/rt3/bin} % /usr/local/rt3/bin/mason_handler.fcgi
>Can't locate /dev/fd/webmux.pl in @INC (@INC contains: 
>/usr/local/lib/perl5/5.8.0/sun4-solaris /usr/local/lib/perl5/5.8.0 
>/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris
>/usr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/perl5/site_perl) at

>/dev/fd/3 line 28. Exit 2
>
>The problem appears to be that suidperl is given the perl script as 
>/dev/fd/3, and so you lose the original __FILE__ contents. 
>mason_handler.fcgi uses that to determine where to look for the 
>webmux.pl file.  If I hardcode the path into the script, things work 
>just fine.
>
>I haven't thought of a portable way of fixing this yet, but thought 
>that maybe someone else has.
>  -Matt
>






More information about the Rt-devel mailing list