On Mar 14, 2:00 pm, Justin Lloyd <[email protected]> wrote:
> I'm suddenly getting the below errors from Rack during puppetd -t
> (excerpted from the pink HTML output and cleaned for readability):
>
> Could not prepare for execution: Got 10 failure(s) while initializing:
> change from absent to directory failed: Could not set 'directory on ensure:
> Permission denied - /var/lib/puppet/yaml;
> change from absent to directory failed: Could not set 'directory on ensure:
> Permission denied - /var/lib/puppet/rrd;
> change from absent to directory failed: Could not set 'directory on ensure:
> Permission denied - /var/lib/puppet/reports;
> change from absent to directory failed: Could not set 'directory on ensure:
> Permission denied - /var/lib/puppet/facts;
> change from absent to file failed: Could not set 'file on ensure:
> Permission denied - /var/log/puppet/masterhttp.log;
> change from absent to directory failed: Could not set 'directory on ensure:
> Permission denied - /var/lib/puppet/ssl;
> change from absent to directory failed: Could not set 'directory on ensure:
> Permission denied - /var/lib/puppet/state;
> change from absent to directory failed: Could not set 'directory on ensure:
> Permission denied - /var/lib/puppet/lib;
> change from absent to directory failed: Could not set 'directory on ensure:
> Permission denied - /var/lib/puppet/bucket;
> change from absent to directory failed: Could not set 'directory on ensure:
> Permission denied - /var/lib/puppet/server_data
>
> I'm not sure what I may have changed that would cause this now. Thoughts?


The agent (i.e. puppetd) needs to run privileged.  It sounds like you
are starting it manually, so are you running it as root or via sudo?

Alternatively, if your master is running SELinux in enforcing mode,
then it is possible that starting the agent manually does not confer
the same privileges that running it as a service does.  You can test
this by switching to permissive mode.

Or is /var [on a] read-only filesystem?  That's a long shot, because
such a situation would probably cause a lot of other problems system-
wide.


John

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to