Quantcast
Viewing all articles
Browse latest Browse all 6104

PE 2015.2.2: Duplicate plugin name found, please specify a full path like agent/rpcutil

Hi Guys, mco plugin doc service Duplicate plugin name found, please specify a full path like agent/rpcutil mco plugin doc agent/service The plugin application failed to run, use -v for full error backtrace details: No such file or directory @ rb_sysopen - /etc/mcollective/rpc-help.erb mco plugin -v doc agent/service The plugin application failed to run: No such file or directory @ rb_sysopen - /etc/mcollective/rpc-help.erb No such file or directory @ rb_sysopen - /etc/mcollective/rpc-help.erb (Errno::ENOENT) from /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/mcollective/ddl/base.rb:46:in `read' <---- from /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/mcollective/ddl/base.rb:46:in `help' from /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/mcollective/application/plugin.rb:252:in `doc_command' from /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/mcollective/application/plugin.rb:363:in `main' from /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/mcollective/application.rb:293:in `run' from /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/mcollective/applications.rb:23:in `run' from /opt/puppetlabs/puppet/bin/mco:33:in `
' As you can see it thinks there is a duplicate defn for 'service', but either its wrong or I can't seem to use the syntax suggested.

Chris RE: mco plugin check:
Actually I run Centos so I just use su, not sudo (I'm old skool). I get different o/p depending on exactly how I connect to peadmin
su - peadmin peadmin@boole:~$ mco plugin doc netserv Could not find a plugin named 'netserv' in any supported plugin type su - peadmin mco plugin doc netserv /opt/puppetlabs/puppet/bin/mco: line 5: .delete: command not found /opt/puppetlabs/puppet/bin/mco: line 7: require: command not found /opt/puppetlabs/puppet/bin/mco: line 10: exitcode: command not found /opt/puppetlabs/puppet/bin/mco: line 12: Version: command not found /opt/puppetlabs/puppet/bin/mco: line 13: known_applications: command not found /opt/puppetlabs/puppet/bin/mco: mco: line 16: syntax error near unexpected token `(' /opt/puppetlabs/puppet/bin/mco: mco: line 16: `if $0 =~ /mc\-([a-zA-Z\-_\.]+)$/' MCO cont (1):
Just realised that was my fault; I don't often use the latter syntax. I should have done su - peadmin -c 'mco plugin doc netserv' Could not find a plugin named 'netserv' in any supported plugin type which of course give me the same thing as actually logging in. Sorry about that distraction. OK; so I tried manually adding the rpchelptemplate setting to the server.cfg and then restart. This is what happened service mcollective stop && sleep 2 && service mcollective start Shutting down mcollective: [ OK ] Starting mcollective: warn 2015/11/05 15:13:57: config.rb:129:in `block in loadconfig' Use of deprecated 'rpchelptemplate' option. This option is ignored and should be removed from '/etc/puppetlabs/mcollective/server.cfg' [ OK ] 'deprecated option' eh??


Viewing all articles
Browse latest Browse all 6104

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>