Hey Jean-Louis, I tried your patch. If I run amcheck -c blubberdiblibb it gives me another error by not finding the password but I am sure I have included the password (and it's not empty) in the /etc/amandapass in the right format
Logs: Tue Apr 19 17:28:09 2016: thd-0x18e0200: Amsamba: pid 8732 ruid 34 euid 34 version 3.3.8: start at Tue Apr 19 17:28:09 2016 Tue Apr 19 17:28:09 2016: thd-0x18e0200: Amsamba: Arguments: selfcheck Tue Apr 19 17:28:09 2016: thd-0x18e0200: Amsamba: pid 8732 ruid 34 euid 34 version 3.3.8: rename at Tue Apr 19 17:28:09 2016 Tue Apr 19 17:28:09 2016: thd-0x18e0200: Amsamba: application: Amsamba Tue Apr 19 17:28:09 2016: thd-0x18e0200: Amsamba: warning: Use of uninitialized value $regex_match in pattern match (m//) at /usr/lib/amanda/application/amsamba line 91. Tue Apr 19 17:28:09 2016: thd-0x18e0200: Amsamba: Arguments: selfcheck --message line --config blubberdiblubb --host localhost --disk //monster.someurl.de/austausch --device //monster.someurl.de/austausch --index line --record --amandapass /etc/amandapass Tue Apr 19 17:28:09 2016: thd-0x18e0200: Amsamba: command: selfcheck Tue Apr 19 17:28:09 2016: thd-0x18e0200: Amsamba: disk //monster.someurl.de/austausch Tue Apr 19 17:28:09 2016: thd-0x18e0200: Amsamba: amsamba version 3.3.8 Tue Apr 19 17:28:09 2016: thd-0x18e0200: Amsamba: amsamba smbclient-version 4.3.8-Debian Tue Apr 19 17:28:09 2016: thd-0x18e0200: Amsamba: /usr/bin/smbclient Tue Apr 19 17:28:09 2016: thd-0x18e0200: Amsamba: amandapass: /etc/amandapass Tue Apr 19 17:28:09 2016: thd-0x18e0200: Amsamba: password_rdr 3 Tue Apr 19 17:28:09 2016: thd-0x18e0200: Amsamba: warning: close() on unopened filehandle 1 at /usr/lib/amanda/application/amsamba line 426. Tue Apr 19 17:28:09 2016: thd-0x18e0200: Amsamba: password_wtr 4 Tue Apr 19 17:28:09 2016: thd-0x18e0200: Amsamba: warning: close() on unopened filehandle 2 at /usr/lib/amanda/application/amsamba line 427. Tue Apr 19 17:28:09 2016: thd-0x18e0200: Amsamba: execute: /usr/bin/smbclient /usr/bin/smbclient //monster.someurl.de/austausch -U backup -E -c quit Tue Apr 19 17:28:09 2016: thd-0x18e0200: Amsamba: stderr: WARNING: The "syslog" option is deprecated Tue Apr 19 17:28:09 2016: thd-0x18e0200: Amsamba: smbclient: WARNING: The "syslog" option is deprecated Tue Apr 19 17:28:09 2016: thd-0x18e0200: Amsamba: stderr: Error reading password from file descriptor 3: empty password Tue Apr 19 17:28:09 2016: thd-0x18e0200: Amsamba: smbclient: Error reading password from file descriptor 3: empty password Tue Apr 19 17:28:09 2016: thd-0x18e0200: Amsamba: stderr: Tue Apr 19 17:28:09 2016: thd-0x18e0200: Amsamba: smbclient: Tue Apr 19 17:28:09 2016: thd-0x18e0200: Amsamba: stderr: Domain=[someurl] OS=[Unix] Server=[Samba 3.6.24] Tue Apr 19 17:28:09 2016: thd-0x18e0200: Amsamba: ru_utime : 0 Tue Apr 19 17:28:09 2016: thd-0x18e0200: Amsamba: ru_stime : 0 Tue Apr 19 17:28:09 2016: thd-0x18e0200: Amsamba: ru_maxrss : 23572 Tue Apr 19 17:28:09 2016: thd-0x18e0200: Amsamba: ru_ixrss : 0 Tue Apr 19 17:28:09 2016: thd-0x18e0200: Amsamba: ru_idrss : 0 Tue Apr 19 17:28:09 2016: thd-0x18e0200: Amsamba: ru_isrss : 0 Tue Apr 19 17:28:09 2016: thd-0x18e0200: Amsamba: ru_minflt : 3839 Tue Apr 19 17:28:09 2016: thd-0x18e0200: Amsamba: ru_majflt : 0 Tue Apr 19 17:28:09 2016: thd-0x18e0200: Amsamba: ru_nswap : 0 Tue Apr 19 17:28:09 2016: thd-0x18e0200: Amsamba: ru_inblock : 0 Tue Apr 19 17:28:09 2016: thd-0x18e0200: Amsamba: ru_oublock : 16 Tue Apr 19 17:28:09 2016: thd-0x18e0200: Amsamba: ru_msgsnd : 0 Tue Apr 19 17:28:09 2016: thd-0x18e0200: Amsamba: ru_msgrcv : 0 Tue Apr 19 17:28:09 2016: thd-0x18e0200: Amsamba: ru_nsignals: 0 Tue Apr 19 17:28:09 2016: thd-0x18e0200: Amsamba: ru_nvcsw : 10 Tue Apr 19 17:28:09 2016: thd-0x18e0200: Amsamba: ru_nivcsw : 579 Tue Apr 19 17:28:09 2016: thd-0x18e0200: Amsamba: pid 8732 finish time Tue Apr 19 17:28:09 2016 -----Ursprüngliche Nachricht----- Von: Jean-Louis Martineau [mailto:[email protected]] Gesendet: Dienstag, 19. April 2016 12:38 An: Tobias Köck Cc: AMANDA users Betreff: Re: sendbackup: critical (fatal): error [no backup size line] There is no possible fix for the GNUTAR application (it is deprecated). If you switch to the 'amsamba' application, then the attached patch can fix it. Can someone test it? Jean-Louis On 19/04/16 05:50 AM, Tobias Köck wrote: > Hi guys, > > I got the same mentioned problem with the a newer Amanda Server and a > new smbclient > > - Package: amanda-server > Source: amanda > Version: 1:3.3.8-1 > Installed-Size: 890 > > - Package: smbclient > Source: samba > Version: 2:4.3.8+dfsg- > > - amstatus abc status > > sendbackup.20160419005647.debug:Tue Apr 19 00:56:47 2016: > thd-0x5589cc151000: sendbackup: critical (fatal): error [no backup > size line] > > - less sendbackup.20160419005647.debug > > Tue Apr 19 00:56:47 2016: thd-0x5589cc151000: sendbackup: pid 3141 > ruid 34 euid 34 version 3.3.8: start at Tue Apr 19 00:56:47 2016 Tue > Apr 19 00:56:47 2016: thd-0x5589cc151000: sendbackup: Version 3.3.8 Tue Apr > 19 00:56:47 2016: thd-0x5589cc151000: sendbackup: pid 3141 ruid 34 euid 34 > version 3.3.8: rename at Tue Apr 19 00:56:47 2016 > Tue Apr 19 00:56:47 2016: thd-0x5589cc151000: sendbackup: Parsed request > as: program `GNUTAR' > Tue Apr 19 00:56:47 2016: thd-0x5589cc151000: sendbackup: > disk `//monster.someurl.de/dev' > Tue Apr 19 00:56:47 2016: thd-0x5589cc151000: sendbackup: > device `//monster.someurl.de/dev' > Tue Apr 19 00:56:47 2016: thd-0x5589cc151000: sendbackup: > level 0 > Tue Apr 19 00:56:47 2016: thd-0x5589cc151000: sendbackup: > since NODATE > Tue Apr 19 00:56:47 2016: thd-0x5589cc151000: sendbackup: > options `' > Tue Apr 19 00:56:47 2016: thd-0x5589cc151000: sendbackup: > datapath `AMANDA' > Tue Apr 19 00:56:47 2016: thd-0x5589cc151000: sendbackup: start: > localhost://monster.someurl.de/dev lev 0 Tue Apr 19 00:56:47 2016: > thd-0x5589cc151000: sendbackup: gnutar: backup of > \\monster.someurl.de\dev Tue Apr 19 00:56:47 2016: thd-0x5589cc151000: > sendbackup: Spawning "/usr/bin/smbclient smbclient > "\\\\monster.someurl.de\\dev" -U backup -E -d0 -Tqca -" in pipeline Tue Apr > 19 00:56:47 2016: thd-0x5589cc151000: sendbackup: gnutar: /usr/bin/smbclient: > pid 3144 Tue Apr 19 00:56:47 2016: thd-0x5589cc151000: sendbackup: Started > backup Tue Apr 19 00:56:47 2016: thd-0x5589cc151000: sendbackup: Started > index creator: "/bin/tar -tf - 2>/dev/null | sed -e 's/^\.//'" > Tue Apr 19 00:56:47 2016: thd-0x5589cc151000: sendbackup: 118: > strange(?): Error reading password from file descriptor 7: empty password Tue > Apr 19 00:56:47 2016: thd-0x5589cc151000: sendbackup: 118: strange(?): > Tue Apr 19 00:56:47 2016: thd-0x5589cc151000: sendbackup: 114: > normal(|): Domain=[someurl] OS=[Unix] Server=[Samba 3.6.24] Tue Apr 19 > 00:56:47 2016: thd-0x5589cc151000: sendbackup: 118: strange(?): > cli_setatr failed: NT_STATUS_ACCESS_DENIED Tue Apr 19 00:56:47 2016: > thd-0x5589cc151000: sendbackup: 118: strange(?): tar:712 Total bytes > received: 8196 Tue Apr 19 00:56:47 2016: thd-0x5589cc151000: > sendbackup: Index created successfully Tue Apr 19 00:56:47 2016: > thd-0x5589cc151000: sendbackup: critical (fatal): error [no backup > size line] > /usr/lib/amanda/libamanda-3.3.8.so(+0x2a0e7)[0x7f6df2f270e7] > /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_logv+0x1f4)[0x7f6df1c08944] > /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_log+0x8f)[0x7f6df1c08b6f] > /usr/lib/amanda/sendbackup(parse_backup_messages+0x28c)[0x5589ca7352cc > ] /usr/lib/amanda/sendbackup(main+0x14be)[0x5589ca732c8e] > /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7f6df11e8610 > ] /usr/lib/amanda/sendbackup(_start+0x29)[0x5589ca733d59] > > - As mentioned before it works with > smbclient_4.1.17+dfsg-2+deb8u1_amd64.deb > > Is there a solution in planing? It's not really a good thing to use a forced > downgrade from smbclient. > > Greetings and thanks > Tobias >
