Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- postgres@ubuntu-s-1vcpu-1gb-fra1-01:~$ psql -U postgres
- psql: 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"?
- postgres@ubuntu-s-1vcpu-1gb-fra1-01:~$ service postgresql restart
- Command 'service' is available in '/usr/sbin/service'
- The command could not be located because '/usr/sbin' is not included in the PATH environment variable.
- This is most likely caused by the lack of administrative privileges associated with your user account.
- service: command not found
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement