Subject: | |
From: | |
Reply To: | |
Date: | Fri, 10 Aug 2001 08:42:17 -0700 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Carl McNamee wrote:
>
> An update!
>
> Here is what we are currently thinking. Apache will not allow the process
> to write to any directory above /APACHE/PUB/htdocs, and rightly so.
> However, it appears that the callci posix command needs to build a temporary
> file and it uses the users home group as part of the filename.
>
> We proved this by changing the home group for WWW.APACHE from PUB to TEMP.
> The error then show a redirection to filename.TEMP.APACHE. Just for giggles
> we then changed the user for the job stream and the Apache user to
> MANAGER.SYS and the directory callci was redirecting to became
> filename.PUB.SYS. Though all of these changes the script worked correctly
> from the command line but gave us the error below when run via Apache.
>
> Any thoughts on how to change this behavior? Maybe I should also explain
> what we are trying to accomplish! Hmmm... That might make too much sense.
> But on with the exercise. :)
Under certain circumstances, including batch jobs, callci will try to execute
your MPE CI command while using MPE CI I/O redirection (CIOR) to send any
command output to a temporary disk file. Unfortunately callci doesn't realize
that certain CI commands like setvar cannot be used with CIOR.
Fortunately a simple workaround exists where you create a UDC or command file
called "mysetvar" which just calls setvar. Then you can "callci mysetvar" just
fine.
Or since you're trying to do this from a Perl CGI, you can use Ken Hirsch's
MPE::CIvar module, which I recently listed on the jazz software downloads page
at http://jazz.external.hp.com/src/.
--
[log in to unmask]
Remainder of .sig suppressed to conserve scarce California electrons...
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|