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" <tobias.ko...@qudosoft.de>
>> An: "Traugott Simon" <sauro...@gmx.de>, "AMANDA users" 
>> <amanda-users@amanda.org>
>> 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 root    4096 Mai 19 15:26 .
>> 1190367  4 drwxr-xr-x 4 root root    4096 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 root    7097 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 root    8926 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 root    6271 Dez  8  2014 amzfs-snapshot
>> 1191162  8 -rwxr-xr-x 1 root root    5732 Dez  8  2014 script-email
>>
>>
>> Well i don´t know what i should test as next step.
>>
>> Greetings
>>
>>
>>


Reply via email to