/srv/irclogs.ubuntu.com/2021/04/29/#ubuntu-server.txt

volkswagnergretings02:01
volkswagnerI upgraded 16.04 running Samba4 AD DC to 18.04 but samba internal DNS is not working02:02
volkswagnerI saw info "unmask samba-ad-dc" but that didn't help02:02
sarnoldcheck the logs / journal, maybe there's something in there?02:03
volkswagnerHere's some info from log and samba config (I'm running Samba Version 4.7.6-Ubuntu) https://pastebin.ubuntu.com/p/Q4dcdqt5dG/02:04
volkswagneralso from nmbd.log server role = 'active directory domain controller' not compatible with running nmbd standalone. You should start 'samba' instead, and it will control starting the internal nbt server02:05
volkswagneris samba service replaced by samba-ad-dc in /etc/init.d?02:06
sarnoldvolkswagner: those logs are from four years ago, do you have newer? :)02:06
sarnoldthey might be logged to the journal, I'm not sure02:06
volkswagnerthat's weird02:07
sarnoldvolkswagner: it looks like there's a systemd service file for it /lib/systemd/system/samba-ad-dc.service02:07
volkswagnerthis is from log.samba  Failed to listen on 0.0.0.0:53 - NT_STATUS_ADDRESS_ALREADY_ASSOCIATED02:08
volkswagnerwhen running ps -aux what should samba internal look like? I have output in pastebin from today :)02:09
volkswagnerdo I need to remove/uninstall systemd-relsove?02:11
sarnoldI'm not sure there, I've not run samba myself in ~20 years02:11
sarnolddon't touch systemd-resolved, I think that'd lead to pain02:12
sarnoldhmm02:12
sarnoldhow *are* you supposed to get this thing to work though.. maybe you can get samba to bind to specific interfaces?02:12
volkswagnerIf I stop systemd-resolve then restart samba my dns works02:16
volkswagnerI found a thread that adds a line to /etc/systemd/resolved.conf with "DNSStubListener=no"02:17
sarnoldwoot02:17
sarnoldthat sounds reasonable02:17
volkswagner@sarnold thanks for pointing out my ancient log entries. I need to slow down!02:20
sarnoldhehe :)02:21
sarnoldI didn't spot them right away..02:21
volkswagnerI think that worked a treat02:23
volkswagnerdoing more testing now02:23
sarnoldsweet sweet :)02:23
=== Roy_Mustang is now known as A_D
lordievaderGood morning06:24
=== m1dnight_ is now known as ssdflkjshflkjhsf
=== ssdflkjshflkjhsf is now known as m1dnight_
=== m1dnight_ is now known as ssdflkjshflkjhsf
=== ssdflkjshflkjhsf is now known as m1dnight_
=== m1dnight_ is now known as m1dnight__
=== m1dnight__ is now known as m1dnight_
=== m1dnight_ is now known as m1dnight__
arooniso upgrading an ancient 16.04 server to 18.04; saw that these aren't supported; https://gist.github.com/arooni/ab974fa96c481541964072d6a3a5c42f ;; what do you suggest i do once the upgrade is complete17:08
tewardarooni: to start with a lot of those go and get replaced by other libraries.  If you *absolutely require* Python 3.4 then you're probably going to need to compile and install it yourself as a separate Python instance on system.  `libssl` gets upgraded to `libssl 1.1.0` and such.  Most of these are just tied to obsolete versions that get upgraded anyways to *newer* software dependency versions from what I can tell17:12
tewardlibssl, libvpx, etc. unless they are removed would just get replaced with the versions that *are* in the system17:13
teward(and mysql-server 5.5 isn't what's shipped anymore anyways)17:13
leftyfbarooni: simplified, do you require libssl or do you require libssl1.0.2? Will libssl1.1 work?17:27
aroonii believe the libssl is really just needed for nginx's web server17:32
aroonior perhaps some part of the ruby app i'm running17:32
aroonithanks for the quick and useful feedback everyone17:32
arooniwould you folks recommend while i'm doing this to jump to 20.04 ?17:33
aroonialso i happen to be running 20.04 on my dev laptop so that would be convenient17:33
UssatI would not reccomend a upgrade like that at all, build new in parallel andmigrate17:34
UssatThats what I generally do anyway17:35
TJ-I've adopted a process for that of creating the new release in a container, duplicating everything from the host, then switching the root file-systems over17:35
arooniits because there are too many things that go wrong with the upgrade process?17:35
UssatI just use ansible17:36
Ussatarooni, its because you are going from 1617:36
UssatJust my opinion17:36
Ussat'I also do this with ALL ypgrades17:36
Ussatagain, just my process what I do17:36
UssatI also use ansible which makes this process almost automated17:37
leftyfbalso my opinion.... though they left so it doesn't matter :/17:42
leftyfbUssat: what do you do about upgrading the host OS? My goal is to have 2x servers and move containers between them during the upgrade of the host OS17:43
Ussatleftyfb, I build new in parallel then migrate apps/data18:05
UssatI have a lot of this automated w/ansible18:05
leftyfbUssat: you rebuild every container onto a new host?18:06
UssatI dont use containers18:06
Ussatwell, thats not totally true, I have a couple.......maby, 4 or 5 ?18:06
Ussatbut almost everything I have is a VM also18:07
=== JanC is now known as Guest66672
=== JanC_ is now known as JanC

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!