Luis Peromarta
2023-Dec-05 14:51 UTC
[Samba] upgrade ununtu 20.04 -> 22.04 and samba 4.18 -> 4.19
It?s always recommend to demote the DC, upgrade samba, and join the DC again. Did you do it this way ? You may have a broken DC, or a broken installation. Instead of troubleshooting, which you can of course do, I?d demote (or force-demote), reinstall and re join. http://samba.bigbird.es/doku.php?id=samba:upgrade-sama LP On 5 Dec 2023 at 15:45 +0100, Joachim Lindenberg via samba <samba at lists.samba.org>, wrote:> I just upgraded one of my DCs ununtu 20.04 -> 22.04 and samba 4.18 -> 4.19, but the Dc is not yet working again. > > systemctl status samba-ad-dc shows: > > > > Dec 05 12:48:39 cobra samba[749]: [2023/12/05 12:48:39.562920, 0] ../../source4/samba/service_task.c:36(task_server_terminate) > > Dec 05 12:48:39 cobra samba[749]: task_server_terminate: task_server_terminate: [winbindd child process exited] > > Dec 05 12:48:39 cobra systemd[1]: Started Samba AD Daemon. > > Dec 05 12:48:39 cobra samba[694]: [2023/12/05 12:48:39.615787, 0] ../../source4/samba/process_prefork.c:630(prefork_child_pipe_handler) > > Dec 05 12:48:39 cobra samba[694]: prefork_child_pipe_handler: Parent 694, Child 719 exited with status 0 > > Dec 05 12:48:39 cobra samba[694]: [2023/12/05 12:48:39.622956, 0] ../../source4/samba/server.c:403(samba_terminate) > > Dec 05 12:48:39 cobra samba[694]: samba_terminate: samba_terminate of samba 694: winbindd child process exited > > Dec 05 12:48:39 cobra systemd[1]: samba-ad-dc.service: Main process exited, code=exited, status=1/FAILURE > > Dec 05 12:48:40 cobra systemd[1]: samba-ad-dc.service: Failed with result 'exit-code'. > > Dec 05 12:48:40 cobra systemd[1]: samba-ad-dc.service: Consumed 1.340s CPU time. > > > > I never compiled from sources as the path in the error messages suggest. Forcing reinstallation of all packages originating http://www.corpit.ru/mjt/packages/samba did not solve the issue. Where to I have to fix the erroneous paths? > > > > Thanks, Joachim > > > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba
Michael Tokarev
2023-Dec-05 15:12 UTC
[Samba] upgrade ununtu 20.04 -> 22.04 and samba 4.18 -> 4.19
05.12.2023 17:51, Luis Peromarta via samba :> It?s always recommend to demote the DC, upgrade samba, and join the DC again. Did you do it this way ?This is rarely needed and in almost all cases is unnecessary and just an extra work. The only good reason to do that is when you upgrade a very old version of samba, skipping 5..10 or more releases in between, and even there it almost always work.> You may have a broken DC, or a broken installation.If there's a broken DC or a broken installation, there are 2 questions: 1) how to fix it, and 2) how it broke. By reinstalling from scratch, we'll never know what's going on. It might be an easiest way to solve immediate problem though. Also, I don't quite understand what a "broken installation" is. Any decent package manager (and dpkg is definitely one of these) ensures the installation is the same no matter how you install or upgrade the system, - unless you mess with files behind package manager's back. So the only way an installation might become "broken" is when the packages one install are broken, - and it wont help to reinstall these broken packages for sure, it's just a total waste of time. Samba should not crash like this in any case, and it's our job to find out what's going on and to fix it. It is supposed to work. I'll try to run ubuntu in a chroot and at least start an ad-dc in there, - I don't do that myself. Maybe today.>> Dec 05 12:48:39 cobra samba[749]: [2023/12/05 12:48:39.562920, 0] ../../source4/samba/service_task.c:36(task_server_terminate)Hm. It needs -ffile-prefix-map=../../= to the compiler. Ok. ..>> I never compiled from sources as the path in the error messages suggest.How a path in the error messages suggest that? /mjt
Seemingly Similar Threads
- upgrade ununtu 20.04 -> 22.04 and samba 4.18 -> 4.19
- upgrade ununtu 20.04 -> 22.04 and samba 4.18 -> 4.19
- upgrade ununtu 20.04 -> 22.04 and samba 4.18 -> 4.19
- upgrade ununtu 20.04 -> 22.04 and samba 4.18 -> 4.19
- upgrade ununtu 20.04 -> 22.04 and samba 4.18 -> 4.19