AW: AW: AW: AW: AW: sendbackup: critical (fatal): error [no backup size line]

2016-04-22 Thread Tobias Köck
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: 

Re: Problems with amsamba on Debian Jessie since upgrade

2016-04-22 Thread Stefan G. Weichinger
Am 2016-04-22 um 08:08 schrieb Traugott Simon:
> I have filed a bug report about this at Samba and Debian:
> 
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=821801
> https://bugzilla.samba.org/show_bug.cgi?id=11854

Thanks for doing that. bug-reports lead to bug-fixing. Sometimes ;)



Aw: Re: Problems with amsamba on Debian Jessie since upgrade

2016-04-22 Thread Traugott Simon
I have filed a bug report about this at Samba and Debian:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=821801
https://bugzilla.samba.org/show_bug.cgi?id=11854

Greetings