Madan Thapa madan.feedback at gmail.com
Fri Jan 30 03:59:40 PST 2009
Hi,


I have installed postgresql using yum.


-bash-3.2# rpm -qa |  grep postgres
postgresql-libs-8.3.5-1PGDG.rhel5
postgresql-8.3.5-1PGDG.rhel5
postgresql-server-8.3.5-1PGDG.rhel5
compat-postgresql-libs-4-1PGDG.rhel5



-bash-3.2# ps faux |  egrep 'pgsql|postgres'
postgres 23733  0.0  0.7  40716  4108 ?        S    Jan29   0:02
/usr/bin/postmaster -p 5432 -D /var/lib/pgsql/data
postgres 23758  0.0  0.1  12040   888 ?        Ss   Jan29   0:00  \_
postgres: logger process
postgres 23761  0.0  0.2  40716  1228 ?        Ss   Jan29   0:00  \_
postgres: writer process
postgres 23763  0.0  0.1  40716  1028 ?        Ss   Jan29   0:00  \_
postgres: wal writer process
postgres 23764  0.0  0.2  40848  1136 ?        Ss   Jan29   0:00  \_
postgres: autovacuum launcher process
postgres 23765  0.0  0.1  12036   920 ?        Ss   Jan29   0:00  \_
postgres: stats collector process
root     11393  0.0  0.1   2992   704 pts/0    S+   05:44   0:00      \_
egrep pgsql|postgres
-bash-3.2#




Now to install slony what would be pg_config path ?

Docs sasy:
*Normally,* it ought to be sufficient to run configure
--with-pgconfigdir=3D/some/path/somewhere, where /some/path/somewhere is the
place where the PostgreSQL program *pg_config* is located. From *pg_config*,
the configure script can determine the various locations where
PostgreSQLcomponents are found, which indicates where the essential
components of
Slony-I must be installed.


-bash-3.2# locate pg_config
locate: can not open `/var/lib/mlocate/mlocate.db': No such file or
directory
-bash-3.2# updatedb
-bash-3.2# locate pg_config
-bash-3.2# ls /var/lib/pgsql/data/
base    pg_clog      pg_ident.conf  pg_multixact  pg_tblspc    PG_VERSION
postgresql.conf  postmaster.pid
global  pg_hba.conf  pg_log         pg_subtrans   pg_twophase  pg_xlog
postmaster.opts
-bash-3.2#



-bash-3.2# find / -name pg_config
-bash-3.2#
-bash-3.2#





Path of some important binaries on my system are
#################################################
/usr/bin/psql
/usr/bin/createdb
/usr/bin/createlang
/usr/bin/createuser
/usr/bin/pg_dump




Please advise.


Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.slony.info/pipermail/slony1-general/attachments/20090130/=
1de8e972/attachment.htm


More information about the Slony1-general mailing list