Re: amcheck-device, signal 11

2019-01-08 Thread Stefan G. Weichinger
Am 08.01.19 um 13:37 schrieb Stefan G. Weichinger:

> filed a bug at gentoo:
> 
> https://bugs.gentoo.org/674864

Just in case someone is interested:

I made some progress there, there seems to be some bug around barcodes.


Re: amcheck-device, signal 11

2019-01-08 Thread Stefan G. Weichinger
Am 08.01.19 um 10:30 schrieb Stefan G. Weichinger:
> Am 06.01.19 um 10:59 schrieb Stefan G. Weichinger:
> 
>>> /usr/libexec/amanda/amcheck-device
>>>
>>> fails with
>>>
>>> traps: amcheck-device[11133] trap invalid opcode ip:7fc29a5d33bc
>>> sp:7fffb73c7770 error:0 in libamanda-3.5.1.so[7fc29a5ad000+7e000]
>>>
>>> A little help would be nice, can't write to tape on that server
> 
> I downgraded to 3.4.5 (had that package on another server): same error
> 
> We removed tapes from the library to avoid handling issues, I can swap
> tapes OK.

filed a bug at gentoo:

https://bugs.gentoo.org/674864

And I increased debug logs and get this in amcheck.20190108133441.debug:


$ cat  amcheck.20190108133441.debug
Tue Jan 08 13:34:41.376632080 2019: pid 30374: thd-0x55884b729e00:
amcheck: pid 30374 ruid 87 euid 87 version 3.5.1: start at Tue Jan  8
13:34:41 2019
Tue Jan 08 13:34:41.376865159 2019: pid 30374: thd-0x55884b729e00:
amcheck: reading config file /etc/amanda/abt/amanda.conf
Tue Jan 08 13:34:41.378244252 2019: pid 30374: thd-0x55884b729e00:
amcheck: reading config file /etc/amanda/abt/lvm-snapshot.conf
Tue Jan 08 13:34:41.378836128 2019: pid 30374: thd-0x55884b729e00:
amcheck: pid 30374 ruid 87 euid 87 version 3.5.1: rename at Tue Jan  8
13:34:41 2019
Tue Jan 08 13:34:41.380620735 2019: pid 30375: thd-0x55884b729e00:
amcheck-server: new message: amcheck.c:952:4:2800027 Amanda Tape Server
Host Check
Tue Jan 08 13:34:41.380737992 2019: pid 30375: thd-0x55884b729e00:
amcheck-server: Not value for key 'dle_hostname' in message   {
"source_filename" : "amcheck.c",
"source_line" : "952",
"severity" : "message",
"process" : "amcheck-server",
"running_on" : "amanda-server",
"component" : "amanda",
"module" : "amanda",
"code" : "2800027",
"message" : "Amanda Tape Server Host Check"
  }
Tue Jan 08 13:34:41.381768872 2019: pid 30375: thd-0x55884b729e00:
amcheck-server: Spawning "/usr/libexec/amanda/amcheck-device
/usr/libexec/amanda/amcheck-device abt abt" in pipeline
Tue Jan 08 13:34:42.924628864 2019: pid 30375: thd-0x55884b729e00:
amcheck-server: new message: amcheck.c:891:16:2800026 amcheck-device
terminated with signal 11
Tue Jan 08 13:34:42.924706071 2019: pid 30375: thd-0x55884b729e00:
amcheck-server: Not value for key 'dle_hostname' in message ,
  {
"source_filename" : "amcheck.c",
"source_line" : "891",
"severity" : "error",
"process" : "amcheck-server",
"running_on" : "amanda-server",
"component" : "amanda",
"module" : "amanda",
"code" : "2800026",
"signal" : "11",
"message" : "amcheck-device terminated with signal 11"
  }
Tue Jan 08 13:34:42.924767111 2019: pid 30375: thd-0x55884b729e00:
amcheck-server: new message: amcheck.c:2045:4:2800160 Server check took
1.544 seconds
Tue Jan 08 13:34:42.924789407 2019: pid 30375: thd-0x55884b729e00:
amcheck-server: Not value for key 'dle_hostname' in message ,
  {
"source_filename" : "amcheck.c",
"source_line" : "2045",
"severity" : "message",
"process" : "amcheck-server",
"running_on" : "amanda-server",
"component" : "amanda",
"module" : "amanda",
"code" : "2800160",
"seconds" : "1.544",
"message" : "Server check took 1.544 seconds"
  }
