Advertisement
Guest User

Untitled

a guest
Mar 3rd, 2015
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. $ psql 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 "/tmp/.s.PGSQL.5432"?
  5.  
  6. $nmap -p 5432 localhost
  7.  
  8. Starting Nmap 6.47 ( http://nmap.org ) at 2015-03-03 15:51 PST
  9. Nmap scan report for localhost (127.0.0.1)
  10. Host is up (0.00013s latency).
  11. PORT STATE SERVICE
  12. 5432/tcp closed postgresql
  13.  
  14. Nmap done: 1 IP address (1 host up) scanned in 0.02 seconds
  15.  
  16. $ lunchy stop postgres
  17. $ lunchy start postgres
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement