473,386 Members | 1,694 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

erserver 1.2 problem


Downloaded the eRServer 1.2 source (thanks, guys) and installed, and am
having a problem. Anyone else dug into this yet?

Situation:

PG 7.3.4 on linux (master)
Its been tried with 3 slaves, all 7.3.4, 2 on OS X and one on Linux.

It builds fine. It installs fine. I go through the setup with no
problems (calling createlang, doing the initial ers_setup, adding
tables, adding slaves, etc.)

The startup goes fine. No complaints in the log file. It sees every
slave.

Problem is, nothing seems to replicate. I insert records into the
tables on the master and nothing happens. If I am reading the logs
right, it thinks it is:

2003-08-27 17:03:34,563 [Thread-7] INFO replic - Rserv::syncSync: Last
SyncID applied: syncid=27
2003-08-27 17:03:34,568 [Thread-7] INFO replic - Rserv::replicate :
PREPARE SNAPSHOT BEGINS ...
2003-08-27 17:03:34,665 [Thread-7] INFO replic - Rserv::replicate :
PREPARED SNAPSHOT to SERVER 0 IN 102 MILLIS.; Snapshot Got
Something=true
2003-08-27 17:03:34,665 [Thread-7] INFO replic - Rserv::replicate :
APPLY SNAPSHOT BEGINS ...
2003-08-27 17:03:34,675 [Thread-7] INFO replic - Rserv::syncSync: Last
SyncID applied: syncid=30
2003-08-27 17:03:34,692 [Thread-7] INFO replic - Rserv::replicate :
SUCCESSFULLY REPLICATED to SERVER 0 IN 130 MILLIS.; Average time per 1
update=?
2003-08-27 17:03:34,923 [Thread-9] INFO replic - Rserv::syncSync: Last
SyncID applied: syncid=28
2003-08-27 17:03:34,927 [Thread-9] INFO replic - Rserv::replicate :
PREPARE SNAPSHOT BEGINS ...
2003-08-27 17:03:34,964 [Thread-9] INFO replic - Rserv::replicate :
PREPARED SNAPSHOT to SERVER 1 IN 42 MILLIS.; Snapshot Got Something=true
2003-08-27 17:03:34,964 [Thread-9] INFO replic - Rserv::replicate :
APPLY SNAPSHOT BEGINS ...
2003-08-27 17:03:34,978 [Thread-9] INFO replic - Rserv::syncSync: Last
SyncID applied: syncid=31
2003-08-27 17:03:34,994 [Thread-9] INFO replic - Rserv::replicate :
SUCCESSFULLY REPLICATED to SERVER 1 IN 72 MILLIS.; Average time per 1
update=?
2003-08-27 17:03:35,023 [Thread-11] INFO replic - Rserv::syncSync: Last
SyncID applied: syncid=29
2003-08-27 17:03:35,027 [Thread-11] INFO replic - Rserv::replicate :
PREPARE SNAPSHOT BEGINS ...
2003-08-27 17:03:35,075 [Thread-11] INFO replic - Rserv::replicate :
PREPARED SNAPSHOT to SERVER 2 IN 53 MILLIS.; Snapshot Got Something=true
2003-08-27 17:03:35,076 [Thread-11] INFO replic - Rserv::replicate :
APPLY SNAPSHOT BEGINS ...
2003-08-27 17:03:35,087 [Thread-11] INFO replic - Rserv::syncSync: Last
SyncID applied: syncid=32
2003-08-27 17:03:35,104 [Thread-11] INFO replic - Rserv::replicate :
SUCCESSFULLY REPLICATED to SERVER 2 IN 82 MILLIS.; Average time per 1
update=?

I tried setting it to output more debug messages by setting
'debug=true' in replication.conf, but it doesn't seem to add any more
to the logs.

