<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16544" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=549160517-12122007><FONT face=Arial color=#0000ff size=2>Have 
you created your replication set(s) before attempting to issue the subscribe 
command?&nbsp; The error may suggest that the set doesn't 
exist.</FONT></SPAN></DIV>
<DIV><SPAN class=549160517-12122007><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=549160517-12122007><FONT face=Arial color=#0000ff 
size=2>Regards,</FONT></SPAN></DIV>
<DIV><SPAN class=549160517-12122007><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=549160517-12122007><FONT face=Arial color=#0000ff 
size=2>&nbsp;&nbsp;&nbsp; -&nbsp; Husam</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> slony1-general-bounces@lists.slony.info 
[mailto:slony1-general-bounces@lists.slony.info] <B>On Behalf Of </B>Josh 
Harrison<BR><B>Sent:</B> Wednesday, December 12, 2007 9:00 AM<BR><B>To:</B> 
slony1-general@lists.slony.info<BR><B>Subject:</B> [Slony1-general] Slony-I: 
subscribeSet(): set 1 not found ERROR<BR></FONT><BR></DIV>
<DIV></DIV>Hi,<BR>Im trying slony for the first time....&nbsp;<SPAN 
class=549160517-12122007><FONT face=Arial color=#0000ff 
size=2>&nbsp;&nbsp;</FONT></SPAN><BR>Slon is running in both master and slave. 
For replication I execute this script<BR><PRE class=PROGRAMLISTING>#!/bin/sh<BR>    slonik &lt;&lt;_EOF_<BR>             # ----<BR>             # This defines which namespace the replication system uses
<BR>             # ----<BR>             cluster name = $CLUSTERNAME;<BR>    <BR>             # ----<BR>             # Admin conninfo's are used by the slonik program to connect<BR>             # to the node databases.  So these are the PQconnectdb arguments
<BR>             # that connect from the administrators workstation (where<BR>             # slonik is executed).<BR>             # ----<BR>             node 1 admin conninfo = 'dbname=$MASTERDBNAME host=$MASTERHOST user=$REPLICATIONUSER';<BR>
             node 2 admin conninfo = 'dbname=$SLAVEDBNAME host=$SLAVEHOST user=$REPLICATIONUSER';<BR>    <BR>             # ----<BR>             # Node 2 subscribes set 1<BR>             # ----<BR>             subscribe set ( id = 1, provider = 1, receiver = 2, forward = no);
<BR>    _EOF_</PRE>And when i run this script I get this 
error...<BR>PGRES_FATAL_ERROR select "_slony_example".subscribeSet(1, 1, 2, 
'f');&nbsp; - sERROR:&nbsp; Slony-I: subscribeSet(): set 1 not found<BR><BR>What 
is wrong here? <BR>Thanks<BR>josh<BR><BR><BR>
<P>**********************************************************************<BR>This 
message contains confidential information intended only for the use of the 
addressee(s) named above and may contain information that is legally 
privileged.&nbsp; If you are not the addressee, or the person responsible for 
delivering it to the addressee, you are hereby notified that reading, 
disseminating, distributing or copying this message is strictly 
prohibited.&nbsp; If you have received this message by mistake, please 
immediately notify us by replying to the message and delete the original message 
immediately thereafter.</P>
<P>Thank you.</P>
<P><FONT 
size=1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
FADLD 
Tag</FONT><BR>**********************************************************************</P>
</BODY></HTML>