Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

MID Server Issue - Service is running

Jonathan102
Tera Guru

Hey all,

I am really hoping someone has experinced this issue and figured out a fix.  I am reinstalling MID Servers and on one server, I keep getting this message:

 

C:\MID Servers\Ballad DEV\agent>start.bat
wrapperm | Unable to install the ServiceNow MID Server service - The specified service already exists. (0x431)
wrapperm | Unable to update the ServiceNow MID Server service - An instance of the service is already running. (0x420)
wrapperm | The ServiceNow MID Server service is already started with status: RUNNING

 

The service IS NOT RUNNING!!  I have bounced the server. I have created an entirely new folder and still get the same error.  I have changed the mid server name over and over, still get the same error.  I only have two services running for the mids, one for TEST and one for PROD.  There is not a service ruining for DEV.  

 

I don't know what else to do to figure this out. I'm also unable to delete the entire folder that the DEV agent files are stored in, I keep getting, folder or file is open and its not.  Been wrestling with these installs for two days now.

 

Thanks!

Jonathan 

6 REPLIES 6

AnveshKumar M
Tera Sage

Hello @Jonathan102 

 

You might have tried this already, if not give it a try.

 

1. Run the  batch file C:\MID Servers\Ballad DEV\agent\bin\UninstallMID-NT.bat to remove the old Windows Service. 
2. Open the file C:\MID Servers\Ballad DEV\agent\conf\wrapper-override.conf, then Edit the line: 
    wrapper.displayname=ServiceNow MID Server_NEW_MID_SERVER_NAME_HERE
3. Save the file. 
4. Run the file C:\MID Servers\Ballad DEV\agent\bin\InstallMID-NT.bat to install a Windows Service with the new name.
 
Please mark my answer helpful and accept as solution if it helped 👍✔️
Thanks,
Anvesh

Hi sir, I tried the steps above. It's work, however it's also stop my current midserver service and only the new midserver are running. (I'm trying to run multiple mid-server service on the same host but not getting any success so far). Do you happen to know how to do that as well

Thanks

Hello @NguyễnD 

Can you please elaborate your issue?

 

Were you able to restart the old Service?

 

Are the service names distinct?

Thanks,
Anvesh

Hi sir, thank u.

I have able to resolve the issue by by deleting the current mid-server and re-install by Mid-server Installer. I think that when install the mid-server by edit the .config file I have mistakes somewhere that I'm not aware of.

 

Thanks 

DungNguyen