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.  So do 
pg_ctl restart          and it will work.

Note that this had  nothing to do with slony. I highly suggest you subscribe to 
http://archives.postgresql.org/pgsql-novice/ for these type of questions.

Melvin Davidson 
  
From: roctaiwan <[email protected]>
Subject: Re: [Slony1-general] Could not start slon cluster
To: [email protected]
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!  Slow down ...
> 
> The message means that postgres is shutting down, not slony.
> 
> Fix that first, probably using pg_ctl.  $ pg_ctl --help shows the options.
> 
> 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.  Googling for "stop
> slon" will find you more information.
> 
> 
> 
> --
> Ian.
> 




      
_______________________________________________
Slony1-general mailing list
[email protected]
http://lists.slony.info/mailman/listinfo/slony1-general

Reply via email to