On Red Hat Satellite or Capsule 6 server satellite-installer command fails with error Directory /var/lib/pgsql/data is missing or empty.
Issue
-
The
satellite-installercommand fails with the followingpostgresqlerror.2023-06-30 10:58:11 [ERROR ] [configure] Jun 30 10:58:11 satellite.example.com systemd[1]: Starting PostgreSQL database server... 2023-06-30 10:58:11 [ERROR ] [configure] Jun 30 10:58:11 satellite.example.com postgresql-check-db-dir[631951]: Directory "/var/lib/pgsql/data" is missing or empty. 2023-06-30 10:58:11 [ERROR ] [configure] Jun 30 10:58:11 satellite.example.com postgresql-check-db-dir[631951]: Use "/usr/bin/postgresql-setup --initdb"
Environment
- Red Hat Satellite 6
- Red Hat Capsule 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.