On Monday, January 27, 2014 10:34:36 AM UTC-7, Rob Reynolds wrote:
>
> Josh,
>  Can you try something for me? With the install, can you add the following 
> to it? 
>
> msiexec /qn /i themsilocation.msi PUPPET_AGENT_STARTUP_MODE=Manual
>
> And tell me if it installs okay?
>
>
Yep, one step ahead of you.  We were able to install by changing the 
startup mode to manual.  Attempting to start the service post install, 
resulted in: Error 1053: The service did not respond to the start or 
control request in a timely fashion.

There wasn't anything helpful in event viewer so we moved on to starting 
the agent manually.  The pertinent portion of the output from puppet agent 
--test --debug --verbose is below:

Error: Could not set 'directory' on ensure: Permission denied - 
C:/ProgramData/P
uppetLabs/puppet/var/state/graphs
Error: Could not set 'directory' on ensure: Permission denied - 
C:/ProgramData/P
uppetLabs/puppet/var/state/graphs
Wrapped exception:
Permission denied - C:/ProgramData/PuppetLabs/puppet/var/state/graphs
Error: /File[C:/ProgramData/PuppetLabs/puppet/var/state/graphs]/ensure: 
change f
rom absent to directory failed: Could not set 'directory' on ensure: 
Permission
denied - C:/ProgramData/PuppetLabs/puppet/var/state/graphs
 [0;36mDebug: /File
[C:/ProgramData/PuppetLabs/puppet/var/state/graphs]: Nothing to manage: no 
ensure and the resource doesn't exist [0m
 [0;36mDebug: Finishing transaction 38297820 [0m
Error: Could not prepare for execution: Got 3 failure(s) while 
initializing: Cou
ld not set 'directory' on ensure: Permission denied - 
C:/ProgramData/PuppetLabs/
puppet/var/state/graphs; Could not set 'directory' on ensure: Permission 
denied
- C:/ProgramData/PuppetLabs/puppet/var/state/graphs
Wrapped exception:
Permission denied - C:/ProgramData/PuppetLabs/puppet/var/state/graphs; 
change fr
om absent to directory failed: Could not set 'directory' on ensure: 
Permission d
enied - C:/ProgramData/PuppetLabs/puppet/var/state/graphs


So I hopped into the PuppetLabs directory and started looking at 
permissions.  Everything is good up to 
C:/ProgramData/PuppetLabs/puppet/var.  Meaning the Administrators group has 
full control and can make modifications.  That is required for running 
puppet agent manually outside of the service.  Every directory under 
C:/ProgramData/PuppetLabs/puppet/var is good *except* for 
C:/ProgramData/PuppetLabs/puppet/var/state.  That directory appears to have 
been created by the service (system account) and does not have any 
permissions for "Administrators" set.   I attempted to alter the 
permissions, but I just get access denied even with an admin account.

So in summary, the service times out for reasons unknown.  Running puppet 
agent manually fails because Administrators cannot modify anything under 
C:/ProgramData/PuppetLabs/puppet/var/state

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/73b52441-e66d-4661-bf1b-fc3737ec4912%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to