Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Files under /usr/lib/ambari-agent should be contained in the ambari-agent RPM.
Error: /Stage[main]/Ambari::Agent/Service[ambari-agent]/ensure: change from 'stopped' to 'running' failed: Systemd start for ambari-agent failed! journalctl log for ambari-agent: -- Logs begin at Mon 2021-06-07 12:29:19 UTC, end at Mon 2021-06-07 12:40:30 UTC. -- Jun 07 12:40:28 015cbca2d23c systemd[1]: Starting LSB: ambari-agent daemon... Jun 07 12:40:28 015cbca2d23c ambari-agent[1271]: Verifying Python version compatibility... Jun 07 12:40:28 015cbca2d23c ambari-agent[1271]: Using python /usr/bin/python2 Jun 07 12:40:28 015cbca2d23c ambari-agent[1271]: Checking for previously running Ambari Agent... Jun 07 12:40:28 015cbca2d23c ambari-agent[1271]: Checking ambari-common dir... Jun 07 12:40:28 015cbca2d23c ambari-agent[1271]: Starting ambari-agent Jun 07 12:40:30 015cbca2d23c ambari-agent[1271]: Verifying ambari-agent process status... Jun 07 12:40:30 015cbca2d23c ambari-agent[1271]: ERROR: ambari-agent start failed. For more details, see /var/log/ambari-agent/ambari-agent.out: Jun 07 12:40:30 015cbca2d23c ambari-agent[1271]: ==================== Jun 07 12:40:30 015cbca2d23c ambari-agent[1271]: /usr/bin/python2: can't open file '/usr/lib/ambari-agent/lib/ambari_agent/AmbariAgent.py': [Errno 2] No such file or directory Jun 07 12:40:30 015cbca2d23c ambari-agent[1271]: ====================
Attachments
Issue Links
- links to