Hi,

thank you. That is a good tip. The log says:

D, [2017-10-19T12:50:04.972364 #13809] DEBUG -- : agents.rb:104:in `block 
in findagentfile' Found ehyp at 
/usr/libexec/mcollective/mcollective/agent/ehyp.rb
D, [2017-10-19T12:50:04.972530 #13809] DEBUG -- : pluginmanager.rb:167:in 
`loadclass' Loading MCollective::Agent::Ehyp from mcollective/agent/ehyp.rb
D, [2017-10-19T12:50:04.974482 #13809] DEBUG -- : pluginmanager.rb:167:in 
`loadclass' Loading MCollective::Util::UnprivilegedAgent from 
mcollective/util/unprivilegedagent.rb
E, [2017-10-19T12:50:04.976625 #13809] ERROR -- : pluginmanager.rb:171:in 
`rescue in loadclass' Failed to load MCollective::Util::UnprivilegedAgent: 
cannot load such file -- pr0cess
E, [2017-10-19T12:50:04.976730 #13809] ERROR -- : pluginmanager.rb:171:in 
`rescue in loadclass' Failed to load MCollective::Agent::Ehyp: cannot load 
such file -- pr0cess
E, [2017-10-19T12:50:04.976815 #13809] ERROR -- : agents.rb:71:in `rescue 
in loadagent' Loading agent ehyp failed: cannot load such file -- pr0cess
D, [2017-10-19T12:50:04.976978 #13809] DEBUG -- : agents.rb:104:in `block 
in findagentfile' Found ehyp at 
/usr/libexec/mcollective/mcollective/agent/ehyp.rb
D, [2017-10-19T12:50:04.977093 #13809] DEBUG -- : pluginmanager.rb:167:in 
`loadclass' Loading MCollective::Agent::Ehyp from mcollective/agent/ehyp.rb
D, [2017-10-19T12:50:04.978885 #13809] DEBUG -- : pluginmanager.rb:167:in 
`loadclass' Loading MCollective::Util::UnprivilegedAgent from 
mcollective/util/unprivilegedagent.rb
E, [2017-10-19T12:50:04.980883 #13809] ERROR -- : pluginmanager.rb:171:in 
`rescue in loadclass' Failed to load MCollective::Util::UnprivilegedAgent: 
cannot load such file -- pr0cess
E, [2017-10-19T12:50:04.980981 #13809] ERROR -- : pluginmanager.rb:171:in 
`rescue in loadclass' Failed to load MCollective::Agent::Ehyp: cannot load 
such file -- pr0cess
E, [2017-10-19T12:50:04.981084 #13809] ERROR -- : agents.rb:71:in `rescue 
in loadagent' Loading agent ehyp failed: cannot load such file -- pr0cess

It finds the agent, but can not load it.

The first line the the agent is:
MCollective::Util.loadclass("MCollective::Util::UnprivilegedAgent")

What is wrong with that line?

If I remove that line the error is:
E, [2017-10-19T13:17:18.922324 #42703] ERROR -- : pluginmanager.rb:171:in 
`rescue in loadclass' Failed to load MCollective::Agent::Ehyp: cannot load 
such file -- open4

#MCollective::Util.loadclass("MCollective::Util::UnprivilegedAgent")
require 'open4'
require 'rubygems'

>rpm -ql ruby-open4
/usr/local/lib64/ruby/site_ruby
/usr/local/share/ruby/site_ruby
/usr/local/share/ruby/site_ruby/open4.rb

The open4 is installed, but can not be loaded. Why not?

Can you please help me?

-- 
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/ddcfa5b8-dfac-42f4-a0f8-cbb5171b958a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to