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: OSMS Service on Custom Image Instance not Disabling YUM Repositories or not Syncing.

edited Sep 11, 2023 11:30PM in Linux

APPLIES TO:

Oracle Cloud Infrastructure - Version N/A and later

Information in this document applies to any platform.


SYMPTOMS:

OSMS service is running on the instance created from custom image but yum repositories file under 

/etc/yum.repos.d directory is not renamed with suffix ".osms-backup". 

# systemctl status oracle-cloud-agent
● oracle-cloud-agent.service - Oracle Cloud Infrastructure agent for management and monitoring
  Loaded: loaded (/etc/systemd/system/oracle-cloud-agent.service; enabled; vendor preset: disabled)
  Active: active (running) since Wed 2020-12-02 23:22:49 UTC; 2h 51min ago
    Docs: https://docs.cloud.oracle.com/iaas/
Main PID: 12195 (agent)
  Memory: 43.4M
  CGroup: /system.slice/oracle-cloud-agent.service
          ├─12195 /usr/libexec/oracle-cloud-agent/agent
          ├─12205 /usr/libexec/oracle-cloud-agent/plugins/bastions
          ├─12215 /usr/libexec/oracle-cloud-agent/plugins/gomon/gomon
          └─12261 /usr/libexec/oracle-cloud-agent/plugins/unifiedmonitoring/unifiedmonitoring
Dec 03 02:03:29 localhost sudo[22124]: oracle-cloud-agent : TTY=unknown ; PWD=/var/lib/oracle-cloud-agent ; USER=root ; 
COMMAND=/bin/systemctl cat unified-monitoring-agent.service
Dec 03 02:03:29 localhost sudo[22129]: oracle-cloud-agent : TTY=unknown ; PWD=/var/lib/oracle-cloud-agent ; USER=root ; 
COMMAND=/bin/systemctl cat unified-monitoring-agent.service
Dec 03 02:03:29 localhost sudo[22133]: oracle-cloud-agent : TTY=unknown ; PWD=/var/lib/oracle-cloud-agent ; USER=root ; 
COMMAND=/bin/systemctl is-active unified-monitoring-agent.service
Dec 03 02:03:29 localhost sudo[22137]: oracle-cloud-agent : TTY=unknown ; PWD=/var/lib/oracle-cloud-agent ; USER=root ; 
COMMAND=/bin/systemctl is-active unified-monitoring-agent_c...nloader.timerDec 03 02:12:49 localhost sudo[22678]: oracle-
cloud-agent : TTY=unknown ; PWD=/var/lib/oracle-cloud-agent

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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