Hi,

I am automating the linux and AIX package installation process.

Using Perl API I am using the following command:

$cmdResult = $fHandle->submit2($STAF::STAFHandle::kReqSync,"$machineName", 
"process", "start command /bin/rpm params -q AvmarClient returnstdout 
returnstderr wait");

But it fails with error:

Invalid command: /bin/rpm -q AvamarClient-6.0.100-580
The command is not a file or does not have execute permissions.
OS RC 2

But same thing if I am executing:

staf local process start command /bin/rpm parms "-q AvamarClient" returnstdout 
retrunstderr wait

it works fine.  I would like to know how could we pass the parms option using 
submit2 call.

Regards
Sanjeev

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to