Advertisement
Guest User

Untitled

a guest
Feb 21st, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. postgres@ubuntu-s-1vcpu-1gb-fra1-01:~$ psql -U postgres
  2. psql: could not connect to server: No such file or directory
  3. Is the server running locally and accepting
  4. connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
  5. postgres@ubuntu-s-1vcpu-1gb-fra1-01:~$ service postgresql restart
  6. Command 'service' is available in '/usr/sbin/service'
  7. The command could not be located because '/usr/sbin' is not included in the PATH environment variable.
  8. This is most likely caused by the lack of administrative privileges associated with your user account.
  9. service: command not found
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement