1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Cluster Rsync Error

Discussion in 'Mail Gateway: HA Cluster' started by Janko, Feb 3, 2018.

  1. Janko

    Janko New Member

    Joined:
    May 15, 2011
    Messages:
    13
    Likes Received:
    0
    Hello All,

    i have some Issues with my new Cluster Setup.....:
    Code:
    Feb 03 08:18:06 mailgate01.example.com pmgmirror[897]: starting cluster syncronization
    Feb 03 08:18:06 mailgate01.example.com pmgmirror[897]: database sync 'mailgate02' failed - DBI connect('dbname=Proxmox_ruledb;host=/var/run/pmgtunnel;port=2;','root',...) failed: could not connect to server: No such file or directory
    Is the server running locally and accepting
    connections on Unix domain socket "/var/run/pmgtunnel/.s.PGSQL.2"? at /usr/share/perl5/PMG/DBTools.pm line 59.
    Feb 03 08:18:06 mailgate01.example.com pmgmirror[897]: cluster syncronization finished (1 errors, 0.01 seconds (files 0.00, database 0.01, config 0.00))
    Feb 03 08:18:21 mailgate01.example.com pmgtunnel[850]: restarting crashed tunnel 1452 88.99.32.213
    Feb 03 08:18:21 mailgate01.example.com pmgtunnel[850]: tunnel finished 1452 88.99.32.213

    can anybody give me an advice

    - gerne auch auf Deutsch :)
     
  2. dietmar

    dietmar Proxmox Staff Member
    Staff Member

    Joined:
    Apr 28, 2005
    Messages:
    15,632
    Likes Received:
    193
    Please make sure you can connect to the other host via ssh without password (in both direction). If that works, make sure pmgtunnel service is running and stable (no crashed tunnel messages).
     
  3. tom

    tom Proxmox Staff Member
    Staff Member

    Joined:
    Aug 29, 2006
    Messages:
    12,418
    Likes Received:
    245
    And make sure that you run latest packages, compare your list with this one:

    Code:
    # pmgversion -v
    
    proxmox-mailgateway: 5.0-7 (API: 5.0-61/71d9a758, running kernel: 4.13.13-5-pve)
    pmg-api: 5.0-61
    pmg-gui: 1.0-31
    proxmox-spamassassin: 3.4.1-54
    proxmox-widget-toolkit: 1.0-10
    pve-kernel-4.13.13-5-pve: 4.13.13-38
    libpve-http-server-perl: 2.0-8
    lvm2: 2.02.168-2
    pve-firmware: 2.0-3
    libpve-common-perl: 5.0-27
    pmg-docs: 5.0-13
    pve-xtermjs: 1.0-2
    libarchive-perl: 3.2.1-1
    libxdgmime-perl: 0.01-3
    zfsutils-linux: 0.7.3-pve1~bpo9
    libpve-apiclient-perl: 2.0-2
    
     
  4. Janko

    Janko New Member

    Joined:
    May 15, 2011
    Messages:
    13
    Likes Received:
    0
    Hello Tom,
    Thanks for the answer.

    I found the solution myself.
    I changed the SSH port.
     

Share This Page