Summary
If the agent starts completely fine manually but simply don't start on its own after the machine rebooted, the auto-start script is either missing or unconfigured.
If the agent starts completely fine manually but simply don’t start on its own after the machine rebooted, the auto-start script is either missing or unconfigured.
Modern Linux deployments require a systemd service file to orchestrate OEM startup as chkconfig is deprecated.
If no service exists on /etc/systemd/system/ , you should create one
vi /etc/systemd/system/oem-agent.service
[Unit]
Description=Oracle Enterprise Manager Agent
After=network.target
[Service]
Type=forking
User=oracle
ExecStart=/oracle/app/agent/agent_inst/bin/emctl start agent
ExecStop=/oracle/app/agent/agent_inst/bin/emctl stop agent
Restart=on-failure
[Install]
WantedBy=multi-user.target
systemctl daemon-reload
systemctl enable oem-agent.service