Unable to start postgres instance.

From: "Gone, Sajan" <SGone(at)lb(dot)com>
To: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Unable to start postgres instance.
Date: 2017-04-27 19:38:26
Message-ID: D527C0F1.7F9C%sgone@lb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi,

I am in the process of setting postgres replication and I have followed the documentation from the website below.

https://www.digitalocean.com/community/tutorials/how-to-set-up-master-slave-replication-on-postgresql-on-an-ubuntu-12-04-vps

I have completed all the steps and when I was about to start the slave server, seems like it got hung up on the start up and is taking forever to be available. Here is the process list I am seeing.

-bash-4.3$ ps -ef | grep -i postgres
postgres 29842 29841 0 14:01:45 pts/3 0:00 -bash
postgres 42808 42806 0 15:17:19 ? 0:00 /opt/local/bin/postgres -D /var/pgsql/data
postgres 45713 31142 0 15:35:45 pts/2 0:00 ps -ef
root 31141 29120 0 14:11:05 pts/2 0:00 sudo -u postgres -i
postgres 42806 6491 0 15:17:19 pts/2 0:00 /opt/local/bin/postgres -D /var/pgsql/data
postgres 31142 31141 0 14:11:05 pts/2 0:00 -bash
postgres 45712 42806 0 15:35:44 ? 0:00 /opt/local/bin/postgres -D /var/pgsql/data
root 29841 29835 0 14:01:43 pts/3 0:00 sudo -u postgres -i
postgres 45714 31142 0 15:35:45 pts/2 0:00 grep -i postgres
postgres 42807 42806 0 15:17:19 ? 0:00 /opt/local/bin/postgres -D /var/pgsql/data

Below is the error I am seeing when I am trying to log on to the DB using psql client.

-bash-4.3$ psql -U postgres
psql: FATAL: the database system is starting up

However its been on that from quite a long time. It would really appreciate if anyone could explain me on what is really going on.

Thank You,
Sajan Gone
Database Administrator
L Brands
Mobile #: 517-990-5282
Office #:   614-577-7622

________________________________

Notice: This communication may contain privileged and/or confidential information. If you are not the intended recipient, please notify the sender by email, and immediately delete the message and any attachments without copying or disclosing them. LB may, for any reason, intercept, access, use, and disclose any information that is communicated by or through, or which is stored on, its networks, applications, services, and devices.

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Hunley, Douglas 2017-04-27 19:45:04 Re: Unable to start postgres instance.
Previous Message John Scalia 2017-04-24 15:41:17 Re: As superuser I still can't update a row in one table