elein elein
Wed Oct 5 20:12:45 PDT 2005

On Wed, Oct 05, 2005 at 05:32:40PM +0300, Devrim GUNDUZ wrote:
> 
> Hi,
> 
> On Wed, 5 Oct 2005, Philip Yarra wrote:
> 
> >Hi Devrim, I ran into another RPM issue, this time with Slony.
> 
> :-)
> 
> >I grabbed the RPM from
> >http://developer.postgresql.org/~devrim/slony/1.1.0/rpms/PG8.0.3/
> >
> >Trying to run slon_start, I got errors such as:
> >$ slon_start --config /etc/slon_tools.conf 2
> >Invoke slon for node 2 - @@@/slon -s 1000 -d2 -g 80 replication 'host=dev2
> >dbname=booktown user=postgres port=5432' 2>&1
> >>/var/log/slony/slony1/node2/booktown-2005-10-05_16:23:53.log &
> >sh: line 1: @@@/slon: No such file or directory
> >Slon failed to start for cluster replication, node node2
> >
> >This turned out to be because /usr/lib/pgsql/slon-tools.pm contained 
> >several
> >un-expanded @@PGBINDIR@@ prefixes - once I replaced them with /usr/bin it 
> >all
> >ran just fine.

This is also a problem for 64bit machines which like to install
things in lib64.  The @@PGBINDIR@@ is also unset in these cases.

Generally a short sed (or perl if you like) script will fix
these up.  But it is really pretty obscure trail for people
to find the exact problem.

--elein

> 
> Hrrm.
> 
> It seems that I've installed wrong file in the spec :( However slon-tools 
> file is not updated by the Makefile, so I'll try to fix that, too.
> 
> Thanks for the report. It will fixed in CVS and all the RPM sets later 
> today. Always feel free to send me a patch if you want, I?can apply your 
> patch, too.
> 
> BTW, could you please report the possible Slony problems to 
> slony1-general at gborg.postgresql.org later?
> 
> Regards,
> --
> Devrim GUNDUZ
> Kivi Bili?im Teknolojileri - http://www.kivi.com.tr
> devrim~gunduz.org, devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
>                       
>                       http://www.gunduz.org

> _______________________________________________
> Slony1-general mailing list
> Slony1-general at gborg.postgresql.org
> http://gborg.postgresql.org/mailman/listinfo/slony1-general



More information about the Slony1-general mailing list