A pgsql resource prints "Connection Error" messages during startup.
Issue
"Connection error" messages appeared repeatedly when pgsql resource was started. It started successfully, but is there a problem?
Jun 7 16:44:29 node02 crmd[2388]: notice: Initiating start operation DB_start_0 locally on node02
Jun 7 16:44:30 node02 pgsql(DB)[5589]: INFO: server starting
Jun 7 16:44:30 node02 pgsql(DB)[5589]: INFO: PostgreSQL start command sent.
Jun 7 16:44:30 node02 pgsql(DB)[5589]: WARNING: psql.bin: FATAL: the database system is starting up
Jun 7 16:44:30 node02 pgsql(DB)[5589]: WARNING: PostgreSQL template1 isn't running. rc=2
Jun 7 16:44:30 node02 pgsql(DB)[5589]: WARNING: Connection error (connection to the server went bad and the session was not interactive) occurred while executing the psql command.
Jun 7 16:44:31 node02 pgsql(DB)[5589]: WARNING: psql.bin: FATAL: the database system is starting up
Jun 7 16:44:31 node02 pgsql(DB)[5589]: WARNING: PostgreSQL template1 isn't running. rc=2
Jun 7 16:44:31 node02 pgsql(DB)[5589]: WARNING: Connection error (connection to the server went bad and the session was not interactive) occurred while executing the psql command.
Jun 7 16:44:32 node02 pgsql(DB)[5589]: WARNING: psql.bin: FATAL: the database system is starting up
Jun 7 16:44:32 node02 pgsql(DB)[5589]: WARNING: PostgreSQL template1 isn't running. rc=2
Jun 7 16:44:32 node02 pgsql(DB)[5589]: WARNING: Connection error (connection to the server went bad and the session was not interactive) occurred while executing the psql command.
Jun 7 16:44:33 node02 pgsql(DB)[5589]: INFO: PostgreSQL is started.
Jun 7 16:44:33 node02 crmd[2388]: notice: Result of start operation for DB on node02: 0 (ok)
Environment
- Red Hat Enterprise Linux Server 7 (with the High Availability Add Ons)
- Pacemaker
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.