AW: AW: AW: AW: AW: sendbackup: critical (fatal): error [no backup size line]
Hi Jean-Louis, thanks. That fixed at least the warnings with amcheck -c someconfig. Greetings Tobias -Ursprüngliche Nachricht- Von: Jean-Louis Martineau [mailto:jmartin...@carbonite.com] Gesendet: Mittwoch, 20. April 2016 19:34 An: Tobias Köck Cc: amanda-users@amanda.org Betreff: Re: AW: AW: AW: AW: sendbackup: critical (fatal): error [no backup size line] Tobias, This patch should make amsamba ignore the WARNING line from smbclient. Jean-Louis On 20/04/16 01:26 PM, Tobias Köck wrote: > Hi Jean-Louis, > > my smb.conf already has the entry syslog = 0 so I don't know where that came > from. > > Still the amsamba application exits with 1 > > localhost: Application 'amsamba': exited with status 1 > > Shouldn't it be something else? It still is 'just' a warning? > > Anyway, thanks for your help. I'll check out if it runs through. :) > > Greetings and thanks > Tobias > > -Ursprüngliche Nachricht- > Von: Jean-Louis Martineau [mailto:jmartin...@carbonite.com] > Gesendet: Mittwoch, 20. April 2016 19:06 > An: Tobias Köck > Cc: AMANDA users > Betreff: Re: AW: AW: AW: sendbackup: critical (fatal): error [no > backup size line] > > Tobias, > > Amanda do not use the "syslog" option, check your samba configuration > (smb.conf, ...) This is a WARNING, you can try a backup. > > Jean-Louis > > On 20/04/16 12:55 PM, Tobias Köck wrote: >> Hi Jean-Louis, >> >> I have applied your patch. Unfortunatelly that didn't work either. I have >> attached one log and the amcheck -c someconfig output. >> >> ---amcheck--- >> - >> -- >> backup@chronos:~$ amcheck -c someconfig >> >> Amanda Backup Client Hosts Check >> >> ... >> ERROR: localhost: smbclient: WARNING: The "syslog" option is >> deprecated >> ERROR: localhost: Application 'amsamba': exited with status 1 >> ERROR: localhost: smbclient: WARNING: The "syslog" option is >> deprecated >> ERROR: localhost: Application 'amsamba': exited with status 1 >> ERROR: localhost: smbclient: WARNING: The "syslog" option is >> deprecated >> ERROR: localhost: Application 'amsamba': exited with status 1 >> ERROR: localhost: smbclient: WARNING: The "syslog" option is >> deprecated >> ERROR: localhost: Application 'amsamba': exited with status 1 >> ERROR: localhost: smbclient: WARNING: The "syslog" option is >> deprecated >> ERROR: localhost: Application 'amsamba': exited with status 1 >> ERROR: localhost: smbclient: WARNING: The "syslog" option is >> deprecated >> ERROR: localhost: Application 'amsamba': exited with status 1 >> ERROR: localhost: smbclient: WARNING: The "syslog" option is >> deprecated >> ERROR: localhost: Application 'amsamba': exited with status 1 Client >> check: 55 hosts checked in 9.979 seconds. 15 problems found. >> >> ---log--- >> - >> - >> backup@chronos:/var/log/amanda/client/something$ less >> Amsamba.20160420155143004.debug Wed Apr 20 15:51:43 2016: >> thd-0x1078200: Amsamba: pid 10415 ruid 34 euid 34 version 3.3.8: >> start at Wed Apr 20 15:51:43 2016 Wed Apr 20 15:51:43 2016: thd-0x1078200: >> Amsamba: Arguments: selfcheck Wed Apr 20 15:51:43 2016: thd-0x1078200: >> Amsamba: pid 10415 ruid 34 euid 34 version 3.3.8: rename at Wed Apr >> 20 >> 15:51:43 2016 Wed Apr 20 15:51:43 2016: thd-0x1078200: Amsamba: >> application: Amsamba >> >> Wed Apr 20 15:51:43 2016: thd-0x1078200: Amsamba: warning: Use of >> uninitialized value $regex_match in pattern match (m//) at >> /usr/lib/amanda/application/amsamba line 91. >> >> Wed Apr 20 15:51:43 2016: thd-0x1078200: Amsamba: Arguments: >> selfcheck --message line --config someconfig --host localhost --disk >> //monster.someurl.de/austausch --device >> //monster.someurl.de/austausch --index line --record --amandapass >> /etc/amandapass Wed Apr 20 15:51:43 >> 2016: thd-0x1078200: Amsamba: command: selfcheck Wed Apr 20 15:51:43 >> 2016: thd-0x1078200: Amsamba: disk //monster.someurl.de/austausch Wed >> Apr 20 15:51:43 2016: thd-0x1078200: Amsamba: amsamba version 3.3.8 >> Wed Apr 20 15:51:43 2016: thd-0x1078200: Amsamba: amsamba >> smbclient-version 4.3.8-Debian Wed Apr 20 15:51:43 2016: >> thd-0x1078200: Amsamba: /usr/bin/smbclient Wed Apr 20 15:51:43 2016: >> thd-0x1078200: Amsamba: amandapass: /etc/amandapass Wed Apr 20 15:51:43 >> 2016: thd-0x1078200: Amsamba: password_wtr 4 Wed Apr 20 15:51:43 2016: >> thd-0x1078200: Amsamba: password_rdr 3 Wed Apr 20 15:51:43 2016: >> thd-0x1078200: Amsamba: warning: close() on unopened filehandle 1 at >> /usr/lib/amanda/application/amsamba line 427. >> >> Wed Apr 20 15:51:43 2016: thd-0x1078200: Amsamba: warning: close() on >> unopened filehandle 2 at /usr/lib/amanda/application/amsamba line 428. >> >> Wed Apr 20 15:51:43 2016: thd-0x1078200: Amsamba: execute: >> /usr/bin/smbclient /usr/bin/smbclient //mon
AW: AW: AW: AW: AW: sendbackup: critical (fatal): error [no backup size line]
Hi Jean-Louis, Now I get two other error messages - dump failed: dumper: [/bin/tar: Ignoring unknown extended header keyword 'hdrcharset'], finished (17:41:11) localhost://monster.qudosoft.de/software - dump failed: dumper: [missing size line from sendbackup], finished (17:38:08) which lets the dump fail completely. I haven't found the strings in the log files so I haven't attached the logs at the moment. Anyway, it seems that the amsamba script is still a little bit buggy. Maybe I'll revert to the previous tar configuration with an earlier smbclient version to have working backups. Is the amsamba application tested and in use after all? Greetings and thanks Tobias -Ursprüngliche Nachricht- Von: Jean-Louis Martineau [mailto:jmartin...@carbonite.com] Gesendet: Mittwoch, 20. April 2016 19:34 An: Tobias Köck Cc: amanda-users@amanda.org Betreff: Re: AW: AW: AW: AW: sendbackup: critical (fatal): error [no backup size line] Tobias, This patch should make amsamba ignore the WARNING line from smbclient. Jean-Louis On 20/04/16 01:26 PM, Tobias Köck wrote: > Hi Jean-Louis, > > my smb.conf already has the entry syslog = 0 so I don't know where that came > from. > > Still the amsamba application exits with 1 > > localhost: Application 'amsamba': exited with status 1 > > Shouldn't it be something else? It still is 'just' a warning? > > Anyway, thanks for your help. I'll check out if it runs through. :) > > Greetings and thanks > Tobias > > -Ursprüngliche Nachricht- > Von: Jean-Louis Martineau [mailto:jmartin...@carbonite.com] > Gesendet: Mittwoch, 20. April 2016 19:06 > An: Tobias Köck > Cc: AMANDA users > Betreff: Re: AW: AW: AW: sendbackup: critical (fatal): error [no > backup size line] > > Tobias, > > Amanda do not use the "syslog" option, check your samba configuration > (smb.conf, ...) This is a WARNING, you can try a backup. > > Jean-Louis > > On 20/04/16 12:55 PM, Tobias Köck wrote: >> Hi Jean-Louis, >> >> I have applied your patch. Unfortunatelly that didn't work either. I have >> attached one log and the amcheck -c someconfig output. >> >> ---amcheck--- >> - >> -- >> backup@chronos:~$ amcheck -c someconfig >> >> Amanda Backup Client Hosts Check >> >> ... >> ERROR: localhost: smbclient: WARNING: The "syslog" option is >> deprecated >> ERROR: localhost: Application 'amsamba': exited with status 1 >> ERROR: localhost: smbclient: WARNING: The "syslog" option is >> deprecated >> ERROR: localhost: Application 'amsamba': exited with status 1 >> ERROR: localhost: smbclient: WARNING: The "syslog" option is >> deprecated >> ERROR: localhost: Application 'amsamba': exited with status 1 >> ERROR: localhost: smbclient: WARNING: The "syslog" option is >> deprecated >> ERROR: localhost: Application 'amsamba': exited with status 1 >> ERROR: localhost: smbclient: WARNING: The "syslog" option is >> deprecated >> ERROR: localhost: Application 'amsamba': exited with status 1 >> ERROR: localhost: smbclient: WARNING: The "syslog" option is >> deprecated >> ERROR: localhost: Application 'amsamba': exited with status 1 >> ERROR: localhost: smbclient: WARNING: The "syslog" option is >> deprecated >> ERROR: localhost: Application 'amsamba': exited with status 1 Client >> check: 55 hosts checked in 9.979 seconds. 15 problems found. >> >> ---log--- >> - >> - >> backup@chronos:/var/log/amanda/client/something$ less >> Amsamba.20160420155143004.debug Wed Apr 20 15:51:43 2016: >> thd-0x1078200: Amsamba: pid 10415 ruid 34 euid 34 version 3.3.8: >> start at Wed Apr 20 15:51:43 2016 Wed Apr 20 15:51:43 2016: thd-0x1078200: >> Amsamba: Arguments: selfcheck Wed Apr 20 15:51:43 2016: thd-0x1078200: >> Amsamba: pid 10415 ruid 34 euid 34 version 3.3.8: rename at Wed Apr >> 20 >> 15:51:43 2016 Wed Apr 20 15:51:43 2016: thd-0x1078200: Amsamba: >> application: Amsamba >> >> Wed Apr 20 15:51:43 2016: thd-0x1078200: Amsamba: warning: Use of >> uninitialized value $regex_match in pattern match (m//) at >> /usr/lib/amanda/application/amsamba line 91. >> >> Wed Apr 20 15:51:43 2016: thd-0x1078200: Amsamba: Arguments: >> selfcheck --message line --config someconfig --host localhost --disk >> //monster.someurl.de/austausch --device >> //monster.someurl.de/austausch --index line --record --amandapass >> /etc/amandapass Wed Apr 20 15:51:43 >> 2016: thd-0x1078200: Amsamba: command: selfcheck Wed Apr 20 15:51:43 >> 2016: thd-0x1078200: Amsamba: disk //monster.someurl.de/austausch Wed >> Apr 20 15:51:43 2016: thd-0x1078200: Amsamba: amsamba version 3.3.8 >> Wed Apr 20 15:51:43 2016: thd-0x1078200: Amsamba: amsamba >> smbclient-version 4.3.8-Debian Wed Apr 20 15:51:43 2016: >> thd-0x1078200: Amsamba: /usr/bin/smbclient Wed Apr 20 15:51:43 2016: >> thd-0x1078200: Amsa
Re: AW: AW: AW: AW: AW: sendbackup: critical (fatal): error [no backup size line]
Hello Tobias, thats the same error message i get since the badlock update. And yes amsamba is working fine for me for years now. The badlock update to Version 4.2 is the main problem at the moment. Greetings
AW: AW: AW: AW: AW: AW: sendbackup: critical (fatal): error [no backup size line]
Hi Rock, thanks for your answer. I have gotten the same error message before the backlock update (still Samba 4.2). So it's probably not directly related to the badlock update but to changes in Samba 4.2. Do you know if the Samba developer are already informed about the problem? Greetings Tobias Von: Rock Strongo [mailto:sauro...@gmx.de] Gesendet: Samstag, 23. April 2016 12:07 An: Tobias Köck Cc: amanda-users@amanda.org Betreff: Re: AW: AW: AW: AW: AW: sendbackup: critical (fatal): error [no backup size line] Hello Tobias, thats the same error message i get since the badlock update. And yes amsamba is working fine for me for years now. The badlock update to Version 4.2 is the main problem at the moment. Greetings
AW: AW: AW: AW: AW: AW: sendbackup: critical (fatal): error [no backup size line]
Hi Jean-Louis, thanks. I will try it out earliest on this weekend. Productive backups are a priority right now. :) Greetings Tobias -Ursprüngliche Nachricht- Von: Jean-Louis Martineau [mailto:jmartin...@carbonite.com] Gesendet: Freitag, 22. April 2016 19:14 An: Tobias Köck Cc: amanda-users@amanda.org Betreff: Re: AW: AW: AW: AW: AW: sendbackup: critical (fatal): error [no backup size line] Hi Tobias, amsamba is tested and is working with previous samba release. The problem is with the new samba, amsamba is not test with it. I do not have setup to run amsamba so I need your help to fix it. Can you try the attached patch? it should fix the 'Ignoring unknown extended header keyword' error. Jean-Louis On 22/04/16 12:39 PM, Tobias Köck wrote: > Hi Jean-Louis, > > Now I get two other error messages > > - dump failed: dumper: [/bin/tar: Ignoring unknown extended header > keyword 'hdrcharset'], finished (17:41:11) > localhost://monster.qudosoft.de/software > > - dump failed: dumper: [missing size line from sendbackup], finished > (17:38:08) > > which lets the dump fail completely. I haven't found the strings in the log > files so I haven't attached the logs at the moment. > > Anyway, it seems that the amsamba script is still a little bit buggy. Maybe > I'll revert to the previous tar configuration with an earlier smbclient > version to have working backups. > > Is the amsamba application tested and in use after all? > > Greetings and thanks > Tobias > > -Ursprüngliche Nachricht- > Von: Jean-Louis Martineau [mailto:jmartin...@carbonite.com] > Gesendet: Mittwoch, 20. April 2016 19:34 > An: Tobias Köck > Cc: amanda-users@amanda.org > Betreff: Re: AW: AW: AW: AW: sendbackup: critical (fatal): error [no > backup size line] > > Tobias, > > This patch should make amsamba ignore the WARNING line from smbclient. > > Jean-Louis > > On 20/04/16 01:26 PM, Tobias Köck wrote: >> Hi Jean-Louis, >> >> my smb.conf already has the entry syslog = 0 so I don't know where that came >> from. >> >> Still the amsamba application exits with 1 >> >> localhost: Application 'amsamba': exited with status 1 >> >> Shouldn't it be something else? It still is 'just' a warning? >> >> Anyway, thanks for your help. I'll check out if it runs through. :) >> >> Greetings and thanks >> Tobias >> >> -Ursprüngliche Nachricht- >> Von: Jean-Louis Martineau [mailto:jmartin...@carbonite.com] >> Gesendet: Mittwoch, 20. April 2016 19:06 >> An: Tobias Köck >> Cc: AMANDA users >> Betreff: Re: AW: AW: AW: sendbackup: critical (fatal): error [no >> backup size line] >> >> Tobias, >> >> Amanda do not use the "syslog" option, check your samba configuration >> (smb.conf, ...) This is a WARNING, you can try a backup. >> >> Jean-Louis >> >> On 20/04/16 12:55 PM, Tobias Köck wrote: >>> Hi Jean-Louis, >>> >>> I have applied your patch. Unfortunatelly that didn't work either. I have >>> attached one log and the amcheck -c someconfig output. >>> >>> ---amcheck-- >>> - >>> - >>> -- >>> backup@chronos:~$ amcheck -c someconfig >>> >>> Amanda Backup Client Hosts Check >>> >>> ... >>> ERROR: localhost: smbclient: WARNING: The "syslog" option is >>> deprecated >>> ERROR: localhost: Application 'amsamba': exited with status 1 >>> ERROR: localhost: smbclient: WARNING: The "syslog" option is >>> deprecated >>> ERROR: localhost: Application 'amsamba': exited with status 1 >>> ERROR: localhost: smbclient: WARNING: The "syslog" option is >>> deprecated >>> ERROR: localhost: Application 'amsamba': exited with status 1 >>> ERROR: localhost: smbclient: WARNING: The "syslog" option is >>> deprecated >>> ERROR: localhost: Application 'amsamba': exited with status 1 >>> ERROR: localhost: smbclient: WARNING: The "syslog" option is >>> deprecated >>> ERROR: localhost: Application 'amsamba': exited with status 1 >>> ERROR: localhost: smbclient: WARNING: The "syslog" option is >>> deprecated >>> ERROR: localhost: Application 'amsamba': exited with status 1 >>> ERROR: localhost: smbclient: WARNING: Th
Aw: AW: AW: AW: AW: AW: AW: sendbackup: critical (fatal): error [no backup size line]
Hello list, im looking forward to your test results, i hope it will fix my problems too. Greetings > Gesendet: Montag, 25. April 2016 um 10:48 Uhr > Von: "Tobias Köck" > An: "Jean-Louis Martineau" > Cc: "amanda-users@amanda.org" > Betreff: AW: AW: AW: AW: AW: AW: sendbackup: critical (fatal): error [no > backup size line] > > Hi Jean-Louis, > > thanks. I will try it out earliest on this weekend. Productive backups are a > priority right now. :) > > Greetings > Tobias > > > > -Ursprüngliche Nachricht- > Von: Jean-Louis Martineau [mailto:jmartin...@carbonite.com] > Gesendet: Freitag, 22. April 2016 19:14 > An: Tobias Köck > Cc: amanda-users@amanda.org > Betreff: Re: AW: AW: AW: AW: AW: sendbackup: critical (fatal): error [no > backup size line] > > Hi Tobias, > > amsamba is tested and is working with previous samba release. > The problem is with the new samba, amsamba is not test with it. > I do not have setup to run amsamba so I need your help to fix it. > > Can you try the attached patch? it should fix the 'Ignoring unknown extended > header keyword' error. > > Jean-Louis > > On 22/04/16 12:39 PM, Tobias Köck wrote: > > Hi Jean-Louis, > > > > Now I get two other error messages > > > > - dump failed: dumper: [/bin/tar: Ignoring unknown extended header > > keyword 'hdrcharset'], finished (17:41:11) > > localhost://monster.qudosoft.de/software > > > > - dump failed: dumper: [missing size line from sendbackup], finished > > (17:38:08) > > > > which lets the dump fail completely. I haven't found the strings in the log > > files so I haven't attached the logs at the moment. > > > > Anyway, it seems that the amsamba script is still a little bit buggy. Maybe > > I'll revert to the previous tar configuration with an earlier smbclient > > version to have working backups. > > > > Is the amsamba application tested and in use after all? > > > > Greetings and thanks > > Tobias > > > > -Ursprüngliche Nachricht- > > Von: Jean-Louis Martineau [mailto:jmartin...@carbonite.com] > > Gesendet: Mittwoch, 20. April 2016 19:34 > > An: Tobias Köck > > Cc: amanda-users@amanda.org > > Betreff: Re: AW: AW: AW: AW: sendbackup: critical (fatal): error [no > > backup size line] > > > > Tobias, > > > > This patch should make amsamba ignore the WARNING line from smbclient. > > > > Jean-Louis > > > > On 20/04/16 01:26 PM, Tobias Köck wrote: > >> Hi Jean-Louis, > >> > >> my smb.conf already has the entry syslog = 0 so I don't know where that > >> came from. > >> > >> Still the amsamba application exits with 1 > >> > >> localhost: Application 'amsamba': exited with status 1 > >> > >> Shouldn't it be something else? It still is 'just' a warning? > >> > >> Anyway, thanks for your help. I'll check out if it runs through. :) > >> > >> Greetings and thanks > >> Tobias > >> > >> -Ursprüngliche Nachricht- > >> Von: Jean-Louis Martineau [mailto:jmartin...@carbonite.com] > >> Gesendet: Mittwoch, 20. April 2016 19:06 > >> An: Tobias Köck > >> Cc: AMANDA users > >> Betreff: Re: AW: AW: AW: sendbackup: critical (fatal): error [no > >> backup size line] > >> > >> Tobias, > >> > >> Amanda do not use the "syslog" option, check your samba configuration > >> (smb.conf, ...) This is a WARNING, you can try a backup. > >> > >> Jean-Louis > >> > >> On 20/04/16 12:55 PM, Tobias Köck wrote: > >>> Hi Jean-Louis, > >>> > >>> I have applied your patch. Unfortunatelly that didn't work either. I > >>> have attached one log and the amcheck -c someconfig output. > >>> > >>> ---amcheck-- > >>> - > >>> - > >>> -- > >>> backup@chronos:~$ amcheck -c someconfig > >>> > >>> Amanda Backup Client Hosts Check > >>> > >>> ... > >>> ERROR: localhost: smbclient: WARNING: The "syslog" option is > >>> deprecated > >>> ERROR: localhost: Application 'amsamba': exited with status 1 > >>> ERROR: localhost: smbclient
AW: Aw: AW: AW: AW: AW: AW: AW: sendbackup: critical (fatal): error [no backup size line]
Hello list, so i have done some tests and here are my results. First i have upgraded samba to the version Debian ist coming with after badlock (4.2), then i have replaced the amsamba file with this one: http://pastebin.com/8MaBfRqZ I believe that there is a small error in this file on line 786 if ($line !~ /Ignoring unknown extended header keyword/( { should that be this instead?? if ($line !~ /Ignoring unknown extended header keyword/) { After changing this line a dry run with perl /usr/lib/amanda/applications/amsamba given me a check as result. When i now try to run an amcheck with this changed file, this is what i get: Amanda Backup Client Hosts Check ": No such file or directorytion 'amsamba': Can't open perl script " ERROR: BACKUP02: Application 'amsamba': exited with status 2 ERROR: BACKUP02: Application 'amsamba': can't run support command ": No such file or directorytion 'amsamba': Can't open perl script " ERROR: BACKUP02: Application 'amsamba': exited with status 2 ERROR: BACKUP02: Application 'amsamba': can't run support command ": No such file or directorytion 'amsamba': Can't open perl script " ERROR: BACKUP02: Application 'amsamba': exited with status 2 ERROR: BACKUP02: Application 'amsamba': can't run support command ": No such file or directorytion 'amsamba': Can't open perl script " ERROR: BACKUP02: Application 'amsamba': exited with status 2 . /usr/lib/amanda/application$ ls -lisa insgesamt 296 1190971 4 drwxr-xr-x 2 root root4096 Mai 19 15:26 . 1190367 4 drwxr-xr-x 4 root root4096 Dez 19 2014 .. 1191151 44 -rwxr-xr-x 1 root root 44144 Dez 8 2014 ambsdtar 1191152 40 -rwsr-xr-- 1 root backup 40328 Dez 8 2014 amgtar 1191153 8 -rwxr-xr-x 1 root root7097 Dez 8 2014 amlog-script 1191154 36 -rwxr-xr-x 1 root root 34738 Dez 8 2014 ampgsql 1191156 12 -rwxr-xr-x 1 root root8926 Dez 8 2014 amraw 1182688 32 -rwxr-xr-x 1 root root 30155 Mai 19 15:22 amsamba 1182690 32 -rwxr-xr-x 1 root root 28804 Mai 19 14:25 amsamba.orig 1191158 32 -rwsr-xr-- 1 root backup 31968 Dez 8 2014 amstar 1191159 20 -rwxr-xr-x 1 root root 18098 Dez 8 2014 amsuntar 1191160 16 -rwxr-xr-x 1 root root 14176 Dez 8 2014 amzfs-sendrecv 1191161 8 -rwxr-xr-x 1 root root6271 Dez 8 2014 amzfs-snapshot 1191162 8 -rwxr-xr-x 1 root root5732 Dez 8 2014 script-email Well i don´t know what i should test as next step. Greetings
AW: Aw: AW: AW: AW: AW: AW: AW: sendbackup: critical (fatal): error [no backup size line]
Thanks for your answer. Unfortunately there doesn't seem to be so much movement to fix the Samba problem right now ... I'm still on the old Samba version. Greetings Tobias -Ursprüngliche Nachricht- Von: owner-amanda-us...@amanda.org [mailto:owner-amanda-us...@amanda.org] Im Auftrag von Traugott Simon Gesendet: Donnerstag, 19. Mai 2016 15:47 An: AMANDA users Betreff: AW: Aw: AW: AW: AW: AW: AW: AW: sendbackup: critical (fatal): error [no backup size line] Hello list, so i have done some tests and here are my results. First i have upgraded samba to the version Debian ist coming with after badlock (4.2), then i have replaced the amsamba file with this one: http://pastebin.com/8MaBfRqZ I believe that there is a small error in this file on line 786 if ($line !~ /Ignoring unknown extended header keyword/( { should that be this instead?? if ($line !~ /Ignoring unknown extended header keyword/) { After changing this line a dry run with perl /usr/lib/amanda/applications/amsamba given me a check as result. When i now try to run an amcheck with this changed file, this is what i get: Amanda Backup Client Hosts Check ": No such file or directorytion 'amsamba': Can't open perl script " ERROR: BACKUP02: Application 'amsamba': exited with status 2 ERROR: BACKUP02: Application 'amsamba': can't run support command ": No such file or directorytion 'amsamba': Can't open perl script " ERROR: BACKUP02: Application 'amsamba': exited with status 2 ERROR: BACKUP02: Application 'amsamba': can't run support command ": No such file or directorytion 'amsamba': Can't open perl script " ERROR: BACKUP02: Application 'amsamba': exited with status 2 ERROR: BACKUP02: Application 'amsamba': can't run support command ": No such file or directorytion 'amsamba': Can't open perl script " ERROR: BACKUP02: Application 'amsamba': exited with status 2 . /usr/lib/amanda/application$ ls -lisa insgesamt 296 1190971 4 drwxr-xr-x 2 root root4096 Mai 19 15:26 . 1190367 4 drwxr-xr-x 4 root root4096 Dez 19 2014 .. 1191151 44 -rwxr-xr-x 1 root root 44144 Dez 8 2014 ambsdtar 1191152 40 -rwsr-xr-- 1 root backup 40328 Dez 8 2014 amgtar 1191153 8 -rwxr-xr-x 1 root root7097 Dez 8 2014 amlog-script 1191154 36 -rwxr-xr-x 1 root root 34738 Dez 8 2014 ampgsql 1191156 12 -rwxr-xr-x 1 root root8926 Dez 8 2014 amraw 1182688 32 -rwxr-xr-x 1 root root 30155 Mai 19 15:22 amsamba 1182690 32 -rwxr-xr-x 1 root root 28804 Mai 19 14:25 amsamba.orig 1191158 32 -rwsr-xr-- 1 root backup 31968 Dez 8 2014 amstar 1191159 20 -rwxr-xr-x 1 root root 18098 Dez 8 2014 amsuntar 1191160 16 -rwxr-xr-x 1 root root 14176 Dez 8 2014 amzfs-sendrecv 1191161 8 -rwxr-xr-x 1 root root6271 Dez 8 2014 amzfs-snapshot 1191162 8 -rwxr-xr-x 1 root root5732 Dez 8 2014 script-email Well i don´t know what i should test as next step. Greetings
Aw: AW: AW: AW: AW: AW: AW: AW: sendbackup: critical (fatal): error [no backup size line]
Hello list! so im doing a few more tests right now and for this i have cloned and upgraded my backup machine from Jessie to Stretch. Here is what i have now: $ smbclient --version Version 4.4.3-Debian, amadmin-3.3.8 Amanda Backup Client Hosts Check ERROR: MYSERVER: smbclient: WARNING: The "syslog" option is deprecated ERROR: MYSERVER: smbclient: Error reading password from file descriptor 3: empty password ERROR: MYSERVER: smbclient: ERROR: MYSERVER: Application 'amsamba': exited with status 1 ERROR: MYSERVER: smbclient: WARNING: The "syslog" option is deprecated ERROR: MYSERVER: smbclient: Error reading password from file descriptor 3: empty password ERROR: MYSERVER: smbclient: ERROR: MYSERVER: Application 'amsamba': exited with status 1 ERROR: MYSERVER: smbclient: WARNING: The "syslog" option is deprecated ERROR: MYSERVER: smbclient: Error reading password from file descriptor 3: empty password ERROR: MYSERVER: smbclient: ERROR: MYSERVER: Application 'amsamba': exited with status 1 ERROR: MYSERVER: smbclient: WARNING: The "syslog" option is deprecated ERROR: MYSERVER: smbclient: Error reading password from file descriptor 3: empty password The interesting thing is that a plain and normal transfer with the smbclient just works out of the box: backup@MYSERVER:/home/backup$ smbclient "MYSERVER2\\Backup$" -U backup -E -W SN2.local -Tc Ziel.tar WARNING: The "syslog" option is deprecated Enter backup's password: Domain=[SN2] OS=[Windows Server 2008 R2 Standard 7601 Service Pack 1] Server=[Windows Server 2008 R2 Standard 6.1] tar:712 Total bytes received: 110498217 So im going to update the bug reports now, maybe someone can help us out here, or is here any Amanda developer around who could have an eye on this? Greetings > Gesendet: Montag, 23. Mai 2016 um 11:21 Uhr > Von: "Tobias Köck" > An: "Traugott Simon" , "AMANDA users" > > Betreff: AW: Aw: AW: AW: AW: AW: AW: AW: sendbackup: critical (fatal): error > [no backup size line] > > Thanks for your answer. Unfortunately there doesn't seem to be so much > movement to fix the Samba problem right now ... > > I'm still on the old Samba version. > > Greetings > Tobias > > -Ursprüngliche Nachricht- > Von: owner-amanda-us...@amanda.org [mailto:owner-amanda-us...@amanda.org] Im > Auftrag von Traugott Simon > Gesendet: Donnerstag, 19. Mai 2016 15:47 > An: AMANDA users > Betreff: AW: Aw: AW: AW: AW: AW: AW: AW: sendbackup: critical (fatal): error > [no backup size line] > > Hello list, > > so i have done some tests and here are my results. > > First i have upgraded samba to the version Debian ist coming with after > badlock (4.2), then i have replaced the amsamba file with this one: > > http://pastebin.com/8MaBfRqZ > > I believe that there is a small error in this file on line 786 > > if ($line !~ /Ignoring unknown extended header keyword/( { > > should that be this instead?? > > if ($line !~ /Ignoring unknown extended header keyword/) { > > After changing this line a dry run with perl > /usr/lib/amanda/applications/amsamba given me a check as result. > > When i now try to run an amcheck with this changed file, this is what i get: > > Amanda Backup Client Hosts Check > > ": No such file or directorytion 'amsamba': Can't open perl script " > ERROR: BACKUP02: Application 'amsamba': exited with status 2 > ERROR: BACKUP02: Application 'amsamba': can't run support command > ": No such file or directorytion 'amsamba': Can't open perl script " > ERROR: BACKUP02: Application 'amsamba': exited with status 2 > ERROR: BACKUP02: Application 'amsamba': can't run support command > ": No such file or directorytion 'amsamba': Can't open perl script " > ERROR: BACKUP02: Application 'amsamba': exited with status 2 > ERROR: BACKUP02: Application 'amsamba': can't run support command > ": No such file or directorytion 'amsamba': Can't open perl script " > ERROR: BACKUP02: Application 'amsamba': exited with status 2 . > > > /usr/lib/amanda/application$ ls -lisa > insgesamt 296 > 1190971 4 drwxr-xr-x 2 root root4096 Mai 19 15:26 . > 1190367 4 drwxr-xr-x 4 root root4096 Dez 19 2014 .. > 1191151 44 -rwxr-xr-x 1 root root 44144 Dez 8 2014 ambsdtar > 1191152 40 -rwsr-xr-- 1 root backup 40328 Dez 8 2014 amgtar > 1191153 8 -rwxr-xr-x 1 root root7097 Dez 8 2014 amlog-script > 1191154 36 -rwxr-xr-x 1 root
AW: Aw: AW: AW: AW: AW: AW: AW: AW: sendbackup: critical (fatal): error [no backup size line]
It was testet with an amsamba including your patches. -Ursprüngliche Nachricht- Von: Jean-Louis Martineau [mailto:jmartin...@carbonite.com] Gesendet: Dienstag, 24. Mai 2016 15:41 An: Traugott Simon; Tobias Köck Cc: AMANDA users Betreff: Re: Aw: AW: AW: AW: AW: AW: AW: AW: sendbackup: critical (fatal): error [no backup size line] Do these errors are with the amsamba script you posted last week? or the amsamba that come with 3.3.8? Jean-Louis On 23/05/16 09:02 AM, Traugott Simon wrote: > Hello list! > > so im doing a few more tests right now and for this i have cloned and > upgraded my backup machine from Jessie to Stretch. > > Here is what i have now: > > $ smbclient --version Version 4.4.3-Debian, amadmin-3.3.8 > > > > Amanda Backup Client Hosts Check > > ERROR: MYSERVER: smbclient: WARNING: The "syslog" option is deprecated > ERROR: MYSERVER: smbclient: Error reading password from file > descriptor 3: empty password > ERROR: MYSERVER: smbclient: > ERROR: MYSERVER: Application 'amsamba': exited with status 1 > ERROR: MYSERVER: smbclient: WARNING: The "syslog" option is deprecated > ERROR: MYSERVER: smbclient: Error reading password from file > descriptor 3: empty password > ERROR: MYSERVER: smbclient: > ERROR: MYSERVER: Application 'amsamba': exited with status 1 > ERROR: MYSERVER: smbclient: WARNING: The "syslog" option is deprecated > ERROR: MYSERVER: smbclient: Error reading password from file > descriptor 3: empty password > ERROR: MYSERVER: smbclient: > ERROR: MYSERVER: Application 'amsamba': exited with status 1 > ERROR: MYSERVER: smbclient: WARNING: The "syslog" option is deprecated > ERROR: MYSERVER: smbclient: Error reading password from file > descriptor 3: empty password > > > The interesting thing is that a plain and normal transfer with the smbclient > just works out of the box: > > backup@MYSERVER:/home/backup$ smbclient "MYSERVER2\\Backup$" -U > backup -E -W SN2.local -Tc Ziel.tar > WARNING: The "syslog" option is deprecated Enter backup's password: > Domain=[SN2] OS=[Windows Server 2008 R2 Standard 7601 Service Pack 1] > Server=[Windows Server 2008 R2 Standard 6.1] > tar:712 Total bytes received: 110498217 > > So im going to update the bug reports now, maybe someone can help us out > here, or is here any Amanda developer around who could have an eye on this? > > > Greetings > > > > > >> Gesendet: Montag, 23. Mai 2016 um 11:21 Uhr >> Von: "Tobias Köck" >> An: "Traugott Simon" , "AMANDA users" >> >> Betreff: AW: Aw: AW: AW: AW: AW: AW: AW: sendbackup: critical >> (fatal): error [no backup size line] >> >> Thanks for your answer. Unfortunately there doesn't seem to be so much >> movement to fix the Samba problem right now ... >> >> I'm still on the old Samba version. >> >> Greetings >> Tobias >> >> -Ursprüngliche Nachricht- >> Von: owner-amanda-us...@amanda.org >> [mailto:owner-amanda-us...@amanda.org] Im Auftrag von Traugott Simon >> Gesendet: Donnerstag, 19. Mai 2016 15:47 >> An: AMANDA users >> Betreff: AW: Aw: AW: AW: AW: AW: AW: AW: sendbackup: critical >> (fatal): error [no backup size line] >> >> Hello list, >> >> so i have done some tests and here are my results. >> >> First i have upgraded samba to the version Debian ist coming with after >> badlock (4.2), then i have replaced the amsamba file with this one: >> >> http://pastebin.com/8MaBfRqZ >> >> I believe that there is a small error in this file on line 786 >> >> if ($line !~ /Ignoring unknown extended header keyword/( { >> >> should that be this instead?? >> >> if ($line !~ /Ignoring unknown extended header keyword/) { >> >> After changing this line a dry run with perl >> /usr/lib/amanda/applications/amsamba given me a check as result. >> >> When i now try to run an amcheck with this changed file, this is what i get: >> >> Amanda Backup Client Hosts Check >> >> ": No such file or directorytion 'amsamba': Can't open perl script" >> ERROR: BACKUP02: Application 'amsamba': exited with status 2 >> ERROR: BACKUP02: Application 'amsamba': can't run support command >> ": No such file or directorytion 'amsamba': Can't open perl script" >> ERROR: BACKUP02: Application 'amsamba': exited with status 2 >> ERROR: BACKUP02: App
AW: AW: Aw: AW: AW: AW: AW: AW: AW: AW: sendbackup: critical (fatal): error [no backup size line]
Hello again, Well i have tried it first with the amsamba that comes with Amanda 3.3.8, after that failed i have tried it with this one http://pastebin.com/CADU9NKE I have not applied the patches you have send to Tobias in this try with Debian Stretch because i got some errors when i tried to apply them. But i tried to test it with Amanda 3.3.6 and Debian Jessie before. As i have cloned my backup server it´s no problem for me at all to try that out again. Could you please post an amsamba version with all the patches and fixes included to the list, so i can try it again? Greetings!
AW: AW: Aw: AW: AW: AW: AW: AW: AW: AW: sendbackup: critical (fatal): error [no backup size line]
Hello again, so i have tried it now with the amsamba you provided. amcheck doesn´t come up with an error anymore, so far so good. A real run gives me out these errors: MYSERVER://MYSERVER02/ASDPC320 105m dump failed: dumper: [/bin/tar: Ignoring unknown extended header keyword 'hdrcharset'], finished (8:54:30) MYSERVER://MYSERVER02/Backup$016m dump failed: dumper: [missing size line from sendbackup], finished (8:56:20) MYSERVER://MYSERVER02/GPC0 1m dump failed: dumper: [/bin/tar: Ignoring unknown extended header keyword 'hdrcharset'], finished (8:51:34) MYSERVER://MYSERVER02/NETLOGON 0 0m dump failed: dumper: [missing size line from sendbackup], finished (8:49:57) MYSERVER://MYSERVER01/BACKUP$0 backup failed: dumper: [missing size line from sendbackup] (8:55:32) MYSERVER://MYSERVER01/GPC0 1m dump failed: dumper: [/bin/tar: Ignoring unknown extended header keyword 'hdrcharset'], finished (8:50:59) MYSERVER://MYSERVER01/Kursverwaltung 025m dump failed: dumper: [/bin/tar: Ignoring unknown extended header keyword 'hdrcharset'], finished (8:52:54) MYSERVER://MYSERVER01/PUBLIC 1 0m dump failed: dumper: [/bin/tar: Ignoring unknown extended header keyword 'hdrcharset'], finished (8:50:11) MYSERVER://MYSERVER01/Schildmedia014m dump failed: dumper: [/bin/tar: Ignoring unknown extended header keyword 'hdrcharset'], finished (8:52:13) MYSERVER://MYSERVER01/USERDIRS 1 0m dump failed: dumper: [/bin/tar: Ignoring unknown extended header keyword 'hdrcharset'], finished (8:50:05) MYSERVER://MYSERVER01/Untis 0 135m dumping2m ( 1.50%) (8:56:37) MYSERVER://MYSERVER01/grafstat4 024m dump failed: dumper: [/bin/tar: Ignoring unknown extended header keyword 'hdrcharset'], finished (8:53:35) As you can see he is trying to transfer on the windows DLE´s for some time and i can see that on the network traffic as well. But for some reason he´s quitting with the error after some time. So he starts to transfer on all DLE´s but that breaks up after a short time. I hope that this helps somehow. Greetings
AW: AW: Aw: AW: AW: AW: AW: AW: AW: AW: sendbackup: critical (fatal): error [no backup size line]
Hello again, here you have the full anonymized report from amreport http://pastebin.com/MXgVFfb6 Greetings