OSMH: OCA Agent Service Reports "PAM Account Management Error: Permission Denied" During Sudo — Cloud Customer Connect
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
Note!! Please register for a free account to access the full content and also to participate in Q&A in the community

OSMH: OCA Agent Service Reports "PAM Account Management Error: Permission Denied" During Sudo

edited Jul 10, 2025 4:24PM in Linux

Applies To:

Oracle Cloud Infrastructure
Oracle Linux

Symptoms:

The Oracle Linux instance is not reported under 'OS Management Hub'.
Furthermore, the 'oracle-cloud-agent' service reported the following errors.

# systemctl status oracle-cloud-agent -l
● 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 2025-07-02 12:43:56 GMT; 1min 5s ago
Docs: https://docs.cloud.oracle.com/iaas/
Main PID: 15908 (agent)
Tasks: 87 (limit: 99881)
Memory: 260.8M
CPU: 13.120s
CGroup: /oca.slice/oracle-cloud-agent.service
├─15908 /usr/libexec/oracle-cloud-agent/agent
├─15918 /usr/libexec/oracle-cloud-agent/plugins/gomon/gomon
├─15927 /usr/libexec/oracle-cloud-agent/plugins/oci-managementagent/oci-managementagent

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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