Open Source Development

Power Open Source Development

Explore the open source tools and capabilities for building and deploying modern applications on IBM Power platforms including AIX, IBM i, and Linux.


#Power


#Power

 View Only
  • 1.  Samba failing to start in foreground mode

    Posted Tue March 09, 2021 08:24 AM
    Anyone else seeing an issue where AIX 7.2 servers cannot run Samba in Foreground mode?
    7200-05-01-2038

    samba-winbind-clients-4.12.10-1.ppc
    samba-libs-4.12.10-1.ppc
    samba-client-4.12.10-1.ppc
    samba-winbind-4.12.10-1.ppc
    samba-devel-4.12.10-1.ppc
    samba-common-4.12.10-1.ppc
    samba-4.12.10-1.ppc

    I can start it with just commands but cannot start with -F 

    cat log.winbindd
    [2021/03/09 06:11:12.323112, 0] ../../source3/winbindd/winbindd.c:1779(main)
    winbindd version 4.12.10 started.
    Copyright Andrew Tridgell and the Samba Team 1992-2020
    [2021/03/09 06:11:12.332512, 0] ../../lib/util/become_daemon.c:122(exit_daemon)
    exit_daemon: daemon failed to start: Failed to create session, error code 1

    cat log.smbd
    [2021/03/09 06:11:12.369948, 0] ../../source3/smbd/server.c:1782(main)
    smbd version 4.12.10 started.
    Copyright Andrew Tridgell and the Samba Team 1992-2020
    [2021/03/09 06:11:12.377556, 0] ../../lib/util/become_daemon.c:122(exit_daemon)
    exit_daemon: daemon failed to start: Failed to create session, error code 1

    I have just installed on a 7.1 and it works OK

    ------------------------------
    Don Larson
    ------------------------------

    #AIXOpenSource


  • 2.  RE: Samba failing to start in foreground mode

    Posted Mon March 22, 2021 10:50 AM
    Found the solution:
    Needed to add --no-process-group as flags in the startup. Once added it works as advertised. ​

    ------------------------------
    Don Larson
    ------------------------------



  • 3.  RE: Samba failing to start in foreground mode

    Posted Tue March 23, 2021 07:19 AM
    Thank you Don. This will help others if they face the same issue.

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