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

218
Views
instalar (PostgreSQL) 9.6.2 Sabayon linux?

Cuando intento conectarme y acceder o iniciar PostgreSQL, aparece este error.

 Sabayon postgresql-9.6 # sudo su -c "createuser --superuser gisuser" postgres Createuser: could not connect to database postgres: could not connect to server: File or directory not found The server is running locally and accepting Connections in the Unix domain socket "/run/postgresql/.s.PGSQL.5432"? Sabayon postgresql-9.6 # psql --version Psql (PostgreSQL) 9.6.2
over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Esto significa que su servidor de postgres no se está ejecutando.

Pasos para iniciar un servidor:

  1. Cree un directorio donde se ejecutará su servidor.

     $ mkdir /usr/db/
  2. Asignar propiedad y permisos a /usr/db/

     $ chown postgres:postgres /usr/db/ $ chmod 757 /usr/db/
  3. Ejecutar terminal como usuario postgres

     $ su postgres
  4. Ejecute los siguientes comandos para iniciar el servidor

     $ initdb -D /usr/db/ $ pg_ctl start -D /usr/db/
  5. Ahora, su servidor postgres debería estar ejecutándose. Salga de la terminal como usuario postgres , y ahora puede ingresar a la terminal psql usando el siguiente comando

     $ psql -U postgres
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!