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: 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 amgt