Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Certificate store path cannot be resolved #37

Closed
Flash1232 opened this issue Jan 20, 2022 · 4 comments
Closed

Certificate store path cannot be resolved #37

Flash1232 opened this issue Jan 20, 2022 · 4 comments

Comments

@Flash1232
Copy link

...
20/01/2022 23:20:30 screen setup finished.
idrac2_1  | 20/01/2022 23:20:30 
idrac2_1  | 
idrac2_1  | The VNC desktop is:      6fbadb7c5a0a:0
idrac2_1  | PORT=5900
idrac2_1  | 
idrac2_1  | ******************************************************************************
idrac2_1  | Have you tried the x11vnc '-ncache' VNC client-side pixel caching feature yet?
idrac2_1  | 
idrac2_1  | The scheme stores pixel data offscreen on the VNC viewer side for faster
idrac2_1  | retrieval.  It should work with any VNC viewer.  Try it by running:
idrac2_1  | 
idrac2_1  |     x11vnc -ncache 10 ...
idrac2_1  | 
idrac2_1  | One can also add -ncache_cr for smooth 'copyrect' window motion.
idrac2_1  | More info: http://www.karlrunge.com/x11vnc/faq.html#faq-client-caching
idrac2_1  | 
idrac2_1  | Extracting avctVMLinux64
idrac2_1  | Initialization complete, starting virtual console
idrac2_1  | Jan 20, 2022 11:20:31 PM java.util.prefs.FileSystemPreferences$1 run
idrac2_1  | WARNING: Couldn't create user preferences directory. User preferences are unusable.
idrac2_1  | Jan 20, 2022 11:20:31 PM java.util.prefs.FileSystemPreferences$1 run
idrac2_1  | WARNING: java.io.IOException: Not a directory
idrac2_1  | 01/20/2022 11:20:31:293: Starting client.
idrac2_1  | ====setPowerMenuStatus: (##2)
idrac2_1  | Video Panel Dimensions: W = 820 H = 620
idrac2_1  | ProtocolAPCP: Request version: 2.37
idrac2_1  | Video Panel Dimensions: W = 820 H = 620
idrac2_1  | 
idrac2_1  | ProtocolAPCP: returned Version [2.34]
idrac2_1  | 
idrac2_1  | Certificate host:idrac-r420.example.com
idrac2_1  | OS: Linux
idrac2_1  | OS Ver: 5.10.89-1-MANJARO
idrac2_1  | m_ksFileName:/dev/null/.java/deployment/security/trusted.certs
idrac2_1  | java.io.FileNotFoundException: /dev/null/.java/deployment/security/trusted.certs (Not a directory)
idrac2_1  | 	at java.io.FileInputStream.open(Native Method)
idrac2_1  | 	at java.io.FileInputStream.<init>(FileInputStream.java:146)
idrac2_1  | 	at com.avocent.kvm.base.util.KVMTrustManager.loadCertificate(Unknown Source)
idrac2_1  | 	at com.avocent.kvm.base.util.KVMTrustManager.<init>(Unknown Source)
idrac2_1  | 	at com.avocent.kvm.avsp.ProtocolAPCP.receiveSessionSetup(Unknown Source)
idrac2_1  | 	at com.avocent.kvm.avsp.ProtocolAPCP.getAvspSocket(Unknown Source)
idrac2_1  | 	at com.avocent.kvm.avsp.ProtocolAPCP.getAvspPrimarySocket(Unknown Source)
idrac2_1  | 	at com.avocent.kvm.avsp.AvspKvmSession.connectToPort(Unknown Source)
idrac2_1  | 	at com.avocent.app.kvm.DefaultViewerMainController.startSession(Unknown Source)
idrac2_1  | 	at com.avocent.idrac.kvm.iDracViewerMainController.startSession(Unknown Source)
idrac2_1  | 	at com.avocent.app.kvm.DefaultViewerMainController.startApp(Unknown Source)
idrac2_1  | 	at com.avocent.idrac.kvm.iDracViewerMainController.startApp(Unknown Source)
idrac2_1  | 	at com.avocent.idrac.kvm.Main.runApp(Unknown Source)
idrac2_1  | 	at com.avocent.idrac.kvm.Main.main(Unknown Source)

Notice the /dev/null/ in the error message. Any ideas? I'm running via docker compose.

@andrew-s
Copy link

I think this stems from the change to the Zulu-jdk; 4af0f04

I swapped back to :v0.5 and my iDracs are working again.

@ssmoss
Copy link

ssmoss commented Sep 15, 2023

@Flash1232 does this solve your issue #47 ?

@FoxxMD
Copy link

FoxxMD commented Oct 10, 2023

@Flash1232

You'll need to build your own Dockerfile to fix this but its an easy fix.

In startapp.sh add

-Duser.home=/config

alongside the rest of the java options in exec java ... so like:

exec java -cp avctKVM.jar -Djava.library.path="./lib" -Duser.home=/config com.avocent.idrac.kvm.Main...

@Flash1232
Copy link
Author

Thanks for your support! I appreciate you coming back to this issue.
However, unfortunately, I again bricked my iDRAC flash memory which means the server is basically noisy scrap metal at this point. I cannot try your suggestions :(

@Flash1232 Flash1232 closed this as not planned Won't fix, can't repro, duplicate, stale Oct 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants