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.

Linux MID Server installation - directory /opt/servicenow/mid/agent

Cl_udia Miranda
Kilo Contributor

Hi guys, i'm trying to install a Linux Mid Server in a ubuntu virtual machine. I'm following the steps described in Install a MID Server on Linux | ServiceNow Docs, but after i install de DEB installer, i can´t progress to the next step. 

In the command prompt says that "MID Server can be configured using /opt/servicenow/mid/agent/installer.sh script", but i can't see this directory and i don´t know how to access it. Did you guys know to do this? 

find_real_file.png

1 ACCEPTED SOLUTION

I believe it's the account issue or the connection issue to the instance check the account which you used to configure this mid server having the mid_server role.

 

Also check this KB article for more troubleshooting steps

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0661756

 

Regards,

Vivek

View solution in original post

10 REPLIES 10

Jeff Boltz1
Mega Guru

do you need to chown the file?  I see permission denied?

should you be able to cd to the installer script dir, then sh installer.sh from there?

_raj_esh
Kilo Sage

Hi Claudia,

 

Try executing the following command. 

sudo /opt/servicenow/mid/agent/installer.sh 

 

As you are not the root user and sudo needs to be used when executing the commands for installation. 

Hope it helps.

 

Thanks,

Raj

--Raj | ServiceNow Certified Technical Architect

Executing this command helped : 

sudo /opt/servicenow/mid/agent/installer.sh 

Hitoshi Ozawa
Giga Sage

Hi Cláudia,

Is there anything below what's currently being displayed in the screenshot?

Is there an "agent" directory? If not, try executing "sudo ls -la" to list directories.

If it's possible to cd to directory agent, do a "sudo ls -la" to list files and there permissions to check file "installer.sh" exists.