Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: Zimbra Live Sync

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

    Default

    what I did was, stop zimbra processes (that script starts a few zimbra processes)

    then check also with "ps -ef | grep zimbra"

    kill them

    before you resync again, delete /opt/zimbra/log/zmplayredo.pid, live sync lock & pid inside live_sync folder

  2. #12
    hong6110 is offline Starter Member
    Join Date
    Sep 2013
    Posts
    3
    Rep Power
    1

    Default

    I still confuse.
    After the live server is down: Then i run below commands in backup server

    [zimbra@mail2 ~]$ /opt/zimbra/live_sync/live_syncd stop
    ssh: connect to host 10.240.110.48 port 22: No route to host
    Unable to run commands on remote server

    then i run ps -ef |grep zimbra

    [zimbra@mail2 ~]$ ps -ef |grep zimbra
    root 21516 21494 0 16:40 pts/0 00:00:00 su - zimbra
    zimbra 21517 21516 0 16:40 pts/0 00:00:00 -bash
    zimbra 21706 64586 0 16:41 ? 00:00:00 sleep 60
    zimbra 21707 21517 0 16:41 pts/0 00:00:00 ps -ef
    zimbra 21708 21517 0 16:41 pts/0 00:00:00 grep zimbra
    zimbra 64586 1 0 03:09 ? 00:00:28 /bin/bash /opt/zimbra/bin/zmconfigdctl start
    zimbra 64881 1 0 03:09 ? 00:00:00 /usr/bin/perl /opt/zimbra/libexec/swatch --config-file=/opt/zimbra/conf/swatchrc --use-cpan-file-tail --script-dir=/opt/zimbra/data/tmp -t /var/log/zimbra.log
    zimbra 64889 64881 0 03:09 ? 00:00:29 /usr/bin/perl /opt/zimbra/data/tmp/.swatch_script.64881

    kill the 64586, 64881 and 64889 then i start zimbra.

    I doubt the redolog is not replay in the backup server and cause email loss, is it correct? and I think my steps are wrong.

  3. #13
    hong6110 is offline Starter Member
    Join Date
    Sep 2013
    Posts
    3
    Rep Power
    1

    Default

    Quote Originally Posted by umarzuki View Post
    what I did was, stop zimbra processes (that script starts a few zimbra processes)

    then check also with "ps -ef | grep zimbra"

    kill them

    before you resync again, delete /opt/zimbra/log/zmplayredo.pid, live sync lock & pid inside live_sync folder
    I tried your method by the step as below

    1) live server- Force shutdown.

    2) backup server-
    [zimbra@mail2 ~]$ /opt/zimbra/live_sync/live_syncd stop
    ssh: connect to host 10.240.110.48 port 22: No route to host
    Unable to run commands on remote server

    [zimbra@mail2 ~]$ ps -ef | grep zimbra
    zimbra 37243 40600 0 13:40 pts/0 00:00:00 sleep 10
    zimbra 37269 40601 0 13:40 pts/0 00:00:00 sleep 10
    zimbra 37270 38971 0 13:40 pts/0 00:00:00 ps -ef
    zimbra 37271 38971 0 13:40 pts/0 00:00:00 grep zimbra
    root 38970 21494 0 11:43 pts/0 00:00:00 su - zimbra
    zimbra 38971 38970 0 11:43 pts/0 00:00:00 -bash
    zimbra 40600 1 0 11:45 pts/0 00:00:00 /bin/bash /opt/zimbra/live_sync/live_syncd start
    zimbra 40601 1 0 11:45 pts/0 00:00:00 /bin/bash /opt/zimbra/live_sync/live_syncd start
    zimbra 40923 40600 0 11:45 pts/0 00:00:00 ssh -i /opt/zimbra/.ssh/live_sync -o StrictHostKeyChecking=no -o CheckHostIP=no -o PreferredAuthentications=hostbased,publickey 10.240.110.48 /opt/zimbra/live_sync/sync_commands
    [zimbra@mail2 ~]$ kill -9 40923
    [zimbra@mail2 ~]$ kill -9 40600
    [zimbra@mail2 ~]$ kill -9 40601
    [zimbra@mail2 ~]$ /opt/zimbra/live_sync/live_syncd stop
    ssh: connect to host 10.240.110.48 port 22: No route to host
    Unable to run commands on remote server
    [zimbra@mail2 ~]$

    but after i kill the process, the live_sync stop still can't execute successful. And seems the last redolog still not replay.

Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Updated live sync script
    By simonb in forum Administrators
    Replies: 29
    Last Post: 08-04-2014, 04:43 AM
  2. Server Live sync
    By voxuantupc in forum Administrators
    Replies: 0
    Last Post: 02-29-2012, 01:32 AM
  3. Server Live Sync
    By mclain in forum Administrators
    Replies: 5
    Last Post: 01-23-2012, 11:12 AM
  4. Zimbra 'Live Workspace'
    By jonallport in forum Developers
    Replies: 0
    Last Post: 09-22-2009, 06:07 AM
  5. Replies: 4
    Last Post: 07-24-2007, 07:26 AM

Posting Permissions

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