Open berndtj opened 7 years ago
Solved this issue by first installing a very specific version of commons-daemon:
tdnf install -y commons-daemon-1.0.15-8.ph1 openjre-1.8.0.112 apache-tomcat-8.5.8
Hi Jung, Thank you for reporting. Lightwave is currently sticky on specific version of JAVA installation.We will consider addressing this issue.
You don't need to rev the version, just fix the package to pull the specific version of commons-daemon. As-is, the package is broken.
Same issue with Photon 3 lightwave-client-1.3.1.34-8.ph3.x86_64 apache-tomcat-8.5.51-4.ph3.noarch lightwave-1.3.1.34-8.ph3.x86_64 openjre8-1.8.0.262-3.ph3.x86_64 commons-daemon-1.1.0-3.ph3.x86_64 apache-ant-1.10.8-1.ph3.noarch
-----Begin installing components----- VMware Identity Manager VMware Secure Token Service
Begin installing component: vmware-identity-manager Installed vmware-identity-manager succesfully.
Begin installing component: vmware-secure-token-service java.security.KeyStoreException: VKS not found at java.security.KeyStore.getInstance(KeyStore.java:851) at com.vmware.identity.configure.SecureTokenServerInstaller.getVksKeyStore(SecureTokenServerInstaller.java:205) at com.vmware.identity.configure.SecureTokenServerInstaller.checkSTSHealth(SecureTokenServerInstaller.java:132) at com.vmware.identity.configure.SecureTokenServerInstaller.install(SecureTokenServerInstaller.java:93) at com.vmware.identity.configure.VMIdentityController.setupInstance(VMIdentityController.java:117) at com.vmware.identity.configure.VMIdentityController.setupInstanceStandalone(VMIdentityController.java:29) at com.vmware.identity.configure.VMIdentityStandaloneInstaller.main(VMIdentityStandaloneInstaller.java:61) Caused by: java.security.NoSuchAlgorithmException: VKS KeyStore not available at sun.security.jca.GetInstance.getInstance(GetInstance.java:159) at java.security.Security.getImpl(Security.java:695) at java.security.KeyStore.getInstance(KeyStore.java:848) ... 6 more VKS not found vmware-secure-token-service installation failed. Installation failed. Errorcode: -1com.vmware.identity.configure.DomainControllerNativeException: java.security.KeyStoreException: VKS not found at com.vmware.identity.configure.VMIdentityController.setupInstance(VMIdentityController.java:127) at com.vmware.identity.configure.VMIdentityController.setupInstanceStandalone(VMIdentityController.java:29) at com.vmware.identity.configure.VMIdentityStandaloneInstaller.main(VMIdentityStandaloneInstaller.java:61) Caused by: java.security.KeyStoreException: VKS not found at java.security.KeyStore.getInstance(KeyStore.java:851) at com.vmware.identity.configure.SecureTokenServerInstaller.getVksKeyStore(SecureTokenServerInstaller.java:205) at com.vmware.identity.configure.SecureTokenServerInstaller.checkSTSHealth(SecureTokenServerInstaller.java:132) at com.vmware.identity.configure.SecureTokenServerInstaller.install(SecureTokenServerInstaller.java:93) at com.vmware.identity.configure.VMIdentityController.setupInstance(VMIdentityController.java:117) ... 2 more Caused by: java.security.NoSuchAlgorithmException: VKS KeyStore not available at sun.security.jca.GetInstance.getInstance(GetInstance.java:159) at java.security.Security.getImpl(Security.java:695) at java.security.KeyStore.getInstance(KeyStore.java:848) ... 6 more Failed to start Secure Token Service. Secure Token Service Installation - Failed
The issue seems to be with the installation of openjre8 on Photon3 which is failing to update /etc/alternatives.
Thanks for the reply!!! Do you believe updating to openjre10 or higher would correct this issue? Since downgrading just does not seem to be an option.
Unfortunately that does not help. Here is a temporary workaround while we fix the issue and submit a fix.
hostname
should return photon-test and hostname -f
should return photon-test.lightwave.localThanks for the reply. With the workaround the installation was successful this time. Now I am unable to access the web page as stated in step 5 (https://vmware.github.io/photon/assets/files/html/3.0/photon_installation/Installing-Lightwave-Server-and-Setting-Up-a-Domain.html) is there something else which I may be missing? I did add "--ssl-subject-alt-name
When installing lightwave server via
tdnf install vmware-lightwave-server
, jre 1.8.0.131 is installed:This is not the expected version:
I updated the scripts in /opt/vmware/bin and was able to continue. Though this seems rather brittle.