The asterisk may be confusing it. Try enclosing the lines in quotes:
type: savepnpc;
precmd: "echo hello";
pstcmd: "/bin/rm -rf /home/production/archive/*";
timeout: "12:00:00";
Also, you *must* have a blank line at the end of the file. It looks as if
you have one already, but it pays to double-check. And you might want to try
adding the line, "abort precmd with group: No;" after the timeout: line and
before the blank line.
Conrad Macina
Pfizer, Inc.
On Wed, 4 May 2005 15:54:00 -0700, Tobias Speckbacher
<tspeckbacher AT QUOVA DOT COM> wrote:
>Hi,
>
>I just configured a client to use savepnpc to execute a command after
>the saveset has been processed.
>
>When trying to run the client with:
>
>savegrp -vvv -G Group -c client -l full
>
>I receive the following errors:
>
>* host.quova.com:/home/production/archive savepnpc: RAP error: Unable to
>extract resource info for client datadump.
>* host.quova.com:/home/production/archive savepnpc: Cannot open savepnpc
>session with backup.quova.com
>
>This is the Group.res file located in the clients /nsr/res/ directory:
>
>type: savepnpc;
>precmd: echo hello;
>pstcmd: /bin/rm -rf /home/production/archive/*;
>timeout: "12:00:00";
>
>
>Thanks in advance,
>
>Tobias
>
>--
>Note: To sign off this list, send a "signoff networker" command via email
>to listserv AT listserv.temple DOT edu or visit the list's Web site at
>http://listserv.temple.edu/archives/networker.html where you can
>also view and post messages to the list. Questions regarding this list
>should be sent to stan AT temple DOT edu
>=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
--
Note: To sign off this list, send a "signoff networker" command via email
to listserv AT listserv.temple DOT edu or visit the list's Web site at
http://listserv.temple.edu/archives/networker.html where you can
also view and post messages to the list. Questions regarding this list
should be sent to stan AT temple DOT edu
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
|