Pradeep Reddy
2014-Feb-20 18:52 UTC
[Puppet Users] Windows client - mcollective:- incompatible marshal file format (can't be read) error in mcollective.log
Hi Team,
We are trying to install mcollective in windows, observing errors in
mcollective.log. Following are the steps followed to install mcollective
in windows.
1) OS:- windows server 2008 R2 64 bit.
2) Installed windows puppet agent 3.4.2. Puppet Master is in Linux
box(i.e RHEL 6.4 64 bit) with 3.4.2 version.
3) In puppet master, installed following mcollective version:-Marionette
Collective version 2.4.1
4) In puppet windows client, installed puppetlabs/marionette-collective
2.4.1.zip.(i.e
from https://github.com/puppetlabs/marionette-collective/tags)
5) Installed the following before mcollective.
a) Ruby 1.9.3-p484 from rubyinstaller.org
b) C:\Users\Administrator>gem list
*** LOCAL GEMS ***
bigdecimal (1.1.0),ffi (1.9.3 x86-mingw32),io-console
(0.3),json (1.5.5),minitest (2.5.1),rake (0.9.2.2),rdoc (3.9.5),stomp
(1.2.2),sys-admin (1.6.2, 1.5.6 x86-mingw32), win32-api
(1.5.1 universal-mingw32, 1.4.8 x86-mingw32),win32-dir
(0.3.7),win32-process (0.5.5),win32-security (0.1.2),win32-service (0.8.4,
0.7.2 x86-mingw32),windows-api (0.4.2,
0.4.1),windows-pr (1.2.3, 1.2.1)
c) Followed the remaining procedure, mentioned in read.md of
marionette-collective 2.4.1.zip file.
6) Enclosed are my server.cfg files of puppet linux master and puppet
windows client.
7) After starting "The Marionette Collective" service in windows.
Observed connected status in mcollective log of windows.
8) When i do "mco ping" from puppet master(i.e Linux), observing
error
messages in mcollective.log of windows client. Below depicts the error
messages.
************************************************************************************************************************************************
W, [2014-02-20T18:46:15.703125 #1596] WARN -- : runner.rb:78:in `rescue in
block in run' Failed to handle message: incompatible marshal file format
(can't be read)
format version 4.8 required; 66.65 given - TypeError
W, [2014-02-20T18:46:15.703125 #1596] WARN -- : runner.rb:79:in `rescue in
block in run'
C:/marionette-collective-2.4.1/plugins/mcollective/security/psk.rb:22:in
`load'
C:/marionette-collective-2.4.1/plugins/mcollective/security/psk.rb:22:in
`decodemsg'
C:/marionette-collective-2.4.1/lib/mcollective/message.rb:178:in `decode!'
C:/marionette-collective-2.4.1/lib/mcollective/runner.rb:133:in `receive'
C:/marionette-collective-2.4.1/lib/mcollective/runner.rb:59:in `block in
run'
C:/marionette-collective-2.4.1/lib/mcollective/runner.rb:57:in `loop'
C:/marionette-collective-2.4.1/lib/mcollective/runner.rb:57:in `run'
C:/marionette-collective-2.4.1/lib/mcollective/windows_daemon.rb:17:in
`service_main'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/win32-service-0.8.4/lib/win32/daemon.rb:305:in
`mainloop'
C:/Ruby193/lib/ruby/gems/1.9.1/gems/win32-service-0.8.4/lib/win32/daemon.rb:206:in
`mainloop'
C:/marionette-collective-2.4.1/lib/mcollective/windows_daemon.rb:9:in
`daemonize_runner'
C:/marionette-collective-2.4.1/bin/mcollectived:43:in `<main>'
D, [2014-02-20T18:46:15.703125 #1596] DEBUG -- : activemq.rb:329:in
`receive' Waiting for a message from ActiveMQ
************************************************************************************************************************************************
Could someone please check and help us in getting out of the above errors.
Thanks and Regards,
Pradeep.
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/9d641d7c-0d4c-4dcd-b68b-30e6fdd15493%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.