where i can read logs about certificate requests?


четверг, 28 января 2016 г., 17:46:57 UTC+1 пользователь Alex M написал:
>
> but when run as Administrator i receive an error:
>
> C:\>puppet agent -t
> Info: Caching certificate for test1.domain.company.com
> Error: Could not request certificate: The certificate retrieved from the 
> master does not match the agent's private key.
> Certificate fingerprint: 
> ------------------------------------------------------------------------------------------------
> To fix this, remove the certificate from both the master and the agent and 
> then start a puppet run, which will automatically regenerate a certficate.
> On the master:
>   puppet cert clean test1.domain.company.com
> On the agent:
>   1a. On most platforms: find C:/ProgramData/PuppetLabs/puppet/etc/ssl 
> -name test1.domain.company.com.pem -delete
>   1b. On Windows: del 
> "C:/ProgramData/PuppetLabs/puppet/etc/ssl/test1.domain.company.com.pem" /f
>   2. puppet agent -t
>
> Exiting; failed to retrieve certificate and waitforcert is disabled
>
>
> when i did all requirements, then i receive an error:
>
> C:\>puppet agent -t
> Exiting; no certificate found and waitforcert is disabled
>
> In smart-proxies i have no any certificates
>
>
> четверг, 28 января 2016 г., 17:32:28 UTC+1 пользователь Josh Cooper 
> написал:
>>
>>
>>
>> On Thu, Jan 28, 2016 at 6:48 AM, Alex M <alex.mar...@googlemail.com> 
>> wrote:
>>
>>> Hi,
>>> i have Puppet v3.7.2 and same agent on Windows Server 2012 R2.
>>> Now i'm training to maintain Windows Services. For that i created new 
>>> manifest:
>>>
>>> # cat /etc/puppet/modules/disablesmb/manifests/init.pp
>>> class disablesmb {
>>>
>>> service { 'Audiosrv':
>>>                 ensure => running,
>>>                 enable => true,
>>>         }
>>>
>>> but when i run agent on Windows i get an error:
>>>
>>> C:\>puppet agent --test
>>> Info: Retrieving pluginfacts
>>> Info: Retrieving plugin
>>> Info: Caching catalog for test1.domain.company.com
>>> Info: Applying configuration version '1453991644'
>>> Error: Cannot start Audiosrv, error was: Execution of 
>>> 'C:/Windows/system32/net.exe start Audiosrv' returned 2: System error 5 has 
>>> occurred.
>>>
>>> Access is denied.
>>> Wrapped exception:
>>> Execution of 'C:/Windows/system32/net.exe start Audiosrv' returned 2: 
>>> System error 5 has occurred.
>>>
>>> Access is denied.
>>> Error: /Stage[main]/Disablesmb/Service[Audiosrv]/ensure: change from 
>>> stopped to running failed: Cannot start Audiosrv, error was: Execution of 
>>> 'C:/Win
>>> dows/system32/net.exe start Audiosrv' returned 2: System error 5 has 
>>> occurred.
>>>
>>> Access is denied.
>>> Notice: Finished catalog run in 0.14 seconds
>>>
>>> if i run it manually a get same error:
>>>
>>> C:\>net.exe start Audiosrv
>>> System error 5 has occurred.
>>>
>>> Access is denied.
>>>
>>> what is wrong?
>>>
>>> -- 
>>> 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...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/puppet-users/855b3a53-1dd0-4f80-b456-a96299f67c05%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/puppet-users/855b3a53-1dd0-4f80-b456-a96299f67c05%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> Most likely you are not running with elevated privileges, which is 
>> required in order to manage services (and most other things you're going to 
>> want to do with puppet).
>>
>> Josh
>>
>> -- 
>> Josh Cooper
>> Developer, Puppet Labs
>>
>

-- 
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/6145e5c9-5d4b-4cd7-b8c8-208474e6ad97%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to