Am 05.03.20 um 17:39 schrieb Rowland penny via samba:> On 05/03/2020 16:31, Stefan G. Weichinger via samba wrote: >> Am 05.03.20 um 16:09 schrieb Rowland penny via samba: >> >>> It took nearly 5 hours in my case and during that time, only the samba >>> binary was running, no smbd or winbind. >> Why 5 hours? Thousands of users? > No, just my small test domain >> Pentium III ? :-P > > Again no, okay, it isn't top of the line, but even so, it shouldn't take > that long.I wonder if it might be problematic to have different DB formats for longer ... wait with DC2 or go ahead ... ?
Am 05.03.20 um 18:29 schrieb Stefan G. Weichinger via samba:> Am 05.03.20 um 17:39 schrieb Rowland penny via samba: >> On 05/03/2020 16:31, Stefan G. Weichinger via samba wrote: >>> Am 05.03.20 um 16:09 schrieb Rowland penny via samba: >>> >>>> It took nearly 5 hours in my case and during that time, only the samba >>>> binary was running, no smbd or winbind. >>> Why 5 hours? Thousands of users? >> No, just my small test domain >>> Pentium III ? :-P >> >> Again no, okay, it isn't top of the line, but even so, it shouldn't take >> that long. > > I wonder if it might be problematic to have different DB formats for > longer ... > > wait with DC2 or go ahead ... ?did the upgrade now after stopping samba-ad-dc after dist-upgrade and a needed "apt --fix-broken install" it's the same picture as on dc1: samba-ad-dc.service is masked ... and not running How to proceed then? Could/should that be optimized maybe ... ?
systemctl umask samba-ad-dc systemctl enable samba-ad-dc systemctl start samba-ad-dc> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens > Stefan G. Weichinger via samba > Verzonden: vrijdag 6 maart 2020 9:48 > Aan: samba at lists.samba.org > Onderwerp: Re: [Samba] DCs from 4.10.x to 4.11.x > > Am 05.03.20 um 18:29 schrieb Stefan G. Weichinger via samba: > > Am 05.03.20 um 17:39 schrieb Rowland penny via samba: > >> On 05/03/2020 16:31, Stefan G. Weichinger via samba wrote: > >>> Am 05.03.20 um 16:09 schrieb Rowland penny via samba: > >>> > >>>> It took nearly 5 hours in my case and during that time, > only the samba > >>>> binary was running, no smbd or winbind. > >>> Why 5 hours? Thousands of users? > >> No, just my small test domain > >>> Pentium III ? :-P > >> > >> Again no, okay, it isn't top of the line, but even so, it > shouldn't take > >> that long. > > > > I wonder if it might be problematic to have different DB formats for > > longer ... > > > > wait with DC2 or go ahead ... ? > > did the upgrade now after stopping samba-ad-dc > > after dist-upgrade and a needed "apt --fix-broken install" > it's the same > picture as on dc1: > > samba-ad-dc.service is masked ... and not running > > How to proceed then? > > Could/should that be optimized maybe ... ? > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > >
Am 06.03.20 um 09:52 schrieb L.P.H. van Belle:> systemctl umask samba-ad-dc > systemctl enable samba-ad-dc > systemctl start samba-ad-dcYeah, thanks ;-) and that will again cause issues in the domain until that DB is rewritten?
Aah.. Sorry typo. systemctl unmask samba-ad-dc (umask / unmask ) systemctl enable samba-ad-dc systemctl start samba-ad-dc Im very buzy, so slow in responce atm, but if a service fails to upgrade and starts it gets masked. Unmasking is needed then. To make sure its all enable i also run extra enable.> -----Oorspronkelijk bericht----- > Van: Stefan G. Weichinger [mailto:lists at xunil.at] > Verzonden: vrijdag 6 maart 2020 9:54 > Aan: L.P.H. van Belle; samba at lists.samba.org > Onderwerp: Re: [Samba] DCs from 4.10.x to 4.11.x > > Am 06.03.20 um 09:52 schrieb L.P.H. van Belle: > > systemctl umask samba-ad-dc > > systemctl enable samba-ad-dc > > systemctl start samba-ad-dc > > Yeah, thanks ;-) > > and that will again cause issues in the domain until that DB is rewritten?No, at start indexing is done, start : top and wait untill indexing is done. The upgrade fail, is one i need to adress in the packaging. ( sorry bit late ) My steps when i upgrade my DC's. samba-tool dbcheck (--cross-nc) ( check for errors ) samba-tool dbcheck --reindex ( re-index the samba-ad ) apt dist-upgrade -dy (get all files, download only) apt dist-upgrade --autoremove --purge ( !dist-upgrade.., because if packages are new added you need it. so dist-upgrade ) --autoremove, example libldb1 gets replaced by libldb2, without autoremove is not upgrade and removed and samba errors. --purge, remove and delete old not used packages. ( like libldb1 ) If you now look in the logs you seel lots of samba errors, this is correct, because your are from the upgrades while samba is running. Not a problem at all. And last, after the upgrade i always cleanup logs and reboot, it thats no options for you. Not fixed at this point and samba not starting. apt --fix-broken install systemctl unmask samba-ad-dc systemctl stop samba-ad-dc systemctl start samba-ad-dc And now your done, more DC's, wait untill indexing is done then next. Greetz, Louis