Melvin Davidson melvin6925 at yahoo.com
Tue Jul 21 06:52:19 PDT 2009
roctaiwan,

You really need to pay attention and look for yourself what the message is =
sayinig!
This is very simple.

> pg_ctl: unrecognized operation mode "restar"
The OPTION should be restart, not restar.=A0 So do =

pg_ctl restart=A0=A0=A0=A0=A0=A0=A0=A0=A0 and it will work.

Note that this had  nothing to do with slony. I highly suggest you subscrib=
e to =

http://archives.postgresql.org/pgsql-novice/ for these type of questions.

Melvin Davidson =

  =

From: roctaiwan <nettreeinc at gmail.com>
Subject: Re: [Slony1-general] Could not start slon cluster
To: slony1-general at lists.slony.info
Date: Tuesday, July 21, 2009, 1:54 AM


Everytime I try to restart postgres it give me following messages:

-bash-3.2$ pg_ctl restar
pg_ctl: unrecognized operation mode "restar"
Try "pg_ctl --help" for more information.
-bash-3.2$ pg_ctl restart
pg_ctl: PID file "/var/lib/pgsql/data/postmaster.pid" does not exist
Is postmaster running?
starting postmaster anyway
pg_ctl: could not read file "/var/lib/pgsql/data/postmaster.opts"
-bash-3.2$


is that normal? Message says "starting postmaster anyway", does it still
restarting for me? =


Ian Lea wrote:
> =

> You seem to be bombarding this list with similar messages!=A0 Slow down .=
..
> =

> The message means that postgres is shutting down, not slony.
> =

> Fix that first, probably using pg_ctl.=A0 $ pg_ctl --help shows the optio=
ns.
> =

> When postgres is up and running, on both master and slave databases,
> start your slony processes.
> =

> To stop slony, you can kill the slon processes.=A0 Googling for "stop
> slon" will find you more information.
> =

> =

> =

> --
> Ian.
> =





      =

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.slony.info/pipermail/slony1-general/attachments/20090721/=
d994926a/attachment-0001.htm


More information about the Slony1-general mailing list