We began experiencing problems with our TeamSite login process, whereby we were receiving “internal Server Error “ messages after entering in a username and password.
Only the “logout” option was visible.
I traced the problem to be related to file permissions on CGI files beneath
/httpd/iw-bin to add the sticky bit for the root owner.
chmod 4755 *.cgi
(whilst logged in as root)
This appeared to resolve the problem as I was able to see the TO DO list again and continue with an EXISTING workflow.
However, a new problem has arisen whereby trying to create a new workflow is now impossible.
- Having selected a file,
- started a new WORKFLOW ( File | New Job)
- completed the description box
- Hit “New Job”
- This loaded the /iw-bin/iwwft_instantiator.cgi file
At this point the permissions of the /iw-bin/iwwft_instantiator.cgi were as follows
-rwsrwxr-x 1 root daemon 30688 Mar 12 2002 iwwft_instantiator.cgi
I received this error message in a pop-up window as TeamSite tried to build the final form before submitting the workflow:
“invalid workflow template:
insecure $ENV{PATH} while running setuid at /usr/iw-home/iw-perl/lib/perl5/site_perl/5.005/TeamSite/Config.pm line 93"
(see attahced: error1.jpg)
Here is Line 93 from that file in context:
sub iwgetmount()
{
if (defined $Config{iw_mount}) { return $Config{iw_mount}; }
my $cmd = "$Config{iw_home}/bin/iwgetmount";
if ($^O eq "MSWin32") { $cmd .= '.exe';}
(line #93) $Config{iw_mount} = `$cmd`;
chop $Config{iw_mount};
return $Config{iw_mount};
}
I thought this might be related to the chmod 4755 *.cgi command I gave earlier so I removed the ‘s’ permission from that file.
-rwxrwxr-x 1 root daemon 30688 Mar 12 2002 iwwft_instantiator.cgi
- When I tried the same procedure again I was able to get the next form page up - without the error message.
- However, Upon trying to select RUN JOB and submit the new workflow I received a javascript pop-up box stating “Invalid Workflow” and nothing else. I cannot proceed any further than this.
(see attahced: error2.jpg")
I think this has something to do with the permissions of other CGI files in the /httpd/iw-bin folder. However, I do not know what the correct permissions, owner, group etc… should be for each file.
I still think there may be a problem with iwwft_instantiator.cgi file and subsequent files which are called afterwards.
Please can you firstly tell me what should be the correct permissions for all files in the /httpd/iw-bin folder. ?? Perhaps a directory listing from your TeamSite test box ??
We are currently running TeamSite 5.0.2 on SOLARIS 8
Secondly, which files are called after iwwft_instantiator.cgi ? and what should there permissions be.
Please help me with this as I have spent the past 5 hours trying everything to fix it but to no avail.
I have attached screen shots of the 2 error messages i am receiving.
many thanks for any help anyone can give.
John.
Edited by JSB on 09/18/03 06:49 AM (server time).