Postgres_real cannot access the server configuration file




















Then you can use createdb test to create your first database. Notice, there are no quotes around -D or the data path. Then run psql test and you should be connected to your test database. Improve this answer. I installed postgresql from apt-get. Do you think that's why it cannot find the configuration file? You think I should purge it and install from source and these problems go away?

There are a few of these - Google these - but they're not necessary if you specify paths yourself. From source, I've never had an issue with this. Specifying the data directory in your command line should sort that out - since postgresql. You can install from source without purging - just make sure that your apt-get server isn't working - or at least that the port is different. It appears that postgres offers a lot more choice of options e. The options should usually be surrounded by single or double quotes to ensure that they are passed through as a group.

Thanks for showing me — alfonx. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. But the starting of the server doesn't seem to work.

I tried starting the server according to their documentation but mr. I have no clue why this file doesn't exist. Can anyone help me find out how to get past this error message and get my postgres server up and running? First make sure that the file is not installed. As super user update the mlocate database and then run an mlocate query for the file. If the file is located in the wrong folder, then it'll show up in that query.

If not, may try going to PostgreSQL docs they have a basic example of how this file would look. Try making a copy of the file with that setting. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams?

Collectives on Stack Overflow. Learn more. PostgreSQL "cannot access the server configuration file No such file or directory" after clean install Ask Question. Asked 6 years, 2 months ago. Active 2 years, 8 months ago. Connect and share knowledge within a single location that is structured and easy to search. Doesn't the output show that postgres is the owner of postgresql.

So why can't it access the file? The quickest way to diagnose a permission denied error is to login su or sudo as that user and try to cat the file. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow.

Learn more. Asked 9 years, 7 months ago. Active 4 years, 7 months ago. Viewed 19k times. What can I do? Improve this question.



0コメント

  • 1000 / 1000