Satellite-maintain command fails with error "could not find expected ':' while scanning a simple key at line 4 column 3 (Psych::SyntaxError)"

Solution Verified - Updated -

Issue

  • Execution of the Satellite-maintain command fails with the following error:

    [root@Satellite6 ~]# satellite-maintain service status
    Traceback (most recent call last):
     /usr/share/ruby/psych.rb:456:in `parse': (<unknown>): could not find expected ':' while scanning a simple key at line 4 column 3 (Psych::SyntaxError)
    
    

Environment

  • Red Hat Satellite 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content