ElayaRaja S <elayaraja.s@gmail.com> writes:
> bash-2.05b$ pg_ctl stop
> /usr/local/pgsql/bin/pg_ctl: line 274: kill: (19859) - No such process
> waiting for postmaster to shut
> down................................................................
> failed
> pg_ctl: postmaster does not shut down
Is there actually a postmaster running? Is pg_ctl looking in the right
data directory? The above could happen if you have a PGDATA environment
setting that corresponds to a data directory that's not actively in use.
regards, tom lane