postgres start up error - Mailing list pgsql-admin

From Azimuddin Mohammed
Subject postgres start up error
Date
Msg-id CAKUuFd58roRBU1ArVBAxSVyD8VDQ_tSd=bL_GZDkW1uNMaKKFQ@mail.gmail.com
Whole thread Raw
Responses Re: postgres start up error  ("Anthony, Craig Talmadge" <craig@psu.edu>)
List pgsql-admin
Hello Admins,
When I am rebooting my postgres server I am getting below error. postgres user is not able to create a directory in /var/run, var/run is owned by root in our organization. So I have to create the directory manually, chnage the permissoin and start postgres.
Is there a way I can change the /var/run folder to any other location where I can manage the postgres permission.


< 2018-03-13:16:45.272 EDT > FATAL:  could not create lock file "/var/run/poostgresql direcectory

 postmaster[4117]: < 2018-03-19 13:16:45.272 EDT > LOG:  database system is shut down

postgresql-9.6.servicemain process exited, code=exited, status=1/FAILURE

Mar 19 13:16:45..com systemd[1]: Failed to start PostgreSQL 9.6 database server.

Mar 19 13:16:45...com systemd[1]: Unit postgresql-9.6.service entered failed state.


--

Regards,
Azim


Virus-free. www.avast.com

pgsql-admin by date:

Previous
From: Лскавян Витя Артемович
Date:
Subject: Standard tools for multimaster cluster
Next
From: "Anthony, Craig Talmadge"
Date:
Subject: Re: postgres start up error