openshift-labs / starter-guides

Getting Started with OpenShift for Developers workshop
https://openshift-labs.github.io/starter-guides-html/
Apache License 2.0
135 stars 147 forks source link

When deploying workshop, postgresql for che has status of Crash Loop Back-off #111

Closed alberttwong closed 5 years ago

alberttwong commented 5 years ago

  | Initial call to run-postgresql...
-- | --
  | chmod: changing permissions of '/var/lib/pgsql/data/userdata': Operation not permitted
  | pg_ctl: could not open PID file "/var/lib/pgsql/data/userdata/postmaster.pid": Permission denied
  | Initializing Che user...
  | psql: could not connect to server: No such file or directory
  | Is the server running locally and accepting
  | connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
  | psql: could not connect to server: No such file or directory
  | Is the server running locally and accepting
  | connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
  | Warning: Failed initializing the Che user and database
  | psql: could not connect to server: No such file or directory
  | Is the server running locally and accepting
  | connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
  | pg_ctl: could not open PID file "/var/lib/pgsql/data/userdata/postmaster.pid": Permission denied
  | chmod: changing permissions of '/var/lib/pgsql/data/userdata': Operation not permitted
alberttwong commented 5 years ago

Hmm.... I seemed to start up if I waited longer.