Ricardo Esteves
2023-May-17 12:50 UTC
[Samba] Upgrade from 4.6.7 to 4.17.4 fails with database problem (Failure during re-pack, so transaction must be aborted)
Hi, Strange, i don't know how that link went, but the msg i sent was with the answers to your questions. Let me send them again: Have you tried with the OS Samba packages ? Just in case it is a compile problem ? ??? - Yes, i get the same error when i start samba from the OS packages. Can we confirm what version of Fedora your Samba domain is running on and what Samba version ? ??? - Fedora 37 / Samba 4.6.7 (compiled from sources) ?What version of Fedora you are trying to join to your existing domain ? ??? - I'm not trying to join any host. I'm upgrading samba on the 1st domain controller from 4.6.7 to 4.17.4 or to 4.18.2 ?What is the exact command you are running in your attempt to join to the domain ? ???? - I'm not trying to join any host. ?What is the error you get when the join fails ? ??? - When i start samba on the DC after upgrading it, it doesn't start and i see on the log.samba this msg: Samba failed to prime database, error code 22[1] ----- Mensagem de Rowland Penny via samba <samba at lists.samba.org> --------- Data: Wed, 17 May 2023 13:28:33 +0100 De: Rowland Penny via samba <samba at lists.samba.org> Assunto: Re: [Samba] Upgrade from 4.6.7 to 4.17.4 fails with database problem (Failure during re-pack, so transaction must be aborted) Para: samba at lists.samba.org Cc: Rowland Penny <rpenny at samba.org>> On 17/05/2023 13:20, Rowland Penny via samba wrote: > >> On 17/05/2023 13:12, Ricardo Esteves via samba wrote: >> >>> ----- Mensagem de Rowland Penny via samba <samba at lists.samba.org> --------- >>> >>> >>> >>> ??Data: Wed, 17 May 2023 12:17:01 +0100 >>> >>> >>> >>> ??De: Rowland Penny via samba <samba at lists.samba.org> >>> >>> >>> >>> ??Assunto: Re: [Samba] Upgrade from 4.6.7 to 4.17.4 fails with >>> database problem (Failure during re-pack, so transaction must be >>> aborted) >>> >>> >>> >>> ??Para: samba at lists.samba.org >>> >>> >>> >>> Liga??es: >>> >>> --------- >>> >>> [1] https://bbs.archlinux.org/viewtopic.php?id=270270 >> >> You have totally lost me now, first it was Fedora 17, then it was >> Fedora 37 and now you want me to follow a link to an Archlinux >> forum, sorry, but no. >> >> >> >> Please answer the questions I asked you and answer them here. >> >> >> >> Rowland > > So, I did a search on the data from the link and it was a valid > link, but it had nothing to do with this thread. It looks to like > the arch linux thread was about trying to start the samba daemon on > a standalone server. > > > > Rowland > > > > -- > > To unsubscribe from this list go to the following URL and read > theinstructions:? https://lists.samba.org/mailman/options/samba----- Fim da mensagem de Rowland Penny via samba <samba at lists.samba.org> -----
Rowland Penny
2023-May-17 14:11 UTC
[Samba] Upgrade from 4.6.7 to 4.17.4 fails with database problem (Failure during re-pack, so transaction must be aborted)
On 17/05/2023 13:50, Ricardo Esteves wrote:> Hi, > > Strange, i don't know how that link went, but the msg i sent was with > the answers to your questions. Let me send them again: > > Have you tried with the OS Samba packages ? > Just in case it is a compile problem ? > ??? - Yes, i get the same error when i start samba from the OS packages. > > > Can we confirm what version of Fedora your Samba domain is running on > and what Samba version ? > ??? - Fedora 37 / Samba 4.6.7 (compiled from sources)So you are running a very EOL version of Samba on a fairly recent version of Fedora, why ?> > > ?What version of Fedora you are trying to join to your existing domain ? > ??? - I'm not trying to join any host. I'm upgrading samba on the 1st > domain controller from 4.6.7 to 4.17.4 or to 4.18.2Ah we are getting to the crux of matter here, I would never recommend upgrading a self compiled version of Samba in this way. There have been instances of files being removed from the version of Samba that you are upgrading to, that still exist on disk. I would recommend setting up a new computer (which may be a VM), installing Samba on that and join that to the existing domain, the old DC's can then be removed.> > > ?What is the exact command you are running in your attempt to join to > the domain ? > ???? - I'm not trying to join any host. > > ?What is the error you get when the join fails ? > ??? - When i start samba on the DC after upgrading it, it doesn't start > and i see on the log.samba this msg: Samba failed to prime database, > error code 22[1]That is probably because your method of upgrading Samba has probably wiped your database. Rowland