Networker

Re: [Networker] Another savepnpc problem

2002-11-15 09:06:09
Subject: Re: [Networker] Another savepnpc problem
From: Carl Farnsworth <carl.farnsworth AT DIGIDYNE DOT CA>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Fri, 15 Nov 2002 09:06:15 -0500
It sounds like you're expecting to see the "finish ABSUX" message in the
savegroup report - it's not supposed to.  Only the precmd script stdout
gets included in the logs.  Try adding something like "> /tmp/absux.txt" to
the postcmd to log the message to a file.  Should work.

Carl Farnsworth
DigiDyne Inc.

On Thu, 14 Nov 2002 11:18:32 +1100, Fuchun Luan <fuchun.luan AT ABS.GOV DOT AU>
wrote:

>According to svapnpc.log, all commands ran successfully.  But it did not
run any
>commands specified in the post-save entry (the commands specified in pstcmd
>filed).   Any ideas/comments please.
>
...
>
>Here is my /nsr/res/ABSUX.res file
>type: savepnpc;
>precmd: /nsr/ABS/perl/hello_pl, /bin/true, "echo start ABSUX";
>pstcmd: /bin/true, "echo finish ABSUX";
>abort precmd with group: Yes;
>

--
Note: To sign off this list, send a "signoff" command via email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

<Prev in Thread] Current Thread [Next in Thread>