• [Samba] samba: setproctitle not initialized, please either call set

    From =?windows-1252?Q?L.P.H._van_Belle?=@21:1/5 to All on Wed Mar 15 16:20:02 2017
    Try :

    apt-get remove libbsd-dev
    restart samba, now is the message gone?


    Gr.

    Louis


    -----Oorspronkelijk bericht-----
    Van: samba [mailto:samba-bounces@lists.samba.org] Namens BasSamba via
    samba
    Verzonden: woensdag 15 maart 2017 16:09
    Aan: samba@lists.samba.org
    Onderwerp: [Samba] samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.



    Hi,
    Ubuntu server edition 16.04.1
    samba 4.3.11-ubuntu
    Samba server role = Active directory domain controller
    The following log is recurring at /var/log/samba/log.samba
    How to resolve it.

    ----------------------------------------------------
    Exiting pid 3013 on SIGTERM
    Exiting pid 3015 on SIGTERM
    Exiting pid 3014 on SIGTERM
    Exiting pid 3023 on SIGTERM
    Exiting pid 3018 on SIGTERM
    Exiting pid 3025 on SIGTERM
    Exiting pid 3020 on SIGTERM
    Exiting pid 3028 on SIGTERM
    [2017/03/10 16:03:22.478704, 0] ../source4/smbd/server.c:121(sig_term)
    Exiting pid 3019 on SIGTERM
    [2017/03/10 16:03:25.843803, 0] ../source4/smbd/server.c:372(binary_smbd_main)
    samba version 4.3.11-Ubuntu started.
    Copyright Andrew Tridgell and the Samba Team 1992-2015
    [2017/03/10 16:03:26.642925, 0] ../source4/smbd/server.c:490(binary_smbd_main)
    samba: using 'standard' process model
    samba: setproctitle not initialized, please either call
    setproctitle_init()
    or link against libbsd-ctor.
    samba: setproctitle not initialized, please either call
    setproctitle_init()
    or link against libbsd-ctor.
    samba: setproctitle not initialized, please either call
    setproctitle_init()
    or link against libbsd-ctor.
    samba: setproctitle not initialized, please either call
    setproctitle_init()
    or link against libbsd-ctor.
    samba: setproctitle not initialized, please either call
    setproctitle_init()
    or link against libbsd-ctor.
    samba: setproctitle not initialized, please either call
    setproctitle_init()
    or link against libbsd-ctor.
    samba: setproctitle not initialized, please either call
    setproctitle_init()
    or link against libbsd-ctor.
    samba: setproctitle not initialized, please either call
    setproctitle_init()
    or link against libbsd-ctor.
    samba: setproctitle not initialized, please either call
    setproctitle_init()
    or link against libbsd-ctor.
    samba: setproctitle not initialized, please either call
    setproctitle_init()
    or link against libbsd-ctor.
    samba: setproctitle not initialized, please either call
    setproctitle_init()
    or link against libbsd-ctor.
    samba: setproctitle not initialized, please either call
    setproctitle_init()
    or link against libbsd-ctor.
    [2017/03/10 16:03:27.271648, 0] ../lib/util/become_daemon.c:124(daemon_ready)
    STATUS=daemon 'samba' finished starting up and ready to serve
    connections
    samba: setproctitle not initialized, please either call
    setproctitle_init()
    or link against libbsd-ctor.

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





    --
    To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba



    --
    To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andrew Bartlett via samba@21:1/5 to BasSamba via samba on Wed Mar 15 18:40:02 2017
    On Wed, 2017-03-15 at 20:39 +0530, BasSamba via samba wrote:
     

    Hi,
    Ubuntu server edition 16.04.1
    samba 4.3.11-ubuntu
    Samba server role = Active directory domain controller
    The following log is recurring at /var/log/samba/log.samba
    How to resolve it.

    Provide a patch to Samba to make the either make the indicated call,
    not use setproctitle from libbsd any more, or to link against the
    constructor library.

    In short, the error is not from Samba but from a 3rd party library that
    changed behaviour on us a few years ago. Someone needs to do the build
    work or add the function call as indicated to restore the desired
    behaviour. In the meantime is isn't important,

    samba: setproctitle not initialized, please either call
    setproctitle_init()
    or link against libbsd-ctor.

    Sorry,

    Andrew Bartlett

    --
    Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org
    Samba Developer, Catalyst IT http://catalyst.net.nz/services/samba


    --
    To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andrew Bartlett via samba@21:1/5 to BasSamba via samba on Fri Mar 17 08:10:02 2017
    On Fri, 2017-03-17 at 12:16 +0530, BasSamba via samba wrote:
    Hi,
    Tried, It says "not installed" below is the result

    To be clear, for this particular solution you need to now rebuild and re-install samba from source, as removing the -dev files has no impact
    on already built binaries.

    Thanks,

    Andrew Bartlett

    ---------------------------------------------------------------------
    apt-get remove libbsd-dev
    Reading package lists...done
    Building dependency tree
    Reading state information...done
    Package 'libbsd-dev' is not installed, so not removed
    0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded. -------------------------------------------------------------------
    ---
    regards,
    Baskaranand

    -----Original Message-----
    From: L.P.H. van Belle [mailto:belle@bazuin.nl
    Sent: Wednesday, March 15, 2017 8:48 PM
    To: samba@lists.samba.org
    Subject: Re: [Samba] samba: setproctitle not initialized, please
    either call
    setproctitle_init() or link against libbsd-ctor.

    Try : 

    apt-get remove libbsd-dev
    restart samba, now is the message gone? 


    Gr. 

    Louis


    -----Oorspronkelijk bericht-----
    Van: samba [mailto:samba-bounces@lists.samba.org] Namens BasSamba
    via
    samba
    Verzonden: woensdag 15 maart 2017 16:09
    Aan: samba@lists.samba.org
    Onderwerp: [Samba] samba: setproctitle not initialized, please
    either call
    setproctitle_init() or link against libbsd-ctor.



    Hi,
    Ubuntu server edition 16.04.1
    samba 4.3.11-ubuntu
    Samba server role = Active directory domain controller
    The following log is recurring at /var/log/samba/log.samba
    How to resolve it.

    ----------------------------------------------------
    Exiting pid 3013 on SIGTERM
      Exiting pid 3015 on SIGTERM
      Exiting pid 3014 on SIGTERM
      Exiting pid 3023 on SIGTERM
      Exiting pid 3018 on SIGTERM
      Exiting pid 3025 on SIGTERM
      Exiting pid 3020 on SIGTERM
      Exiting pid 3028 on SIGTERM
    [2017/03/10 16:03:22.478704,  0]
    ../source4/smbd/server.c:121(sig_term)
      Exiting pid 3019 on SIGTERM
    [2017/03/10 16:03:25.843803,  0] ../source4/smbd/server.c:372(binary_smbd_main)
      samba version 4.3.11-Ubuntu started.
      Copyright Andrew Tridgell and the Samba Team 1992-2015
    [2017/03/10 16:03:26.642925,  0] ../source4/smbd/server.c:490(binary_smbd_main)
      samba: using 'standard' process model
    samba: setproctitle not initialized, please either call
    setproctitle_init()
    or link against libbsd-ctor.
    samba: setproctitle not initialized, please either call
    setproctitle_init()
    or link against libbsd-ctor.
    samba: setproctitle not initialized, please either call
    setproctitle_init()
    or link against libbsd-ctor.
    samba: setproctitle not initialized, please either call
    setproctitle_init()
    or link against libbsd-ctor.
    samba: setproctitle not initialized, please either call
    setproctitle_init()
    or link against libbsd-ctor.
    samba: setproctitle not initialized, please either call
    setproctitle_init()
    or link against libbsd-ctor.
    samba: setproctitle not initialized, please either call
    setproctitle_init()
    or link against libbsd-ctor.
    samba: setproctitle not initialized, please either call
    setproctitle_init()
    or link against libbsd-ctor.
    samba: setproctitle not initialized, please either call
    setproctitle_init()
    or link against libbsd-ctor.
    samba: setproctitle not initialized, please either call
    setproctitle_init()
    or link against libbsd-ctor.
    samba: setproctitle not initialized, please either call
    setproctitle_init()
    or link against libbsd-ctor.
    samba: setproctitle not initialized, please either call
    setproctitle_init()
    or link against libbsd-ctor.
    [2017/03/10 16:03:27.271648,  0] ../lib/util/become_daemon.c:124(daemon_ready)
      STATUS=daemon 'samba' finished starting up and ready to serve connections
    samba: setproctitle not initialized, please either call
    setproctitle_init()
    or link against libbsd-ctor.

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





    --
    To unsubscribe from this list go to the following URL and read the instructions:  https://lists.samba.org/mailman/options/samba






    --
    Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org
    Samba Developer, Catalyst IT http://catalyst.net.nz/services/samba


    --
    To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)