Slony RPM issue - Mailing list pgsql-hackers

From Philip Yarra
Subject Slony RPM issue
Date
Msg-id 200510051751.13573.philip@utiba.com
Whole thread Raw
Responses Re: Slony RPM issue  (Devrim GUNDUZ <devrim@gunduz.org>)
List pgsql-hackers
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.

Please let me know if I can assist in fixing these issues.

Also, thanks to David and Gavin for their help on IRC - it made a big 
difference to my day!

Regards, Philip.

-- 

"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan

-----------------
Utiba Pty Ltd 
This message has been scanned for viruses and
dangerous content by Utiba mail server and is 
believed to be clean.



pgsql-hackers by date:

Previous
From: "Zeugswetter Andreas DAZ SD"
Date:
Subject: Re: Vacuum and Transactions
Next
From: Richard Huxton
Date:
Subject: Re: [PERFORM] Query in SQL statement