AIX Open Source

 View Only
Expand all | Collapse all

lsof: WARNING: compiled for AIX version 6.1.0.0; this is 7.2.0.0.

  • 1.  lsof: WARNING: compiled for AIX version 6.1.0.0; this is 7.2.0.0.

    Posted Wed January 19, 2022 02:13 AM
    Edited by C- -T Wed January 19, 2022 02:16 AM
    hi,

    i am aware lsof is not in aixtoolbox, but i guess it comes out of your incubator somehow.

    lsof for aix prints out this warning message which is quite annoying when using lsof in scripts/automation. we have version 4.89 installed and there is no newer version available in MRS. the -w switch does not help, as this seems to be an explicit enabled development warning. so how to get rid of this message?

    wbr

    chris

    ------------------------------
    I regret starting this entire conversation
    ------------------------------


  • 2.  RE: lsof: WARNING: compiled for AIX version 6.1.0.0; this is 7.2.0.0.

    Posted Wed January 19, 2022 02:37 AM
    What is the warning message ?

    ------------------------------
    SANKET RATHI
    ------------------------------



  • 3.  RE: lsof: WARNING: compiled for AIX version 6.1.0.0; this is 7.2.0.0.

    Posted Wed January 19, 2022 02:54 AM

    lsof: WARNING: compiled for AIX version 6.1.0.0; this is 7.2.0.0.



    ------------------------------
    I regret starting this entire conversation
    ------------------------------



  • 4.  RE: lsof: WARNING: compiled for AIX version 6.1.0.0; this is 7.2.0.0.

    Posted Thu January 20, 2022 06:07 AM
    Edited by Juergen Maehlmann Thu January 20, 2022 06:07 AM
    you may download lsof, as well as openssh/ssl from marketing registration service:

    https://www-01.ibm.com/marketing/iwm/platform/mrs/assets?source=aixbp

    login with your normal ibm-id and password.

    maybe you need to be granted access (to long ago, that i used  this url first time)


    ------------------------------
    Juergen Maehlmann
    ------------------------------



  • 5.  RE: lsof: WARNING: compiled for AIX version 6.1.0.0; this is 7.2.0.0.

    Posted Thu January 20, 2022 07:49 AM
    msr only contains version 4.89. this versions prints the warning message, so this is of no help

    ------------------------------
    I regret starting this entire conversation
    ------------------------------



  • 6.  RE: lsof: WARNING: compiled for AIX version 6.1.0.0; this is 7.2.0.0.

    Posted Thu January 20, 2022 09:44 AM
    We further looked at the code and there is a missing check in community code. We have opened community defect for the same :
    https://github.com/lsof-org/lsof/issues/187

    Once this issue is fixed, we will apply the patch, rebuild and provide the fileset in web download pack.

    For further assistance, you can also open AIX support case for lsof.

    Thanks

    ------------------------------
    Sandeep Umesh
    ------------------------------



  • 7.  RE: lsof: WARNING: compiled for AIX version 6.1.0.0; this is 7.2.0.0.

    Posted Wed February 09, 2022 05:07 AM
    Edited by C- -T Wed February 09, 2022 05:07 AM
    opening an issue leads nowhere, you should  create an pull request

    ------------------------------
    I regret starting this entire conversation
    ------------------------------



  • 8.  RE: lsof: WARNING: compiled for AIX version 6.1.0.0; this is 7.2.0.0.

    Posted Tue March 29, 2022 07:37 AM
    https://github.com/lsof-org/lsof/issues/187#issuecomment-1071323804

    the lsof guys are calling for a pull request, when will this happen? if all fails, i am willing to do the pr. but i need an exact description of the proposed TESTED changes (patch), the "solution" mentioned in the issue is rather pointless.

    ------------------------------
    I regret starting this entire conversation
    ------------------------------



  • 9.  RE: lsof: WARNING: compiled for AIX version 6.1.0.0; this is 7.2.0.0.

    Posted Tue June 14, 2022 08:17 AM
    Hello

    We will publish a new version of lsof that will address the -w option issue.
    Can you please verify it ?

    ETA for this release in 20th June 2022. It will be made available in MRS.

    ------------------------------
    Sandeep Umesh
    ------------------------------



  • 10.  RE: lsof: WARNING: compiled for AIX version 6.1.0.0; this is 7.2.0.0.

    Posted Wed June 22, 2022 10:29 AM

    Hello @Sandeep Umesh !

    Thanks for uploading the new versions of lsof, but although in MRS it states (text made bold by me):

    "​​

    "

     ...only 4.891 is usable on our remaining few AIX 6.1, 4.892 throws an error after successful installation:

    "lsof.man.en_US 7.1.0.4892 USR APPLY SUCCESS
    lsof.license 7.1.0.4892 USR APPLY SUCCESS
    lsof.base 7.1.0.4892 USR APPLY SUCCESS
    lsof.base 7.1.0.4892 ROOT APPLY SUCCESS

    # User@host: # lsof -i


    exec(): 0509-036 Cannot load program lsof because of the following errors:
    0509-130 Symbol resolution failed for lsof because:
    0509-136 Symbol ___strcmp64 (number 17) is not exported from
    dependent module /usr/lib/libc.a[shr_64.o].
    0509-136 Symbol ___strcpy64 (number 20) is not exported from
    dependent module /usr/lib/libc.a[shr_64.o].
    0509-136 Symbol __setjmp (number 23) is not exported from
    dependent module /usr/lib/libc.a[shr_64.o].
    0509-192 Examine .loader section symbols with the
    'dump -Tv' command."

    ​oslevel -s shows AIX 6.1 TL 9 SP 12.

    Is this expected behaviour? 4.891 works fine on the AIX 6.1 hosts.

    Thanks,

    With kind regards,

    Steve



    ------------------------------
    Stephan Dietl
    ------------------------------



  • 11.  RE: lsof: WARNING: compiled for AIX version 6.1.0.0; this is 7.2.0.0.

    Posted Thu July 07, 2022 10:35 AM
    Hello!

    Anybody ideas on this :) ?


    Thanks,

    with kind regards,

    Stephan Dietl

    ------------------------------
    Stephan Dietl
    ------------------------------



  • 12.  RE: lsof: WARNING: compiled for AIX version 6.1.0.0; this is 7.2.0.0.

    Posted Thu July 07, 2022 10:41 AM
    as ibm switched their buildhost to aix 7.1,  i would gues the binaries are no more 6.1 compatible.

    ------------------------------
    I regret starting this entire conversation
    ------------------------------



  • 13.  RE: lsof: WARNING: compiled for AIX version 6.1.0.0; this is 7.2.0.0.

    Posted Thu July 07, 2022 11:25 AM

    Hey @C- -T !

    Exactly, so if I´m not doing it wrong I think they should upgrade their information from:

    to -->

    With kind regards,

    Stephan Dietl



    ------------------------------
    Stephan Dietl
    ------------------------------



  • 14.  RE: lsof: WARNING: compiled for AIX version 6.1.0.0; this is 7.2.0.0.

    Posted Thu July 07, 2022 11:31 AM
    Yes, we are working towards it. The web page will be soon updated. Thanks

    ------------------------------
    Sandeep Umesh
    ------------------------------



  • 15.  RE: lsof: WARNING: compiled for AIX version 6.1.0.0; this is 7.2.0.0.

    Posted Thu July 07, 2022 11:36 AM

    @Sandeep Umesh

    Thank you :) !


    With kind regards,​



    ------------------------------
    Stephan Dietl
    ------------------------------



  • 16.  RE: lsof: WARNING: compiled for AIX version 6.1.0.0; this is 7.2.0.0.

    Posted Wed February 08, 2023 12:29 AM
    Hello
    For the version 7.1.0.4892 of lsof it shows me the following warning:
    lsof: WARNING: compiled for AIX version 7.1.0.0; this is 7.2.0.0

    Help me, thanks.
    Victor.

    ------------------------------
    Victor Guzman
    ------------------------------



  • 17.  RE: lsof: WARNING: compiled for AIX version 6.1.0.0; this is 7.2.0.0.

    Posted Thu September 21, 2023 09:03 AM

    Hello, I have the same problem. I have installed for my OS version, but I still get the same Warning. Any idea why? 

    # lsof -v
    lsof version information:
        revision: 4.89
        latest revision: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/
        latest FAQ: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/FAQ
        latest man page: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_man
        configuration info: 64 bit kernel
        constructed: Wed Jun 8 08:49:24 CDT 2022
        constructed by and on: root@bldopensrc3
        compiler: cc
        compiler version: IBM XL C for AIX, Version 11.1.0.1 ./lsof_Configure_tmp_17825800.c 06/08/22 08:48:06 (C)
        compiler flags: -DHAS_NFS -DHASIPv6 -DHASSTAT64 -DHAS_JFS2 -I/lsof/lsof_4.89_src/dialects/aix/aix5 -q64 -DAIX_KERNBITS=64 -DAIXA=1 -DAIXV=7100 -qmaxmem=-1 -DHAS_STRFTIME -DLSOF_VSTR="7.1.0.0" -O
        loader flags: -L./lib -llsof  -bnolibpath
        system info: AIX bldopensrc3 1 7 00F7CD554C00
        Only root can list all files.
        /dev warnings are enabled.
        Kernel ID check is enabled.
        Device cache file read-only paths:
            Named via -D: none
            Named in environment variable LSOFDEVCACHE: none
            Personal path format (HASPERSDC): "%h/%p.lsof_%L"
            Modified personal path environment variable: LSOFPERSDCPATH
            LSOFPERSDCPATH value: none
            Personal path: /root/.lsof_UES900600
        Device cache file write paths:
            Named via -D: none
            Named in environment variable LSOFDEVCACHE: none
            Personal path format (HASPERSDC): "%h/%p.lsof_%L"
            Modified personal path environment variable: LSOFPERSDCPATH
            LSOFPERSDCPATH value: none
            Personal path: /root/.lsof_UES900600

    # oslevel -s
    7200-05-06-2320

    # lsof -i tcp:22 | head
    lsof: WARNING: compiled for AIX version 7.1.0.0; this is 7.2.0.0.



    ------------------------------
    HENRY PEINADO RIOS
    ------------------------------



  • 18.  RE: lsof: WARNING: compiled for AIX version 6.1.0.0; this is 7.2.0.0.

    Posted Thu September 21, 2023 09:09 AM
    Edited by C- -T Thu September 21, 2023 09:09 AM

    i started building my own lsof binary an using this, as this problem is still not fixed...so no i have no idea when this will be fixed, if ever...



    ------------------------------
    I regret starting this entire conversation
    ------------------------------



  • 19.  RE: lsof: WARNING: compiled for AIX version 6.1.0.0; this is 7.2.0.0.

    Posted 7 days ago
    Edited by Stephan Åkeborg 7 days ago

    Lets bring that back to product manager AIX, there is an TCC this week (F2F), so I sent the wish to him for an lsof "update" so the warnings dissapear and saves us the time for answering the same question over-and-over again.

    Our AIX PS find the 4.89 misses this-ish:

    if AIXV<5000
    ...
    if (Fwarn)
    return;
    else
    ...
    endif

    /S



    ------------------------------
    Stephan Åkeborg
    Systems Engineer (Infrastructure Solutions Area Designer)
    IKEA IT
    Heklsingborg
    +46706111198
    ------------------------------