
UNSOLVED
Responses (7)
Solutions (0)
Am getting below error
PS D:\Program Files\EMC NetWorker\Management\GST\bin> .\gstclreport.bat
Your current JAVA_HOME isJava Runtime Environment Version 7 is required to run this script.
Please read comments at the top of gstclreport.bat file to set
JAVA_HOME to a valid JRE location.Reply Tried that too, but still get same error message.
EM Java Runtime Environment 7 is required to run this script.
REM Uncomment the line below and set JAVA_HOME to a valid JRE location.
REM For example: SET JAVA_HOME=C:\Program Files\Java\jre7
REM gstconfig bEgIn DO NOT ALTER THIS LINE
SET HOST=vsrpdc2inf011.nbim.no
SET PORTNUM=9001
SET DBPORTNUM=2638
SET BRAND=NetWorker
SET SUBSTPATH=z:
SUBST z: "C:/Program Files/EMC NetWorker/Management/GST/web"
SET
Reply exactly, it seems that your java has not been properly set.
it should looks like this :
REM For example:
REM gstconfig bEgIn DO NOT ALTER THIS LINE
SET HOST=vsrpdc2inf011.nbim.no
SET PORTNUM=9001
SET DBPORTNUM=2638
SET BRAND=NetWorker
SET SUBSTPATH=z:
SET JAVA_HOME=C:\Program Files\Java\jre7
Reply

Julien_K
21 Posts
2699
0
Posted May 29th, 2017 07:00
you have to start the gstclreport.bat from powershell
C:\Program Files (x86)\Legato\Management\GST\bin\gstclreport.bat
Best is to script it with powershell, there's a nice example on this page :
NetWorker Daily Backup Report · GitHub