Hi Ragini,
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.
On Centos 7 (wiith repo installation):
/usr/pgsql-9.3/bin/pg_ctl -D /var/lib/pgctl/9.3/data start
On Debian 8 (with repo installation):
/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
Best regards.
İyi çalışmalar.
Samed YILDIRIM
27.02.2018, 11:42, "ragini vyas" <vyas.ragini@xxxxxxxxx>:
Hi,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".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.Please help.RegardsRagini Vyas7507-999-299