Unsolved

This post is more than 5 years old

1 Rookie

 • 

21 Posts

1923

September 8th, 2017 07:00

savepnpc

Hi

I have a res named MEDITEC_PROXY_IDR.res

with below.

type: savepnpc;

precmd: "C:\\Program Files\\EMC NetWorker\\nsr\\bin\\nsr_MEDITECH_PROXY_IDR_start.bat";

pstcmd: "C:\\Program Files\\EMC NetWorker\\nsr\\bin\\nsr_MEDITECH_PROXY_IDR_end.bat";

the bat files are

start bat

"C:\shlib\Plink.exe "meditech@10.192.110.171" -pw meditech -ssh -v -m c:\shlib\RP_MT_Pre_backup.cli"

end is

"C:\shlib\Plink.exe "meditech@10.192.110.171" -pw meditech -ssh -v -m c:\shlib\RP_MT_Post_backup.cli"

i have deleted the lock in nsr/tmp.

when i run i get the following error in log

2017-09-08 03:56:17 PM preclntsave: Starting up the precmds.

2017-09-08 03:56:17 PM preclntsave: No commands specified to be run.

i have the dual backslashes in my .res can someone please help me?

18 Posts

September 10th, 2017 19:00

Can you run nsr_MEDITECH_PROXY_IDR_start.bat ?

What's the Networker version?

1 Rookie

 • 

21 Posts

September 10th, 2017 22:00

Hi

When i run it nsr_MEDITECH_PROXY_IDR_start.bat  and the end in cli or double click on it they execute and do what they need to do.

it is networker 8.2.2.0

6 Operator

 • 

14.4K Posts

 • 

56.2K Points

September 11th, 2017 02:00

*.0 is never good release (actually it is 1st and might have some bugs).  So I would suggest you update this to relevant patch for your code base.  If this doesn't work, or if you wish to move on with existing release, you can run savegrp in debug mode and see if that does anything more in terms of information.  You can also place nsrexecd on client in debug mode and I guess these two should then show what is going on and give hint also why.

1 Rookie

 • 

21 Posts

September 12th, 2017 23:00

Hi

This is a meditech save with backup command. nsrmedisv.exe -b als4200prodialchmeditech.

I am trying to run a pre command and post command to change the status of this replication.

C:\shlib\Plink.exe "meditech@10.192.110.171" -pw meditech -ssh -v -m c:\shlib\RP_MT_Pre_backup.cli in start bat.

config_external_mgmt group=MED_ALMFS001_E_RAW external_application=none managed_by=RP;

config_external_mgmt group=MED_ALMFS002_E_RAW external_application=none managed_by=RP;

config_external_mgmt group=MED_ALMFS003_E_RAW external_application=none managed_by=RP;

config_external_mgmt group=MED_ALMFS004_E_RAW external_application=none managed_by=RP;

config_external_mgmt group=MED_ALMFS005_E_RAW external_application=none managed_by=RP;

config_external_mgmt group=MED_ALMFS006_E_RAW external_application=none managed_by=RP;

config_external_mgmt group=MED_ALMFS007_E_RAW external_application=none managed_by=RP;

config_external_mgmt group=MED_ALMFS008_E_RAW external_application=none managed_by=RP;

config_external_mgmt group=MED_ALMFS009_E_RAW external_application=none managed_by=RP;

config_external_mgmt group=MED_ALMFS010_E_RAW external_application=none managed_by=RP;

config_external_mgmt group=MED_ALMFS011_E_RAW external_application=none managed_by=RP;

when I run it in command line.

C:\Program Files\EMC NetWorker\nsr\applogs>nsrmedisv -s alsdnw.ialch.co.za -v -g MEDITECH_PROXY_IDR  -b als4200prodialchmeditech -E "C:\Program Files\EMC NetWorker\nsr\bin\nsr_start.bat" -N MEDI:medit

echnpr_IDR -P "C:\Program Files\EMC NetWorker\nsr\bin\nsr_stop.bat"

I get the below error. However the file has everyone with the full control permission.

nsrmedisv:Invalid permissions on pre processing script "C:\Program Files\EMC NetWorker\nsr\bin\nsr_start.bat"

No Events found!

Top