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
After upgrade indexing is done as far i know. I just do it also before the upgrade to be on the safe side.> -----Oorspronkelijk bericht----- > Van: Stefan G. Weichinger [mailto:stefan at oops.co.at] > Verzonden: vrijdag 6 maart 2020 10:07 > 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 10:04 schrieb L.P.H. van Belle: > > > > Aah.. Sorry typo. > > > > systemctl unmask samba-ad-dc (umask / unmask ) > > Sure, I saw that. > > > 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. > > I guessed that, but wondered if there was maybe an optional step to > trigger the reindexing without actually starting the DC-services. > > But it seems ok now. > > I will redo that at another site soon, we will see. > >
Am 06.03.20 um 10:11 schrieb L.P.H. van Belle via samba:> After upgrade indexing is done as far i know. > I just do it also before the upgrade to be on the safe side."it" ? What and how? I have a 4.9 -> 4.11 upgrade coming and would like to avoid surprises or downtime. no hurry, not now
> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens > Stefan G. Weichinger via samba > Verzonden: vrijdag 6 maart 2020 10:41 > Aan: samba at lists.samba.org > Onderwerp: Re: [Samba] DCs from 4.10.x to 4.11.x > > Am 06.03.20 um 10:11 schrieb L.P.H. van Belle via samba: > > After upgrade indexing is done as far i know. > > I just do it also before the upgrade to be on the safe side. > > "it" ? What and how?.. It "howo to upgrade and running re-indexing before the upgrade" samba-tool dbcheck samba-tool dbcheck --cross-nc samba-tool dbcheck --reindex apt dist-upgrade -dy apt dist-upgrade --autoremove --purge apt --fix-broken install systemctl unmask samba-ad-dc systemctl stop samba-ad-dc systemctl start samba-ad-dc sleep 100 samba-tool dbcheck samba-tool dbcheck --cross-nc samba-tool dbcheck --reindex ^^ "It" ;-)> > I have a 4.9 -> 4.11 upgrade coming and would like to avoid > surprises or > downtime. > > no hurry, not now > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > >