After upgrading to Ambari 2.1.2 and I start/restart the agents I get a chown: cannot access message. The agents do start but I would like to get rid of that message.
Here is the output of ambari-agent restart
Restarting ambari-agent
Verifying Python version compatibility…
Using python /usr/bin/python2.6
Found ambari-agent PID: 72733
Stopping ambari-agent
chown: cannot access ` /var/lib/ambari-agent/keys’: No such file or directory</strong>
Removing PID file at /var/run/ambari-agent/ambari-agent.pid
ambari-agent successfully stopped
Verifying Python version compatibility…
Using python /usr/bin/python2.6
Checking for previously running Ambari Agent…
<strong>chown: cannot access ` /var/lib/ambari-agent/keys’: No such file or directory
Starting ambari-agent
Verifying ambari-agent process status…
Ambari Agent successfully started
Agent PID at: /var/run/ambari-agent/ambari-agent.pid
Agent out at: /var/log/ambari-agent/ambari-agent.out
Agent log at: /var/log/ambari-agent/ambari-agent.log