Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello.
OEM - Qlik Sense Enterprise User Model Site Subscription |
|
Our server hosting Qlik Sense has been from one location to another, so its name and IP address have changed.
I followed the procedure described here:
https://community.qlik.com/t5/Knowledge/How-to-Change-the-Qlik-Sense-server-hostname/ta-p/1711364
But I'm blocked at the step 15 : launch Repository.exe -bootstrap -standalone -restorehostname
The command is blocked at step
[INFO] Entering main startup phase..
The logs show
205 20211220T190825.080+0100 WARN swinsbsqlik01 System.Repository.Repository.Core.Licensing.LicensesInitializer 3 812e40e7-91ba-4c1a-b133-acef25fca101 EMEAAD\nguisset There was an error contacting the license service. Keep retrying... (800 failed requests) GET /v1/licenses/overview StatusCode: InternalServerError Response: . Could not connect to the license service. NO-STACKTRACE 812e40e7-91ba-4c1a-b133-acef25fca101
Note: to get there I had to start the QlikSenseRepositoryDatabase service.
Any idea what I might do to go further?
Thanks.
Hello @NGU
You need to start the Qlik Sense service dispatcher service before you start the Repository.exe command. Check with netstat -aon | findstr 9200 if the license port is up on the new server.
Best regards
Sebastian
Hello @AndyBurnsJPM . It was a long time ago... I think a reboot of the VM did the trick. Good luck.
For those who may have the same issue, for me it was caused by my removal of the wrong cert before restoring the environment.
When restoring from a backup taken on another machine, only remove the LocalMachine root certificate from the server. Removing any other certs seems to cause the same errors as described in this ticket.
Hello @NGU
You need to start the Qlik Sense service dispatcher service before you start the Repository.exe command. Check with netstat -aon | findstr 9200 if the license port is up on the new server.
Best regards
Sebastian
Since this is a public forum you should not post site specific information. I will edit out the serial number from your post.
I hope that is ok
Hello. Thanks for your answers.
After starting up the Qlik Sense service dispatcher, netstat -aon | findstr 9200 gives results.
TCP 0.0.0.0:9200 0.0.0.0:0 LISTENING 13760
TCP [::]:9200 [::]:0 LISTENING 13760
However, I see errors in the Licences log:
{"caller":"qrs_client.go:31","error":"Get \"https://localhost:4242/qrs/servernodeconfiguration/local?xrfkey=InHocSignoVinces\": dial tcp 127.0.0.1:4242: connectex: No connection could be made because the target machine actively refused it.","level":"error","logTraceId":"6d474af443221294f462bc6b5f65b969","message":"failed retrieve central node info from QRS (communication error)","timestamp":"2021-12-21T09:34:25.2323935Z"}
And the Repository.exe fails with error
An exception occured in BackgroundWork runner The operation was canceled. at System.Collections.Concurrent.BlockingCollection`1.TryTakeWithNoTimeValidation(T& item, Int32 millisecondsTimeout, CancellationToken cancellationToken, CancellationTokenSource combinedTokenSource)↵↓ at Repository.Core.BackgroundWork.BackgroundWorkScheduler.BackgroundWorksRunner() 64659896-874f-4bf2-8eb2-c0a9feb7b005
Please open a case i the support section so we can share logs and have a deeper look.
Regards
Sebastian
Hi was there any resolution to this? I'm facing same issue
Hello @AndyBurnsJPM . It was a long time ago... I think a reboot of the VM did the trick. Good luck.
For those who may have the same issue, for me it was caused by my removal of the wrong cert before restoring the environment.
When restoring from a backup taken on another machine, only remove the LocalMachine root certificate from the server. Removing any other certs seems to cause the same errors as described in this ticket.