The problem look to be that smbclient do not print the 'Total number of 
bytes' on it's stderr, so the estimate will never succeed.
You can try to set: 'estimate server' for that dle.
But you will probably get a similar error when doing the backup.
What can we do if smbclient do not tell if the backup is correct?

Jean-Louis

On 08/02/17 08:38 AM, Tobias Köck wrote:
>
> Hi,
>
> I am using Amanda 3.3.9 with the newest amsamba patches. smbclient is 
> 4.5.4+dfsg-1 version on Debian Stretch.
>
> The problem is that a few files doesn't have the appropriate file 
> sharing permissions. The Planner stops and amsamba doesn't backup any 
> data from that share.
>
> Shouldn't AMANDA / amsama just ignore those files and move on with the 
> other files? But that's not what happens. It just don't backup any 
> files from that share.
>
> Any advice how to fix that behavior?
>
> Greetings and thanks
>
> Tobias
>
> ---
> amstatus a2g-1:
>
> localhost://192.168.0.250/kunden 0 failed: planner: [Application 'am
>
> samba': ERROR smbclient: NT_STATUS_ACCESS_DENIED listing 
> Betamoo\Übergabe FLA\Betamoo-FLA-Kopie-von-lokal\2012
>
> 0227_Testdateien-Betamoo-TD\PI_Cordless-blubb_DE\*]
>
> ---
>
> Amsamba.20170206141259000.debug:
>
> Mon Feb  6 14:12:59 2017: thd-0x562125870800: Amsamba: warning: Use of 
> uninitialized value $regex_match in pattern match (m//) at 
> /usr/lib/amanda/application/amsamba line 91.
>
> Mon Feb  6 14:12:59 2017: thd-0x562125870800: Amsamba: Arguments: 
> estimate --message line --config a2g-1 --host localhost --device 
> //192.168.0.250/kunden --disk //192.168.0.250/kunden --level 0 --
>
> amandapass /etc/amandapass
>
> Mon Feb  6 14:12:59 2017: thd-0x562125870800: Amsamba: command: estimate
>
> Mon Feb  6 14:12:59 2017: thd-0x562125870800: Amsamba: amandapass: 
> /etc/amandapass
>
> Mon Feb  6 14:12:59 2017: thd-0x562125870800: Amsamba: password_wtr 4
>
> Mon Feb  6 14:12:59 2017: thd-0x562125870800: Amsamba: password_rdr 3
>
> Mon Feb  6 14:12:59 2017: thd-0x562125870800: Amsamba: warning: 
> close() on unopened filehandle 0 at 
> /usr/lib/amanda/application/amsamba line 502.
>
> Mon Feb  6 14:12:59 2017: thd-0x562125870800: Amsamba: warning: 
> close() on unopened filehandle 1 at 
> /usr/lib/amanda/application/amsamba line 503.
>
> Mon Feb  6 14:12:59 2017: thd-0x562125870800: Amsamba: execute: 
> /usr/bin/smbclient /usr/bin/smbclient //192.168.0.250/kunden -d 0 -U 
> backup -E -c archive 0;recurse;du
>
> Mon Feb  6 14:13:45 2017: thd-0x562125870800: Amsamba: stderr: 
> NT_STATUS_ACCESS_DENIED listing Betamoo\Übergabe 
> FLA\Betamoo-FLA-Kopie-von-lokal\20120227_Testdateien-Betamoo-TD\PI_Cordless-blubb_DE\*
>
> Mon Feb  6 14:13:45 2017: thd-0x562125870800: Amsamba: smbclient: 
> NT_STATUS_ACCESS_DENIED listing Betamoo\Übergabe 
> FLA\Betamoo-FLA-Kopie-von-lokal\20120227_Testdateien-Betamoo-TD\PI_Cordless-blubb_DE\*
>
> Mon Feb  6 14:13:53 2017: thd-0x562125870800: Amsamba: stderr: 
> NT_STATUS_ACCESS_DENIED listing Betamoo\Übergabe 
> FLA\Betamoo-FLA-Kopie-von-lokal\20111026_Uebergabe-Riki\Webdav_folder\2ABIM\[0102]comDB[0123]geraetxxy_28_09_10_20100929131651\*
>
> Mon Feb  6 14:13:53 2017: thd-0x562125870800: Amsamba: smbclient: 
> NT_STATUS_ACCESS_DENIED listing Betamoo\Übergabe 
> FLA\Betamoo-FLA-Kopie-von-lokal\20111026_Uebergabe-Riki\Webdav_folder\2ABIM\[0102]comDB[0123]geraetxxy_28_09_10_20100929131651\*
>
> Mon Feb  6 14:13:53 2017: thd-0x562125870800: Amsamba: stderr: 
> NT_STATUS_ACCESS_DENIED listing Betamoo\Übergabe 
> FLA\Betamoo-FLA-Kopie-von-lokal\20111026_Uebergabe-Riki\Webdav_folder\2product\group102_geraetxxy_de_20100928114804\*
>
> Mon Feb  6 14:13:53 2017: thd-0x562125870800: Amsamba: smbclient: 
> NT_STATUS_ACCESS_DENIED listing Betamoo\Übergabe 
> FLA\Betamoo-FLA-Kopie-von-lokal\20111026_Uebergabe-Riki\Webdav_folder\2product\group102_geraetxxy_de_20100928114804\*
>
> Mon Feb  6 14:13:54 2017: thd-0x562125870800: Amsamba: ru_utime   : 0
>
> Mon Feb  6 14:13:54 2017: thd-0x562125870800: Amsamba: ru_stime   : 0
>
> Mon Feb  6 14:13:54 2017: thd-0x562125870800: Amsamba: ru_maxrss  : 27592
>
> Mon Feb  6 14:13:54 2017: thd-0x562125870800: Amsamba: ru_ixrss   : 0
>
> Mon Feb  6 14:13:54 2017: thd-0x562125870800: Amsamba: ru_idrss   : 0
>
> Mon Feb  6 14:13:54 2017: thd-0x562125870800: Amsamba: ru_isrss   : 0
>
> Mon Feb  6 14:13:54 2017: thd-0x562125870800: Amsamba: ru_minflt  : 4096
>
> Mon Feb  6 14:13:54 2017: thd-0x562125870800: Amsamba: ru_majflt  : 0
>
> Mon Feb  6 14:13:54 2017: thd-0x562125870800: Amsamba: ru_nswap   : 0
>
> Mon Feb  6 14:13:54 2017: thd-0x562125870800: Amsamba: ru_inblock : 0
>
> Mon Feb  6 14:13:54 2017: thd-0x562125870800: Amsamba: ru_oublock : 24
>
> Mon Feb  6 14:13:54 2017: thd-0x562125870800: Amsamba: ru_msgsnd  : 0
>
> Mon Feb  6 14:13:54 2017: thd-0x562125870800: Amsamba: ru_msgrcv  : 0
>
> Mon Feb  6 14:13:54 2017: thd-0x562125870800: Amsamba: ru_nsignals: 0
>
> Mon Feb  6 14:13:54 2017: thd-0x562125870800: Amsamba: ru_nvcsw   : 7
>
> Mon Feb  6 14:13:54 2017: thd-0x562125870800: Amsamba: ru_nivcsw  : 3
>
> Mon Feb  6 14:13:54 2017: thd-0x562125870800: Amsamba: pid 14630 
> finish time Mon Feb  6 14:13:54 2017
>

Reply via email to