The _rserv_slave_sync_ tables seem to have activity, but the
_rserv_slave_tables_ table is empty.
If my wife was standing behind me, I would expect she would say 'Its
right in front of you, dear', but I can't seem to figure out the
problem. Anyone else playing with this yet that can shed some light?
--------------------

Andrew Rawnsley
President
The Ravensfield Digital Resource Group, Ltd.
(740) 587-0114
www.ravensfield.com
---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to ma*******@postgresql.org)

Nov 11 '05 #1
2 1538
I've got the same issues, however, my erserver log says there's nothing to
replicate.....
I've posted to erserver-general, yesterday. If i get any hints from there,
i let you know.

--On Donnerstag, August 28, 2003 17:27:55 -0400 Andrew Rawnsley
<ro**@ravensfield.com> wrote:

Downloaded the eRServer 1.2 source (thanks, guys) and installed, and am
having a problem. Anyone else dug into this yet?

Situation:

PG 7.3.4 on linux (master)
Its been tried with 3 slaves, all 7.3.4, 2 on OS X and one on Linux.

It builds fine. It installs fine. I go through the setup with no problems
(calling createlang, doing the initial ers_setup, adding tables, adding
slaves, etc.)

The startup goes fine. No complaints in the log file. It sees every slave.

Problem is, nothing seems to replicate. I insert records into the tables
on the master and nothing happens. If I am reading the logs right, it
thinks it is:

2003-08-27 17:03:34,563 [Thread-7] INFO replic - Rserv::syncSync: Last
SyncID applied: syncid=27 2003-08-27 17:03:34,568 [Thread-7] INFO replic
- Rserv::replicate : PREPARE SNAPSHOT BEGINS ... 2003-08-27 17:03:34,665
[Thread-7] INFO replic - Rserv::replicate : PREPARED SNAPSHOT to SERVER 0
IN 102 MILLIS.; Snapshot Got Something=true 2003-08-27 17:03:34,665
[Thread-7] INFO replic - Rserv::replicate : APPLY SNAPSHOT BEGINS ...
2003-08-27 17:03:34,675 [Thread-7] INFO replic - Rserv::syncSync: Last
SyncID applied: syncid=30 2003-08-27 17:03:34,692 [Thread-7] INFO replic
- Rserv::replicate : SUCCESSFULLY REPLICATED to SERVER 0 IN 130 MILLIS.;
Average time per 1 update=? 2003-08-27 17:03:34,923 [Thread-9] INFO
replic - Rserv::syncSync: Last SyncID applied: syncid=28 2003-08-27
17:03:34,927 [Thread-9] INFO replic - Rserv::replicate : PREPARE SNAPSHOT
BEGINS ... 2003-08-27 17:03:34,964 [Thread-9] INFO replic -
Rserv::replicate : PREPARED SNAPSHOT to SERVER 1 IN 42 MILLIS.; Snapshot
Got Something=true 2003-08-27 17:03:34,964 [Thread-9] INFO replic -
Rserv::replicate : APPLY SNAPSHOT BEGINS ... 2003-08-27 17:03:34,978
[Thread-9] INFO replic - Rserv::syncSync: Last SyncID applied: syncid=31
2003-08-27 17:03:34,994 [Thread-9] INFO replic - Rserv::replicate :
SUCCESSFULLY REPLICATED to SERVER 1 IN 72 MILLIS.; Average time per 1
update=? 2003-08-27 17:03:35,023 [Thread-11] INFO replic -
Rserv::syncSync: Last SyncID applied: syncid=29 2003-08-27 17:03:35,027
[Thread-11] INFO replic - Rserv::replicate : PREPARE SNAPSHOT BEGINS ...
2003-08-27 17:03:35,075 [Thread-11] INFO replic - Rserv::replicate :
PREPARED SNAPSHOT to SERVER 2 IN 53 MILLIS.; Snapshot Got Something=true
2003-08-27 17:03:35,076 [Thread-11] INFO replic - Rserv::replicate :
APPLY SNAPSHOT BEGINS ... 2003-08-27 17:03:35,087 [Thread-11] INFO replic
- Rserv::syncSync: Last SyncID applied: syncid=32 2003-08-27 17:03:35,104
[Thread-11] INFO replic - Rserv::replicate : SUCCESSFULLY REPLICATED to
SERVER 2 IN 82 MILLIS.; Average time per 1 update=?

