Red Hat Satellite 6: Unable to execute any hammer commands
Issue
- Unable to execute any
hammercommands. - Executing
hammercommand gives an error message.
[root@satellite-server ~]# hammer ping
/usr/lib/ruby/1.8/yaml.rb:133:in `load': syntax error on line 12, col -1: `' (ArgumentError)
from /usr/lib/ruby/1.8/yaml.rb:133:in `load'
from /usr/lib/ruby/gems/1.8/gems/hammer_cli-0.1.4.13/lib/hammer_cli/settings.rb:38:in `load_from_file'
from /usr/lib/ruby/gems/1.8/gems/hammer_cli-0.1.4.13/lib/hammer_cli/settings.rb:19:in `load_from_paths'
from /usr/lib/ruby/gems/1.8/gems/hammer_cli-0.1.4.13/lib/hammer_cli/settings.rb:16:in `each'
from /usr/lib/ruby/gems/1.8/gems/hammer_cli-0.1.4.13/lib/hammer_cli/settings.rb:16:in `load_from_paths'
from /usr/lib/ruby/gems/1.8/gems/hammer_cli-0.1.4.13/bin/hammer:52
from /usr/bin/hammer:19:in `load'
from /usr/bin/hammer:19
Environment
- Red Hat Satellite Server 6.1.5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
