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 > > >
On 11/02/2020 09:36, Csorba R?bert wrote:> Hi , > > I use Tranquil IT's repo.Then the question is, why does their Samba packages return: ../../source3/smbd/server.c:1862(main) ? ERROR: failed to setup profiling And Louis's packages return: ../../source3/profile/profile_dummy.c:30(set_profile_level) ? INFO: Profiling support unavailable in this build. So, Denis, why is this ? Rowland> > 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 >> >> >>
We should test and post: OS, Samba version, and use all same loglevels in smb.conf I tested 4.11.6 with log level = 0 auth_audit:3 Robert is running samba 4.10.12 (not latest) and log level = 4 @Rowland what did you test? Greetz, Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens > Rowland penny via samba > Verzonden: dinsdag 11 februari 2020 11:06 > Aan: sambalist > Onderwerp: Re: [Samba] ERROR: failed to setup profiling > > On 11/02/2020 09:36, Csorba R?bert wrote: > > Hi , > > > > I use Tranquil IT's repo. > > Then the question is, why does their Samba packages return: > > ../../source3/smbd/server.c:1862(main) > ? ERROR: failed to setup profiling > > And Louis's packages return: > > ../../source3/profile/profile_dummy.c:30(set_profile_level) > ? INFO: Profiling support unavailable in this build. > > So, Denis, why is this ? > > Rowland > > > > > > 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 > >> > >> > >> > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > >
On 11/02/2020 10:18, L.P.H. van Belle via samba wrote:> We should test and post: > OS, Samba version, and use all same loglevels in smb.conf > > I tested 4.11.6 with log level = 0 auth_audit:3 > Robert is running samba 4.10.12 (not latest) and log level = 4 > @Rowland what did you test?Your Debian Stretch 4.10.13 packages I must upgrade to Beowulf I 'think' that the Tranquil packages may have been configured with ' --enable-developer' or something similar, profiling is only really useful for developers. Rowland Rowland