From: | Azimuddin Mohammed <azimeiu(at)gmail(dot)com> |
---|---|
To: | pgsql-admin <pgsql-admin(at)postgresql(dot)org>, pgsql-admin(at)lists(dot)postgresql(dot)org |
Subject: | postgres start up error |
Date: | 2018-03-19 18:07:21 |
Message-ID: | CAKUuFd58roRBU1ArVBAxSVyD8VDQ_tSd=bL_GZDkW1uNMaKKFQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon>
Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
From | Date | Subject | |
---|---|---|---|
Next Message | Anthony, Craig Talmadge | 2018-03-19 18:40:05 | Re: postgres start up error |
Previous Message | Лскавян Витя Артемович | 2018-03-19 12:59:12 | Standard tools for multimaster cluster |