I just installed and configured VDI 3.4.1 on Solaris 10 x86 U10 with Solaris 10 patches from August 2012.
When I connect to http://vdi:1800 (redirected to https://vdi:1801/vda/faces/jsp/login/Login.jsp) I get the login page of VDI but I cannot login with root:
"Authentication Failed User name and/or password is wrong - try again."
although password of root is okay (works with ssh)
it seems to be a connection problem to mysql (embedded installation):
Oct 4, 2012 1:27:36 PM com.sun.vda.service.core.ServiceModule waitForDatabase
WARNING: thr#14:"Thread-14" Could not connect to database. Trying since 400 seconds.
The DB is up:
root@sunray # /opt/SUNWvda/sbin/vda-db-status
Ip/Hostname Database host Role Status
sunray.demo.be Master up
root@sunray # svcs svc:/application/database/vdadb:default
STATE STIME FMRI
online 13:20:04 svc:/application/database/vdadb:default
I can manually login into mysql:
root@sunray # /opt/SUNWvda/mysql/bin/mysql --defaults-file=/etc/opt/SUNWvda/my.cnf -u root -p
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1205
Server version: 5.1.50-enterprise-commercial-pro-log MySQL Enterprise Server - Pro Edition (Commercial)
Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
This is commercial software, and use of this software is governed
by your applicable license agreement with MySQL
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
Does your 'cacaoadm -V' output report a version newer than 188.8.131.52? If so, you may have Solaris Patch 123896-50 installed, which VDI 3.4 is known to have problems with, due to the new default SSL connection method to the MySQL database.
If this is the case, you should revert to 123896-25, as this is the known working/tested version of cacao framework for VDI.
After rolling back to 123896-25, restart VDI services with '/opt/SUNWvda/sbin/vda-service restart' and see if this corrects the issue?
Edited by: DoesNotCompute on Oct 4, 2012 9:36 AM
thanks for your input.
I'm running 2.2.5. I also reverted to -25 and I do get another error now. I will switch back to -51 as I have 2.2.5 and not higher as you mentioned...
root@sunray # cacaoadm -V
ERROR: Communication Failed Cannot establish a connection to the VDA service.
Steps I performed:
root@sunray # showrev -p | grep 123896- Patch: 123896-25 Obsoletes: 124466-02 Requires: Incompatibles: Packages: SUNWcacaort Patch: 123896-51 Obsoletes: 124466-02 Requires: Incompatibles: Packages: SUNWcacaort
root@sunray # patchrm 123896-51
Loading patches installed on the system...
Checking patches that you specified for removal.
Approved patches will be removed in this order:
Checking installed patches...
Executing prebackout script...
Backing out patch 123896-51...
Executing postbackout script... Patch 123896-51 has been backed out.
root@sunray # showrev -p | grep 123896- Patch: 123896-25 Obsoletes: 124466-02 Requires: Incompatibles: Packages: SUNWcacaort
And restarted the stack:
root@sunray # /opt/SUNWvda/sbin/vda-service restart
Shutting down Oracle Virtual Desktop Infrastructure service...
Starting Oracle Virtual Desktop Infrastructure service...
See '/var/cacao/instances/vda/logs/cacao.0' for service logging information.
Edited by: kweepeer on Oct 5, 2012 8:07 AM
No, I did not, I just reinstalled Solaris 10u10 without further patching. I will try vdi and see if the problem persists. I think the problem is related to cacao patching... I'll come back with an answer soon.
I just added vdi 3.4.1 to a newly installed Solaris 10 x86 U10 environment (no additional solaris 10 patches applied) and now I'm able to login as root.
So it seems to be related to the patch level of my system.
I'll close this thread now although it not really solved...
thnx for helping me out, Peter
This is a known issue. Kinldy follow below link for available work arounds. 100% solution