Hi Pavel,

On Tue, Sep 25, 2012 at 2:28 PM, Pavel Drobushevich
<[email protected]> wrote:
> Hi all,
>
> We use puppet on many windows machines (Windows Server2008R2 x64). It works
> fine, but on one of them it was fail down and couldn't start work again. I
> try to reinstall, but it didn't help. May be you have any idea. Thanks in
> advance.
>
> Error message from puppet
> C:/puppet/puppet/lib/puppet/util/autoload.rb:85:in `load': Could not
> autoload co
> mponent: 193: %1 is not a valid Win32 application.   -
> C:/puppet/sys/ruby/lib/ru
> by/1.8/i386-mingw32/digest/sha1.so (Puppet::Error)
>         from C:/puppet/puppet/lib/puppet/util/autoload.rb:73:in `each'
>         from C:/puppet/puppet/lib/puppet/util/autoload.rb:73:in `load'
>         from C:/puppet/puppet/lib/puppet/metatype/manager.rb:116:in `type'
>         from C:/puppet/puppet/lib/puppet/type.rb:1966
>         from
> C:/puppet/sys/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.r
> b:36:in `gem_original_require'
>         from
> C:/puppet/sys/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.r
> b:36:in `require'
>         from C:/puppet/puppet/lib/puppet.rb:121
>         from C:/puppet/puppet/lib/puppet/application.rb:272:in `require'
>         from C:/puppet/puppet/lib/puppet/application.rb:272:in `initialize'
>         from C:/puppet/puppet/lib/puppet/util/command_line.rb:60:in `new'
>         from C:/puppet/puppet/lib/puppet/util/command_line.rb:60:in
> `execute'
>         from C:/puppet/puppet/bin/puppet:4
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/puppet-users/-/tszwlQxzKpYJ.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.

Are you using a different ruby version than is included in the MSI? On
my local dev system with Puppet installed I don't see an i386-mingw32
directory:

  c:/puppet/sys/ruby/lib/ruby/1.8/i386-mingw32

I do see the following however:

   <installdir>/puppet/sys/ruby/lib/ruby/1.8/digest/sha2.rb

Also this link describes the same problem, may be a ruby 1.9.3-p0
issue on Windows: https://github.com/oneclick/rubyinstaller/issues/102

Or perhaps your system PATH and/or RUBYLIB is picking up a different
version than the one the MSI installed.

Josh

-- 
Josh Cooper
Developer, Puppet Labs

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to