#1 2017-10-05 08:56:21

Thunderbyte
Member
Registered: 2017-10-05
Posts: 6

SMTP E-Mail Failed Timeout

Hello XSIBackup Team

First a big thanks to your software! I use it very succesfully on multiple servers to backup data.
Recently I ran into the following issues, see the log:

Clone: 96% done.
Clone: 97% done.
Clone: 98% done.
Clone: 99% done.
Clone: 100% done.
Opening port 587 for SMTPout service...
220 mail.XXX.ch Microsoft ESMTP MAIL Service ready at Fri, 29 Sep 2017 01:21:37 +0200
250 mail.XXX.ch Hello [12.123.12.123]

###########################################################

WARNING

XSIBackup was launched from the cron file without user input
But another XSIBackup process is still running. Only one
XSIBackup process is allowed at a time.
This execution request will be ignored.

###########################################################


The Problem occurs on multiple servers with different mailservers.
From what I get, XSIBackup opens the connection to the mailserver and then somehow gets stuck.
What I usualy do is delete the .pid file and backup works again the following day (including mail).

My suggestion:
The function that sends the mail should have some sort of a "timeout" that if it failed to send the mail after 60 seconds, it should skip and continue so it does not block the backup on next day to run again

I hope you understand what I mean. English is not my main language

Thanks again for this great piece of free software

Chris

Offline

#2 2017-10-07 05:59:01

admin
Administrator
Registered: 2017-04-21
Posts: 1,386

Re: SMTP E-Mail Failed Timeout

You have mixed two things here:

1 - Only one process is allowed at a time. "This execution request will be ignored." means, I will stop here.
2 - XSIBackup will probe the port before sending the e-mail. I'm afraid you'll need to debug your SMTP session. The server is responding, but by some reason it might stop waiting for some command.

Offline

#3 2017-10-18 11:42:45

Thunderbyte
Member
Registered: 2017-10-05
Posts: 6

Re: SMTP E-Mail Failed Timeout

Not realy. Maybe I fail to elaborate the error..

The issue I try to report: XSIBackup waits indefinitely during SMTP session. It does not kill the session after an certain time and thus the active backup job keeps running indefinitely.

The Warning "Only one XSIBackup process is allowed at a time" will happen the next day, because the previous backup job got indefinitely stuck during the SMTP session

Last edited by Thunderbyte (2017-10-18 11:43:19)

Offline

#4 2017-10-18 12:44:34

admin
Administrator
Registered: 2017-04-21
Posts: 1,386

Re: SMTP E-Mail Failed Timeout

We have checked XSIBackup with a number of e-mail servers, Microsoft's is among them.
You have two choices:

1 - Use GMail, Hotmail, Yahoo, etc...
2 - Debug your SMTP session to find out which is the exact cause.

Offline

Board footer