pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Replication issue
6+ messages / 4 participants
[nested] [flat]

* Replication issue
@ 2011-12-01 13:07  Jim Buttafuoco <jim@contacttelecom.com>
  0 siblings, 0 replies; 6+ messages in thread

From: Jim Buttafuoco @ 2011-12-01 13:07 UTC (permalink / raw)
  To: pgsql-general

All,

I have a large PG 9.1.1 server and replica using log shipping.  I had some hardware issues on the replica system and now I am getting the following in my pg_log/* files.  Same 2 lines over and over since yesterday.

2011-12-01 07:46:30 EST  >LOG:  restored log file "000000010000028E000000E5" from archive
2011-12-01 07:46:30 EST  >LOG:  incorrect resource manager data checksum in record at 28E/E555E1B8

Anything I can do on the replica or do I have to start over?

Finally, if this is not the correct list, please let me know.

Thanks
Jim


___________________________________________________________







Jim Buttafuoco
jim@contacttelecom.com
603-647-7170 ext. 2222- Office
603-490-3409 - Cell
jimbuttafuoco - Skype

Attachments:

image.gif (image/gif, 2.7K) download view image
^ permalink raw reply [nested|flat] 6+ messages in thread

* Replication issue
@ 2020-04-17 13:31  Sonam Sharma <sonams1209@gmail.com>
  0 siblings, 1 reply; 6+ messages in thread

From: Sonam Sharma @ 2020-04-17 13:31 UTC (permalink / raw)
  To: pgsql-general

I have setup db replication. And added below parameter in jdbc file . The
connection is failing and it's throwing error like db doesn't exist on
secondary server.

jdbc:postgresql://<primaryhost>:50001,
172.29.195.216:50001/crowd?targetServerType=master&reWriteBatchedInserts=true



.PSQLException: FATAL: database ",172.29.195.216 <+17229195216>:50001/crowd"
does not exist


Can someone help on this issue?

^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: Replication issue
@ 2020-04-17 14:02  Adrian Klaver <adrian.klaver@aklaver.com>
  parent: Sonam Sharma <sonams1209@gmail.com>
  0 siblings, 1 reply; 6+ messages in thread

From: Adrian Klaver @ 2020-04-17 14:02 UTC (permalink / raw)
  To: Sonam Sharma <sonams1209@gmail.com>; pgsql-general

On 4/17/20 6:31 AM, Sonam Sharma wrote:
> I have setup db replication. And added below parameter in jdbc file . 
> The connection is failing and it's throwing error like db doesn't exist 
> on secondary server.
> 
> jdbc:postgresql://<primaryhost>:50001,172.29.195.216:50001/crowd?targetServerType=master&reWriteBatchedInserts=true 
> <http://172.29.195.216:50001/crowd?targetServerType=master&reWriteBatchedInserts=true;
> 
> .PSQLException: FATAL: database ",172.29.195.216 
> <tel:+17229195216>:50001/crowd" does not exist
> 
> 
> Can someone help on this issue?
> 

Set up replication using what?

The URL above does not look correct to me. Pretty sure the ',' does not 
belong there.


-- 
Adrian Klaver
adrian.klaver@aklaver.com





^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: Replication issue
@ 2020-04-17 14:45  Julien Rouhaud <rjuju123@gmail.com>
  parent: Adrian Klaver <adrian.klaver@aklaver.com>
  0 siblings, 1 reply; 6+ messages in thread

From: Julien Rouhaud @ 2020-04-17 14:45 UTC (permalink / raw)
  To: Adrian Klaver <adrian.klaver@aklaver.com>; +Cc: Sonam Sharma <sonams1209@gmail.com>; pgsql-general

On Fri, Apr 17, 2020 at 4:02 PM Adrian Klaver <adrian.klaver@aklaver.com> wrote:
>
> On 4/17/20 6:31 AM, Sonam Sharma wrote:
> > I have setup db replication. And added below parameter in jdbc file .
> > The connection is failing and it's throwing error like db doesn't exist
> > on secondary server.
> >
> > jdbc:postgresql://<primaryhost>:50001,172.29.195.216:50001/crowd?targetServerType=master&reWriteBatchedInserts=true
> > <http://172.29.195.216:50001/crowd?targetServerType=master&reWriteBatchedInserts=true;
> >
> > .PSQLException: FATAL: database ",172.29.195.216
> > <tel:+17229195216>:50001/crowd" does not exist
> >
> >
> > Can someone help on this issue?
> >
>
> Set up replication using what?
>
> The URL above does not look correct to me. Pretty sure the ',' does not
> belong there.

This was probably intended to be the "connection failover" feature
(https://jdbc.postgresql.org/documentation/head/connect.html).  I'm
wondering if the issue is just that the driver is too old to support
that, but I have no idea when this was introduced in jdbc.





^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: Replication issue
@ 2020-04-17 14:47  Sonam Sharma <sonams1209@gmail.com>
  parent: Julien Rouhaud <rjuju123@gmail.com>
  0 siblings, 1 reply; 6+ messages in thread

From: Sonam Sharma @ 2020-04-17 14:47 UTC (permalink / raw)
  To: Julien Rouhaud <rjuju123@gmail.com>; +Cc: Adrian Klaver <adrian.klaver@aklaver.com>; pgsql-general

Yes, you are right. It's for connection failover from application end. I
have set up db replication using repmgr. Version : 9.5



On Fri, Apr 17, 2020, 8:15 PM Julien Rouhaud <rjuju123@gmail.com> wrote:

> On Fri, Apr 17, 2020 at 4:02 PM Adrian Klaver <adrian.klaver@aklaver.com>
> wrote:
> >
> > On 4/17/20 6:31 AM, Sonam Sharma wrote:
> > > I have setup db replication. And added below parameter in jdbc file .
> > > The connection is failing and it's throwing error like db doesn't exist
> > > on secondary server.
> > >
> > > jdbc:postgresql://<primaryhost>:50001,
> 172.29.195.216:50001/crowd?targetServerType=master&reWriteBatchedInserts=true
> > > <
> http://172.29.195.216:50001/crowd?targetServerType=master&reWriteBatchedInserts=true
> >
> > >
> > > .PSQLException: FATAL: database ",172.29.195.216
> > > <tel:+17229195216>:50001/crowd" does not exist
> > >
> > >
> > > Can someone help on this issue?
> > >
> >
> > Set up replication using what?
> >
> > The URL above does not look correct to me. Pretty sure the ',' does not
> > belong there.
>
> This was probably intended to be the "connection failover" feature
> (https://jdbc.postgresql.org/documentation/head/connect.html).  I'm
> wondering if the issue is just that the driver is too old to support
> that, but I have no idea when this was introduced in jdbc.
>

^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: Replication issue
@ 2020-04-18 16:24  Adrian Klaver <adrian.klaver@aklaver.com>
  parent: Sonam Sharma <sonams1209@gmail.com>
  0 siblings, 0 replies; 6+ messages in thread

From: Adrian Klaver @ 2020-04-18 16:24 UTC (permalink / raw)
  To: Sonam Sharma <sonams1209@gmail.com>; Julien Rouhaud <rjuju123@gmail.com>; +Cc: pgsql-general

On 4/17/20 7:47 AM, Sonam Sharma wrote:
> Yes, you are right. It's for connection failover from application end. I 
> have set up db replication using repmgr. Version : 9.5
> 

Can you reach the database crowd at host 172.29.195.216:50001 using psql 
or some other client?

> 
> 
> On Fri, Apr 17, 2020, 8:15 PM Julien Rouhaud <rjuju123@gmail.com 
> <mailto:rjuju123@gmail.com>> wrote:
> 
>     On Fri, Apr 17, 2020 at 4:02 PM Adrian Klaver
>     <adrian.klaver@aklaver.com <mailto:adrian.klaver@aklaver.com>> wrote:
>      >
>      > On 4/17/20 6:31 AM, Sonam Sharma wrote:
>      > > I have setup db replication. And added below parameter in jdbc
>     file .
>      > > The connection is failing and it's throwing error like db
>     doesn't exist
>      > > on secondary server.
>      > >
>      > >
>     jdbc:postgresql://<primaryhost>:50001,172.29.195.216:50001/crowd?targetServerType=master&reWriteBatchedInserts=true
>     <http://172.29.195.216:50001/crowd?targetServerType=master&reWriteBatchedInserts=true;
>      > >
>     <http://172.29.195.216:50001/crowd?targetServerType=master&reWriteBatchedInserts=true;
>      > >
>      > > .PSQLException: FATAL: database ",172.29.195.216
>      > > <tel:+17229195216>:50001/crowd" does not exist
>      > >
>      > >
>      > > Can someone help on this issue?
>      > >
>      >
>      > Set up replication using what?
>      >
>      > The URL above does not look correct to me. Pretty sure the ','
>     does not
>      > belong there.
> 
>     This was probably intended to be the "connection failover" feature
>     (https://jdbc.postgresql.org/documentation/head/connect.html).  I'm
>     wondering if the issue is just that the driver is too old to support
>     that, but I have no idea when this was introduced in jdbc.
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com





^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2020-04-18 16:24 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2011-12-01 13:07 Replication issue Jim Buttafuoco <jim@contacttelecom.com>
2020-04-17 13:31 Replication issue Sonam Sharma <sonams1209@gmail.com>
2020-04-17 14:02 ` Adrian Klaver <adrian.klaver@aklaver.com>
2020-04-17 14:45   ` Julien Rouhaud <rjuju123@gmail.com>
2020-04-17 14:47     ` Sonam Sharma <sonams1209@gmail.com>
2020-04-18 16:24       ` Adrian Klaver <adrian.klaver@aklaver.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox