Interpreting MID Server user debugging output
Summarize
Summary of Interpreting MID Server User Debugging Output
This guide explains how to interpret debugging output from the MID Server, which is crucial for identifying user connectivity issues. Debugging output can be enabled manually and displayed in either a summary or detailed view, allowing you to quickly assess and address problems related to user authentication and authorization.
Show less
Key Features
- Summary and Detailed Views: You can choose between a summary that provides a quick overview of issue counts and a detailed report that includes user names, MID Server associations, and login activity.
- Authentication Failures: Specific error messages are generated for users unable to authenticate, detailing which MID Servers are down and which users are affected.
- Authorization Failures: Messages indicate when users lack necessary roles, helping you identify and correct role assignments based on system logs.
- MID Server ID Map: This feature maps down MID Servers to user accounts, highlighting which users are affected and their associated MID Servers.
- Network Issues: The output identifies users who have not attempted to log in within the reporting period, suggesting potential network issues.
- Configuration Issues: Messages alert you to misconfigurations, particularly for users with the midserver role who are not associated with any MID Server.
Key Outcomes
By enabling and interpreting debugging output, you can effectively diagnose and resolve connectivity issues for MID Server users. This process allows for improved user authentication and authorization management, reducing downtime and enhancing overall system functionality. You can also adjust the sampling period for more granular data during troubleshooting sessions.
Debugging output from the system log is available in either a summary or detailed view for MID Server user issues, but must be enabled manually.
To enable debugging and display all connectivity issues in either of the available formats, you must run a method manually on your instance. For instructions on enabling debugging, see Test remediation efforts for MID Server user connectivity issues. For information about each error condition and how records are created in the MID Server Issue [ecc_agent_issue] table, see MID Server user connectivity issues.
Available formats
You can configure the instance to generate a simple summary of the issue or a detailed output that identifies users and MID Servers. Summaries provide a quick look at the issue conditions, by count, while the detailed view allows you to examine roles, MID Server associations, and login activity by named users.
Authentication failure
- Login authentication failure for User <user name> associated with 1 down MID Server. Check password on MID server.
- Login authentication failure for User <user name> associated with <n> down MID Servers. Check password on MID servers.
- Login authentication failure for User <user name> with mid_server role not associated with a MID Server.
In this example, three users with the mid_server role, midserver2, local-midserver, and ardis.maison, failed to authenticate. Two of these users were configured for MID Servers that were Down, and the other user was not configured for any MID Servers. Each of these users has an authentication failure and is named in the appropriate error message.
MID Server ID map
The debugging output lists all MID Servers that are marked as Down and maps them to their user accounts by the MID Server sys_id. This map includes all user accounts that have the mid_server role, whether or not they are associated with a MID Server. If there are no Down MID Servers, the map is not displayed in the debugging output.
- User accounts not associated with any MID Servers.
- User accounts associated with Down MID Servers, identified by their sys_id.
- The sys_id of each Down MID Server, identified by name.
Authorization failure
- Login authorization failure for User <user name> associated with 1 down MID Server. Re-assign mid_server role to grant all required roles.
- Login authorization failure for User <user name> associated with <n> down MID Servers. Re-assign mid_server role to grant all required roles.
- Login authorization failure for User <user name> with mid_server role not associated with a MID Server.
In this example, three users with the mid_server role, midserver2, local-midserver, and ardis.maison have failed authorization. One user is not associated with any MID Server, but the other two users are. The system has logged an authorization failure, indicating that the user is missing at least one critical role. To see what roles are missing, look at the comma separated list in the Parm2 field in the login.authorization.failed event record. This record is the most recent login attempt in the Event [sysevent] table for the user account within the reporting period.
Network issues
- User <user name> is associated with 1 down MID Server. No login attempts within reporting period.
- User <user name> is associated with <n> down MID Servers. No login attempts within reporting period.
Network issues may also exist for these users who are NOT associated with MID Servers, and who have not attempted to log in during the reporting period: User <user name> with mid_server role is not associated with a MID Server. No login attempts within reporting period.
Configuration issues
- Login authentication failure for User <user name> with mid_server role not associated with a MID Server.
- Login authorization failure for User <user name> with mid_server role not associated with a MID Server.
- User <user name> with mid_server role successfully connected but not associated with a MID Server. The mid-server role should be reserved for MID Server use only.
- User <user name> with mid_server role is not associated with a MID Server. No login attempts within reporting period.