Hi Christopher, On Fri, Sep 10, 2010 at 06:00:35PM +0200, Christopher Huhn, GSI wrote: > Simply running ohai fails on my box with the following error: > > /usr/lib/ruby/1.8/json/common.rb:232:in `to_json': source sequence is > illegal/malformed (JSON::GeneratorError) > from /usr/lib/ruby/1.8/json/common.rb:232:in `pretty_generate' > from /usr/lib/ruby/1.8/ohai/system.rb:222:in `json_pretty_print' > from /usr/lib/ruby/1.8/ohai/application.rb:104:in `run_application' > from /usr/lib/ruby/1.8/ohai/application.rb:75:in `run' > from /usr/bin/ohai:47
I notice you are using an 8-bit charset; perhaps there is some non-UTF-8 data that might upset the JSON library. May I ask you the problem is still present when you run “LANG=C LC_ALL=C ohai”? I guess the results of “ohai -ldebug” could also be useful to diagnose the issue. Cheers, -- Michael Schutte <mi...@uiae.at>
signature.asc
Description: Digital signature