[postgres@dbarhel564 mypg]$ pg_ctl -D /usr/local/pgsql/mypg/ start server starting [postgres@dbarhel564 mypg]$ psql -p 5432 -d postgres psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/tmp/.s.PGSQL.5432"? [postgres@dbarhel564 mypg]$
Checked in the Data Directory
-------------------------------------------
[postgres@dbarhel564 mypg]$ ls arch db.dmp mypg.dmp mytablespace pg_hba.conf pg_log pg_stat_tmp pg_tblspc PG_VERSION postgresql.conf base global mypgtar.tar pg_clog pg_ident.conf pg_multixact pg_subtrans pg_twophase pg_xlog postmaster.opts [postgres@dbarhel564 mypg]$