Enable debug level on logging of AAA sessions in order to understand details?
Up to 11.0.7 you could use the ipfclientconfig.xml files for debugging AAA issues.
Since then this has moved to the portal: Manage > Configuration > Diagnostic Logging > Enable AAA
This will log lots of lines per login to your cognosserver.log whenever authentication is involved:
cat /opt/IBM/cognos/crn0/logs/cognosserver.log | grep -i ".AAA" | grep -i trace
I would schedule the activation/de-activation of AAA logging to the time when the cube is build. This would prevent performance issues and also strip down the log size a bit.
Enable logging (on Unix) by:
* echo '{"logsEnabled":[{"topicName":"AAA","topicType":"BUILTIN"}],"socketAppenderHostname":"localhost","meta":{"type":"glugLoggingConfiguration","version":"0.0.1"},"socketAppenderPort":-1}' > /opt/IBM/cognos/crn0/logs/cognosserver.log
Back to default:
* echo '{"logsEnabled":[{"topicName":"DEFAULT","topicType":"BUILTIN"}],"socketAppenderHostname":"localhost","meta":{"type":"glugLoggingConfiguration","version":"0.0.1"},"socketAppenderPort":-1}' > /opt/IBM/cognos/crn0/logs/cognosserver.log
*
Link to documentation ------------------------------
Ralf Roeber
https://linkedin.com/in/ralf-roeber-470425a/------------------------------
Original Message:
Sent: Mon February 01, 2021 07:19 PM
From: Scott Taylor
Subject: Authentication stops working for certain users
I have a service account that I used for building cubes on a tools server. The account authenticates to our Production environment (11.1.7 FP2) nightly during the build process. Recently this account stops being authenticated by Cognos and the cubes fail to build. The account hasn't been locked out in AD, only Cognos doesn't like it. I tested the account against our DEV server and it works fine (it connects to the same AD system). This authentication issue happened 3 days ago and to fix it I had to restart the Cognos server. It happened again last night. Is there a way to fix the issue without restarting the Cognos service? Does anyone know why this is happening? BTW the service account has been used for over 5 years, never having issues like this.
I hope someone has a clue to this issue as I don't like taking the system down regularly to fix authentication.
Thanks in advance everyone.
------------------------------
Scott
Cognos Administrator
Wenatchee WA
------------------------------
#CognosAnalyticswithWatson