Page 3 of 3 FirstFirst 123
Results 21 to 30 of 30

Thread: Updated live sync script

  1. #21
    umarzuki is offline Loyal Member
    Join Date
    Oct 2009
    Location
    Malaysia
    Posts
    96
    Rep Power
    5

    Default

    How about deleting .ssh folder on both sides and re run that ssh key steps?

    Sent from my Lenovo S920_ROW using Tapatalk

  2. #22
    picalo is offline Junior Member
    Join Date
    Dec 2013
    Posts
    5
    Rep Power
    1

    Default

    Quote Originally Posted by twokeys View Post
    This is super strange, really. But I feel like it's an Ubuntu thing for some reason. Anyways let's figure this out. Try this

    You're on a development environment so you don't need to worry so much about security (I would assume..) so you don't need to worry too much about restricting the SSH session to that one "/opt/zimbra/live_sync/sync_commands" command.

    On the primary server, do a cat /opt/zimbra/.ssh/live_sync.pub copy the contents, and paste it into authorized_keys on secondary server.

    Now to test it, from the primary server as Zimbra, run ssh -i /opt/zimbra/.ssh/live_sync zimbra@ip_of_standby

    If that doesn't work, I honestly have no more ideas because this is just standard SSH keys that you're having problems with.
    Okay, this is what I will to as soon as I have gotten stuck again (restarting from scratch). I just feel like I am screwing something up, the process is clearly laid out and no one else seems to be having this issue. I will report back today with an update...again thank you very much for that assistance.

  3. #23
    picalo is offline Junior Member
    Join Date
    Dec 2013
    Posts
    5
    Rep Power
    1

    Default

    Quote Originally Posted by umarzuki View Post
    How about deleting .ssh folder on both sides and re run that ssh key steps?

    Sent from my Lenovo S920_ROW using Tapatalk
    This is something I will try as soon as I get stuck at that spot again (re-doing the entire set up). These are all great Ideas one of them has to fix this bugger.

  4. #24
    umarzuki is offline Loyal Member
    Join Date
    Oct 2009
    Location
    Malaysia
    Posts
    96
    Rep Power
    5

    Default

    Have anyone experienced redologs replaying more than one hour after more than 3 days outage on backup server?

    Sent from my Lenovo S920_ROW using Tapatalk

  5. #25
    simonb is offline Trained Alumni
    Join Date
    Sep 2005
    Posts
    48
    Rep Power
    9

    Default

    Three days of redo logs will take a long time to play back on a busy server. Over one hour is not surprising. Try tailing /opt/zimbra/mailbox.log to see if the replay is actually happening.

  6. #26
    umarzuki is offline Loyal Member
    Join Date
    Oct 2009
    Location
    Malaysia
    Posts
    96
    Rep Power
    5

    Default

    I found a few ERROR "unable to execute redop" zimbra/log/mailbox.log

    When I diverted zmplayredo to a file instead of /dev/null on live_sync script, I found that zmplayredo stated mailboxd is not running but it complained it is running when I started mailboxd with zmmailboxdctl start

  7. #27
    simonb is offline Trained Alumni
    Join Date
    Sep 2005
    Posts
    48
    Rep Power
    9

    Default

    Hmmm. Maybe there are processes running with an older PID to that recorded in the PID files. This happens to me sometimes with LDAP which fails to start because a previous LDAP process that Zimbra doesn't know about is already binding to the address/port. Issue a zmcontrol stop and then ps aux looking for any zimbra processes still running, especially java processes such as the one running mailboxd. If necessary zap the dangling Zimbra processes that shouldn't be there after a zmcontrol stop.

  8. #28
    umarzuki is offline Loyal Member
    Join Date
    Oct 2009
    Location
    Malaysia
    Posts
    96
    Rep Power
    5

    Default

    I also had tried

    1- zmcontrol stop

    2- made sure all zimbra related services stopped

    3- removed zmmailboxd_manager.pid

    4- zmsshkeygen & zmupdateauthkeys on all servers

    but I'm still having mailboxd not running from zmplayredo

    any more idea?

    this is before my last resort to resync from live server which about 2 TB data (zimbra dir & HSM)

  9. #29
    SevenQri is offline Junior Member
    Join Date
    May 2013
    Posts
    5
    Rep Power
    2

    Default

    hi guys

    i have been implemented this great Live_sync for several years ...
    last month when i move to another room the zimbra server along with live_sync server i just realized that there was a problem ...
    the live_sync could not be started ... error timestamp check failed
    after googling i found the certificate was expired so i create new 10 years certificate
    then got an error again ... invalid credential
    googling again i found ldap password was no match so i matched it to live server

    then i can start live_sync again ...
    but ...
    this morning i found no live_sync.log

    then i tried to started live_sync again and found this log

    [zimbra@mail live_sync]$ tail -f log/live_sync.log
    ***************************************
    Mon Aug 4 09:05:25 WIT 2014 :Starting live_syncd
    Mon Aug 4 09:05:25 WIT 2014 :Incremental backups enabled : false
    Mon Aug 4 09:05:25 WIT 2014 :Convertd enabled : false
    Mon Aug 4 09:05:25 WIT 2014 :Starting ldap live sync process
    Mon Aug 4 09:05:25 WIT 2014 :Starting redo log live sync process
    Mon Aug 4 09:05:25 WIT 2014 :Mon Aug 4 09:05:25 WIT 2014 :Ending redo log live sync process
    Ending ldap live sync process


    and after a few minutes the log file disappear

    any clue ?

    thanks

  10. #30
    SevenQri is offline Junior Member
    Join Date
    May 2013
    Posts
    5
    Rep Power
    2

    Default

    Solved with delete all folder in /opt/zimbra/live_sync


    thanks

Page 3 of 3 FirstFirst 123

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Server Live sync
    By voxuantupc in forum Administrators
    Replies: 0
    Last Post: 02-29-2012, 01:32 AM
  2. Server Live Sync
    By mclain in forum Administrators
    Replies: 5
    Last Post: 01-23-2012, 11:12 AM
  3. How do you tell if antispam's being updated?
    By Baylink in forum Administrators
    Replies: 8
    Last Post: 04-09-2010, 05:30 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •