For our MU Lab file submission, we are getting errors with writing/renaming files. This has been running for a few years with no issue, but within the last few months, not all the time, not ever month, the uPOC creates two files because of the below error. Any ideas from anyone as to why this may happen suddenly. What can I put in the code to correct if that’s what I need to do.
[prod:prod:ERR /0:njdoh_elr_file_upoc_cmd:03/12/2018 23:51:46] Unable to cycle output log file.
[icl :tcpi:ERR /0:njdoh_elr_file_upoc_cmd:03/12/2018 23:51:46] write failed: WSAECONNABORTED
[pd :pdtd:ERR /0:njdoh_elr_file_upoc:03/13/2018 01:03:01] Tcl error:
[pd :pdtd:ERR /0:njdoh_elr_file_upoc:–/–/—- –:–:–] msgId = none
[pd :pdtd:ERR /0:njdoh_elr_file_upoc:–/–/—- –:–:–] proc = ‘tps_moveLabFile’
[pd :pdtd:ERR /0:njdoh_elr_file_upoc:–/–/—- –:–:–] args = ”
[pd :pdtd:ERR /0:njdoh_elr_file_upoc:–/–/—- –:–:–] result = ‘error renaming “D:cloverleafcis6.1integratorsite_mu_01_prodexecprocessesmt_oru_elrLAB_MFUlab_NJDOH” to “D:cloverleafcis6.1integratorsite_mu_01_prodexecprocessesmt_oru_elrLAB_MFUlab_NJDOH20180313010301”: permission denied’
[pd :pdtd:ERR /0:njdoh_elr_file_upoc:–/–/—- –:–:–] errorInfo: ‘
[pd :pdtd:ERR /0:njdoh_elr_file_upoc:–/–/—- –:–:–] error renaming “D:cloverleafcis6.1integratorsite_mu_01_prodexecprocessesmt_oru_elrLAB_MFUlab_NJDOH” to “D:cloverleafcis6.1integratorsite_mu_01_prodexecprocessesmt_oru_elrLAB_MFUlab_NJDOH20180313010301”: permission denied
[pd :pdtd:ERR /0:njdoh_elr_file_upoc:–/–/—- –:–:–] while executing
[pd :pdtd:ERR /0:njdoh_elr_file_upoc:–/–/—- –:–:–] “file rename -force $fullFile $fullFile$ts”
[pd :pdtd:ERR /0:njdoh_elr_file_upoc:–/–/—- –:–:–] (procedure “tps_moveLabFile” line 57)
[pd :pdtd:ERR /0:njdoh_elr_file_upoc:–/–/—- –:–:–] invoked from within
[pd :pdtd:ERR /0:njdoh_elr_file_upoc:–/–/—- –:–:–] “tps_moveLabFile {CONTEXT pdupoc_read} {ARGS {}} {MODE time} {VERSION 3.0}”‘
Jay