Messaging Gateway

 View Only
  • 1.  Messaging Gateway Backups Failing

    Posted May 12, 2017 08:37 AM

    Greetings,

    I am attempting to back up my SMTP gateway to either an FTP or SFTP server. I have used this same FTP server software (freeftpd) on a different server without issue. When I attempt to do a manual backup or the system tries to do a schedule backup, the following messages show up in the logs on the SMTP Gateway;

    May 12 2017 08:09:30 [Thread-4080] [ScriptHelper] ERROR - Cannot backup the database.
    May 12 2017 08:09:30 [Thread-4080] [ScriptHelper] ERROR - FTP:Can't transmit the file: Opening BINARY mode data connection for //db-backup.10.6.2-7.brightmail.May-12-17-08-07.full.manual.tar.bz2ERROR: Unable to send to the specified URL.
    May 12 2017 08:10:11 [Thread-4085] [ScriptHelper] ERROR - Cannot backup the database.
    May 12 2017 08:10:11 [Thread-4085] [ScriptHelper] ERROR - Failed to transmit the file: Error: last line returned was: lost connectionERROR: Unable to send to the specified URL.

    This server works with several other applications to back up their data via SFTP. I have tried clearing the known hosts on the SMTP gateway with no luck. Does anyone have any ideas on how to get this working again?

     

    Thanks

     



  • 2.  RE: Messaging Gateway Backups Failing

    Broadcom Employee
    Posted May 16, 2017 01:00 PM

    You may need to perform a packet capture to determine exactly what the issue is. Often this is caused by the FTP server not supporting the STOR command, which is how we upload the data to the FTP server.

    Did the 0-byte file at least get created?



  • 3.  RE: Messaging Gateway Backups Failing

    Posted May 16, 2017 01:15 PM

    The 0-byte file does great created and then the wheels fall off. I ended up downgrading the FTP server to the previous version and that fixed the issue. Not sure what they changed in the newer version that stopped it from working.



  • 4.  RE: Messaging Gateway Backups Failing

    Broadcom Employee
    Posted May 16, 2017 01:27 PM

    There may have been greater granularity in what accounts are allowed to execute, or may be a bug. More analysis would be needed to determine exactly what happened, but your FTP server software vendor might have an idea.