spacewalk-hostname-rename fails with the message /var/lib/pgsql/data is missing

Solution Unverified - Updated -

Issue

  • Running spacewalk-hostname-rename (ip) fails with messages like
/var/lib/pgsql/data is missing. Use "service postgresql initdb" to initialize the cluster first.

Environment

  • RHN Satellite 5.5

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