CASLG004E Failed to open log file [C:\Windows\TEMP\CyberArk.Websession.xxxxx]. Code [5]

CASLG004E Failed to open log file [C:\Windows\TEMP\CyberArk.Websession.xxxxx]. Code [5]

110
Created On 11/10/26 10:54 AM - Last Modified 11/10/26 12:56 PM


Symptom


When the user logs into the PVWA with an incorrect password, instead of the following:

ITATS004E Authentication failure for User xxxxx

They receive:

CASLG004E Failed to open log file [C:\Windows\TEMP\CyberArk.Websession.xxxxx]. Code [5]

 


Environment


v7.2;v8.0;8.1;v8.2;v8.5;v8.6;v9.0;v9.1;v9.2;9.3;9.5;9.6;10.5;10.6;10.7;10.8;10.9;10.10;11.1;11;11.2;11.3;11.4;11.5;11.6;11.7 PVWA with RSA SecureID installed

Cause


RSA SecureID is not working correctly
 


Resolution


Option 1: To get the log file to generate, delete or rename the existing log file of that name in the PVWA logs.
 
Option 2: Temporarily turn off RSA Secure ID on the DefaultWebsite. Then troubleshoot RSA SecureID to determine why it is not allowing log generation


Additional Information


Details

SYMPTOM: 

When user logs into PVWA with an incorrect password instead of "ITATS004E Authentication failure for User xxxxx" they receive "CASLG004E Failed to open log file [C:\Windows\TEMP\CyberArk.Websession.xxxxx]. Code [5]"

 
PROBLEM: 
A possible cause of this can be RSA SecureID has been setup on the PVWA and is now not working correctly.
 
SOLUTION: 
Option 1. To get the log file to create: Delete or rename the existing log file of that name in the PVWA logs.
Option 2. Temporarily turn off RSA Secure ID on the DefaultWebsite. Then troubleshoot RSA SecureID.



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000000uTeCAI&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail