Guest User

facter debugging smartos

a guest
Nov 22nd, 2013
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. [root@00-50-45-5f-13-ce /facter]# mv /opt/local/bin/ruby /opt/local/bin/ruby.ORIG
  2. [root@00-50-45-5f-13-ce /facter]# ln -s /opt/local/bin/ruby193 /opt/local/bin/ruby
  3. [root@00-50-45-5f-13-ce /facter]# ruby --version
  4. ruby 1.9.3p448 (2013-06-27 revision 41675) [x86_64-solaris2.11]
  5. [root@00-50-45-5f-13-ce /facter]# pwd
  6. /facter
  7. [root@00-50-45-5f-13-ce /facter]# bin/facter
  8. Error: invalid byte sequence in UTF-8
  9. [root@00-50-45-5f-13-ce /facter]# bin/facter interfaces
  10. lo0,bge0
  11. [root@00-50-45-5f-13-ce /facter]# RUBYLIB=lib bin/facter
  12. [root@00-50-45-5f-13-ce /facter]# RUBYLIB=lib bin/facter interfaces
  13. No facts loaded from /opt/local/lib/ruby/site_ruby/1.9.3/facter:/opt/local/lib/ruby/site_ruby/1.9.3/x86_64-solaris2.11/facter:/opt/local/lib/ruby/site_ruby/facter:/opt/local/lib/ruby/vendor_ruby/1.9.3/facter:/opt/local/lib/ruby/vendor_ruby/1.9.3/x86_64-solaris2.11/facter:/opt/local/lib/ruby/vendor_ruby/facter:/opt/local/lib/ruby/1.9.3/facter:/opt/local/lib/ruby/1.9.3/x86_64-solaris2.11/facter
Advertisement
Add Comment
Please, Sign In to add comment