Re: Installation Problems

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
Thread:
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

-----------------------------------------------------------------------------------------------------------------------------------------

In response to

Browse pgsql-in-general by date

  From Date Subject
Next Message Durgamahesh Manne 2016-03-09 13:11:01 regarding table migration from sql to postgres with runmtk.sh
Previous Message Estefania Vergara 2016-02-23 01:04:28 Installation Problems