I tried setting it to output more debug messages by setting 'debug=true'
in replication.conf, but it doesn't seem to add any more to the logs.

The _rserv_slave_sync_ tables seem to have activity, but the
_rserv_slave_tables_ table is empty.
If my wife was standing behind me, I would expect she would say 'Its
right in front of you, dear', but I can't seem to figure out the problem.
Anyone else playing with this yet that can shed some light?
--------------------

Andrew Rawnsley
President
The Ravensfield Digital Resource Group, Ltd.
(740) 587-0114
www.ravensfield.com
---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to ma*******@postgresql.org)


Bernd

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Nov 11 '05 #2

It appears in my case that the ers_addtable is failing to add
everything it needs to the slave tables, with a:

DBD::Pg::st execute failed: execute on disconnected handle at
/db/erserver/lib/eRServer.pm line 54, <IN> line 22.

which is the point it actually tries to add stuff to the slave. I'm not
a perl head, so I'm not sure at the moment how to fix the problem.

On Friday, August 29, 2003, at 07:08 AM, Bernd Helmle wrote:
I've got the same issues, however, my erserver log says there's
nothing to replicate.....
I've posted to erserver-general, yesterday. If i get any hints from
there, i let you know.

--On Donnerstag, August 28, 2003 17:27:55 -0400 Andrew Rawnsley
<ro**@ravensfield.com> wrote:

Downloaded the eRServer 1.2 source (thanks, guys) and installed, and
am
having a problem. Anyone else dug into this yet?

Situation:

PG 7.3.4 on linux (master)
Its been tried with 3 slaves, all 7.3.4, 2 on OS X and one on Linux.

It builds fine. It installs fine. I go through the setup with no
problems
(calling createlang, doing the initial ers_setup, adding tables,
adding
slaves, etc.)

The startup goes fine. No complaints in the log file. It sees every
slave.

Problem is, nothing seems to replicate. I insert records into the
tables
on the master and nothing happens. If I am reading the logs right, it
thinks it is:

2003-08-27 17:03:34,563 [Thread-7] INFO replic - Rserv::syncSync: Last
SyncID applied: syncid=27 2003-08-27 17:03:34,568 [Thread-7] INFO
replic
- Rserv::replicate : PREPARE SNAPSHOT BEGINS ... 2003-08-27
17:03:34,665
[Thread-7] INFO replic - Rserv::replicate : PREPARED SNAPSHOT to
SERVER 0
IN 102 MILLIS.; Snapshot Got Something=true 2003-08-27 17:03:34,665
[Thread-7] INFO replic - Rserv::replicate : APPLY SNAPSHOT BEGINS ...
2003-08-27 17:03:34,675 [Thread-7] INFO replic - Rserv::syncSync: Last
SyncID applied: syncid=30 2003-08-27 17:03:34,692 [Thread-7] INFO
replic
- Rserv::replicate : SUCCESSFULLY REPLICATED to SERVER 0 IN 130
MILLIS.;
Average time per 1 update=? 2003-08-27 17:03:34,923 [Thread-9] INFO
replic - Rserv::syncSync: Last SyncID applied: syncid=28 2003-08-27
17:03:34,927 [Thread-9] INFO replic - Rserv::replicate : PREPARE
SNAPSHOT
BEGINS ... 2003-08-27 17:03:34,964 [Thread-9] INFO replic -
Rserv::replicate : PREPARED SNAPSHOT to SERVER 1 IN 42 MILLIS.;
Snapshot
Got Something=true 2003-08-27 17:03:34,964 [Thread-9] INFO replic -
Rserv::replicate : APPLY SNAPSHOT BEGINS ... 2003-08-27 17:03:34,978
[Thread-9] INFO replic - Rserv::syncSync: Last SyncID applied:
syncid=31
2003-08-27 17:03:34,994 [Thread-9] INFO replic - Rserv::replicate :
SUCCESSFULLY REPLICATED to SERVER 1 IN 72 MILLIS.; Average time per 1
update=? 2003-08-27 17:03:35,023 [Thread-11] INFO replic -
Rserv::syncSync: Last SyncID applied: syncid=29 2003-08-27
17:03:35,027
[Thread-11] INFO replic - Rserv::replicate : PREPARE SNAPSHOT BEGINS
...
2003-08-27 17:03:35,075 [Thread-11] INFO replic - Rserv::replicate :
PREPARED SNAPSHOT to SERVER 2 IN 53 MILLIS.; Snapshot Got
Something=true
2003-08-27 17:03:35,076 [Thread-11] INFO replic - Rserv::replicate :
APPLY SNAPSHOT BEGINS ... 2003-08-27 17:03:35,087 [Thread-11] INFO
replic
- Rserv::syncSync: Last SyncID applied: syncid=32 2003-08-27
17:03:35,104
[Thread-11] INFO replic - Rserv::replicate : SUCCESSFULLY REPLICATED
to
SERVER 2 IN 82 MILLIS.; Average time per 1 update=?

I tried setting it to output more debug messages by setting
'debug=true'
in replication.conf, but it doesn't seem to add any more to the logs.

The _rserv_slave_sync_ tables seem to have activity, but the
_rserv_slave_tables_ table is empty.
If my wife was standing behind me, I would expect she would say 'Its
right in front of you, dear', but I can't seem to figure out the
problem.
Anyone else playing with this yet that can shed some light?
--------------------

Andrew Rawnsley
President
The Ravensfield Digital Resource Group, Ltd.
(740) 587-0114
www.ravensfield.com
---------------------------(end of
broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to
ma*******@postgresql.org)


Bernd

---------------------------(end of
broadcast)---------------------------
TIP 8: explain analyze is your friend

--------------------

Andrew Rawnsley
President
The Ravensfield Digital Resource Group, Ltd.
(740) 587-0114
www.ravensfield.com
---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Nov 11 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

117
by: Peter Olcott | last post by:
www.halting-problem.com
2
by: Bill Montgomery | last post by:
I am installing erserver 1.2 right now, and am having a problem with the ers_addslave program. It uses the eRServer.pm perl module, which perl is failing to compile. Observe: $ ers_addslave...
0
by: Daniel Seichter | last post by:
Hello, is it possible to use the erserver for high-availability solutions like a two server-system with failover? Or for systems with distributed servers on different locations? Thank you ...
2
by: Andrew Rawnsley | last post by:
A new build of my modifications to eRServer is available at http://grayling.ravensfield.com. Changes/fixes: * Fixed existing column as unique problem I had a bug in the replication threads that...
28
by: Jon Davis | last post by:
If I have a class with a virtual method, and a child class that overrides the virtual method, and then I create an instance of the child class AS A base class... BaseClass bc = new ChildClass();...
6
by: Ammar | last post by:
Dear All, I'm facing a small problem. I have a portal web site, that contains articles, for each article, the end user can send a comment about the article. The problem is: I the comment length...
67
by: Bob Powell | last post by:
To whom it may concern: I find the recent articles in various trade publications a little disturbing due to the lack of PostgrSQL mention. I continue to see articles about how IBM may be...
16
by: Dany | last post by:
Our web service was working fine until we installed .net Framework 1.1 service pack 1. Uninstalling SP1 is not an option because our largest customer says service packs marked as "critical" by...
2
by: Mike Collins | last post by:
I cannot get the correct drop down list value from a drop down I have on my web form. I get the initial value that was loaded in the list. It was asked by someone else what the autopostback was...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.