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
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
I think you can ignore them, i seen them also but not in 4.11.6 [2020/02/11 10:19:35.629788, 0] ../../source4/smbd/server.c:624(binary_smbd_main) samba version 4.11.6-Debian started. Copyright Andrew Tridgell and the Samba Team 1992-2019 [2020/02/11 10:19:36.515218, 0] ../../source4/smbd/server.c:865(binary_smbd_main) binary_smbd_main: samba: using 'prefork' process model Greetz, Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens > Rowland penny via samba > Verzonden: dinsdag 11 februari 2020 10:17 > Aan: samba at lists.samba.org > Onderwerp: Re: [Samba] ERROR: failed to setup profiling > > 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 > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > >
Hi , I use Tranquil IT's repo. Best, Robert 2020. 02. 11. 10:16 keltez?ssel, Rowland penny via samba ?rta:> 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 > > >
Hello, I found what cause the problem.My samba data directory was sysmlinked a separated partition. I created by the following command:ln -s /SAMBA_AD/SAMBA /var/lib/samba These steps helped me out. * stop samba and named systemd units * remove the symlink * copy the samba files * umount /SAMBA_AD/ * edit fstab and mount the separated partition directly to /var/lib/samba path o before ->*/dev/mapper/centos-SAMBA_AD****/SAMBA_AD/SAMBA**ext4 user_xattr,acl 1 2* o after -> */dev/mapper/centos-SAMBA_AD **/var/lib/sambaext4 user_xattr,acl 1 2* * mount -a After that, I successfully updated my samba ad environment to version 4.10.12. Now everything works fine.:) Best Robet 2020. 02. 11. 7:51 keltez?ssel, Csorba R?bert via samba ?rta:> 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 >