public inbox for [email protected]  
help / color / mirror / Atom feed
can't create a local server
5+ messages / 2 participants
[nested] [flat]

* can't create a local server
@ 2020-06-09 17:03  [email protected]
  0 siblings, 1 reply; 5+ messages in thread

From: [email protected] @ 2020-06-09 17:03 UTC (permalink / raw)
  To: [email protected]

Hi all!

This is my first to the list.

Using pgadmin4 I can't create a local server "timeot expired"
from debian buster terminal ask me to verify I'm allowed to connect to the unix domain socket /var/run/postgresql/.s.PGSQL.5432


su

Password:

root@mycomputer:/home/me# su - postgres

postgres@mycomputer:~$ psql

psql: error: could not connect to server:

File o directory non esistente Verifica che il server locale sia in funzione e che accetti connessioni sul socket di dominio Unix "/var/run/postgresql/.s.PGSQL.5432"


I solved this problem with postgresql10 modifying a .conf file but file and directory names changed in postgresql 12

Can you help me?

Thank you in advance





^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: can't create a local server
@ 2020-06-10 06:43  Laurenz Albe <[email protected]>
  parent: [email protected]
  0 siblings, 1 reply; 5+ messages in thread

From: Laurenz Albe @ 2020-06-10 06:43 UTC (permalink / raw)
  To: [email protected]; [email protected]

On Tue, 2020-06-09 at 19:03 +0200, [email protected] wrote:
> This is my first to the list.
> 
> Using pgadmin4 I can't create a local server "timeot expired"
> from debian buster terminal ask me to verify I'm allowed to connect to the unix domain socket /var/run/postgresql/.s.PGSQL.5432
> 
> 
> su
> 
> Password:
> 
> root@mycomputer:/home/me# su - postgres
> 
> postgres@mycomputer:~$ psql
> 
> psql: error: could not connect to server:
> 
> File o directory non esistente Verifica che il server locale sia in funzione e che accetti connessioni sul socket di dominio Unix "/var/run/postgresql/.s.PGSQL.5432"
> 
> 
> 
> I solved this problem with postgresql10 modifying a .conf file but file and directory names changed in postgresql 12
> 
> Can you help me?

First, verify that the server is running and listening:

- are there PostgreSQL processes?

- What is "port" and "unix_socket_directories" in "postgresql.conf"?

Then it would be interesting to know what exactly you entered in pgAdmin
to specify the connection.

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com






^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: can't create a local server
@ 2020-06-10 12:14  [email protected]
  parent: Laurenz Albe <[email protected]>
  0 siblings, 1 reply; 5+ messages in thread

From: [email protected] @ 2020-06-10 12:14 UTC (permalink / raw)
  To: [email protected]

I looked for postgres.conf but Dolphin couldn't find it

in pg admin 

create  --> server --> 
 name   Locale
 connection   
             host  localhost
             port   5432
             database  postgres
             username  postgres
              



> Il 10 giugno 2020 alle 8.43 Laurenz Albe <[email protected]> ha scritto:
> 
> 
> On Tue, 2020-06-09 at 19:03 +0200, [email protected] wrote:
> > This is my first to the list.
> > 
> > Using pgadmin4 I can't create a local server "timeot expired"
> > from debian buster terminal ask me to verify I'm allowed to connect to the unix domain socket /var/run/postgresql/.s.PGSQL.5432
> > 
> > 
> > su
> > 
> > Password:
> > 
> > root@mycomputer:/home/me# su - postgres
> > 
> > postgres@mycomputer:~$ psql
> > 
> > psql: error: could not connect to server:
> > 
> > File o directory non esistente Verifica che il server locale sia in funzione e che accetti connessioni sul socket di dominio Unix "/var/run/postgresql/.s.PGSQL.5432"
> > 
> > 
> > 
> > I solved this problem with postgresql10 modifying a .conf file but file and directory names changed in postgresql 12
> > 
> > Can you help me?
> 
> First, verify that the server is running and listening:
> 
> - are there PostgreSQL processes?
> 
> - What is "port" and "unix_socket_directories" in "postgresql.conf"?
> 
> Then it would be interesting to know what exactly you entered in pgAdmin
> to specify the connection.
> 
> Yours,
> Laurenz Albe
> -- 
> Cybertec | https://www.cybertec-postgresql.com
> 
> 
>





^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: can't create a local server
@ 2020-06-10 14:10  Laurenz Albe <[email protected]>
  parent: [email protected]
  0 siblings, 1 reply; 5+ messages in thread

From: Laurenz Albe @ 2020-06-10 14:10 UTC (permalink / raw)
  To: [email protected]; [email protected]

On Wed, 2020-06-10 at 14:14 +0200, [email protected] wrote:
> I looked for postgres.conf but Dolphin couldn't find it

How shall the poor creature find it if really it is called "postgresql.conf"?

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com






^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: can't create a local server
@ 2020-06-11 17:46  [email protected]
  parent: Laurenz Albe <[email protected]>
  0 siblings, 0 replies; 5+ messages in thread

From: [email protected] @ 2020-06-11 17:46 UTC (permalink / raw)
  To: [email protected]

you're right but it can't find neither postgresql.conf 



> Il 10 giugno 2020 alle 16.10 Laurenz Albe <[email protected]> ha scritto:
> 
> 
> On Wed, 2020-06-10 at 14:14 +0200, [email protected] wrote:
> > I looked for postgres.conf but Dolphin couldn't find it
> 
> How shall the poor creature find it if really it is called "postgresql.conf"?
> 
> Yours,
> Laurenz Albe
> -- 
> Cybertec | https://www.cybertec-postgresql.com
> 
> 
>





^ permalink  raw  reply  [nested|flat] 5+ messages in thread


end of thread, other threads:[~2020-06-11 17:46 UTC | newest]

Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-06-09 17:03 can't create a local server [email protected]
2020-06-10 06:43 ` Laurenz Albe <[email protected]>
2020-06-10 12:14   ` [email protected]
2020-06-10 14:10     ` Laurenz Albe <[email protected]>
2020-06-11 17:46       ` [email protected]

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox