Re: Amanda 3.5.1 - "ERROR: amcheck-device terminated with signal 11"

Chris Hoogendyk <[email protected]>
Newsgroups gmane.comp.archivers.amanda.user
Message-ID <[email protected]>
hmm. Fixed double $$. Then

    amanda@marlin:~/daily$ amcheck -s -otaperscan=taper_lexical daily

        Amanda Tape Server Host Check
        -----------------------------
        NOTE: Holding disk '/amanda3': 3011121152 KB disk space available, using 2906263552 KB
        NOTE: Holding disk '/amanda4': 416890880 KB disk space available, using 312033280 KB
        NOTE: Holding disk '/amanda5': 104857600 KB disk space available, using 0 KB
        ERROR: amcheck-device terminated with signal 11
        Server check took 7.302 seconds
        (brought to you by Amanda 3.5.1)

    amanda@marlin:~/daily$

In /tmp/amanda/server/daily/amcheck-device.20201012221620.debug:

    Mon Oct 12 22:16:21.846884734 2020: pid 23996: thd-0x25c0800: amcheck-device: mtx:       Storage
    Element 38:Full :VolumeTag=000041L7
    Mon Oct 12 22:16:21.846931700 2020: pid 23996: thd-0x25c0800: amcheck-device: mtx:       Storage
    Element 39:Full :VolumeTag=000042L7
    Mon Oct 12 22:16:21.846974541 2020: pid 23996: thd-0x25c0800: amcheck-device: mtx:       Storage
    Element 40:Empty
    Mon Oct 12 22:16:21.847013670 2020: pid 23996: thd-0x25c0800: amcheck-device: mtx:       Storage
    Element 41:Empty
    Mon Oct 12 22:16:21.847052040 2020: pid 23996: thd-0x25c0800: amcheck-device: mtx:       Storage
    Element 42:Empty
    Mon Oct 12 22:16:21.847095434 2020: pid 23996: thd-0x25c0800: amcheck-device: mtx:       Storage
    Element 43:Full :VolumeTag=000043L7
    Mon Oct 12 22:16:21.847139628 2020: pid 23996: thd-0x25c0800: amcheck-device: mtx:       Storage
    Element 44:Empty
    Mon Oct 12 22:16:21.847178893 2020: pid 23996: thd-0x25c0800: amcheck-device: mtx:       Storage
    Element 45:Empty
    Mon Oct 12 22:16:21.847217831 2020: pid 23996: thd-0x25c0800: amcheck-device: mtx:       Storage
    Element 46:Empty
    Mon Oct 12 22:16:21.847261315 2020: pid 23996: thd-0x25c0800: amcheck-device: mtx:       Storage
    Element 47:Full :VolumeTag=CLN001CU
    Mon Oct 12 22:16:21.847313575 2020: pid 23996: thd-0x25c0800: amcheck-device: mtx:       Storage
    Element 48:Full :VolumeTag=CLN002CU
    Mon Oct 12 22:16:21.847462771 2020: pid 23996: thd-0x25c0800: amcheck-device: NEO200x48:
    updating state
    Mon Oct 12 22:16:21.854842315 2020: pid 23996: thd-0x25c0800: amcheck-device: slot: 0  label:
    Bio-Research-013ds: 0
    Mon Oct 12 22:16:21.856260588 2020: pid 23996: thd-0x25c0800: amcheck-device: slot: 1  label:
    Bio-Research-003ds: 0
    Mon Oct 12 22:16:21.856415474 2020: pid 23996: thd-0x25c0800: amcheck-device: slot: 2  label:
    Bio-Research-004ds: 0
    Mon Oct 12 22:16:21.856638105 2020: pid 23996: thd-0x25c0800: amcheck-device: slot: 3  label:
    Bio-Research-005ds: 0
    Mon Oct 12 22:16:21.856765629 2020: pid 23996: thd-0x25c0800: amcheck-device: slot: 4  label:
    Bio-Research-006ds: 0
    Mon Oct 12 22:16:21.856956218 2020: pid 23996: thd-0x25c0800: amcheck-device: warning: Use of
    uninitialized value in concatenation (.) or string at
    /usr/local/share/perl/5.22.1/Amanda/Taper/Scan/lexical.pm line 102.
    Mon Oct 12 22:16:21.856984955 2020: pid 23996: thd-0x25c0800: amcheck-device: slot: 5  label:
    Bio-Research-007ds:
    Mon Oct 12 22:16:21.857041299 2020: pid 23996: thd-0x25c0800: amcheck-device: slot: 6  label:
    Bio-Research-008ds: 0
    Mon Oct 12 22:16:21.857135202 2020: pid 23996: thd-0x25c0800: amcheck-device: slot: 7  label:
    Bio-Research-009ds: 0
    Mon Oct 12 22:16:21.857244733 2020: pid 23996: thd-0x25c0800: amcheck-device: warning: Use of
    uninitialized value in concatenation (.) or string at
    /usr/local/share/perl/5.22.1/Amanda/Taper/Scan/lexical.pm line 102.
    Mon Oct 12 22:16:21.857270890 2020: pid 23996: thd-0x25c0800: amcheck-device: slot: 8  label:
    Bio-Research-010ds:
    Mon Oct 12 22:16:21.857321707 2020: pid 23996: thd-0x25c0800: amcheck-device: warning: Use of
    uninitialized value in concatenation (.) or string at
    /usr/local/share/perl/5.22.1/Amanda/Taper/Scan/lexical.pm line 102.
    Mon Oct 12 22:16:21.857347044 2020: pid 23996: thd-0x25c0800: amcheck-device: slot: 9  label:
    Bio-Research-011ds:
    Mon Oct 12 22:16:21.857380544 2020: pid 23996: thd-0x25c0800: amcheck-device: slot: 10  label:
    Bio-Research-012ds: 0
    Mon Oct 12 22:16:21.857471810 2020: pid 23996: thd-0x25c0800: amcheck-device: slot: 11  label:
    Bio-Research-028ds: 0
    Mon Oct 12 22:16:21.857580226 2020: pid 23996: thd-0x25c0800: amcheck-device: warning: Use of
    uninitialized value in concatenation (.) or string at
    /usr/local/share/perl/5.22.1/Amanda/Taper/Scan/lexical.pm line 102.
    Mon Oct 12 22:16:21.857607369 2020: pid 23996: thd-0x25c0800: amcheck-device: slot: 12  label: ds: 0

In the kern.log:

    Oct 12 22:16:21 marlin kernel: [2534284.886931] amcheck-device[23996]: segfault at 0 ip
    00007f5cd7ddf7c6 sp 00007ffc211d91f8 error 4 in libc-2.23.so[7f5cd7d54000+1c0000]


On 10/12/20 5:33 PM, Nathan Stratton Treadway wrote:
> On Mon, Oct 12, 2020 at 15:27:44 -0400, Chris Hoogendyk wrote:
>>         amcheck-device: Not a SCALAR reference at
>>         /usr/local/share/perl/5.22.1/Amanda/Taper/Scan/lexical.pm line 102.
> Ah, drat, this was a typo in my patch.  Please edit line 102 of that
> file and remove the doubled "$" character, i.e.
>     $$sl->{device_status}
> should be
>     $sl->{device_status}
>
> Then retry the amcheck test and see if gets any farther along.
>
> 							Nathan
>
>
>
> p.s. if there are any actual Perl programmers left on this list, feel
> free to jump in and point us in the right direction here....
>
> ----------------------------------------------------------------------------
> Nathan Stratton Treadway  -  [email protected]  -  Mid-Atlantic region
> Ray Ontko & Co.  -  Software consulting services  -   http://www.ontko.com/
>   GPG Key: http://www.ontko.com/~nathanst/gpg_key.txt   ID: 1023D/ECFB6239
>   Key fingerprint = 6AD8 485E 20B9 5C71 231C  0C32 15F3 ADCD ECFB 6239

-- 
---------------

Chris Hoogendyk

-
    O__  ---- Systems Administrator, Retired
   c/ /'_ --- Biology & Geosciences Departments
  (*) \(*) -- 315 Morrill Science Center III
~~~~~~~~~~ - University of Massachusetts, Amherst

<[email protected]>

---------------

Erdös 4
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.