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

226
Views
install (PostgreSQL) 9.6.2 Sabayon linux?

When I try to connect and access or start PostgreSQL I get this 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

This means your postgres server is not running.

Steps for start a server:

  1. Create a directory where your server will run.

    $ mkdir /usr/db/
    
  2. Assign ownership and permissions to /usr/db/

    $ chown postgres:postgres /usr/db/
    $ chmod 757 /usr/db/
    
  3. Run terminal as user postgres

    $ su postgres
    
  4. Run following commands to start server

    $ initdb -D /usr/db/
    $ pg_ctl start -D /usr/db/
    
  5. Now, your postgres server should be running. Exit terminal as user postgres, and now you can enter psql terminal using following command

    $ 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!