Re: BUG #18078: createdb not working - Mailing list pgsql-bugs

From Orhan Punar
Subject Re: BUG #18078: createdb not working
Date
Msg-id CAPfUbHLdm=xZvUoPVnZ3QZ2=ULV2VGZP-JU7CVc=gmVnS0Wndg@mail.gmail.com
Whole thread Raw
In response to Re: BUG #18078: createdb not working  (Daniel Gustafsson <daniel@yesql.se>)
List pgsql-bugs
sudo pg_createcluster 15 {clustername} -p 5432 -u postgres

This worked, thanks for the help ;DDD

On Thu, Aug 31, 2023 at 7:37 PM Daniel Gustafsson <daniel@yesql.se> wrote:
> On 31 Aug 2023, at 18:54, Orhan Punar <exaltedsoft@gmail.com> wrote:

> createdb: error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5433" failed: No such file or directory
> Is the server running locally and accepting connections on that socket?

As the error states, there is no server running on that socket and port.  Have
you actually started the server?

This is almost guaranteed to not be a postgres bug, I recommend posting on the
pgsql-general mailinglist for assistance.

--
Daniel Gustafsson



--
Exalted Soft
CEO
Orhan Punar


pgsql-bugs by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: BUG #18078: createdb not working
Next
From: Andrew Dunstan
Date:
Subject: Re: BUG #18078: createdb not working