91超碰碰碰碰久久久久久综合_超碰av人澡人澡人澡人澡人掠_国产黄大片在线观看画质优化_txt小说免费全本

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

報錯custom_require.rb:36:in gem_original_require: no such file to load--puppet的解決

發布時間:2020-07-17 16:45:11 來源:網絡 閱讀:4798 作者:凌激冰 欄目:編程語言

最近在測試在windows安裝mcollective,一直卡在一個問題上,以下是windows上重啟mcollectived服務后報的錯誤


agents.rb Loading agent puppet failed: Could not create instance of plugin MCollective::Agent::Puppet: C:/Puppet Labs/Puppet/sys/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require': no such file to load--puppet
D, [2013-12-19T08:49:51.572777 #1696] DEBUG -- : windows_daemon.rb Starting Windows Service Daemon
D, [2013-12-19T08:49:51.572777 #1696] DEBUG -- : pluginmanager.rb Returning cached plugin global_stats with class MCollective::RunnerStats
D, [2013-12-19T08:49:51.572777 #1696] DEBUG -- : pluginmanager.rb Returning new plugin security_plugin with class MCollective::Security::Psk
D, [2013-12-19T08:49:51.572777 #1696] DEBUG -- : pluginmanager.rb Returning cached plugin global_stats with class MCollective::RunnerStats
D, [2013-12-19T08:49:51.572777 #1696] DEBUG -- : pluginmanager.rb Returning new plugin connector_plugin with class MCollective::Connector::Stomp
I, [2013-12-19T08:49:51.572777 #1696]  INFO -- : stomp.rb MCollective 2.2.x will be the last to fully support the 'stomp' connector, please migrate to the 'activemq' or 'rabbitmq' connector
D, [2013-12-19T08:49:51.572777 #1696] DEBUG -- : stomp.rb Connecting to 192.168.100.122:61613
D, [2013-12-19T08:49:51.588377 #1696] DEBUG -- : agents.rb Reloading all agents from disk
D, [2013-12-19T08:49:51.588377 #1696] DEBUG -- : agents.rb Found discovery at C:\mcollective\plugins/mcollective/agent/discovery.rb
D, [2013-12-19T08:49:51.588377 #1696] DEBUG -- : pluginmanager.rb Loading MCollective::Agent::Discovery from mcollective/agent/discovery.rb
D, [2013-12-19T08:49:51.588377 #1696] DEBUG -- : agents.rb MCollective::Agent::Discovery does not have an activate? method, activating as default
D, [2013-12-19T08:49:51.588377 #1696] DEBUG -- : pluginmanager.rb Registering plugin discovery_agent with class MCollective::Agent::Discovery single_instance: true
D, [2013-12-19T08:49:51.588377 #1696] DEBUG -- : pluginmanager.rb Returning new plugin discovery_agent with class MCollective::Agent::Discovery
D, [2013-12-19T08:49:51.588377 #1696] DEBUG -- : pluginmanager.rb Returning cached plugin connector_plugin with class MCollective::Connector::Stomp
D, [2013-12-19T08:49:51.588377 #1696] DEBUG -- : stomp.rb Subscribing to /topic/mcollective.discovery.command
D, [2013-12-19T08:49:51.588377 #1696] DEBUG -- : agents.rb Found puppet at C:\mcollective\plugins/mcollective/agent/puppet.rb
D, [2013-12-19T08:49:51.588377 #1696] DEBUG -- : pluginmanager.rb Loading MCollective::Agent::Puppet from mcollective/agent/puppet.rb
D, [2013-12-19T08:49:51.603977 #1696] DEBUG -- : pluginmanager.rb Registering plugin puppet_agent with class MCollective::Agent::Puppet single_instance: false
D, [2013-12-19T08:49:51.603977 #1696] DEBUG -- : pluginmanager.rb Returning new plugin puppet_agent with class MCollective::Agent::Puppet
D, [2013-12-19T08:49:51.603977 #1696] DEBUG -- : cache.rb Cache miss on 'ddl' key 'agent/puppet'
D, [2013-12-19T08:49:51.603977 #1696] DEBUG -- : base.rb Found puppet ddl at C:\mcollective\plugins/mcollective/agent/puppet.ddl
E, [2013-12-19T08:49:51.619577 #1696] ERROR -- : agents.rb Loading agent puppet failed: Could not create instance of plugin MCollective::Agent::Puppet: C:/Puppet Labs/Puppet/sys/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require': no such file to load -- puppet
D, [2013-12-19T08:49:51.619577 #1696] DEBUG -- : agents.rb Found rpcutil at C:\mcollective\plugins/mcollective/agent/rpcutil.rb
D, [2013-12-19T08:49:51.619577 #1696] DEBUG -- : pluginmanager.rb Loading MCollective::Agent::Rpcutil from mcollective/agent/rpcutil.rb
D, [2013-12-19T08:49:51.619577 #1696] DEBUG -- : agent.rb Starting default activation checks for rpcutil
D, [2013-12-19T08:49:51.619577 #1696] DEBUG -- : pluginmanager.rb Registering plugin rpcutil_agent with class MCollective::Agent::Rpcutil single_instance: false
D, [2013-12-19T08:49:51.619577 #1696] DEBUG -- : pluginmanager.rb Returning new plugin rpcutil_agent with class MCollective::Agent::Rpcutil
D, [2013-12-19T08:49:51.619577 #1696] DEBUG -- : cache.rb Cache miss on 'ddl' key 'agent/rpcutil'
D, [2013-12-19T08:49:51.619577 #1696] DEBUG -- : base.rb Found rpcutil ddl at C:\mcollective\plugins/mcollective/agent/rpcutil.ddl
D, [2013-12-19T08:49:51.619577 #1696] DEBUG -- : pluginmanager.rb Returning cached plugin connector_plugin with class MCollective::Connector::Stomp
D, [2013-12-19T08:49:51.619577 #1696] DEBUG -- : stomp.rb Subscribing to /topic/mcollective.rpcutil.command
D, [2013-12-19T08:49:51.619577 #1696] DEBUG -- : pluginmanager.rb Loading MCollective::Data::Agent_data from mcollective/data/agent_data.rb
D, [2013-12-19T08:49:51.619577 #1696] DEBUG -- : pluginmanager.rb Registering plugin agent_data with class MCollective::Data::Agent_data single_instance: false
D, [2013-12-19T08:49:51.619577 #1696] DEBUG -- : pluginmanager.rb Loading MCollective::Data::Fstat_data from mcollective/data/fstat_data.rb
D, [2013-12-19T08:49:51.619577 #1696] DEBUG -- : pluginmanager.rb Registering plugin fstat_data with class MCollective::Data::Fstat_data single_instance: false
D, [2013-12-19T08:49:51.619577 #1696] DEBUG -- : pluginmanager.rb Loading MCollective::Data::Puppet_data from mcollective/data/puppet_data.rb
D, [2013-12-19T08:49:51.619577 #1696] DEBUG -- : pluginmanager.rb Registering plugin puppet_data with class MCollective::Data::Puppet_data single_instance: false
D, [2013-12-19T08:49:51.619577 #1696] DEBUG -- : pluginmanager.rb Loading MCollective::Data::Resource_data from mcollective/data/resource_data.rb
D, [2013-12-19T08:49:51.635177 #1696] DEBUG -- : pluginmanager.rb Registering plugin resource_data with class MCollective::Data::Resource_data single_instance: false
D, [2013-12-19T08:49:51.635177 #1696] DEBUG -- : pluginmanager.rb Returning new plugin resource_data with class MCollective::Data::Resource_data
D, [2013-12-19T08:49:51.635177 #1696] DEBUG -- : cache.rb Cache miss on 'ddl' key 'data/resource_data'
D, [2013-12-19T08:49:51.635177 #1696] DEBUG -- : base.rb Found resource_data ddl at C:\mcollective\plugins/mcollective/data/resource_data.ddl
D, [2013-12-19T08:49:51.635177 #1696] DEBUG -- : pluginmanager.rb Returning new plugin puppet_data with class MCollective::Data::Puppet_data
D, [2013-12-19T08:49:51.635177 #1696] DEBUG -- : cache.rb Cache miss on 'ddl' key 'data/puppet_data'
D, [2013-12-19T08:49:51.635177 #1696] DEBUG -- : base.rb Found puppet_data ddl at C:\mcollective\plugins/mcollective/data/puppet_data.ddl
D, [2013-12-19T08:49:51.635177 #1696] DEBUG -- : pluginmanager.rb Returning new plugin agent_data with class MCollective::Data::Agent_data
D, [2013-12-19T08:49:51.635177 #1696] DEBUG -- : cache.rb Cache miss on 'ddl' key 'data/agent_data'
D, [2013-12-19T08:49:51.635177 #1696] DEBUG -- : base.rb Found agent_data ddl at C:\mcollective\plugins/mcollective/data/agent_data.ddl
D, [2013-12-19T08:49:51.635177 #1696] DEBUG -- : pluginmanager.rb Returning new plugin fstat_data with class MCollective::Data::Fstat_data
D, [2013-12-19T08:49:51.635177 #1696] DEBUG -- : cache.rb Cache miss on 'ddl' key 'data/fstat_data'
D, [2013-12-19T08:49:51.635177 #1696] DEBUG -- : base.rb Found fstat_data ddl at C:\mcollective\plugins/mcollective/data/fstat_data.ddl
D, [2013-12-19T08:49:51.635177 #1696] DEBUG -- : pluginmanager.rb Returning cached plugin connector_plugin with class MCollective::Connector::Stomp
D, [2013-12-19T08:49:51.635177 #1696] DEBUG -- : stomp.rb Subscribing to /topic/mcollective.mcollective.command
D, [2013-12-19T08:49:51.635177 #1696] DEBUG -- : stomp.rb Waiting for a message from Stomp

分析問題是ruby加載puppet插件未成功報錯,最終找到原因是mcollective主配置文件server.cfg中libdir = C:\mcollective\plugins中只指向了mcollective的lib庫,并沒有找到puppet和facter的lib庫導致!
因此需要在libdir中添加puppet和facter的lib庫路徑libdir = C:\mcollective\plugins;C:\Puppet Labs\Puppet\puppet\lib;C:\Puppet Labs\Puppet\facter\libdir

備注:puppet和facter的lib路徑可能跟上面不符,可進行查看獲得!


向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

八宿县| 基隆市| 云安县| 佛学| 襄汾县| 镇宁| 清流县| 河津市| 剑河县| 桐城市| 清水县| 金华市| 海南省| 阿坝| 灌南县| 宜都市| 乌鲁木齐县| 九龙城区| 东丽区| 克什克腾旗| 旌德县| 积石山| 毕节市| 庆阳市| 奇台县| 临夏县| 昌宁县| 金沙县| 金乡县| 新密市| 油尖旺区| 泸州市| 萨迦县| 汝城县| 将乐县| 彰化市| 仁布县| 通山县| 东丰县| 阳高县| 昌宁县|