Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

268
Views
No puedo ejecutar postgres en mi sistema. Está mostrando `postgres no está en el archivo sudoers. Este incidente será informado.

Estoy tratando de instalar postgres en mi WSL Ubuntu. La instalación finalizó, pero cuando ejecuto psql el siguiente error.

psql: error: could not connect to server: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?

Y cuando ejecuto sudo find /var/run/postgresql/.s.PGSQL.5432 para encontrar el archivo, muestra otro error como este.

postgres is not in the sudoers file. This incident will be reported.

Será más claro a partir de la captura de pantalla.

¿Cómo continuar? Por favor ayuda...

Captura de pantalla:

referencia

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Este error parece deberse a que su nombre de usuario, es decir, postgres , no está en el archivo sudoers. Es por eso que no tiene autoridad para ejecutar el comando anterior para el usuario de postgres .

Intente agregar el usuario por:

Abrir documento

 sudo nano /etc/sudoers

Luego agregue el usuario debajo del usuario administrador como debajo de la sintaxis.

 user_name ALL=(ALL) ALL
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!