Advertisement
Guest User

Untitled

a guest
Nov 28th, 2014
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.85 KB | None | 0 0
  1. [bitnami@ip-xxx]/usr/share/proj$ which postgres
  2. /opt/bitnami/postgresql/bin/postgres
  3.  
  4. [bitnami@xxx]/home/.../geoserver_data/OSM$ osm2pgsql -E 900913 -d geodb -U geouser -W -S /usr/share/osm2pgsql/default.style washington-latest.osm.pbf
  5. osm2pgsql SVN version 0.82.0 (64bit id space)
  6.  
  7. Password:
  8. Error: Connection to database failed: could not connect to server: No such file or directory
  9. Is the server running locally and accepting
  10. connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
  11.  
  12. [bitnami@ip-172-31-33-72]/usr/share/proj$ ps aux | grep postgres
  13. postgres 982 0.0 0.0 247712 468 ? S Oct21 0:17 /usr/lib/postgresql/9.3/bin/postgres -D /var/lib/postgresql/9.3/main -c config_file=/etc/postgresql/9.3/main/postgresql.conf
  14. postgres 986 0.0 0.6 247856 7028 ? Ss Oct21 0:00 postgres: checkpointer process
  15. postgres 987 0.0 0.0 247712 140 ? Ss Oct21 0:14 postgres: writer process
  16. postgres 988 0.0 0.0 247712 104 ? Ss Oct21 0:12 postgres: wal writer process
  17. postgres 989 0.0 0.1 248568 1088 ? Ss Oct21 0:12 postgres: autovacuum launcher process
  18. postgres 990 0.0 0.0 103520 536 ? Ss Oct21 0:22 postgres: stats collector process
  19. postgres 11111 0.0 1.1 171996 11876 ? S 04:28 0:00 /opt/bitnami/postgresql/bin/postgres -D /opt/bitnami/postgresql/data
  20. postgres 11113 0.0 0.0 171996 876 ? Ss 04:28 0:00 postgres: checkpointer process
  21. postgres 11114 0.0 0.1 171996 1696 ? Ss 04:28 0:00 postgres: writer process
  22. postgres 11115 0.0 0.0 171996 932 ? Ss 04:28 0:00 postgres: wal writer process
  23. postgres 11116 0.0 0.2 172844 2084 ? Ss 04:28 0:00 postgres: autovacuum launcher process
  24. postgres 11117 0.0 0.1 27812 1120 ? Ss 04:28 0:00 postgres: stats collector process
  25. bitnami 13358 0.0 0.0 11752 924 pts/6 S+ 09:10 0:00 grep --color=auto postgres
  26. root 26079 0.0 0.0 64536 32 pts/7 S Nov26 0:00 su postgres
  27. postgres 26080 0.0 0.0 21100 200 pts/7 S Nov26 0:00 bash
  28.  
  29. # TYPE DATABASE USER ADDRESS METHOD
  30. local geodb geouser md5
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement