error deleting old nbackup via ssl vsftpd

Questions about Cobian Reflector
Post Reply
przemsi
Posts: 5
Joined: 14 Oct 2021, 11:31

error deleting old nbackup via ssl vsftpd

Post by przemsi »

cobian reflector 1.14
i can make backup via vsftpd, but after then cobian is trying to delete the oldest backup on the list.
logs vsftp:
when copy backup negotiation TLS ok

Code: Select all

Oct  4 11:44:49 xeon vsftpd[2818]: FTP response: Client "192.168.22.2", "220 Welcome to xeon FTP service."
Oct  4 11:44:49 xeon vsftpd[2818]: FTP command: Client "192.168.22.2", "AUTH TLS"
Oct  4 11:44:49 xeon vsftpd[2818]: FTP response: Client "192.168.22.2", "530 Please login with USER and PASS."
Oct  4 11:44:49 xeon vsftpd[2818]: FTP command: Client "192.168.22.2", "AUTH SSL"
Oct  4 11:44:49 xeon vsftpd[2818]: FTP response: Client "192.168.22.2", "234 Proceed with negotiation."
Oct  4 11:44:49 xeon vsftpd[2818]: DEBUG: Client "192.168.22.2", "SSL version: TLSv1.0, SSL cipher: ECDHE-RSA-AES128-SHA, not reused, no cert"
Oct  4 11:44:49 xeon vsftpd[2818]: FTP command: Client "192.168.22.2", "PBSZ 0"
Oct  4 11:44:49 xeon vsftpd[2818]: FTP response: Client "192.168.22.2", "200 PBSZ set to 0."
Oct  4 11:44:49 xeon vsftpd[2818]: FTP command: Client "192.168.22.2", "PROT P"
Oct  4 11:44:49 xeon vsftpd[2818]: FTP response: Client "192.168.22.2", "200 PROT now Private."
Oct  4 11:44:49 xeon vsftpd[2818]: FTP command: Client "192.168.22.2", "USER john"
Oct  4 11:44:49 xeon vsftpd[2818]: [przemsi] FTP response: Client "192.168.22.2", "331 Please specify the password."
Oct  4 11:44:49 xeon vsftpd[2818]: [przemsi] FTP command: Client "192.168.22.2", "PASS <password>"
Oct  4 11:44:49 xeon vsftpd[2817]: [przemsi] OK LOGIN: Client "192.168.22.2"
Oct  4 11:44:49 xeon vsftpd[2822]: [przemsi] FTP response: Client "192.168.22.2", "230 Login successful."
delete the oldest backup:

Code: Select all

Oct  4 11:44:54 xeon vsftpd[2824]: CONNECT: Client "192.168.22.2"
Oct  4 11:44:54 xeon vsftpd[2824]: FTP response: Client "192.168.22.2", "220 Welcome to xeon FTP service."
Oct  4 11:44:54 xeon vsftpd[2824]: FTP command: Client "192.168.22.2", "USER john"
Oct  4 11:44:54 xeon vsftpd[2824]: FTP response: Client "192.168.22.2", "530 Please login with USER and PASS."
Oct  4 11:44:54 xeon vsftpd[2824]: FTP command: Client "192.168.22.2", "QUIT"
Oct  4 11:44:54 xeon vsftpd[2824]: FTP response: Client "192.168.22.2", "221 Goodbye."
deleting files using ftp via unencrypted channel ?
User avatar
cobian
Site Admin
Posts: 4492
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: error deleting old nbackup via ssl vsftpd

Post by cobian »

Hmm...When you did that backup, was the channel unencrypted? Or some other password? The task stores the connection's settings from that moment of time. If something has changes then we sometimes see this problem.
--
Luis Cobian
Cobian Backup's creator
przemsi
Posts: 5
Joined: 14 Oct 2021, 11:31

Re: error deleting old nbackup via ssl vsftpd

Post by przemsi »

thx for reply
When you did that backup, was the channel unencrypted?
it is possible

so .. i will wait, and this issue will disappeare ??

or maybe clear backup list ? or duplicate task ?
przemsi
Posts: 5
Joined: 14 Oct 2021, 11:31

Re: error deleting old nbackup via ssl vsftpd

Post by przemsi »

i create new task , and still there is an issue
cobian copy file via ftp tls
but when try to delete file there is an error
my ftp log

Code: Select all

Oct 11 14:11:48 xeon vsftpd[3517]: CONNECT: Client "192.168.1.50"
Oct 11 14:11:48 xeon vsftpd[3517]: FTP response: Client "192.168.1.50", "220 Welcome to xeon FTP service."
Oct 11 14:11:48 xeon vsftpd[3517]: FTP command: Client "192.168.1.50", "AUTH TLS"
Oct 11 14:11:48 xeon vsftpd[3517]: FTP response: Client "192.168.1.50", "234 Proceed with negotiation."
Oct 11 14:11:48 xeon vsftpd[3517]: DEBUG: Client "192.168.1.50", "SSL version: TLSv1.0, SSL cipher: ECDHE-RSA-AES128-SHA, not reused, no cert"
Oct 11 14:11:48 xeon vsftpd[3517]: FTP command: Client "192.168.1.50", "PBSZ 0"
Oct 11 14:11:48 xeon vsftpd[3517]: FTP response: Client "192.168.1.50", "200 PBSZ set to 0."
Oct 11 14:11:48 xeon vsftpd[3517]: FTP command: Client "192.168.1.50", "PROT P"
Oct 11 14:11:48 xeon vsftpd[3517]: FTP response: Client "192.168.1.50", "200 PROT now Private."
Oct 11 14:11:48 xeon vsftpd[3517]: FTP command: Client "192.168.1.50", "USER john"
Oct 11 14:11:48 xeon vsftpd[3517]: [john] FTP response: Client "192.168.1.50", "331 Please specify the password."
Oct 11 14:11:48 xeon vsftpd[3517]: [john] FTP command: Client "192.168.1.50", "PASS <password>"
Oct 11 14:11:48 xeon vsftpd[3516]: [john] OK LOGIN: Client "192.168.1.50"
Oct 11 14:11:48 xeon vsftpd[3521]: [john] FTP response: Client "192.168.1.50", "230 Login successful."
Oct 11 14:11:48 xeon vsftpd[3521]: [john] FTP command: Client "192.168.1.50", "CWD /test"
Oct 11 14:11:48 xeon vsftpd[3521]: [john] FTP response: Client "192.168.1.50", "250 Directory successfully changed."
Oct 11 14:11:48 xeon vsftpd[3521]: [john] FTP command: Client "192.168.1.50", "PWD"
Oct 11 14:11:48 xeon vsftpd[3521]: [john] FTP response: Client "192.168.1.50", "257 "/test" is the current directory"
Oct 11 14:11:48 xeon vsftpd[3521]: [john] FTP command: Client "192.168.1.50", "TYPE I"
Oct 11 14:11:48 xeon vsftpd[3521]: [john] FTP response: Client "192.168.1.50", "200 Switching to Binary mode."
Oct 11 14:11:48 xeon vsftpd[3521]: [john] FTP command: Client "192.168.1.50", "PASV"
Oct 11 14:11:48 xeon vsftpd[3521]: [john] FTP response: Client "192.168.1.50", "227 Entering Passive Mode (192,168,1,8,193,91)."
Oct 11 14:11:48 xeon vsftpd[3521]: [john] FTP command: Client "192.168.1.50", "STOR crSetup-1.1.4 2022-10-11 14;11;49.exe"
Oct 11 14:11:48 xeon vsftpd[3521]: [john] FTP response: Client "192.168.1.50", "150 Ok to send data."
Oct 11 14:11:48 xeon vsftpd[3517]: [john] DEBUG: Client "192.168.1.50", "SSL version: TLSv1.0, SSL cipher: ECDHE-RSA-AES128-SHA, reused, no cert"
Oct 11 14:11:50 xeon vsftpd[3517]: [john] DEBUG: Client "192.168.1.50", "DATA connection terminated without SSL shutdown. Buggy client! Integrity of upload cannot be asserted."
Oct 11 14:11:50 xeon vsftpd[3517]: [john] DEBUG: Client "192.168.1.50", "SSL shutdown state is: NONE"
Oct 11 14:11:50 xeon vsftpd[3517]: [john] DEBUG: Client "192.168.1.50", "SSL shutdown state is: SSL_SENT_SHUTDOWN"
Oct 11 14:11:50 xeon vsftpd[3517]: [john] DEBUG: Client "192.168.1.50", "SSL shutdown state is: SSL_SENT_SHUTDOWN"
Oct 11 14:11:50 xeon vsftpd[3517]: [john] DEBUG: Client "192.168.1.50", "SSL shutdown state is: SSL_SENT_SHUTDOWN"
Oct 11 14:11:50 xeon vsftpd[3517]: [john] DEBUG: Client "192.168.1.50", "SSL ret: 18446744073709551615, SSL error: error:00000000:lib(0):func(0):reason(0), errno: 0"
Oct 11 14:11:50 xeon vsftpd[3521]: [john] OK UPLOAD: Client "192.168.1.50", "/test/crSetup-1.1.4 2022-10-11 14;11;49.exe", 52396368 bytes, 27429.97Kbyte/sec
Oct 11 14:11:50 xeon vsftpd[3521]: [john] FTP response: Client "192.168.1.50", "226 Transfer complete."
Oct 11 14:11:50 xeon vsftpd[3521]: [john] FTP command: Client "192.168.1.50", "MFMT 20221011115158 crSetup-1.1.4 2022-10-11 14;11;49.exe"
Oct 11 14:11:50 xeon vsftpd[3521]: [john] FTP response: Client "192.168.1.50", "500 Unknown command."
Oct 11 14:11:50 xeon vsftpd[3521]: [john] FTP command: Client "192.168.1.50", "MDTM 20221011115158 crSetup-1.1.4 2022-10-11 14;11;49.exe"
Oct 11 14:11:50 xeon vsftpd[3521]: [john] FTP response: Client "192.168.1.50", "213 File modification time set."
Oct 11 14:11:50 xeon vsftpd[3521]: [john] FTP command: Client "192.168.1.50", "QUIT"
Oct 11 14:11:50 xeon vsftpd[3521]: [john] FTP response: Client "192.168.1.50", "221 Goodbye."
Oct 11 14:11:50 xeon vsftpd[3523]: CONNECT: Client "192.168.1.50"
Oct 11 14:11:50 xeon vsftpd[3523]: FTP response: Client "192.168.1.50", "220 Welcome to xeon FTP service."
Oct 11 14:11:50 xeon vsftpd[3523]: FTP command: Client "192.168.1.50", "USER john"
Oct 11 14:11:50 xeon vsftpd[3523]: [john] FTP response: Client "192.168.1.50", "530 Non-anonymous sessions must use encryption."


