Issue with Logging in TPP 25.1

Issue with Logging in TPP 25.1

101
Created On 11/10/26 11:02 AM - Last Modified 11/10/26 15:54 PM


Symptom


Observed Symptom: In the TPP Logging config screen, you will see the following error when try to save a custom logging connect using Windows Authentication: 

 

"Database: Could not create SecureDsnString. UserID is required." 

 

Other symptoms you may observe: The Venafi Log Server Windows Service is not running in Windows Services and is also not disabled. If it is manually started, it may start and then proceed to stop in seconds. Windows Event Viewer Errors for Venafi Logging Server included below:

"LogMsSQL has invalid configuration: Channel DSN is not valid. Error: Could not retrieve the DSN from the secret store."

"Service cannot be started. The handle is invalidDescription"

"Driver for channel '\VED\Logging\Channels\Default SQL Channel' failed to initialize with error ''"

 

NOTE: 

Although this logging issue stems from configuring a custom Logging Database Connection with Windows Authentication in TPP 25.1, to a customer, this issue will present as the symptom of an upgrade where the logging on the Default SQL Channel will appear to have broken after an upgrade. 

 



Environment


25.1 TPP/TLSPDC TLSPDC

TPP 25.1.1 and 25.1.2



Cause


The cause of this issue is a bug (VEN-87570) found in the Default SQL Channel Database Log Connections settings when creating a custom database connection. As a result, the log service will not start.

 

 



Resolution


The Workaround (if you access the same LOG database as the main TPP Database) is to use the SYSTEM CONNECTION for the Database Connection (easiest workaround) or instead proceed without Windows Authentication and provide the SQL Auth Credentials. However, if use of Windows Authentication is desired and a Custom Connection is also required (due to use of more than one LOG DB), then there is a 3rd valid workaround:

 

To edit or create a custom log channel that uses windows authentication:

  1. Fill in all the fields required

  2. Uncheck “Windows Authentication”

  3. Enter some values into the username and password fields (like abc)

  4. Recheck “Windows Authentication”

  5. Save

*Despite entering username and password values, these will not be saved. But entering these is enough to get past the buggy validation code.



Actions
  • Print
  • Copy Link

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