Knowledge Base - Solution

xsight-vision-model-loader ... not running (1)

Monday, March 22, 2021
Submitted by ryan.grace on April 5, 2024 - 3:36am
Problem: 
In following logs /xsight/opt/servicepath/xsight-vision-model-loader/logs/xsight-vision-model-loader.out 2020-11-27 04:24:46 INFO StatusLogger - Managed to deploy formatted models to http://portal-server/vision_nodes_single (in 62610 ms) Exception in thread "main" java.io.FileNotFoundException: hash (Permission denied) at java.io.FileOutputStream.open0(Native Method) at java.io.FileOutputStream.open(FileOutputStream.java:270) at java.io.FileOutputStream.(FileOutputStream.java:213) at java.io.FileOutputStream.(FileOutputStream.java:162) at java.io.FileWriter.(FileWriter.java:90) at com.viavi.xsight.modelloader.compiler.Compiler$PathUtil.write(Compiler.scala:81) at com.viavi.xsight.modelloader.HashKeeper$.updateLastHash(HashKeeper.scala:61) at com.viavi.xsight.modelloader.Runner.prepareModelsAnd(Runner.scala:52) at com.viavi.xsight.modelloader.Runner.defaultRun(Runner.scala:28) at com.viavi.xsight.modelloader.Runner.run(Runner.scala:22) at com.viavi.xsight.modelloader.Launcher$.delayedEndpoint$com$viavi$xsight$modelloader$Launcher$1(Launcher.scala:28) at com.viavi.xsight.modelloader.Launcher$delayedInit$body.apply(Launcher.scala:11) at scala.Function0.apply$mcV$sp(Function0.scala:39) at scala.Function0.apply$mcV$sp$(Function0.scala:39) at scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:17) at scala.App.$anonfun$main$1$adapted(App.scala:80) this indicates hash files in /xsight/opt/servicepath/xsight-vision-model-loader are not accessible
Solution: 
fix by ensuring following files and sub directories have correct ownership, they should have. /xsight/opt/servicepath/xsight-vision-model-loader drwxr-x--- 2 xsrun xsight 4096 Nov 27 06:00 hashes -rw-r----- 1 xsrun xsight 32 Nov 27 06:14 hash

Support at Every Step

We provide support, services, comprehensive training and the resources you need. It’s all part of what we do to maximize the value of your VIAVI investment.

Value add services that compliment your VIAVI system solution and instrument portfolio to provide a total cost of ownership

Customer Service that provides Return Material Authorization (RMA) for repair and calibration

Technical education solutions, product training, and blended learning for technicians who are using new products or working with existing tools

Technical Assistance Center to assist you in using/configuring products or address issues regarding product performance