AIX Open Source

AIX Open Source

Share your experiences and connect with fellow developers to discover how to build and manage open source software for the AIX operating system

 View Only
  • 1.  Fail to start samba(samba-4.14.10-1.ppc) service on aix 7.2

    Posted Wed February 09, 2022 06:13 AM
    Hi everyone,

    I installed samba-4.14.10-1-ppc form AIX ToolBox by dnf,but the samba service cannot be started with the following error message.

    # cd /etc/rc.d/init.d
    # ls
    nmbd smbd winbindd
    # ./smbd start
    Starting Samba smbd daemon... Could not load program /opt/freeware/sbin/smbd:
    rtld: 0712-001 Symbol _GLOBAL__AIXI_libp11_kit_so was referenced
    from module /opt/freeware/lib/libgnutls.a(libgnutls.so.30), but a runtime definition
    of the symbol was not found.
    rtld: 0712-001 Symbol _GLOBAL__AIXD_libp11_kit_so was referenced
    from module /opt/freeware/lib/libgnutls.a(libgnutls.so.30), but a runtime definition
    of the symbol was not found.
    done.
    #
    # rpm -qi gnutls
    Name : gnutls
    Version : 3.7.1
    Release : 1
    Architecture: ppc
    Install Date: Tue Feb 8 17:00:09 2022
    Group : System Environment/Libraries
    Size : 25845832
    License : GPLv3+ and LGPLv2+
    Signature : (none)
    Source RPM : gnutls-3.7.1-1.src.rpm
    Build Date : Wed May 5 20:41:46 2021
    Build Host : pokndd10.pok.stglabs.ibm.com
    Packager : IBM AIX Toolbox <https://ibm.biz/AIXToolbox>
    URL : http://www.gnutls.org/
    Bug URL : https://ibm.biz/aixoss_forum
    Summary : A TLS protocol implementation
    Description :
    GnuTLS is a project that aims to develop a library which provides a secure
    layer, over a reliable transport layer. Currently the GnuTLS library implements
    the proposed standards by the IETF's TLS working group.

    The library is available as 32-bit and 64-bit.
    # rpm -qi samba
    Name : samba
    Version : 4.14.10
    Release : 1
    Architecture: ppc
    Install Date: Tue Feb 8 16:24:27 2022
    Group : Unspecified
    Size : 4501997
    License : GPLv3+ and LGPLv3+
    Signature : (none)
    Source RPM : samba-4.14.10-1.src.rpm
    Build Date : Mon Dec 20 23:47:20 2021
    Build Host : aixoss3.in.ibm.com
    Packager : IBM AIX Toolbox <https://ibm.biz/AIXToolbox>
    URL : http://www.samba.org/
    Bug URL : https://ibm.biz/aixoss_forum
    Summary : Server and Client software to interoperate with Windows machines
    Description :
    Samba is the suite of programs by which a lot of PC-related machines
    share files, printers, and other information (such as lists of
    available files and printers). The Windows NT, OS/2, and Linux
    operating systems support this natively, and add-on packages can
    enable the same thing for DOS, Windows, VMS, UNIX of all kinds, MVS,
    and more. This package provides an SMB/CIFS server that can be used to
    B
    provide network services to SMB/CIFS clients.
    Samba uses NetBIOS over TCP/IP (NetBT) protocols and does NOT
    need the NetBEUI (Microsoft Raw NetBIOS frame) protocol.
    #

    I've seen similar posts, but I'm using "AIX Toolbox gnutls and samba" according to the solution.

    Can anyone help? Thanks.

    ------------------------------
    tosaka
    ------------------------------




    ------------------------------
    修一 登阪
    ------------------------------


  • 2.  RE: Fail to start samba(samba-4.14.10-1.ppc) service on aix 7.2

    Posted Wed February 09, 2022 06:22 AM
    Do you have p11-kit rpm installed ?
    rpm -qa | grep p11-kit 
    If present , what is the output of "rpm -qi p11-kit"

    ------------------------------
    Ayappan P
    ------------------------------



  • 3.  RE: Fail to start samba(samba-4.14.10-1.ppc) service on aix 7.2

    Posted Wed February 09, 2022 06:59 PM
    Thank you for your reply.

    I tried 「dnf update」 and it worked.

    The latest samba was released yesterday.
    It's not clear if the latest version has improved anything or if it's a solution with 「dnf update」.
    # rpm -qa samba
    samba-4.14.12-1.ppc
    # rpm -qa gnutls
    gnutls-3.7.1-1.ppc

    The p-11 kit is as follows.

    # rpm -qa | grep p11-kit
    p11-kit-0.23.22-1.ppc
    p11-kit-tools-0.23.22-1.ppc

    # rpm -qi p11-kit
    Name : p11-kit
    Version : 0.23.22
    Release : 1
    Architecture: ppc
    Install Date: Wed Feb 9 17:23:19 JST 2022
    Group : Development/Libraries/C and C++
    Size : 25284402
    License : BSD3c
    Signature : (none)
    Source RPM : p11-kit-0.23.22-1.src.rpm
    Build Date : Thu Jul 22 20:54:21 JDT 2021
    Build Host : pokndd5.pok.stglabs.ibm.com
    Packager : IBM AIX Toolbox <https://ibm.biz/AIXToolbox>
    URL : https://p11-glue.github.io/p11-glue/p11-kit.html
    Bug URL : https://ibm.biz/aixoss_forum
    Summary : Library to work with PKCS#11 modules
    Description :
    p11-kit provides a way to load and enumerate PKCS#11 modules, as well
    as a standard configuration setup for installing PKCS#11 modules in
    such a way that they're discoverable.

    The library is available as 32-bit and 64-bit.
    #

    tosaka

    ------------------------------
    修一 登阪
    ------------------------------



  • 4.  RE: Fail to start samba(samba-4.14.10-1.ppc) service on aix 7.2

    Posted Mon June 20, 2022 03:14 PM
    Hi, 
    Is there any solution above error, as I am hitting similar error after installing samba with dnf.

    hdadslttd5:/depot/dnf-20220619 # rpm -qa samba*
    samba-client-4.14.12-1.ppc
    samba-devel-4.14.12-1.ppc
    samba-winbind-clients-4.14.12-1.ppc
    samba-4.14.12-1.ppc
    samba-common-4.14.12-1.ppc
    samba-libs-4.14.12-1.ppc
    samba-winbind-4.14.12-1.ppc
    hdadslttd5:/depot/dnf-20220619 # smbstatus
    Could not load program smbstatus:
    rtld: 0712-001 Symbol _GLOBAL__AIXI_libp11_kit_so was referenced
    from module /opt/freeware/lib/libgnutls.a(libgnutls.so.30), but a runtime definition
    of the symbol was not found.
    rtld: 0712-001 Symbol _GLOBAL__AIXD_libp11_kit_so was referenced
    from module /opt/freeware/lib/libgnutls.a(libgnutls.so.30), but a runtime definition
    of the symbol was not found.
    hdadslttd5:/depot/dnf-20220619 # sambastatus
    ksh: sambastatus: not found
    hdadslttd5:/depot/dnf-20220619 # cd
    hdadslttd5:/ # smbstatus
    Could not load program smbstatus:
    rtld: 0712-001 Symbol _GLOBAL__AIXI_libp11_kit_so was referenced
    from module /opt/freeware/lib/libgnutls.a(libgnutls.so.30), but a runtime definition
    of the symbol was not found.
    rtld: 0712-001 Symbol _GLOBAL__AIXD_libp11_kit_so was referenced
    from module /opt/freeware/lib/libgnutls.a(libgnutls.so.30), but a runtime definition
    of the symbol was not found.
    hdadslttd5:/ # rpm -qa | grep p11-kit
    p11-kit-0.23.16-0.ppc
    p11-kit-tools-0.23.16-0.ppc
    hdadslttd5:/ # rpm -qi p11-kit
    Name : p11-kit
    Version : 0.23.16
    Release : 0
    Architecture: ppc
    Install Date: Mon Jun 20 13:10:03 2022
    Group : Development/Libraries/C and C++
    Size : 5585987
    License : BSD3c
    Signature : (none)
    Source RPM : p11-kit-0.23.16-0.src.rpm
    Build Date : Wed Apr 7 11:24:18 2021
    Build Host : fvt-p7a2-lp5.pok.stglabs.ibm.com
    Packager : IBM AIX Toolbox <https://ibm.biz/AIXToolbox>
    URL : http://p11-glue.freedesktop.org/p11-kit.html
    Bug URL : https://ibm.biz/aixoss_forum
    Summary : Library to work with PKCS#11 modules
    Description :
    p11-kit provides a way to load and enumerate PKCS#11 modules, as well
    as a standard configuration setup for installing PKCS#11 modules in
    such a way that they're discoverable.

    The library is available as 32-bit and 64-bit.
    hdadslttd5:/ #

    Please let me know.
    Thanks
    HD Team

    ------------------------------
    Harley AIX
    ------------------------------