Interpreting MID Server user debugging output
Summarize
Summary of Interpreting MID Server user debugging output
This guidance explains how ServiceNow customers can enable and interpret debugging output related to MID Server user connectivity issues. Debugging output from the system log is available in two formats—summary and detailed—and must be enabled manually by running a method on the instance. These outputs help identify authentication, authorization, network, and configuration problems affecting MID Server user accounts.
Show less
Available Output Formats
- Summary View: Provides a quick count of issue conditions without naming specific users or MID Servers, useful for an overview of problem scope.
- Detailed View: Displays specific information about users, their roles, MID Server associations, and login activity, enabling precise troubleshooting.
Key Debugging Scenarios
- Authentication Failures: Indicated by messages showing users with the
midserverrole failing to authenticate, often linked to incorrect passwords or down MID Servers. - Authorization Failures: Occur when users lack required roles. Detailed logs specify which roles are missing via event records, enabling targeted role reassignment.
- Network Issues: Identified when users associated with down MID Servers or users with the
midserverrole but no MID Server association have no login attempts during the reporting period, suggesting connectivity problems. - Configuration Issues: Highlight users with the
midserverrole who are not associated with any MID Server or have inappropriate role assignments, indicating potential misconfiguration.
MID Server ID Mapping
The debugging output includes a mapping of all down MID Servers to their associated user accounts by MID Server sysid, covering users whether or not they are currently linked to a MID Server. This mapping helps identify relationships between users and problematic MID Servers.
Practical Application for Customers
By enabling and reviewing these debugging outputs, ServiceNow customers can:
- Quickly identify whether MID Server user connectivity issues stem from authentication, authorization, network, or configuration problems.
- Understand which users and MID Servers are affected, facilitating targeted remediation.
- Use the detailed logs to pinpoint missing roles or misconfigurations in user accounts.
- Adjust sampling periods during troubleshooting to match MID Server heartbeat intervals for more granular monitoring.
This structured approach to interpreting MID Server user debugging output empowers customers to efficiently diagnose and resolve connectivity issues, ensuring reliable MID Server operations within their ServiceNow environment.
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.