Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
it seems after some days I have the same (or similar) problem
no server message, server unavailable
Operation Monitor failed (it's scheduled every 60 minutes)
after the reload failure we get some other errors and at the end a no server message
Restarted, now it's working (also the reload of Operation monitor)
Full TaskLog.txt is attached.
Any suggestions?
- reduce frequency reload of Operation Monitor?
- open a ticket to Qlik?
- is there any known problems having more than one task running at the same time?
Thanks in advance
.................
26/05/2014 10:35:19.1721834 | Information | Start saving document |
26/05/2014 10:36:02.3861224 | Error | The sourcedocument failed to save.. Exception=System.IO.IOException: The process cannot access the file because it is being used by another process. |
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalReplace(String sourceFileName, String destinationFileName, String destinationBackupFileName, Boolean ignoreMetadataErrors)
at QVBWrapper.Document.ReplaceSourceFile(ILogBucket logBucket, String replaceFromFileName, String replaceToFilename)
at QVBWrapper.Document.Save(ILogBucket i_LogBucket, String i_SaveAsFileName)
26/05/2014 10:36:02.4173238 | Information | Closing the document. |
26/05/2014 10:36:03.0569525 | Information | Closed the QlikView Engine successfully. ProcessID=4636 |
26/05/2014 10:36:07.0975338 | Error | The task "sys/admin/QlikView Ops Monitor v10.qvw" failed. Exception: |
QDSMain.Exceptions.DistributionFailedException: Distribute failed with errors to follow. ---> QDSMain.Exceptions.ReloadFailedException: Reload failed ---> QDSMain.Exceptions.LogBucketErrorException: The sourcedocument failed to save.. Exception=System.IO.IOException: The process cannot access the file because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalReplace(String sourceFileName, String destinationFileName, String destinationBackupFileName, Boolean ignoreMetadataErrors)
at QVBWrapper.Document.ReplaceSourceFile(ILogBucket logBucket, String replaceFromFileName, String replaceToFilename)
at QVBWrapper.Document.Save(ILogBucket i_LogBucket, String i_SaveAsFileName)
at QDSMain.ReloadTask.Reload(String fileName, TaskResult taskResult, String sectionAccessUserName, String sectionAccessPassword, eReloadOptions reloadOption, String variableName, String variableValue, Boolean moniterCpuUsage)
--- End of inner exception stack trace ---
at QDSMain.ReloadTask.Reload(String fileName, TaskResult taskResult, String sectionAccessUserName, String sectionAccessPassword, eReloadOptions reloadOption, String variableName, String variableValue, Boolean moniterCpuUsage)
at QDSMain.DistributeTask.Execute(TaskResult currentTaskResult)
--- End of inner exception stack trace ---
at QDSMain.DistributeTask.Execute(TaskResult currentTaskResult)
at QDSMain.Task.AbstractTask.TaskExecution(ILogBucket logBucket, TaskResult taskResult)
.........................
Hi Massimo,
If you don't have a Publisher license and the QVS is crashing, the reload of a document could have issues when saving, such as the ones you are experiencing. The file is in use by the QVS which has hanged (or similar).
It would be more helpful with the QVS Event log. What is going on at the Server side? If the server is down, it is also not possible to distribute documents to it (with a Publisher license).
Regards,
Erik
attached the today events log
reload starts at 30 every hour, usually it takes 4 or 5 minutes
I don't have publisher
I thought the server went down after the failed reload (because of reload failed).
Hi Massimo,
I suggest you open a ticket to Qlik Support.
A quick look at the Event log, shows me that you have some PGO errors, which could explain the unavailability of the QlikView Server. If not using a cluster, I recommend that you change the document root folder from \\CRONOS\qlikview$\ELS_PROD\ to a local drive. Also a hidden share (qlikview$) is not recommended, it is better to use a proper share.
Also, there are some "Reason for restart: Phoenix detected: Performance monitor stuck", you can change the Performance counter to gather data every 30 minutes instead of every 5 minutes, and then the QVS should not restart due to this. Might want to rebuild performance counters in Windows, Run > CMD > "lodctr /r".
Regards,
Erik
thanks Erik