Tue Jan 08 13:34:42.924809351 2019: pid 30375: thd-0x55884b729e00:
amcheck-server: userbad: 0
Tue Jan 08 13:34:42.924819782 2019: pid 30375: thd-0x55884b729e00:
amcheck-server: confbad: 0
Tue Jan 08 13:34:42.924829247 2019: pid 30375: thd-0x55884b729e00:
amcheck-server: tapebad: 1
Tue Jan 08 13:34:42.924838628 2019: pid 30375: thd-0x55884b729e00:
amcheck-server: disklow: 0
Tue Jan 08 13:34:42.924848212 2019: pid 30375: thd-0x55884b729e00:
amcheck-server: logbad: 0
Tue Jan 08 13:34:42.924857503 2019: pid 30375: thd-0x55884b729e00:
amcheck-server: infobad: 0
Tue Jan 08 13:34:42.924867022 2019: pid 30375: thd-0x55884b729e00:
amcheck-server: indexbad: 0
Tue Jan 08 13:34:42.924876151 2019: pid 30375: thd-0x55884b729e00:
amcheck-server: pgmbad: 0
Tue Jan 08 13:34:42.925476814 2019: pid 30374: thd-0x55884b729e00:
amcheck: new message: amcheck.c:555:4:2800016 (brought to you by Amanda
3.5.1)
Tue Jan 08 13:34:42.925544943 2019: pid 30374: thd-0x55884b729e00:
amcheck: Not value for key 'dle_hostname' in message   {
"source_filename" : "amcheck.c",
"source_line" : "555",
"severity" : "message",
"process" : "amcheck",
"running_on" : "amanda-server",
"component" : "amanda",
"module" : "amanda",
"code" : "2800016",
"version" : "3.5.1",
"message" : "(brought to you by Amanda 3.5.1)"
  }
Tue Jan 08 13:34:42.925599615 2019: pid 30374: thd-0x55884b729e00:
amcheck: server_probs: 1
Tue Jan 08 13:34:42.925611294 2019: pid 30374: thd-0x55884b729e00:
amcheck: client_probs: 0
Tue Jan 08 13:34:42.925629444 2019: pid 30374: thd-0x55884b729e00:
amcheck: ru_utime   : 0
Tue Jan 08 13:34:42.925680626 2019: pid 30374: thd-0x55884b729e00:
amcheck: ru_stime   : 0
Tue Jan 08 13:34:42.925691549 2019: pid 30374: thd-0x5

Re: amcheck-device, signal 11

2019-01-08 Thread Stefan G. Weichinger
Am 06.01.19 um 10:59 schrieb Stefan G. Weichinger:

>> /usr/libexec/amanda/amcheck-device
>>
>> fails with
>>
>> traps: amcheck-device[11133] trap invalid opcode ip:7fc29a5d33bc
>> sp:7fffb73c7770 error:0 in libamanda-3.5.1.so[7fc29a5ad000+7e000]
>>
>> A little help would be nice, can't write to tape on that server

I downgraded to 3.4.5 (had that package on another server): same error

We removed tapes from the library to avoid handling issues, I can swap
tapes OK.




Re: amcheck-device, signal 11

2019-01-06 Thread Stefan G. Weichinger
Am 24.12.18 um 16:55 schrieb Stefan G. Weichinger:

>> Maybe someone could take a look here:
>>
>> https://oc.oops.co.at/nextcloud/index.php/s/pfTRE34c3aqPyDZ
> 
> 
> 
> /usr/libexec/amanda/amcheck-device
> 
> fails with
> 
> traps: amcheck-device[11133] trap invalid opcode ip:7fc29a5d33bc
> sp:7fffb73c7770 error:0 in libamanda-3.5.1.so[7fc29a5ad000+7e000]
> 
> A little help would be nice, can't write to tape on that server

*bump*





Re: amcheck-device, signal 11

