Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- webnode01 heartbeat # export OCF_ROOT="/usr/lib/ocf"
- webnode01 heartbeat # export OCF_RESKEY_start_opt="-c config_file=/etc/postgresql/8.4/main/postgresql.conf"
- webnode01 heartbeat # export OCF_RESKEY_pgdata="/var/lib/postgresql/8.4/main"
- webnode01 heartbeat # export OCF_RESKEY_psql="/usr/bin/psql"
- webnode01 heartbeat # export OCF_RESKEY_pgctl="/usr/lib/postgresql/8.4/bin/pg_ctl"
- webnode01 heartbeat # ./pgsql start
- pgsql[20121]: ERROR: Configuration file /var/lib/postgresql/8.4/main/postgresql.conf doesn't exist
- [: 647: start: unexpected operator
- pgsql[20121]: INFO: server starting
- pgsql[20121]: INFO: PostgreSQL start command sent.
- pgsql[20121]: INFO: PostgreSQL is down
- pgsql[20121]: DEBUG: PostgreSQL still hasn't started yet. Waiting...
- 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"?
- pgsql[20121]: WARNING: PostgreSQL template1 isn't running
- pgsql[20121]: WARNING: Connection error (connection to the server went bad and the session was not interactive) occurred while executing the psql command.
- pgsql[20121]: DEBUG: PostgreSQL still hasn't started yet. Waiting...
- pgsql[20121]: INFO: PostgreSQL is started.
Add Comment
Please, Sign In to add comment