Ah ha! I think I’ve found a solution for people who want to build RT on
an IRIX 6.5 machine. The “can’t find script of unable to stat” message is
due to the setuid_wrapper’s array of safe environment variables not being
assembled properly. And when RT tries to use the variable SCRIPT_NAME
(which should = /rt/webrt.cgi) it finds the original /rt/webrt.cgi plus a
bunch of trash (bits of other stuff in other memory spaces poking
through). Most if not all of the other environment variables are polluted
as well, not just SCRIPT_NAME, but this is the one that causes the most
Anyways - get to the point… alright.
- In your RT source tree find the source for suid_wrapper. The file is
(relative to the main source directory) ‘etc/suidrt.c’
1b) Make a backup copy of it (I like: suidrt.c.orig)
Open the file in your favourite editor, and find the line:
and replace it with:
Recompile (gmake install)
Test it thoroughly. I don’t profess to be a professional programmer,
this may break something elsewhere… but so far it seems ok.
Jesse can you investigate if this fix is ok ?
weirDOn Mon, 7 May 2001, Daniel Shipton wrote:
Has anyone ever got RT to work on IRIX 6.5. Everything installs fine
and from the CLI it works fine but the
web interface will not let us log in. We get …
cannot find script or unable to stat …/admin-webrt.cgi
any help would be appreciated
Daniel E. Shipton
rt-users mailing list
Douglas Weir firstname.lastname@example.org
Chemical Physics Dept. Earth-Science & Chemistry 330A
University Of Waterloo (519) 888-4567 x6110
ANTI-SPAM Policy: Only mail addressed “To:” dweir (this excludes all of
’undisclosed recipients’/Cc/Bcc/etc) and certain pre-authorised mailing
lists will survive the spam filtering process.