ADSM-L

[ADSM-L] netezza TSM nzrestore trouble

2017-02-17 10:18:15
Subject: [ADSM-L] netezza TSM nzrestore trouble
From: Jeannie Bruno <JBruno AT CENHUD DOT COM>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Fri, 17 Feb 2017 15:17:09 +0000
Hello.  Anyone run into this error?
ANS1512E Scheduled event 'NETEZZA_WKD' failed.  Return code = 127.

I have a ./nzrestore command that works from the prompt from PUTTY.  (And I've 
restored 2 DB's using this via Putty).  (Netezza is a Linux box).

./nzrestore -u xxxxxx -pw xxxxxxxxx -db ABC  -connector Tivoli -connectorArgs 
"TSM_XXXXX=xxxxxxxxxxxxxxxx"

But now I want to schedule the restore with TSM.
I have the nzrestore command scripted in a .sh file (linux shell script) and 
the TSM schedule kicks off the command file and executes the script fine, but I 
fails right away.
                
>From dsmsched.log:
02/17/2017 09:49:22
Executing Operating System command or script:
   sh /nz/kit.7.2.1.1-P1/bin/restore_tsm.sh
02/17/2017 09:49:22 Finished command.  Return code is: 127
02/17/2017 09:49:22 ANS1909E The scheduled command failed.
02/17/2017 09:49:22 ANS1512E Scheduled event 'NETEZZA_WKD' failed.  Return code 
= 127.
02/17/2017 09:49:22 Sending results for scheduled event 'NETEZZA_WKD'.
02/17/2017 09:49:22 Results sent to server for scheduled event 'NETEZZA_WKD'.

I've googled and someone said to check ownership and permissions and I did all 
that when trying to get the restore to work with PUTTY.  I've granted users: 
root and Tivoli permission.

Any thoughts/help would be appreciated.   


____________________
Jeannie Bruno
Senior Systems Analyst
jbruno AT cenhud DOT com
Central Hudson Gas & Electric
(845) 486-5780


We Care About Your Privacy. This message may contain confidential and/or 
privileged information and is
only for the intended recipient. If the reader of this message is not the 
intended recipient, or an employee or 
agent responsible for delivering this message to the intended recipient, please 
notify the sender immediately by
replying to this note and deleting all copies. Thank you.

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