Re: Postgresql service starts and stops immediately

From: Samed YILDIRIM <samed(at)reddoc(dot)net>
To: ragini vyas <vyas(dot)ragini(at)gmail(dot)com>, "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Postgresql service starts and stops immediately
Date: 2018-02-27 12:06:58
Message-ID: 96031519733218@web16j.yandex.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

<div>Hi Ragini,</div><div> </div><div>Are you using systemctl or /etc/init.d scripts to start PostgreSQL? If yes, could you please try using pg_ctl. pg_ctl command usage and path of it is like following.</div><div> </div><div> </div><div>On Centos 7 (wiith repo installation):</div><div>/usr/pgsql-9.3/bin/pg_ctl -D /var/lib/pgctl/9.3/data start</div><div> </div><div>On Debian 8 (with repo installation):</div><div>/usr/lib/postgresql/9.3/bin/pg_ctl -D /var/lib/postgresql/9.3/data/ -c config_file=/etc/postgresql/9.3/main/postgresql.conf start</div><div> </div><div>Best regards.</div><div> </div><div>İyi çalışmalar.</div><div>Samed YILDIRIM</div><div> </div><div> </div><div> </div><div>27.02.2018, 11:42, "ragini vyas" &lt;vyas(dot)ragini(at)gmail(dot)com&gt;:</div><blockquote type="cite"><div>Hi,<div> </div><div>I have Postgresql version 9.3.13 installed. After an unexpected reboot, postgresql service doesn't start. I get the error messgae "Postgresql service started and stopped immediately".</div><div> </div><div>I deleted postmaster.pid and postmaster.opts files and tried starting the service. When I do this, service takes some time and then gives the same error. </div><div> </div><div>Please help.</div><div> </div><div> <div><div><div><div><div><div><div>Regards</div><div>Ragini Vyas</div><div><span>7507-999-299</span></div></div></div></div></div></div></div></div></div></blockquote>

Attachment Content-Type Size
unknown_filename text/html 1.4 KB

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Oliver Jagape 2018-02-27 12:38:38 Re: Huge swap usage
Previous Message Samed YILDIRIM 2018-02-27 12:00:27 Re: Huge swap usage