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

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Samba - General mailing list
 

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
Reply | Threaded
Open this post in threaded view
|

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

Samba - General mailing list
Try :

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


Gr.

Louis


> -----Oorspronkelijk bericht-----
> Van: samba [mailto:[hidden email]] Namens BasSamba via
> samba
> Verzonden: woensdag 15 maart 2017 16:09
> Aan: [hidden email]
> 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
Reply | Threaded
Open this post in threaded view
|

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

Samba - General mailing list
In reply to this post by Samba - General mailing list
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
Reply | Threaded
Open this post in threaded view
|

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

Samba - General mailing list
In reply to this post by Samba - General mailing list
Hi,
Tried, It says "not installed" below is the result
---------------------------------------------------------------------
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:[hidden email]]
Sent: Wednesday, March 15, 2017 8:48 PM
To: [hidden email]
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:[hidden email]] Namens BasSamba via
> samba
> Verzonden: woensdag 15 maart 2017 16:09
> Aan: [hidden email]
> 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
Reply | Threaded
Open this post in threaded view
|

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

Samba - General mailing list
In reply to this post by Samba - General mailing list
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:[hidden email]
> Sent: Wednesday, March 15, 2017 8:48 PM
> To: [hidden email]
> 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:[hidden email]] Namens BasSamba
> > via
> > samba
> > Verzonden: woensdag 15 maart 2017 16:09
> > Aan: [hidden email]
> > 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