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

Andrew Bartlett abartlet at samba.org
Fri Mar 17 07:05:39 UTC 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 at bazuin.nl> Sent: Wednesday, March 15, 2017 8:48 PM
> To: samba at 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 at lists.samba.org] Namens BasSamba
> > via
> > samba
> > Verzonden: woensdag 15 maart 2017 16:09
> > Aan: samba at 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




More information about the samba mailing list