2018-12-24 Thread Stefan G. Weichinger
Am 22.12.18 um 09:36 schrieb Stefan G. Weichinger:
> Am 21.12.18 um 19:01 schrieb Stefan G. Weichinger:
>> Am 18.12.18 um 14:29 schrieb Stefan G. Weichinger:
>>>
>>> I get this error with amcheck:
>>>
>>> ERROR: amcheck-device terminated with signal 11
> 
> I now updated and rebooted the library as well.
> 
> Maybe someone could take a look here:
> 
> https://oc.oops.co.at/nextcloud/index.php/s/pfTRE34c3aqPyDZ



/usr/libexec/amanda/amcheck-device

fails with

traps: amcheck-device[11133] trap invalid opcode ip:7fc29a5d33bc
sp:7fffb73c7770 error:0 in libamanda-3.5.1.so[7fc29a5ad000+7e000]

A little help would be nice, can't write to tape on that server

happy xmas all ;-)


Re: amcheck-device, signal 11

2018-12-22 Thread Stefan G. Weichinger

Am 21.12.18 um 19:01 schrieb Stefan G. Weichinger:

Am 18.12.18 um 14:29 schrieb Stefan G. Weichinger:


I get this error with amcheck:

ERROR: amcheck-device terminated with signal 11


I now updated and rebooted the library as well.

Maybe someone could take a look here:

https://oc.oops.co.at/nextcloud/index.php/s/pfTRE34c3aqPyDZ


Re: amcheck-device, signal 11

2018-12-21 Thread Stefan G. Weichinger
Am 18.12.18 um 14:29 schrieb Stefan G. Weichinger:
> 
> I get this error with amcheck:
> 
> ERROR: amcheck-device terminated with signal 11
> 
> amanda-3.5.1 ... completely rebuilt, perl stuff updated etc
> 
> I can load various tapes via amtape, no problem.
> 
> dmesg says:
> 
> 
> [27652194.798451] amcheck-device[668]: segfault at 8 ip 7f094b6ed6e6
> sp 7ffe8db1e108 error 4 in libc-2.27.so[7f094b64f000+1be000]
> [27652251.601630] taper[738]: segfault at 8 ip 7ff019f8e6e6 sp
> 7ffe4bf62168 error 4 in libc-2.27.so[7ff019ef+1be000]
> [27820394.885337] amcheck-device[3382]: segfault at 8 ip
> 7f784fd646e6 sp 7ffc42b7d0e8 error 4 in
> libc-2.27.so[7f784fcc6000+1be000]
> [27820403.734992] taper[3416]: segfault at 8 ip 7f0f526546e6 sp
> 7c2c2da8 error 4 in libc-2.27.so[7f0f525b6000+1be000]
> [27904616.708181] amcheck-device[4577]: segfault at 8 ip
> 7f7669d676e6 sp 7ffc60a97cb8 error 4 in
> libc-2.27.so[7f7669cc9000+1be000]
> [27904789.532607] amcheck-device[4880]: segfault at 8 ip
> 7f14e954a6e6 sp 7ffedac1aca8 error 4 in
> libc-2.27.so[7f14e94ac000+1be000]
> [27905189.749438] amcheck-device[8400]: segfault at 8 ip
> 7f15abb6a6e6 sp 7fff0bb7c3d8 error 4 in
> libc-2.27.so[7f15abacc000+1be000]
> [27905388.883275] amcheck-device[8528]: segfault at 8 ip
> 7efece6ba6e6 sp 7fff5afbc768 error 4 in
> libc-2.27.so[7efece61c000+1be000]
> [27905442.641298] amcheck-device[8581]: segfault at 8 ip
> 7f36788986e6 sp 7ffc67faf2f8 error 4 in
> libc-2.27.so[7f36787fa000+1be000]
> [27905718.857330] amcheck-device[8733]: segfault at 8 ip
> 7f143d7ae6e6 sp 7ffeb709f728 error 4 in
> libc-2.27.so[7f143d71+1be000]
> 
> 
> I think of rebooting the library and/or the server ...
> 
> hints welcome
> 


filed this:

https://github.com/zmanda/amanda/issues/94