puppet master 全新安装报错
puppet master fresh installation error
puppet master 在我的 ubuntu 12.04 服务器上运行良好。今天我使用以下命令卸载了它并再次进行了全新安装。全新安装后,puppet master 无法启动。
sudo apt-get remove puppetmaster-common
sudo apt-get remove --auto-remove puppetmaster-common
sudo apt-get purge puppetmaster-common
sudo apt-get purge --auto-remove puppetmaster-common
sudo apt-get remove puppet
sudo apt-get remove --auto-remove puppet
sudo apt-get purge puppet
sudo apt-get purge --auto-remove puppet
全新安装后,它完全停止工作,我在日志中收到以下错误
Could not autoload puppet/type/user: Could not autoload
puppet/provider/user/directoryservice: cannot load such file
Could not autoload puppet/provider/user/directoryservice: cannot load
such file -- plist
Could not autoload puppet/type/user: Could not autoload
puppet/provider/user/directoryservice: cannot load such file
Could not create resources for managing Puppet's files and directories
in sections [:main, :master, :ssl, :metrics]
Could not prepare for execution: Could not create resources for
managing Puppet's files and directories in sections
此外,即使在全新安装后,/etc/puppet/puppet.conf 位置也不存在 puppet.conf 文件。我尝试安装了两次,但没有看到生成此文件。
傀儡版本 3.8.5.
Ubuntu : 12.04 版本
有人可以帮我解决这个问题吗?
马特,我终于明白了。
我刚刚通过手动删除
中的条目删除了现有的 apt 存储库
/etc/apt/sources.list.d
并删除了 puppetlabls-pc1.list、puppet.list、puppet.save,所有与 puppet 相关的条目然后被调用
sudo apt-get update
并再次安装了 puppet master,没有附加任何额外的 apt repos
sudo apt-get -y install puppetmaster
我想我使用了错误的 apt 源。它根本没有生成 puppet.conf 文件。可能这就是为什么我会遇到这样奇怪的错误的原因
puppet master 在我的 ubuntu 12.04 服务器上运行良好。今天我使用以下命令卸载了它并再次进行了全新安装。全新安装后,puppet master 无法启动。
sudo apt-get remove puppetmaster-common
sudo apt-get remove --auto-remove puppetmaster-common
sudo apt-get purge puppetmaster-common
sudo apt-get purge --auto-remove puppetmaster-common
sudo apt-get remove puppet
sudo apt-get remove --auto-remove puppet
sudo apt-get purge puppet
sudo apt-get purge --auto-remove puppet
全新安装后,它完全停止工作,我在日志中收到以下错误
Could not autoload puppet/type/user: Could not autoload puppet/provider/user/directoryservice: cannot load such file
Could not autoload puppet/provider/user/directoryservice: cannot load such file -- plist
Could not autoload puppet/type/user: Could not autoload puppet/provider/user/directoryservice: cannot load such file
Could not create resources for managing Puppet's files and directories in sections [:main, :master, :ssl, :metrics]
Could not prepare for execution: Could not create resources for managing Puppet's files and directories in sections
此外,即使在全新安装后,/etc/puppet/puppet.conf 位置也不存在 puppet.conf 文件。我尝试安装了两次,但没有看到生成此文件。
傀儡版本 3.8.5.
Ubuntu : 12.04 版本
有人可以帮我解决这个问题吗?
马特,我终于明白了。 我刚刚通过手动删除
中的条目删除了现有的 apt 存储库/etc/apt/sources.list.d
并删除了 puppetlabls-pc1.list、puppet.list、puppet.save,所有与 puppet 相关的条目然后被调用
sudo apt-get update
并再次安装了 puppet master,没有附加任何额外的 apt repos
sudo apt-get -y install puppetmaster
我想我使用了错误的 apt 源。它根本没有生成 puppet.conf 文件。可能这就是为什么我会遇到这样奇怪的错误的原因