Piszki Lab | EN

My case study in the clouds…

Horizon Workspace: Invalid Suite Token (404 Not Found)

| 0 comments

Today I tested switching between virtual IP address on pgPool-II . When I found that it worked, I decided to switch the Horizon Workspace to prepared vPostgres cluster. And I made ​​a mistake. I clicked on “Test Connection”, all shone on the green, so I clicked on without thinking “Save” (and everything stopped working). Did not notice, that the password was substituted accidental “star”. And so I changed the password for the database, such as never know. From the Horizon Workspace Configurator was no longer to unscrew:

horizondb1

 

The log entry appeared (/opt/vmware/horizon/horizoninstance/logs/horizon-persistant.log):

WARN  (Task-Thread-for-com.mchange.v2.async.ThreadPerTaskAsynchronousRunner@7d957e09) [;;] com.mchange.v2.resourcepool.BasicResourcePool – com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@29ddf8d4 — Acquisition Attempt Failed!!! Clearing pending acquires. While trying to acquire a needed new resource, we failed to succeed more than the maximum number of allowed acquisition attempts (30). Last acquisition attempt exception:
org.postgresql.util.PSQLException: FATAL: password authentication failed for user “horizon”

Incorrect password is stored somewhere, but where, and how to get them back? Three minutes in a state of ZEN and bingo! The simplest methods are the most effective. I searched the whole system of service-va for files modified today and found a configuration file (in / usr / local / horizon / conf):

runtime-config.properties

Inside all the connection parameters to the database, the password is encrypted of course, fortunately “Save” generates a file with the extension  .orig (with previous parameters), phew Smile

Was this information is helpful? Tell me, please leave a comment!

Source

Rate this article:
[Total: 0    Average: 0/5]

Author: Piotr Pisz

Computer always, since I got a Commodore 64 at the end of primary school, through his beloved Amiga and Linux infinite number of consoles, until today, fully virtual day. Since 2001, Unix/Linux Systems Administrator, for seven years a faithful companion and protector of Solaris system, until his sad end. In the year 2011 came in the depths of virtualization, then smoothly ascended into the clouds and continues there today. Professionally working as Systems Architect in the Polish Security Printing Works.

Leave a Reply

Required fields are marked *.


.

Enjoyed the post? Support Piszki Lab | EN, click on the AD! :-)

.