i removed task from list an check option delete backup
my ftp log

Code: Select all

Oct 11 14:12:25 xeon vsftpd[3529]: CONNECT: Client "192.168.1.50"
Oct 11 14:12:25 xeon vsftpd[3529]: FTP response: Client "192.168.1.50", "220 Welcome to xeon FTP service."
Oct 11 14:12:25 xeon vsftpd[3529]: FTP command: Client "192.168.1.50", "USER john"
Oct 11 14:12:25 xeon vsftpd[3529]: [john] FTP response: Client "192.168.1.50", "530 Non-anonymous sessions must use encryption."
Oct 11 14:12:25 xeon vsftpd[3531]: CONNECT: Client "192.168.1.50"
Oct 11 14:12:25 xeon vsftpd[3531]: FTP response: Client "192.168.1.50", "220 Welcome to xeon FTP service."
Oct 11 14:12:25 xeon vsftpd[3531]: FTP command: Client "192.168.1.50", "USER john"
Oct 11 14:12:25 xeon vsftpd[3531]: [john] FTP response: Client "192.168.1.50", "530 Non-anonymous sessions must use encryption."
User avatar
cobian
Site Admin
Posts: 4492
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: error deleting old nbackup via ssl vsftpd

Post by cobian »

It seems to me that the connection settings are different: the ones that are stored from older backups are not up to date. If you try to delete manually some of the new ones, does it work then?
--
Luis Cobian
Cobian Backup's creator
User avatar
cobian
Site Admin
Posts: 4492
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: error deleting old nbackup via ssl vsftpd

Post by cobian »

Should be fixed in 1.1.5
--
Luis Cobian
Cobian Backup's creator
przemsi
Posts: 5
Joined: 14 Oct 2021, 11:31

Re: error deleting old nbackup via ssl vsftpd

Post by przemsi »

If you try to delete manually some of the new ones, does it work then?
no, i delete all backups from ftp, clear list with baskup in cobian, then make test ftp - create test file - ok .
then i set up two full copies , and manually start task couple times, cobian can't delete file
i will test 1.1.5
User avatar
cobian
Site Admin
Posts: 4492
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: error deleting old nbackup via ssl vsftpd

Post by cobian »

:OK
--
Luis Cobian
Cobian Backup's creator
przemsi
Posts: 5
Joined: 14 Oct 2021, 11:31

Re: error deleting old nbackup via ssl vsftpd

Post by przemsi »

:OK every things work fine, even backups to QNAP via ftp ssl, good job. :APP
User avatar
cobian
Site Admin
Posts: 4492
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: error deleting old nbackup via ssl vsftpd

Post by cobian »

:OK
--
Luis Cobian
Cobian Backup's creator
Post Reply