Tue Nov 13 12:54:26 PST 2007
- Previous message: [Slony1-general] Windows as master, Linux as slave
- Next message: [Slony1-general] Windows as master, Linux as slave
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I got slony for the Linux hosts from from slony1-1.2.10.tar, the Windows hosts from slony-I-1.2.11R-pg82.zip <http://developer.pgadmin.org/%7Ehiroshi/Slony-I/slony-I-1.2.11R-pg82.zi p> , so that might be the problem. 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. 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. 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. As an experiment, I tried installing the various versions from http://developer.pgadmin.org/~hiroshi/Slony-I/ slony-I-1.2.9R-pg82.zip <http://developer.pgadmin.org/%7Ehiroshi/Slony-I/slony-I-1.2.9R-pg82.zip > didn't throw the HRESULT error the first time I ran it, but subsequently did. slony-I-1.2.8R-pg82.zip <http://developer.pgadmin.org/%7Ehiroshi/Slony-I/slony-I-1.2.8R-pg82.zip > , slony-I-1.2.7R-pg82.zip <http://developer.pgadmin.org/%7Ehiroshi/Slony-I/slony-I-1.2.7R-pg82.zip > , and slony-I-1.2.6R-pg82.zip <http://developer.pgadmin.org/%7Ehiroshi/Slony-I/slony-I-1.2.6R-pg82.zip > did throw the error. 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. I'm running Microsoft Windows XP Professional Version 5.1.2600 Service Pack 2 Build 2600 . 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. Any suggestions would be appreciated. Walter From: Andrew Hammond [mailto:andrew.george.hammond at gmail.com] Sent: Tuesday, November 13, 2007 10:05 AM To: Walter Coole Cc: Hiroshi Saito; slony1-general at lists.slony.info Subject: Re: [Slony1-general] Windows as master, Linux as slave 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. 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.slony.info/pipermail/slony1-general/attachments/20071113/5dd47cae/attachment.htm
- Previous message: [Slony1-general] Windows as master, Linux as slave
- Next message: [Slony1-general] Windows as master, Linux as slave
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-general mailing list