roctaiwan nettreeinc at gmail.com
Mon Jul 20 22:36:27 PDT 2009
Thanks Melvin for this very helpful info. Every simple small command is a big
help to me.  ^_^


>How do I find out the status of my slon if it's currently on or off? 


To find out if slon is running:
ps -ef | grep slon
Also, check your slony log files.

You should be running slon in background, not foreground
Here is a sample startup command.

slon -d1 -pslon_node_1.pid $PTS_META_REP "dbname=$MASTERDBNAME
user=$REPLICATIONUSER host=$MASTERHOST port=$PGPORT" > slon1.log &

To find out if postgres is running:
ps -ef | grep postgres

Another simple test is:
psql postgres

If you can connect, it's running!

The questions you ask are actually basic Linux questions. I  highly
recommend you buy a Linux book and learn that first.


Melvin Davidson 

_______________________________________________
Slony1-general mailing list
Slony1-general at lists.slony.info
http://lists.slony.info/mailman/listinfo/slony1-general



-- 
View this message in context: http://www.nabble.com/Simple-Question-on-Command-HOW-TO%3A-find-out-slony-version-I-am-using-tp24563764p24581970.html
Sent from the Slony-I -- General mailing list archive at Nabble.com.



More information about the Slony1-general mailing list