/srv/irclogs.ubuntu.com/2018/09/02/#ubuntu-server.txt

blackflowI know :)00:00
JanCblackflow: that's why some people insist on using different drives for a mirror/RAID (different brand, model or at least production series)00:23
JanCdrives from the same production run are much more likely to die within a short time from each other00:24
RoyKI've made that failure - getting 80 WD Black drives from the same batch - a really bad one...00:24
JanCI hope they at least died while under warranty?00:25
RoyKtruth to say, we didn't have time - we just ordered a new batch and returned them later00:25
RoyKsome of them didn't even show smart errors00:25
JanCdid they work at all?00:26
RoyKbut then - there's the 'twist and shout' trick - spin up a drive, twist it  90 degrees against spinning angle and wait for it to spin up again, repeat until it dies00:26
RoyKthe 'shout' part is just fun00:26
RoyKthey worked, or a while00:27
RoyKsome of them still work, but that's under 20%00:27
JanCSMART is only useful for detecting stuff like a degrading magnetic surface and the like00:27
RoyKthis was probably mechanic00:28
JanCif the r/w heads break off, or the controller board is toast, SMART won't be useful00:28
RoyKthe controller boards don't die like that for that amount of drives00:28
RoyKit was timing issues, perhaps a bad firmware00:29
RoyKsomething nasty00:29
RoyKso I made sure we could return some of them00:29
JanCwell, in theory it's possible that the controllers die (or have bad RAM, or something like that)00:29
RoyKthis was an issue of a bunch of sata drives on sas expanders that really didn't like it00:30
RoyKor the sas controllers didn't like them or whatever00:31
RoyKthey didn't work well on sata either00:31
JanCoh, that's also possible, I guess00:31
JanCso much can go wrong  :)00:31
RoyKwe had a tight budget, so we got some new sata drives, hitachis, worked well00:31
JanCeven just a fault resistor or capacitor on the controller can make a drive useless...00:31
RoyKand then I spent some time twisting drives and returning them00:32
RoyKJanC: it wasn't that - beleive me00:32
RoyKthey were fairly new and showed no issues except perhaps dying00:32
JanCI have 30yo drives which probably still work...00:33
JanCif I would try them on some old computer  :)00:33
RoyKold IDE or SCSI things?00:34
RoyKMFM?00:34
JanCold IDE00:34
JanCQuantum Bigfoot00:34
RoyKthat's probably only 20YO00:35
RoyKIIRC00:35
RoyKI  remember those arriving around 199800:35
RoyKit was amazing - 10 gigs on a drive!!!!!00:36
JanCI have some disk from the early 1990s too somewhere00:36
RoyKsome 52MB disk?00:36
* RoyK also remembers starting to fiddle around with linux (slackware 2.1, kernel 1.1.59) around 1994 and found he could boost the I/O speed to the harddisk up to 1MB/s (!!!) by turning on DMA with hdparm00:37
RoyKamazing times ;)00:38
JanCthis Quantum Bigfoot CY was from 1996 or so00:38
RoyK5,25"? got a model number?00:39
RoyKiirc all the bigfoots were 5,25"00:39
RoyKalthough everything else by then was 3,5", but then, the bigfoots were *huge*00:39
JanCyeah, the 5.25" was what distinguished them; it allowed them to make cheaper drives with the same capacity00:40
RoyKget a time machine and show me a micro sd card of 256GB back then ;)00:40
* RoyK doesn't have a DeLorian, sadly00:41
JanCthat Bigfoot was 6.4 GB   :)00:44
RoyK4k5rpm?00:45
RoyKor 3k6?00:45
JanC3.6k00:45
JanCall Bigfoot CY were 3.6k rpm00:45
RoyKnot quite an SSD, then00:45
JanC6 MB/sec read speed  :)00:46
RoyKrandom iops, perhaps 50 on a good day00:46
RoyKthose were the days :D00:46
JanC(and that's sequential, I assume)00:46
RoyKit was indeed00:46
RoyKprobably outer rim00:47
RoyKinner rim was half the speed or less00:47
JanC:)00:47
JanCwell, on floppy disks it usually was the same00:47
RoyKsame rule applies to modern drives - more sectors on the outside00:47
JanCsome early hard disks too maybe00:48
RoyKfloppies didn't have zones00:48
RoyKneither did mfm drives00:48
JanCwell, you could mess with floppies to have more data on the outside00:48
JanCif you programmed them yourself instead of using the BIOS  :)00:49
RoyKwell, gotta go - it's late00:49
JanCI think that early 1990s drive I had is either at my parents or thrown away00:50
JanCbut that bigfoot from the mid-1990s, I remember it still worked when I tried it about 10 years ago  :)00:51
beatzzAfter upgrading to Ubuntu Server 18.04 Apache2's php capabilities are messed up01:13
JanCif you want help, you probably better explain exactly what is wrong...01:14
KurbuntusBainhey03:27
KurbuntusBaini am an annoying newbie and i got dum questions03:27
KurbuntusBaindo i have to instal proftp in ubuntu as a user other than 'root'? and if the anser is yes, why is that?03:28
cryptodanKurbuntusBain: use SFTP via SSHServer04:06
KurbuntusBainok04:14
KurbuntusBainill do that04:14
KurbuntusBainim getting everything setup now or at least trying to04:14
KurbuntusBainit's been a rough couple of days, i've got lemp installed and i was able to get vsftpd running now, i need to get dns and email server going what would you suggest?  I was told to use power dns and bind, i've downloaded bind aleady04:15
cryptodanI prefer keeping things simple and recommending that04:22
KurbuntusBainso i just got this new dedicated server, it's my first one, what would you say is the coolest thing i can do being new to this04:29
KurbuntusBainwhat was your favorite part of getting your first dedicvated server?04:30
KurbuntusBain'dedicated'?04:30
KurbuntusBain(I got this thing just to screw around with and learn btw)04:30
cryptodanKurbuntusBain: getting DNS propagate04:33
KurbuntusBainlol04:34
KurbuntusBainomg, it's giving me shit just tring to instal mariadb04:35
KurbuntusBainSee apt-secure(8) manpage for repository creation and user configuration details.04:35
KurbuntusBainguess i have to install BIND first04:36
cryptodanKurbuntusBain: look into running tasksel04:39
KurbuntusBainOk, cryptodan.  Ill check that out.  Now this is saying I should have TWO servers?04:40
KurbuntusBainfor ns1 and ns2....for reals?04:40
cryptodanyup04:40
cryptodanpreferably on separate subnets04:40
KurbuntusBainwell that's expensive04:40
linuxthefishdon't be silly lol04:41
KurbuntusBainim definitely silly as shit dude04:41
KurbuntusBainim like as new as trump with this stuff04:41
linuxthefishif it's just for playing around having only one nameserver is fine04:42
KurbuntusBainI have a dedicated server at psychz and a vps at vultr04:42
linuxthefishif your domain registrar requires two nameservers (ns1 and ns2), just point them to the same IP on the same server04:43
linuxthefishor use a free DNs service like cloudflare or the place you got your domain from04:43
KurbuntusBainthat'll work right?  the vps is 10 bucks a month, i mean it is for experimenting but i do need to host my companies website in a month or so and eventually (six mos) I may enter email marketing and run a predictive dialer04:43
linuxthefishyes04:44
cryptodanKurbuntusBain: you better be on the up and up with your hosting skills or else you may end up being fired and your comapny being on several blacklists04:46
KurbuntusBaini have like 4 domains....The main thing I am really trying to accomplish is setup my company's website and have an employee portal to download documents and host a CRM04:46
KurbuntusBainI can't get fired man, I own the company, lol04:46
KurbuntusBainI am just starting out.  and I am on the up and up04:46
KurbuntusBainI am a broker in the deregulated energy market04:47
KurbuntusBainI am not a spammer04:47
KurbuntusBainit's all good no bad stuff man04:47
KurbuntusBaineveyrone is doubting me and thiunking im up to something shady it seems lol04:48
KurbuntusBaini know why ...it's because I know little and probably not saying the right words....04:49
KurbuntusBainI just prefer to do things myself rather than higher people and pay crazy rates04:49
KurbuntusBainI have 5 ip's04:50
KurbuntusBaintoo04:50
KurbuntusBainI just need guidance04:50
linuxthefishKurbuntusBain it's when you say things like "email marketing and run a predictive dialer"04:51
KurbuntusBainlol, i know04:51
linuxthefishand most people asking these questions are spammers without a budget to pay other people to set stuff up lol04:52
KurbuntusBaini completely understand, but those functionalities can be completely legitimate provided the nmbers are from opt in or dbl opt in lists04:52
linuxthefishif it's an important low traffic website just pay for some decent $5 a month hosting and be done with it04:52
KurbuntusBainand the phone numbers are scrubed to not be on the DNC04:52
linuxthefishgood04:53
linuxthefishbut in the long run learning how to set stuff up properly will save you a lot of time and money04:53
KurbuntusBainI am prob running ViciDialer and from what I understand that requires a dedicated04:53
KurbuntusBainplus man, i just got a dedicated for $25/month04:54
KurbuntusBainlol, it's a Atom525 but, either way, not a bad deal right?>\04:54
KurbuntusBainplus eventually i'd like to sell web design and hosting services for to small business04:55
KurbuntusBain$25/mo vs $10/mo for a shared hosting, why not just spend the extra $15 and go dedicated04:56
linuxthefishif all your call agents are in the same building, it will make more sense to run a server there locally04:58
linuxthefishfor voip04:58
linuxthefishKurbuntusBain cPanel is the standard for selling web hosting, most clients will expect it04:59
linuxthefishbut if set up properly your own web server on a VPS will be a lot better than shared hosting, and cheaper05:01
linuxthefishpersonally I use lighttpd and mariadb for all my sites, some larger ones but I host my DNS on Amazon Route 5305:02
KurbuntusBainthat's the thing, my reps will be remote05:05
KurbuntusBainmost of them at first05:05
KurbuntusBainplus, I've worked at a hosting company before that sold shared hosting and i've seen what can happen05:06
linuxthefishah ok, yeah your way will be best then05:06
KurbuntusBainone person can bring the whole machine down05:07
KurbuntusBainit's not likeley but it could happen05:07
linuxthefishdid they use cloudlinux for cpanel? it can set per user limits for CPU etc05:08
KurbuntusBaini think they used virtuozo or something?05:08
KurbuntusBainI can't remember I didn't need to know too much about the technical side05:08
KurbuntusBainjust enough05:08
KurbuntusBaini've used cpanel and whm it's easy05:09
linuxthefishvirtuozo is basically a VPS, so the cpanel server was running in a container05:09
KurbuntusBainon my dedicated I can't set it up as a VPS environment because it's so old huh';05:09
linuxthefishand cheaper license costs haha05:10
linuxthefishKurbuntusBain sure you can!05:10
linuxthefishyou can make a few VPS's on your dedicated server, each with their own IP and operating system05:10
linuxthefishbut for small servers it's not worth it05:11
KurbuntusBainI looked up the processor specs and saww " Intel® Virtualization Technology (VT-x) ‡05:11
KurbuntusBainNo "05:11
KurbuntusBainand figured that meant to virtual privatge servesr lol05:11
linuxthefishah, you can still run OpenVZ but not KVM05:12
KurbuntusBainI can get 300 mbs a second internet here at my house, im thinking about just running my own server here05:13
linuxthefishwhere did you buy your dedicated server from?05:13
KurbuntusBaini got it form psychz05:13
linuxthefishKurbuntusBain that's a bad idea unless it's a business connection and you have a static IP05:13
KurbuntusBainit's usually 70/mo i got a good deal i thnk05:14
linuxthefishhttps://www.kimsufi.com/us/en/servers.xml do some cheap dedicated servers also, but they only have 1 IP05:14
linuxthefishrunning a server at home is good for learning and messing about, but it's a bad idea for anything business related05:15
linuxthefishand with power and hardware costs you won't save much money if any at all05:15
KurbuntusBainit's got 4gb ram 500gb sata 100mpbs port 30tb/mo and 5 ips, they are going to convert it to 2 512GB SSD's next month for $20 more a monthy05:15
linuxthefishsounds perfect if you are careful with RAM05:16
KurbuntusBainI am running Windows ten on my laptop at home currently, should I convert this thing to a dual boot system  you think?05:16
linuxthefishKurbuntusBain don't rush head first into everything lol05:17
KurbuntusBainhahah05:17
KurbuntusBainthat's always been my issue05:17
linuxthefishpersonally I think you should learn the terminal (command line) side of things first, and setting up a web server is the perfect way to start05:18
KurbuntusBainI have  oracle vmware already so i was playing around with that05:18
KurbuntusBainyou are right05:18
KurbuntusBainhow would you sugges being careful with ram05:18
KurbuntusBainbecause that's not upgradable on this server05:18
linuxthefishKurbuntusBain use lighttpd or nginx for a web server, and configure your mysel server to use less ram05:19
linuxthefishyou should be fine even without changing any mysql server settings though05:19
KurbuntusBaincool im using nginx now05:20
linuxthefishperfect!05:20
KurbuntusBainim just now setting up everytihng this nameserver shit is complicatesd05:20
linuxthefishbut asterisk for voip can be greedy05:20
linuxthefishKurbuntusBain is this nameservers for your company website?05:20
KurbuntusBainim trying to figure out how to configure the options file for bind as we speak05:20
KurbuntusBaini haven't setup the name servers yet05:21
linuxthefishI suggest using a free DNS service like cloudflare, then if your dedicated server goes down you won't lose the DNS records for all your other servers05:21
KurbuntusBainwell i've already bought a few domains05:22
KurbuntusBaini got some through namecheap05:22
linuxthefishdid you say you had a VPS from vultr? they have a very good free DNS service05:22
KurbuntusBainyes05:23
linuxthefishKurbuntusBain you can even use namecheap's DNS, but it's kinda crap05:23
KurbuntusBainmy05:24
linuxthefishand in the namecheap control panel, you just set the nameservers to ns1.vultr.com and ns2.vultr.com if you are using vultr's DNS05:24
KurbuntusBainnamecheap offers a premium dns supposedly ...."Enable PremiumDNS protection in order to switch your domain to our PremiumDNS platform. With our PremiumDNS platform, you get 100% DNS uptime and DDoS protection at the DNS level.05:24
linuxthefishKurbuntusBain don't get that, it's a waste of money and others do it for free and better05:24
KurbuntusBainI gues i did have a custom DNS setup already for klimco.group it's ns3.klimcogroup.com and ns4.klimcogroup.com05:25
linuxthefishfor example vultr and cloudflare both have ddos protected DNS, and they are on anycast05:25
KurbuntusBainthat's the thing that's a little confusing to me05:26
KurbuntusBainstill trying to wrap my head around how dns works....05:27
KurbuntusBainsupposedly I have 20mbps ddos protection on my server with psychsz05:27
linuxthefishyou need to add glue records in the namecheap control panel for klimco.group05:28
KurbuntusBaingotcha, then i just point them to my ip address, so why do I need to have a DNS on my dedi?05:31
linuxthefishKurbuntusBain you need to set up glue records if you want to host nameserver on your dedicated server05:32
linuxthefishif you use another dns provider you don't need to set up glue records, you just set the nameservers05:33
linuxthefishit's called "personal dns server" in namecheap settings05:35
KurbuntusBainso if I use cloudfare i am not going to have to pay anything else?05:35
linuxthefishcorrect KurbuntusBain05:35
linuxthefishyou can pay extra money for cloudflare if you want to add special rules or some other stuff, but you won't need it05:39
linuxthefishhttps://www.cloudflare.com/plans/05:39
linuxthefishhttps://i.imgur.com/eEeRW7D.png is how I have one of my test domains set up, cloudflare on the right and namecheap settings on the left05:43
ShellcatZeroafter upgrading from 16.04 to 18.04, it seems I cannot resolve hostnames on the local network, any ideas?07:42
SkuggenShellcatZero: Check your /etc/resolv.conf. After installing 18.04 (I used 16.04-based Mint before), I had some trouble with it being overwritten on every boot09:02
tomreynShellcatZero: maybe you need to configure a search domain10:34
RoyKSkuggen: iirc it says just that in the file - do you configure the network the old way, as in the interfaces file?12:14
daemonhey all I just shot a youtube video that involved Ubuntu Server 18, I know very little about linux and it did work it jsut had a couple of weird messages: https://www.youtube.com/watch?v=ego4Lt_t67w the fun starts at around 8:45 with a strange message from grub, if anyone has any idea about that and the strange network config timeout about a minute later from that I would really appreciate clarrification on what it is so I can comment in my17:12
daemonvideos correctly for linux installs17:12
mrelceei have a 17.0.4 install I am trying to upgrade to 18 LTS.  i've tried 'do-release-upgrade' and it says no new versions available.  yeah I know 17.0.4 is EOL, 16 and 18 wouldn't install in my VM environment properly..    what are my options?17:21
tomreynmrelcee: did you see what ubottu told you in #ubuntu ?17:22
mrelceeyes17:22
tomreynand, did you try this?17:23
daemono/ mrelcee17:24
chingusdoes host OS manage iptables with docker installed, or does docker manage?17:28
mrelceetomreyn: I certainly am trying to follow it.17:33
mrelceegetting stuck at sources.list.  what is the codename i should be using, bionic?17:34
tomreynmrelcee: the upgrade path from 17.04 to the next non EOL release (18.04 LTS) would be: 17.10 ("artful"), 18.04 LTS ("bionic").17:35
mrelceethat helps17:36
tomreynmrelcee: i think you'll have a better result if you'll just backup and install fresh, though. (but either should work.)17:36
mrelceefresh install with 18 results in a system i can't boot17:37
tomreynthere's no 'ubuntu 18', should i assume you're referring to ubuntu 18.04 LTS? is that 18.04.0 or 18.04.1?17:37
tomreynhow are you installing, and on what hardware? what's the actual error message when it can't boot17:38
tomreynplease also specify the architecture. is it amd64? if so, uefi or bios boot?17:39
mrelceeye 18.0.4 LTS17:40
mrelceeyes17:40
mrelceeamd64, uefi, running under bhyve w/freebsd as the host17:41
tomreyn"ubuntu 18.0.4 LTS" does not exist either :-/17:41
tomreynhmm, i don't know what "bhyve" is.17:42
mrelceePlease forgive my linux ignorance.   I use somethign else day in and day out.  18.417:43
mrelceeoh excuse me. 18.0417:43
mrelcee+LTS17:43
tomreynso is this "18.04.0 LTS" or "18.04.1 LTS"?17:43
RoyKtomreyn: lsb_release -a17:44
RoyKtomreyn: or cat /etc/os-release17:44
tomreynRoyK: this is about a non-booting system17:44
daemonmrelcee, if your not using -l17:45
RoyKiirc lsb_release isn't that popular anymore17:45
daemonyour not using UEFI mode17:45
RoyKtomreyn: then just check /etc/os-release17:45
RoyKon that system17:45
RoyKfinally people have agreed on some small things across distros17:46
mrelceeok the ISO I grabbed is ubuntu-18.04.1-live-server-amd64.iso.     I'm getting confused reading umpteen websites with umpteen versions17:46
tomreynRoyK: i think you're meaning to address mrelcee here17:46
tomreynmrelcee: okay, now how does the installation fail?17:46
RoyKtomreyn, sorry. mrelcee please see my comments above17:46
tomreynmrelcee: isorry, i mean how does booting fail17:47
mrelceethe installation does not fail.  It fails to boot after.  it just boots to grub>17:47
daemonmrelcee, got teamviewer?17:47
tomreynmrelcee: do you have multiple storages there?17:47
mrelceejust a single HD image17:48
mrelceedaemon: nope17:48
daemonmrelcee, get to the grub> prompt and type 'ls'17:48
daemonpaste the resultsback if there <2 lines long17:48
tomreynso bhye is a type 2 HV for freebsdm ok17:49
tomreyn*bhyve17:49
daemontomreyn, if you scroll up to my question when I entered about 30 m ago17:49
daemontomreyn, that video is ubuntu server in bhyve17:49
mrelceedaeon: I would have to reinstall 18.04.1 LTS to do this troubleshooting with you.  I currently have a working 17.0417:50
daemonmrelcee, ok dokey, well im on the freebsd virtulization mailing list if you wanna give it a try and im not around on irc ;P17:50
mrelceecuriously 16.X LTS and 18.04.1 LTS fail to boot while 17 works just fine17:51
tomreyndaemon: i'm not familiar with bhyve. a web search for "/boot/grub/x86_64-emu" returns two hits, one of which is bhyve related, both are quite old.17:51
daemontomreyn, ahh so thatIS a bhyve problem, nice now I can ask some questions about it cheers17:52
mrelceei'm going to back burner this to next sunday. i'm burning my sunday up on this17:52
mrelceethanks for tryig to help17:53
tomreyndaemon: i dont *know* it's a bhyve issue, but it seems likely to me.17:53
daemontomreyn, its something kinda odd I run quitea few vm's including gentoo, debian, arch pretty much anything you can imagine17:53
daemonand I have never seen that error before17:53
daemonI wonder if freebsd built bhyve-grub17:54
daemonis an older version and expecting it there17:54
daemonbut surely gentoo would have kicked up the same warning17:55
tomreyndaemon: i'm not enough into grub to provide a more qualified response, i'm afraid. maybe come back here during the week during uk business hours if you'd like a more qualified response17:55
daemontomreyn, any idea about the network thing about a minute after17:55
daemonthatis deffinetly in the linux setup its self17:55
tomreyndaemon: the ip address assigned to the system via dhcp is one of general electrics, that's correct?17:57
daemontomreyn, yep17:57
daemontomreyn, usually use the US militaries space17:58
tomreynwell you surely know what you're doing ther ;)17:58
tomreynand this mac address is only used once?17:58
daemonyep17:58
daemonwell thats a lie17:59
daemonas you can see it was assigned to the gentoo image17:59
daemonbut that gentoo image is not booted when I am doing that17:59
tomreynok17:59
daemonall I can figure is its waiting for a SLAAC announce18:00
RoyK<slightlyofftopic> https://scontent-arn2-1.xx.fbcdn.net/v/t1.0-9/40549824_2260770083936357_7347757761402241024_n.jpg?_nc_cat=0&oh=d3ad9466353a2208594ac2316cc22ad0&oe=5C3206E6 </slightlyofftopic>18:00
daemonhehe18:00
daemonepoch or bust :)18:01
tomreyndaemon: maybe. i couldnt tell what it's doing from the output provided there. you'll have a log somewehre in /var/log post installation18:01
daemonlemme fire it up18:01
tomreyndaemon: this 'server live'  installer is still quite new, and while it's the default now, it still suffers from a few bugs18:01
daemonyeah but thats not in hte install step18:01
daemonthats it booting from the hard disk18:02
tomreyndaemon: there's an alternative installer, which is the old "debian-installer" based installer18:02
RoyKtomreyn: the fun thing about ubuntu, is that a new installer, practically a beta, is selected as the default installer for an LTS version of the OS, which intentionally, it should seem, would be stable…18:02
daemonI only picked it to help thato ther guy out earlier lol18:03
tomreyndaemon: right, i'm just guiuessing that maybe the installer didn't configure your network properly, but that's really just a wild guess.18:03
daemonnet detection script is about to fail and continue booting18:03
daemonbang on 2 minutes18:03
daemonit fails over18:03
tomreynRoyK: i'm very aware of the irony.18:03
* RoyK uses debian on servers18:03
daemonok I ahve /var/log's which file would you need18:04
tomreyndaemon: i don't rmemeber which is the exact log file. i could look it up in a VM if you can't identify it18:04
daemongrep -ri dhcp .18:05
tomreynpersonally i don't *need* this file. ;)18:05
daemonshows hits on18:05
daemon./syslog18:05
daemon./installer/installer-journal.txt18:05
daemon./cloud-init.log18:05
daemonits ipv618:06
daemonits waiting for an address to be announced and neighbour discovery18:06
tomreynit's /var/log/installer18:06
tomreynnot sure which one there exactly18:07
daemon /var/log/installer18:07
tomreynmy limited understanding there si that subiquity is mostly the UI, curtin does the configuration stuff.18:07
daemonSep 02 16:23:54 ubuntu-server curtin_log.1730[2087]: Running command ['sh', '-c$18:07
daemonSep 02 16:24:30 ubuntu-server curtin_event.1730[2420]: finish: cmd-install/stag$18:07
daemonno thats not 2 minutes18:08
daemonhmm18:08
tomreyndaemon: oh that's a misunderstanding18:08
daemon./installer-journal.txt:Sep 02 16:23:52 ubuntu-server systemd[1]: dev-disk-by\x2duuid-00c629d6\x2d06ab\x2d4dfd\x2db21e\x2dc3186f34105d.device: Job dev-disk-by\x2duuid-00c629d6\x2d06ab\x2d4dfd\x2db21e\x2dc3186f34105d.device/start failed with result 'timeout'.18:08
daemonwould it be that?18:08
tomreyni'm trying to help you identify the installers' log files, to see whether something was incorrectly configured regarding networking18:08
daemonah18:08
tomreyndaemon: the installed system boots to /var/log/syslog indeed18:09
daemonwhat I should do is boot it and record the exact time18:10
daemonI know it freezes two minutes18:10
daemonthen I can grep the timestamp18:10
tomreynyou can also try tab completion for all of: systemctl status network18:10
tomreynso hit double tab after typing 'network'18:10
tomreynone of those should report an error, and if it does, it should explain how to get more logs18:11
daemon19:11:0718:11
daemonok lets try both :)18:11
daemonlove a good mystery18:11
tomreynyou can also correclate to "dmesg -T" output18:11
daemonhttps://1drv.ms/u/s!AkvwG6Qrk79x3EBwIhboTO6Iejoc18:12
daemonthe intersting bit is18:12
daemonlooking atthe messages above it18:12
daemonit reached everything it needed to18:12
tomreynactually on your video it says how to get more information on the failed systemd target18:14
tomreynsystemctl status systemd-networkd-wait-online.service18:15
daemonSee 'systemctl status systemd-networkd-wait-online.service' for details.18:15
daemon         Starting Initial cloud-init job (metadata service crawler)...18:15
daemonyep lets take a peek18:15
daemonoddly that is the EXACT service I just found a 2 minute wait in18:15
daemonlooking for datasources18:15
tomreyn"systemd-analyze blame" and "systemd analyze critical-chain" would probably confirm this, too.18:16
tomreyni'm not sure how much you're into systemd18:16
daemonnever used it before18:17
daemonI have quite a few production systems but there all: FreeBSD, Slackware, Gentoo or Windows-Server18:17
tomreynit inits services in paralellel, wherever possible18:17
daemonwell skip thatthe gentoo are more for fun18:17
tomreynalso i'd do a "sudo apt update && sudo apt full-upgrade" to be sure you got the latest updates installed. maybe that'll help fix the issue.18:19
daemonhttps://paste.ee/p/42kGD18:19
tomreynso the root cause seems to be "systemd-networkd-wait-online[688]: Event loop failed: Connection timed out" - whatever that means18:21
daemonupdating did not help either issue18:21
daemonseems so odd18:21
tomreynthere are plenty of related bug reports, if you do a web search for it (omitting the pid in squre brackets, obviously)18:22
daemonyeah18:22
daemonits doing something itsexpecting a response to18:22
daemonbut its not getting18:22
daemonperhaps some broadcast announce18:22
tomreynhttps://bugs.debian.org/cgi-bin/bugreport.cgi?bug=869995 this would match what you suggested might be the issue18:22
ubottuDebian bug 869995 in systemd "interface stuck in "configuring" if SLAAC prefix announced with preferred lifetime zero" [Normal,Fixed]18:22
daemonI should drop a rta-dvd daemon on thatvirtual network18:23
daemonsee if giving it ipv6 does anything18:23
daemoncan I disable this cloud thing18:25
daemoncloud-init18:25
daemonmeh anyhow :) its sunday so time to actually commit the work I was meant to commit last monday18:26
daemonthanks for the help guys!18:26
tomreynthe above bug should already be fixed in the ubuntu 18.04.1 systemd version, so it'ds going to be something else.18:27
tomreynwelcome, daemon18:27
=== mundus2018 is now known as mundus
uplimehello all! I just installed ubuntu-18.04 server as a vm on my laptop, with 2 network interfaces defined: a bridged interface and a host only adapter. i can talk to the vm over the host-only interface just fine, but the primary bridged interface, which is setup to use DHCP, doesn't want to pass any traffic. Any way to fix that?21:28

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