Re: postgres start up error - Mailing list pgsql-admin

From Anthony, Craig Talmadge
Subject Re: postgres start up error
Date
Msg-id BY2PR0201MB075955D96FF4BDD1782A1384A8D40@BY2PR0201MB0759.namprd02.prod.outlook.com
Whole thread Raw
In response to postgres start up error  (Azimuddin Mohammed <azimeiu@gmail.com>)
List pgsql-admin

looks like a typo in your postgresql.conf file, poostgresql should be postgresql


From: Azimuddin Mohammed <azimeiu@gmail.com>
Sent: Monday, March 19, 2018 2:07:21 PM
To: pgsql-admin; pgsql-admin@lists.postgresql.org
Subject: postgres start up error
 
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: Azimuddin Mohammed
Date:
Subject: postgres start up error
Next
From: Terry Phelps
Date:
Subject: Compile error while building postgresql 10.3