Do you have SELinux enabled on the server? See if that file has the
correct tags by using "ls -Z''. You can also see if you have any
errors by
checking the selinux audit log, usually in /var/log/audit.
❧ Brian Mathis
On Fri, Jul 12, 2013 at 8:26 AM, Piotr Jasiulewicz
<pjasiulewicz@gmail.com>wrote:
> Hi All,
>
> Having a problem with puppet master. Started crashing for no real reason
> and then after fiddling aroung started to get a permission problem:
>
> root@puppet:/etc# puppet master --debug --verbose --no-daemonize
> debug: Failed to load library ''selinux'' for feature
''selinux''
> debug: Puppet::Type::User::ProviderUser_role_add: file roleadd does not
> exist
> debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/dscl
> does not exist
> debug: Puppet::Type::User::ProviderPw: file pw does not exist
> debug: Puppet::Type::User::ProviderLdap: true value when expecting false
> debug: Failed to load library ''ldap'' for feature
''ldap''
> debug: /File[/var/lib/puppet/reports]: Autorequiring File[/var/lib/puppet]
> debug: /File[/var/lib/puppet/ssl/certs/ca.pem]: Autorequiring
> File[/var/lib/puppet/ssl/certs]
> debug: /File[/var/lib/puppet/ssl/private]: Autorequiring
> File[/var/lib/puppet/ssl]
> debug: /File[/var/lib/puppet/ssl/private_keys]: Autorequiring
> File[/var/lib/puppet/ssl]
> debug: /File[/var/lib/puppet/ssl/certs]: Autorequiring
> File[/var/lib/puppet/ssl]
> debug: /File[/var/run/puppet/master.pid]: Autorequiring
> File[/var/run/puppet]
> debug: /File[/etc/puppet/manifests/site.pp]: Autorequiring
> File[/etc/puppet/manifests]
> debug: /File[/etc/puppet/auth.conf]: Autorequiring File[/etc/puppet]
> debug: /File[/etc/puppet/fileserver.conf]: Autorequiring File[/etc/puppet]
> debug: /File[/var/lib/puppet/ssl/certificate_requests]: Autorequiring
> File[/var/lib/puppet/ssl]
> debug: /File[/var/lib/puppet/ssl/public_keys]: Autorequiring
> File[/var/lib/puppet/ssl]
> debug: /File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet]
> debug: /File[/var/lib/puppet/ssl/crl.pem]: Autorequiring
> File[/var/lib/puppet/ssl]
> debug: /File[/var/lib/puppet/bucket]: Autorequiring File[/var/lib/puppet]
> debug: /File[/var/lib/puppet/state]: Autorequiring File[/var/lib/puppet]
> debug: /File[/var/lib/puppet/ssl]: Autorequiring File[/var/lib/puppet]
> debug: /File[/etc/puppet/puppet.conf]: Autorequiring File[/etc/puppet]
> debug: /File[/var/lib/puppet/server_data]: Autorequiring
> File[/var/lib/puppet]
> debug: /File[/var/lib/puppet/facts]: Autorequiring File[/var/lib/puppet]
> debug: /File[/etc/puppet/manifests]: Autorequiring File[/etc/puppet]
> debug: /File[/var/lib/puppet/yaml]: Autorequiring File[/var/lib/puppet]
> debug: /File[/var/lib/puppet/rrd]: Autorequiring File[/var/lib/puppet]
> debug: /File[/var/log/puppet/masterhttp.log]: Autorequiring
> File[/var/log/puppet]
> debug: Finishing transaction 70230043318440
> debug: /File[/var/lib/puppet/ssl/ca/private]: Autorequiring
> File[/var/lib/puppet/ssl/ca]
> debug: /File[/var/lib/puppet/ssl/ca/signed]: Autorequiring
> File[/var/lib/puppet/ssl/ca]
> debug: /File[/var/lib/puppet/ssl/ca/ca_pub.pem]: Autorequiring
> File[/var/lib/puppet/ssl/ca]
> debug: /File[/var/lib/puppet/ssl/ca/private/ca.pass]: Autorequiring
> File[/var/lib/puppet/ssl/ca/private]
> debug: /File[/var/lib/puppet/ssl/ca/serial]: Autorequiring
> File[/var/lib/puppet/ssl/ca]
> debug: /File[/var/lib/puppet/ssl/ca/inventory.txt]: Autorequiring
> File[/var/lib/puppet/ssl/ca]
> debug: /File[/var/lib/puppet/ssl/ca/ca_crl.pem]: Autorequiring
> File[/var/lib/puppet/ssl/ca]
> debug: /File[/var/lib/puppet/ssl/ca/requests]: Autorequiring
> File[/var/lib/puppet/ssl/ca]
> debug: /File[/var/lib/puppet/ssl/ca/ca_key.pem]: Autorequiring
> File[/var/lib/puppet/ssl/ca]
> debug: /File[/var/lib/puppet/ssl/ca/ca_crt.pem]: Autorequiring
> File[/var/lib/puppet/ssl/ca]
> debug: Finishing transaction 70230042058100
> debug: Using cached certificate for ca
> info: Creating a new SSL key for puppet.sherstondevelopments.co.uk
> Could not run: Could not write
> /var/lib/puppet/ssl/private_keys/puppet.sherstondevelopments.co.uk.pem to
> privatekeydir: Permission denied -
> /var/lib/puppet/ssl/private_keys/puppet.sherstondevelopments.co.uk.pem
>
>
> Tried to change permissions and ownership for this folder to puppet but no
> effect. Anyone any ideas?
>
> Cheers,
> Piotr
>
> --
> 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+unsubscribe@googlegroups.com.
> To post to this group, send email to puppet-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/puppet-users.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
--
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+unsubscribe@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.