Guest User

Untitled

a guest
Jan 19th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.26 KB | None | 0 0
  1. webnode01 heartbeat # export OCF_ROOT="/usr/lib/ocf"
  2. webnode01 heartbeat # export OCF_RESKEY_start_opt="-c config_file=/etc/postgresql/8.4/main/postgresql.conf"
  3. webnode01 heartbeat # export OCF_RESKEY_pgdata="/var/lib/postgresql/8.4/main"
  4. webnode01 heartbeat # export OCF_RESKEY_psql="/usr/bin/psql"
  5. webnode01 heartbeat # export OCF_RESKEY_pgctl="/usr/lib/postgresql/8.4/bin/pg_ctl"
  6. webnode01 heartbeat # ./pgsql start
  7. pgsql[20121]: ERROR: Configuration file /var/lib/postgresql/8.4/main/postgresql.conf doesn't exist
  8. [: 647: start: unexpected operator
  9. pgsql[20121]: INFO: server starting
  10. pgsql[20121]: INFO: PostgreSQL start command sent.
  11. pgsql[20121]: INFO: PostgreSQL is down
  12. pgsql[20121]: DEBUG: PostgreSQL still hasn't started yet. Waiting...
  13. pgsql[20121]: WARNING: 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"?
  14. pgsql[20121]: WARNING: PostgreSQL template1 isn't running
  15. pgsql[20121]: WARNING: Connection error (connection to the server went bad and the session was not interactive) occurred while executing the psql command.
  16. pgsql[20121]: DEBUG: PostgreSQL still hasn't started yet. Waiting...
  17. pgsql[20121]: INFO: PostgreSQL is started.
Add Comment
Please, Sign In to add comment