Unsolved
This post is more than 5 years old
1 Message
0
487
April 6th, 2017 13:00
savepnpc pstcmd "No commands specified to be run"
we have following setup for savepnpc:
[root@xxx logs]# cat ../res/linuxlist.res
type: savepnpc;
precmd: /usr/local/sbin/create_backup_list.sh 2>&1 | logger -t create_backup_list -s; test ${PIPESTATUS[0]} -eq 0
pstcmd: /usr/local/sbin/verify_backup.sh 2>&1 | logger -t verify_backup -s; test ${PIPESTATUS[0]} -eq 0
the precmd calls create_backup_list.sh to generate list of files need to be backed up.
the pstcmd calls verify_backup.sh to verify backup through mminfo.
the precmd runs successful, the pstcmd does not get called and from /nsr/logs/savepnpc.log, it shows:
04/06/17 12:39:00 preclntsave: Starting up the precmds.
04/06/17 12:46:03 preclntsave: All command(s) ran successfully.
04/06/17 12:47:03 pstclntsave: RAP query returned NULL worklist.
04/06/17 12:47:03 pstclntsave: All savesets on the worklist are done.
04/06/17 12:47:03 pstclntsave: Starting up the pstcmds.
04/06/17 12:47:03 pstclntsave: No commands specified to be run.
04/06/17 12:47:03 pstclntsave: Exited.
04/06/17 12:47:03 pstclntsave: Pstcmds completed. The group temp file and group precmd temp file deleted.
I could not figure out exactly where went wrong.

