MID Server installation issue ?

Gaurav Kumar15
Giga Guru

Hi All,

I am setting up a mid server on one of the server, and have configured all the properties and that is up and running, i can see that in the services its running.

How to setup that on Service Now end. I could see the Mid Server application there we have an option of creating server records, i created a record with specifying the name of MID, which i entered in the conf file. After that i submitted and its not validating, do i need to add any other information, also we are running multiple MID servers in our instances.

Also i am getting below error

Logged in user 'XYZ' does not match configured user '

Thanks,

Gaurav Kumar

2 REPLIES 2

adilrathore
ServiceNow Employee
ServiceNow Employee

Once you have the MID Server installed and Configured it would automatically get listed in the MID Servers list page wherein you can validate it.



Does the MID Server have network connectivity to the ServiceNow instance over TCP port 443. You can check that by telnetting your servicenow instance on port 443 from the MID Server.


tony_barratt
ServiceNow Employee
ServiceNow Employee

Hi Gaurav,



There are some actions you can take described here which might help


https://docs.servicenow.com/bundle/istanbul-it-operations-management/page/product/mid-server/task/t_...


for example item 10


..


10. Confirm that the MID Server account was created successfully and the account has connectivity to the instance.


    1. On the MID Server host, Open a supported web browser on the MID Server host and navigate to the instance.
    2. If the account is already logged into the instance, log out.
    3. Right-click the header and select Save.
    4. Use the previously created MID Server user credentials and sign in. If the user name or password includes special characters, make sure that you edit the config.xml file to allow for well-formed XML.


ServiceNow KB: TROUBLESHOOT: MID Server user authentication issues (KB0597574)


for example



  • Is the MID Server user ID entered accurately into the agent/config.xml on the MID host machine?
    • I don't know.
      • To determine whether the MID Server user is properly entered into the config.xml:
        1. Log on to the host machine as a local admin or the MID Server user.
        2. Navigate to the /agent directory where the MID was installed.
        3. Edit the config.xml file.
        4. Search for the parameter: mid.instance.username.
        5. Copy the value of that parameter into your buffer.
        6. Return to the instance.
        7. In the text editor, navigate to Organization > Users.
        8. Search for User ID = [the name in your buffer].
          • NOTE: you could also attempt to log in to the instance from the browser of the host instance using the user name.
    • Yes, the MID Server user is entered correctly in the Organization > Users database.
      • If the MID Server user's ID is not the issue preventing successful authentication. Keep troubleshooting. [Back to top]
    • No, the MID Server user does not exist in the user database on the instance.
      • ROOT CAUSE: The MID Server user on the instance and the MID Server user in the config.xml must match. Sometimes after cloning a production instance to a development instance, there are mismatches in the user name and passwords as MID Servers are not cloned along with the instance.
      • SOLUTION: Either update the MID Server user's user name on the instance or in the config.xml file. As a word of caution, often a single MID Server user name is used across multiple MID Servers and MID Server clusters. Therefore, updating the config.xml is the least problematic option.


  • Is the MID Server user password properly entered into the agent/config.xml?