Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Distribution service not working

We have a cluster of two Qlikview 11 servers.

The QDS settings are located on a shared folder. The QMC was activated on one server only.

All was running well for months untill today I started the Qlikview Management Console Service on another server. This service has always been disabled on the second server.

After this the Status \ Services tab of the QMC showed that it was necessary to restart the QDS.

However, now the Qlikview Distribution Service fails to start on both the servers.

The Application Event Viewer shows the following error:

Startup failure. Read the log file and/or event log for determinating the cause of this problem. Note! The service must have sufficient permissions in Publisher Application Data Folder: "C:\ProgramData\QlikTech\DistributionService". Exception=System.NullReferenceException: Object reference not set to an instance of an object.

   at QDSMain.Clustering.NotificationFiles.TaskNotificationFile.LoadTasks(IEnumerable`1 fileNames)

   at QDSMain.Clustering.NotificationFiles.TaskNotificationFile.Initialize()

   at System.Collections.Generic.List`1.ForEach(Action`1 action)

   at QDSMain.Clustering.NotificationFiles.NotificationFile.Initialize()

   at QDSMain.Clustering.ClusterNotification.Initialize()

   at QDSMain.MainClass.CheckAndInitializeEnviroment(ILogBucket logBucket, ClusterRegistration clusterReg)

   at QDSMain.MainClass.Run()

Whenever I restart the Qlikview Server service the Application Event Viewer shows the following warning in the events list:

(LocalDirectory.LocalDirectoryProvider) Exception in background directory reader: The network path was not found.

Can you help me solve this problem with the Qv Distribution Service?

Thanks.

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

I found the solution.

The Application Data Folder was apparently substituted by the wrong one from the second machine. And even though I could access this new folder, some permission was missing and the Qlikview Publisher could not access.

So, I found the old path and not the Distribution Service started working again.

Thanks for support.

View solution in original post

8 Replies
Not applicable
Author

Hi Valeriy,

Note! The service must have sufficient permissions in Publisher Application Data Folder: "C: \ ProgramData \ QlikTech \ DistributionService".

Both servers must point to the same path of "application data folder", if possible put the network path.

Anonymous
Not applicable
Author

Thanks Claudio,

that's exactly the case:

- all the services are run under the same user

- we use the same very user to access the server and work it

- the application data folder is a network path

Naturally, since all kept working for months just before yesterday, none of the user permissions have changed and the user Qlikview user can access both the application data folder and the C: \ ProgramData \ QlikTech \ DistributionService folder.

Maybe, there is a setting in Qlikview which specifies a different user somewhere?

jerrysvensson
Partner - Specialist II
Partner - Specialist II

How come you started the service on the other machine when it worked fine as it was?

Anonymous
Not applicable
Author

Yeah, this is a nice question.

I was pretty sure I could run the QMC from any machine. So, I tried to see if it worked to have access to the QMC when the first machine was down.

I though it was a natural desire...

jerrysvensson
Partner - Specialist II
Partner - Specialist II

🙂

I had a look in the manual:

"

Management Service

The QlikView Management Service (QMS) keeps settings in a database of its own, the QVPR. The QVPR is by default stored as XML files – an alternative is storing the settings in an SQL database. An installation can only have a single instance of QMS active. Active/passive failover should be used for redundancy. Note that no other service needs QMS to be running. "

Anonymous
Not applicable
Author

Good to know. Apparently I missed this part of the manual.

Where can I find this QVPR db? Can I check and change its settings?

jerrysvensson
Partner - Specialist II
Partner - Specialist II

Anonymous
Not applicable
Author

I found the solution.

The Application Data Folder was apparently substituted by the wrong one from the second machine. And even though I could access this new folder, some permission was missing and the Qlikview Publisher could not access.

So, I found the old path and not the Distribution Service started working again.

Thanks for support.