pg.ddx.io pgsql-admin@postgresql.org mailing list archivehelp / color / mirror / Atom feed
restarting postmaster 2+ messages / 2 participants [nested] [flat]
* restarting postmaster @ 2008-03-05 17:35 Marc Fromm <Marc.Fromm@wwu.edu> 2008-03-05 17:58 ` Re: restarting postmaster Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 1 reply; 2+ messages in thread From: Marc Fromm @ 2008-03-05 17:35 UTC (permalink / raw) To: pgsql-admin My system is Fedora Core 7 running postgresql 8.2.3-2. I can shutdown postgres and the postmaster with the single command "pg_ctl stop -m smart." According to the documentation I can restart the postmaster with "pg_ctl start." When I enter pg_ctl start, everything starts except the postmaster. Checking ps ax | grep post displays 4 postgres processes and no postmaster. If I run "service postgresql start" instead of "pg_ctl start" then everything starts, including the postmaster. How come "pg_ctl start" does not start the postmaster? Why does "service postgresql start" start the postmaster and all of postgres, but it is not mentioned in the documentation? What is the correct way to stop and start postgresql? thanks Marc Fromm Information Technology Specialist II Financial Aid Department Western Washington University Phone: 360-650-3351 Fax: 360-788-0251 ^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: restarting postmaster 2008-03-05 17:35 restarting postmaster Marc Fromm <Marc.Fromm@wwu.edu> @ 2008-03-05 17:58 ` Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 2+ messages in thread From: Tom Lane @ 2008-03-05 17:58 UTC (permalink / raw) To: Marc Fromm <Marc.Fromm@wwu.edu>; +Cc: pgsql-admin "Marc Fromm" <Marc.Fromm@wwu.edu> writes: > My system is Fedora Core 7 running postgresql 8.2.3-2. > I can shutdown postgres and the postmaster with the single command > "pg_ctl stop -m smart." > According to the documentation I can restart the postmaster with "pg_ctl > start." When I enter pg_ctl start, everything starts except the > postmaster. > Checking ps ax | grep post displays 4 postgres processes and no > postmaster. One of them is the postmaster. postmaster and postgres are identical in recent PG releases; what you're looking at is just a difference between pg_ctl and the initscript about which name they choose to use. regards, tom lane ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2008-03-05 17:58 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2008-03-05 17:35 restarting postmaster Marc Fromm <Marc.Fromm@wwu.edu> 2008-03-05 17:58 ` Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox