[Samba] ERROR: failed to setup profiling

Rowland penny rpenny at samba.org
Tue Feb 11 09:16:31 UTC 2020


On 11/02/2020 06:51, Csorba Róbert via samba wrote:
> Hi,
>
> After I have updated my SAMBA AD environment from version 4.9.18 to 
> version 4.10.12 on my secondary server the program is unable to start 
> and displays the following error message:"ERROR:failed to setup 
> profiling".
>
> The testparm result didn't print any warning or error.
>
> System details:
>
> CentOS Linux release 7.7.1908 (Core) with kernel 
> 3.10.0-1062.9.1.el7.x86_64
>
> smb.conf
>
> [global]
>         netbios name = DC2
>         realm = MYREALM.TLD
>         server role = active directory domain controller
>         server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, 
> drepl, winbindd, ntp_signd, kcc, dnsupdate
>         workgroup = MYREALM
>         idmap_ldb:use rfc2307 = yes
>         log level = 4
>
> [netlogon]
>         path = /var/lib/samba/sysvol/myrealm.tld/scripts
>         read only = No
>
> [sysvol]
>         path = /var/lib/samba/sysvol
>         read only = No
>
>
> log.smbd file
>
> [2020/01/30 16:45:06.817319,  2, pid=1770, effective(0, 0), real(0, 
> 0)] ../../source3/lib/interface.c:345(add_interface)
>   added interface enp3s0 ip=192.168.0.14 bcast=192.168.0.255 
> netmask=255.255.255.0
> [2020/01/30 16:45:06.817356,  3, pid=1770, effective(0, 0), real(0, 
> 0)] ../../source3/smbd/server.c:1857(main)
>   loaded services
> [2020/01/30 16:45:06.817370,  5, pid=1770, effective(0, 0), real(0, 
> 0)] ../../source3/lib/util_names.c:152(init_names)
>   Netbios name list:-
>   my_netbios_names[0]="DC2"
> [2020/01/30 16:45:06.817425,  0, pid=1770, effective(0, 0), real(0, 
> 0)] ../../source3/smbd/server.c:1862(main)
>   ERROR: failed to setup profiling
>
> If you need any further information please let me know.
>
> Do you have any idea what did cause the error?
>
> Yours Sincerely
>
> Robert Csorba
>
Where did you get the Centos Samba packages from ?

By default, you cannot have a Samba AD DC with the standard packages.

I use Louis's packages and when I restart the DC, I get this:

[2020/02/11 09:14:39.816447,  0] ../../source3/smbd/server.c:1788(main)
   smbd version 4.10.13-Debian started.
   Copyright Andrew Tridgell and the Samba Team 1992-2019
[2020/02/11 09:14:39.834950,  1] 
../../source3/profile/profile_dummy.c:30(set_profile_level)
   INFO: Profiling support unavailable in this build.
[2020/02/11 09:14:41.456655,  0] 
../../lib/util/become_daemon.c:136(daemon_ready)
   daemon_ready: daemon 'smbd' finished starting up and ready to serve 
connections

Rowland





More information about the samba mailing list