Lists: | pgsql-in-general |
---|
From: | Estefania Vergara <estefania(dot)vergaracobos(at)gmail(dot)com> |
---|---|
To: | pgsql-in-general(at)postgresql(dot)org |
Subject: | Installation Problems |
Date: | 2016-02-23 01:04:28 |
Message-ID: | CANbDMBObPH3Ev2Kn=HLrjvHBpJubUyO8o77wFBgR+pq0=x3mhg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-in-general |
up vote
down votefavorite
<http://stackoverflow.com/questions/35566525/permission-denied-when-connecting-to-server-postgres#>
Hi al,
I installed Postgres9.5.1 via Homebrew. However, I am having problems
creating a database by using "createdb". Originally the message said:
"createdb: command not found". Then I uninstall and install Homebrew and
updated Postgres.
However, now I am getting a new error:
createdb: could not connect to database template1: could not connect
to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
I tried a couple of things such as:
$rm /usr/local/var/postgres/postmaster.pid
which gave back:
"Permission denied"
Also:
$postgres -D /usr/local/var/postgres
postgres cannot access the server configuration file
"/usr/local/var/postgres/postgresql.conf": Permission denied
Or:
$grep unix_socket /usr/local/var/postgres/postgresql.conf
grep: /usr/local/var/postgres/postgresql.conf: Permission denied
I don't know what to do, I don't really understand what is going on. Thanks.
From: | John Purdie <John(dot)Purdie(at)eatechnology(dot)com> |
---|---|
To: | "pgsql-in-general(at)postgresql(dot)org" <pgsql-in-general(at)postgresql(dot)org> |
Subject: | Re: Installation Problems |
Date: | 2016-02-23 08:52:04 |
Message-ID: | A1ACEEBA80B02F45B09D7A83BD117BEDAE7333E1@EA-DAG1.eatechnology.local |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-in-general |
Morning All
Apologise for the copy all email.
However is there any way I can unsubscribe from this group?
Many Kind Regards
John
From: pgsql-in-general-owner(at)postgresql(dot)org [mailto:pgsql-in-general-owner(at)postgresql(dot)org] On Behalf Of Estefania Vergara
Sent: 23 February 2016 01:04
To: pgsql-in-general(at)postgresql(dot)org
Subject: [pgsql-in-general] Installation Problems
up vote
down votefavorite<http://stackoverflow.com/questions/35566525/permission-denied-when-connecting-to-server-postgres>
Hi al,
I installed Postgres9.5.1 via Homebrew. However, I am having problems creating a database by using "createdb". Originally the message said: "createdb: command not found". Then I uninstall and install Homebrew and updated Postgres.
However, now I am getting a new error:
createdb: could not connect to database template1: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
I tried a couple of things such as:
$rm /usr/local/var/postgres/postmaster.pid
which gave back:
"Permission denied"
Also:
$postgres -D /usr/local/var/postgres
postgres cannot access the server configuration file "/usr/local/var/postgres/postgresql.conf": Permission denied
Or:
$grep unix_socket /usr/local/var/postgres/postgresql.conf
grep: /usr/local/var/postgres/postgresql.conf: Permission denied
I don't know what to do, I don't really understand what is going on. Thanks.
DISCLAIMER: This e-mail contains proprietary information, some or all
of which maybe legally privileged. It is for the intended recipient
only. If an addressing or transmission error has misdirected this
e-mail, please notify the author by replying to this e-mail. If you
are not the intended recipient you may not use, disclose, distribute,
copy, print or rely on this e-mail.
Stamp down our carbon footprint - think before you print.
The Copyright in this e-mail is the exclusive property of
EA Technology Limited, Capenhurst, Chester CH1 6ES
Registered in England No 2566313 http://www.eatechnology.com
-----------------------------------------------------------------------------------------------------------------------------------------