Re: Replication status commands seem to fail

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Gleen, 
The connection logs probably means that a non encrypted operation was attempted over SSL port.  
Regards, 
  Pierre

On Sun, Jan 3, 2021 at 11:07 PM Glenn Morris <rgm@xxxxxxxxxxxx> wrote:

Hi,

I'm using version 1.4.3 on CentOS 8.3.
I'm trying to set up replication with a single master and a single consumer,
following the steps from

https://access.redhat.com/documentation/en-us/red_hat_directory_server/11/html/administration_guide/single-master_replication#setting_up_single-master_replication_using_the_command_line

It seems to work, in that the database is populated on the consumer, and
when I change a database entry on the master, the change appears on the
consumer.

However, replication status commands seem (?) to indicate that something
isn't working completely right. Eg when I do:

dsconf -w "$passwd" -D "$rootdn" $instance repl-agmt status \
   --suffix $suffix $agreement

I get:

    Replica Enabled: on
    Update In Progress: FALSE
    Last Update Start: 20210103213704Z
    Last Update End: 20210103213704Z
    Number Of Changes Sent: 1:1/0
    Number Of Changes Skipped: None
    Last Update Status: Error (0) Replica acquired successfully: Incremental
       update succeeded
    Last Init Start: 19700101000000Z
    Last Init End: 19700101000000Z
    Last Init Status: unavailable
    Reap Active: 0
    Replication Status: Not in Synchronization: supplier
    (5ff237d3000000010000) consumer (Unavailable) State (green) Reason
    (error (0) replica acquired successfully: incremental update succeeded)
    Replication Lag Time: Unavailable

The last two entries seem to indicate some problem?

In the logs on the consumer, I see the following entries that I think
might be (?) related to replication:
  conn=29 fd=64 slot=64 SSL connection from MASTER.IP to MY.IP
  conn=29 op=-1 fd=64 closed - unknown error

If I increase the logging level, I get:
    DEBUG - connection_read_operation - connection 77 waited 1 times for
      read to be ready
    DEBUG - connection_read_operation - PR_Recv for connection 77
      returns -12109 (unknown error)
    DEBUG - disconnect_server_nomutex_ext - Setting conn 77 fd=64 to
      be disconnected: reason -12109

Also, when I restart my consumer for the very first time after setting
up the replication agreement, ns-slapd reliably hangs using 100% CPU.
Strace shows endless:

  select(0, NULL, NULL, NULL, {tv_sec=0, tv_usec=0}) = 0 (Timeout)
  poll([{fd=22, events=POLLIN}], 1, 0)    = 0 (Timeout)

where fd/22 = a pipe.
If I kill -9 it, it starts working.
I'm not sure if this has any relation.

TIA for any insight into all this.
_______________________________________________
389-users mailing list -- 389-users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to 389-users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/389-users@xxxxxxxxxxxxxxxxxxxxxxx


--
--

389 Directory Server Development Team
_______________________________________________
389-users mailing list -- 389-users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to 389-users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/389-users@xxxxxxxxxxxxxxxxxxxxxxx

[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux