<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Plain Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.5pt;
        font-family:Consolas;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.PlainTextChar
        {mso-style-name:"Plain Text Char";
        mso-style-priority:99;
        mso-style-link:"Plain Text";
        font-family:Consolas;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Courier New";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I got slony for the Linux hosts from from slony1-1.2.10.tar, the
Windows hosts from </span><b><span style='font-size:10.0pt;color:lightslategray'><a
href="http://developer.pgadmin.org/%7Ehiroshi/Slony-I/slony-I-1.2.11R-pg82.zip">slony-I-1.2.11R-pg82.zip</a>
</span></b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>, so that might be the problem.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoPlainText><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I tried installing PostgeSQL 8.2.4 and slony-I-1.2.10R-pg82 on a
new Windows host (not previously installed with PostgreSQL or Slony) and got
the same “Module C:\Program Files\PostgreSQL\8.2\lib\slevent.dll failed
to register. HRESULT -2147023898. Contact your support personnel.”
error.</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Since this error is being thrown prior to interacting with the
Linux host, it looks like there is more to my difficulty than simply
incompatible versions of Slony. Either there is something that I
don’t understand about the installation procedure or there must be
something about these hosts that is incompatible with the Slony installation.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I tried changing the selected features and this error happens if
(and only if) I select the feature “Slony-I server module”.
Guessing by the name, I think I need this feature.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>As an experiment, I tried installing the various versions from <a
href="http://developer.pgadmin.org/~hiroshi/Slony-I/">http://developer.pgadmin.org/~hiroshi/Slony-I/</a><o:p></o:p></span></p>
<p class=MsoNormal><b><span style='font-size:10.0pt;color:lightslategray'><a
href="http://developer.pgadmin.org/%7Ehiroshi/Slony-I/slony-I-1.2.9R-pg82.zip">slony-I-1.2.9R-pg82.zip</a> didn’t
throw the HRESULT error the first time I ran it, but subsequently did.<o:p></o:p></span></b></p>
<p class=MsoNormal><b><span style='font-size:10.0pt;color:lightslategray'><a
href="http://developer.pgadmin.org/%7Ehiroshi/Slony-I/slony-I-1.2.8R-pg82.zip">slony-I-1.2.8R-pg82.zip</a> ,
<a
href="http://developer.pgadmin.org/%7Ehiroshi/Slony-I/slony-I-1.2.7R-pg82.zip">slony-I-1.2.7R-pg82.zip</a>
, and <a
href="http://developer.pgadmin.org/%7Ehiroshi/Slony-I/slony-I-1.2.6R-pg82.zip">slony-I-1.2.6R-pg82.zip</a>
did throw the error.<o:p></o:p></span></b></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>It seems as though I’ve mangled something on my computer
that prevents the install script from working correctly, despite cancelling or
uninstalling each time. I’m inclined to assume the registry as the item
mangled, but am fairly ignorant of how to go about repairing it without making
things worse.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I’m running Microsoft Windows XP Professional Version 5.1.2600
Service Pack 2 Build 2600 .<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<pre><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>HR Plus decodes the HRESULT as coming from FACILITY_WIN32, defined as ERROR_NOACCESS, with the text “Invalid access to memory location.”. This makes it sound as though something was trying to access an inappropriate memory location.<o:p></o:p></span></pre>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Any suggestions would be appreciated.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Walter<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Andrew Hammond
[mailto:andrew.george.hammond@gmail.com] <br>
<b>Sent:</b> Tuesday, November 13, 2007 10:05 AM<br>
<b>To:</b> Walter Coole<br>
<b>Cc:</b> Hiroshi Saito; slony1-general@lists.slony.info<br>
<b>Subject:</b> Re: [Slony1-general] Windows as master, Linux as slave<o:p></o:p></span></p>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<div>
<blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;
margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt'>
<p class=MsoNormal>I don't understand what you mean by "both of time must
not be different". Perhaps you meant that they should be the same
version; the Windows host is running "PostgeSQL 8.2.4 on i686-pc-mingw32,
compiled by GCC gcc.exe (GCC) 3.4.2 (mingw-special)", the Linux host is
running "PostgeSQL 8.2.4 on i686-redhat-linux-gnu, compiled by GCC gcc
(GCC) 4.1.1 (Red Hat 4.1.1-51)". This seems like as close to the
same version as is feasible for Windows/Linux, so I hope it's close enough. <o:p></o:p></p>
</blockquote>
<div>
<p class=MsoNormal style='margin-bottom:12.0pt'><br>
The version of PostgreSQL doesn't matter terribly much (one of the design goals
of slony was to provide a smooth upgrade path between PostgreSQL major
revisions). However the version of slony must match exactly between all nodes
in your cluster. <o:p></o:p></p>
</div>
</div>
</div>
</body>
</html>