Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

OCI : How To Change port number for OSMS-AGENT In Oracle Linux

edited Mar 16, 2023 4:55PM in Linux

Applies to:

Oracle Cloud Infrastructure - Version N/A and later

Linux x86-64


Goal:

This document describes how to change the port number for OSMS-AGENT


Solution:

To change the port number for osms-agent follow the steps detailed below:

1) Change OSMS Agent local proxy port number, e.g., to 9004 using command below:

$ sudo sed -i 's/port: 9003/port: 9004/g' /etc/oracle-cloud-agent/plugins/osms/config.yml


2) Restart OSMS Agent service:

Oracle Linux 6 command:

$ sudo service oracle-cloud-agent stop
$ sudo service oracle-cloud-agent start

Oracle Linux 7 and 8 command:

$ sudo systemctl restart oracle-cloud-agent


3) Verify status of OSMS Agent service:

Oracle Linux 6 command:

$ sudo service oracle-cloud-agent status

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!