Re: netezza TSM nzrestore trouble

2017-02-17 Thread Efim
for example: cd /export/home/nz . ~/.bashrc export PATH=/nz/kit/bin:/nz/kit/sbin:/nz/kit/bin/adm:/bin:/usr/bin:/usr/local/bin:.:/nz/support/bin command command command Efim > 17 февр. 2017 г., в 19:03, Jeannie Bruno написал(а): > > Hello. yes, my 'OBJECTS' on my TSM

Re: netezza TSM nzrestore trouble

2017-02-17 Thread Jeannie Bruno
Hello. yes, my 'OBJECTS' on my TSM schedule looks like: Objects: sh /nz/kit.7.2.1.1-P1/bin/restore_tsm.sh I'm not sure what you mean by: + add to the script PATH to nzrestore and if it is necessary apply user environment. I can add PATH to the scriptbut apply what to user environment??

Re: netezza TSM nzrestore trouble

2017-02-17 Thread Efim
Hi usually Return code = 127 means that command not found. I think you run CAD under the root user and if you use user nz in Putty, schedule OBJECTS can looks like: OBJECTS='/usr/bin/su - nz "-c /nz/kit.7.2.1.1-P1/bin/restore_tsm.sh"' + add to the script PATH to nzrestore and if it is

netezza TSM nzrestore trouble

2017-02-17 Thread Jeannie Bruno
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 xx -pw x -db ABC