[00:00] I know :) [00:23] blackflow: that's why some people insist on using different drives for a mirror/RAID (different brand, model or at least production series) [00:24] drives from the same production run are much more likely to die within a short time from each other [00:24] I've made that failure - getting 80 WD Black drives from the same batch - a really bad one... [00:25] I hope they at least died while under warranty? [00:25] truth to say, we didn't have time - we just ordered a new batch and returned them later [00:25] some of them didn't even show smart errors [00:26] did they work at all? [00:26] but 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 dies [00:26] the 'shout' part is just fun [00:27] they worked, or a while [00:27] some of them still work, but that's under 20% [00:27] SMART is only useful for detecting stuff like a degrading magnetic surface and the like [00:28] this was probably mechanic [00:28] if the r/w heads break off, or the controller board is toast, SMART won't be useful [00:28] the controller boards don't die like that for that amount of drives [00:29] it was timing issues, perhaps a bad firmware [00:29] something nasty [00:29] so I made sure we could return some of them [00:29] well, in theory it's possible that the controllers die (or have bad RAM, or something like that) [00:30] this was an issue of a bunch of sata drives on sas expanders that really didn't like it [00:31] or the sas controllers didn't like them or whatever [00:31] they didn't work well on sata either [00:31] oh, that's also possible, I guess [00:31] so much can go wrong :) [00:31] we had a tight budget, so we got some new sata drives, hitachis, worked well [00:31] even just a fault resistor or capacitor on the controller can make a drive useless... [00:32] and then I spent some time twisting drives and returning them [00:32] JanC: it wasn't that - beleive me [00:32] they were fairly new and showed no issues except perhaps dying [00:33] I have 30yo drives which probably still work... [00:33] if I would try them on some old computer :) [00:34] old IDE or SCSI things? [00:34] MFM? [00:34] old IDE [00:34] Quantum Bigfoot [00:35] that's probably only 20YO [00:35] IIRC [00:35] I remember those arriving around 1998 [00:36] it was amazing - 10 gigs on a drive!!!!! [00:36] I have some disk from the early 1990s too somewhere [00:36] some 52MB disk? [00:37] * 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 hdparm [00:38] amazing times ;) [00:38] this Quantum Bigfoot CY was from 1996 or so [00:39] 5,25"? got a model number? [00:39] iirc all the bigfoots were 5,25" [00:39] although everything else by then was 3,5", but then, the bigfoots were *huge* [00:40] yeah, the 5.25" was what distinguished them; it allowed them to make cheaper drives with the same capacity [00:40] get a time machine and show me a micro sd card of 256GB back then ;) [00:41] * RoyK doesn't have a DeLorian, sadly [00:44] that Bigfoot was 6.4 GB :) [00:45] 4k5rpm? [00:45] or 3k6? [00:45] 3.6k [00:45] all Bigfoot CY were 3.6k rpm [00:45] not quite an SSD, then [00:46] 6 MB/sec read speed :) [00:46] random iops, perhaps 50 on a good day [00:46] those were the days :D [00:46] (and that's sequential, I assume) [00:46] it was indeed [00:47] probably outer rim [00:47] inner rim was half the speed or less [00:47] :) [00:47] well, on floppy disks it usually was the same [00:47] same rule applies to modern drives - more sectors on the outside [00:48] some early hard disks too maybe [00:48] floppies didn't have zones [00:48] neither did mfm drives [00:48] well, you could mess with floppies to have more data on the outside [00:49] if you programmed them yourself instead of using the BIOS :) [00:49] well, gotta go - it's late [00:50] I think that early 1990s drive I had is either at my parents or thrown away [00:51] but that bigfoot from the mid-1990s, I remember it still worked when I tried it about 10 years ago :) [01:13] After upgrading to Ubuntu Server 18.04 Apache2's php capabilities are messed up [01:14] if you want help, you probably better explain exactly what is wrong... [03:27] hey [03:27] i am an annoying newbie and i got dum questions [03:28] do i have to instal proftp in ubuntu as a user other than 'root'? and if the anser is yes, why is that? [04:06] KurbuntusBain: use SFTP via SSHServer [04:14] ok [04:14] ill do that [04:14] im getting everything setup now or at least trying to [04:15] it'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 aleady [04:22] I prefer keeping things simple and recommending that [04:29] so 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 this [04:30] what was your favorite part of getting your first dedicvated server? [04:30] 'dedicated'? [04:30] (I got this thing just to screw around with and learn btw) [04:33] KurbuntusBain: getting DNS propagate [04:34] lol [04:35] omg, it's giving me shit just tring to instal mariadb [04:35] See apt-secure(8) manpage for repository creation and user configuration details. [04:36] guess i have to install BIND first [04:39] KurbuntusBain: look into running tasksel [04:40] Ok, cryptodan. Ill check that out. Now this is saying I should have TWO servers? [04:40] for ns1 and ns2....for reals? [04:40] yup [04:40] preferably on separate subnets [04:40] well that's expensive [04:41] don't be silly lol [04:41] im definitely silly as shit dude [04:41] im like as new as trump with this stuff [04:42] if it's just for playing around having only one nameserver is fine [04:42] I have a dedicated server at psychz and a vps at vultr [04:43] if your domain registrar requires two nameservers (ns1 and ns2), just point them to the same IP on the same server [04:43] or use a free DNs service like cloudflare or the place you got your domain from [04:43] that'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 dialer [04:44] yes [04:46] KurbuntusBain: 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 blacklists [04:46] i 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 CRM [04:46] I can't get fired man, I own the company, lol [04:46] I am just starting out. and I am on the up and up [04:47] I am a broker in the deregulated energy market [04:47] I am not a spammer [04:47] it's all good no bad stuff man [04:48] eveyrone is doubting me and thiunking im up to something shady it seems lol [04:49] i know why ...it's because I know little and probably not saying the right words.... [04:49] I just prefer to do things myself rather than higher people and pay crazy rates [04:50] I have 5 ip's [04:50] too [04:50] I just need guidance [04:51] KurbuntusBain it's when you say things like "email marketing and run a predictive dialer" [04:51] lol, i know [04:52] and most people asking these questions are spammers without a budget to pay other people to set stuff up lol [04:52] i completely understand, but those functionalities can be completely legitimate provided the nmbers are from opt in or dbl opt in lists [04:52] if it's an important low traffic website just pay for some decent $5 a month hosting and be done with it [04:52] and the phone numbers are scrubed to not be on the DNC [04:53] good [04:53] but in the long run learning how to set stuff up properly will save you a lot of time and money [04:53] I am prob running ViciDialer and from what I understand that requires a dedicated [04:54] plus man, i just got a dedicated for $25/month [04:54] lol, it's a Atom525 but, either way, not a bad deal right?>\ [04:55] plus eventually i'd like to sell web design and hosting services for to small business [04:56] $25/mo vs $10/mo for a shared hosting, why not just spend the extra $15 and go dedicated [04:58] if all your call agents are in the same building, it will make more sense to run a server there locally [04:58] for voip [04:59] KurbuntusBain cPanel is the standard for selling web hosting, most clients will expect it [05:01] but if set up properly your own web server on a VPS will be a lot better than shared hosting, and cheaper [05:02] personally I use lighttpd and mariadb for all my sites, some larger ones but I host my DNS on Amazon Route 53 [05:05] that's the thing, my reps will be remote [05:05] most of them at first [05:06] plus, I've worked at a hosting company before that sold shared hosting and i've seen what can happen [05:06] ah ok, yeah your way will be best then [05:07] one person can bring the whole machine down [05:07] it's not likeley but it could happen [05:08] did they use cloudlinux for cpanel? it can set per user limits for CPU etc [05:08] i think they used virtuozo or something? [05:08] I can't remember I didn't need to know too much about the technical side [05:08] just enough [05:09] i've used cpanel and whm it's easy [05:09] virtuozo is basically a VPS, so the cpanel server was running in a container [05:09] on my dedicated I can't set it up as a VPS environment because it's so old huh'; [05:10] and cheaper license costs haha [05:10] KurbuntusBain sure you can! [05:10] you can make a few VPS's on your dedicated server, each with their own IP and operating system [05:11] but for small servers it's not worth it [05:11] I looked up the processor specs and saww " Intel® Virtualization Technology (VT-x) ‡ [05:11] No " [05:11] and figured that meant to virtual privatge servesr lol [05:12] ah, you can still run OpenVZ but not KVM [05:13] I can get 300 mbs a second internet here at my house, im thinking about just running my own server here [05:13] where did you buy your dedicated server from? [05:13] i got it form psychz [05:13] KurbuntusBain that's a bad idea unless it's a business connection and you have a static IP [05:14] it's usually 70/mo i got a good deal i thnk [05:14] https://www.kimsufi.com/us/en/servers.xml do some cheap dedicated servers also, but they only have 1 IP [05:15] running a server at home is good for learning and messing about, but it's a bad idea for anything business related [05:15] and with power and hardware costs you won't save much money if any at all [05:15] it'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 monthy [05:16] sounds perfect if you are careful with RAM [05:16] I am running Windows ten on my laptop at home currently, should I convert this thing to a dual boot system you think? [05:17] KurbuntusBain don't rush head first into everything lol [05:17] hahah [05:17] that's always been my issue [05:18] personally I think you should learn the terminal (command line) side of things first, and setting up a web server is the perfect way to start [05:18] I have oracle vmware already so i was playing around with that [05:18] you are right [05:18] how would you sugges being careful with ram [05:18] because that's not upgradable on this server [05:19] KurbuntusBain use lighttpd or nginx for a web server, and configure your mysel server to use less ram [05:19] you should be fine even without changing any mysql server settings though [05:20] cool im using nginx now [05:20] perfect! [05:20] im just now setting up everytihng this nameserver shit is complicatesd [05:20] but asterisk for voip can be greedy [05:20] KurbuntusBain is this nameservers for your company website? [05:20] im trying to figure out how to configure the options file for bind as we speak [05:21] i haven't setup the name servers yet [05:21] I 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 servers [05:22] well i've already bought a few domains [05:22] i got some through namecheap [05:22] did you say you had a VPS from vultr? they have a very good free DNS service [05:23] yes [05:23] KurbuntusBain you can even use namecheap's DNS, but it's kinda crap [05:24] my [05:24] and in the namecheap control panel, you just set the nameservers to ns1.vultr.com and ns2.vultr.com if you are using vultr's DNS [05:24] namecheap 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] KurbuntusBain don't get that, it's a waste of money and others do it for free and better [05:25] I gues i did have a custom DNS setup already for klimco.group it's ns3.klimcogroup.com and ns4.klimcogroup.com [05:25] for example vultr and cloudflare both have ddos protected DNS, and they are on anycast [05:26] that's the thing that's a little confusing to me [05:27] still trying to wrap my head around how dns works.... [05:27] supposedly I have 20mbps ddos protection on my server with psychsz [05:28] you need to add glue records in the namecheap control panel for klimco.group [05:31] gotcha, then i just point them to my ip address, so why do I need to have a DNS on my dedi? [05:32] KurbuntusBain you need to set up glue records if you want to host nameserver on your dedicated server [05:33] if you use another dns provider you don't need to set up glue records, you just set the nameservers [05:35] it's called "personal dns server" in namecheap settings [05:35] so if I use cloudfare i am not going to have to pay anything else? [05:35] correct KurbuntusBain [05:39] you can pay extra money for cloudflare if you want to add special rules or some other stuff, but you won't need it [05:39] https://www.cloudflare.com/plans/ [05:43] https://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 left [07:42] after upgrading from 16.04 to 18.04, it seems I cannot resolve hostnames on the local network, any ideas? [09:02] ShellcatZero: 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 boot [10:34] ShellcatZero: maybe you need to configure a search domain [12:14] Skuggen: iirc it says just that in the file - do you configure the network the old way, as in the interfaces file? [17:12] hey 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 my [17:12] videos correctly for linux installs [17:21] i 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:22] mrelcee: did you see what ubottu told you in #ubuntu ? [17:22] yes [17:23] and, did you try this? [17:24] o/ mrelcee [17:28] does host OS manage iptables with docker installed, or does docker manage? [17:33] tomreyn: I certainly am trying to follow it. [17:34] getting stuck at sources.list. what is the codename i should be using, bionic? [17:35] mrelcee: 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:36] that helps [17:36] mrelcee: i think you'll have a better result if you'll just backup and install fresh, though. (but either should work.) [17:37] fresh install with 18 results in a system i can't boot [17:37] there'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:38] how are you installing, and on what hardware? what's the actual error message when it can't boot [17:39] please also specify the architecture. is it amd64? if so, uefi or bios boot? [17:40] ye 18.0.4 LTS [17:40] yes [17:41] amd64, uefi, running under bhyve w/freebsd as the host [17:41] "ubuntu 18.0.4 LTS" does not exist either :-/ [17:42] hmm, i don't know what "bhyve" is. [17:43] Please forgive my linux ignorance. I use somethign else day in and day out. 18.4 [17:43] oh excuse me. 18.04 [17:43] +LTS [17:43] so is this "18.04.0 LTS" or "18.04.1 LTS"? [17:44] tomreyn: lsb_release -a [17:44] tomreyn: or cat /etc/os-release [17:44] RoyK: this is about a non-booting system [17:45] mrelcee, if your not using -l [17:45] iirc lsb_release isn't that popular anymore [17:45] your not using UEFI mode [17:45] tomreyn: then just check /etc/os-release [17:45] on that system [17:46] finally people have agreed on some small things across distros [17:46] ok the ISO I grabbed is ubuntu-18.04.1-live-server-amd64.iso. I'm getting confused reading umpteen websites with umpteen versions [17:46] RoyK: i think you're meaning to address mrelcee here [17:46] mrelcee: okay, now how does the installation fail? [17:46] tomreyn, sorry. mrelcee please see my comments above [17:47] mrelcee: isorry, i mean how does booting fail [17:47] the installation does not fail. It fails to boot after. it just boots to grub> [17:47] mrelcee, got teamviewer? [17:47] mrelcee: do you have multiple storages there? [17:48] just a single HD image [17:48] daemon: nope [17:48] mrelcee, get to the grub> prompt and type 'ls' [17:48] paste the resultsback if there <2 lines long [17:49] so bhye is a type 2 HV for freebsdm ok [17:49] *bhyve [17:49] tomreyn, if you scroll up to my question when I entered about 30 m ago [17:49] tomreyn, that video is ubuntu server in bhyve [17:50] daeon: I would have to reinstall 18.04.1 LTS to do this troubleshooting with you. I currently have a working 17.04 [17:50] mrelcee, ok dokey, well im on the freebsd virtulization mailing list if you wanna give it a try and im not around on irc ;P [17:51] curiously 16.X LTS and 18.04.1 LTS fail to boot while 17 works just fine [17:51] daemon: 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:52] tomreyn, ahh so thatIS a bhyve problem, nice now I can ask some questions about it cheers [17:52] i'm going to back burner this to next sunday. i'm burning my sunday up on this [17:53] thanks for tryig to help [17:53] daemon: i dont *know* it's a bhyve issue, but it seems likely to me. [17:53] tomreyn, its something kinda odd I run quitea few vm's including gentoo, debian, arch pretty much anything you can imagine [17:53] and I have never seen that error before [17:54] I wonder if freebsd built bhyve-grub [17:54] is an older version and expecting it there [17:55] but surely gentoo would have kicked up the same warning [17:55] daemon: 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 response [17:55] tomreyn, any idea about the network thing about a minute after [17:55] thatis deffinetly in the linux setup its self [17:57] daemon: the ip address assigned to the system via dhcp is one of general electrics, that's correct? [17:57] tomreyn, yep [17:58] tomreyn, usually use the US militaries space [17:58] well you surely know what you're doing ther ;) [17:58] and this mac address is only used once? [17:58] yep [17:59] well thats a lie [17:59] as you can see it was assigned to the gentoo image [17:59] but that gentoo image is not booted when I am doing that [17:59] ok [18:00] all I can figure is its waiting for a SLAAC announce [18:00] https://scontent-arn2-1.xx.fbcdn.net/v/t1.0-9/40549824_2260770083936357_7347757761402241024_n.jpg?_nc_cat=0&oh=d3ad9466353a2208594ac2316cc22ad0&oe=5C3206E6 [18:00] hehe [18:01] epoch or bust :) [18:01] daemon: maybe. i couldnt tell what it's doing from the output provided there. you'll have a log somewehre in /var/log post installation [18:01] lemme fire it up [18:01] daemon: this 'server live' installer is still quite new, and while it's the default now, it still suffers from a few bugs [18:01] yeah but thats not in hte install step [18:02] thats it booting from the hard disk [18:02] daemon: there's an alternative installer, which is the old "debian-installer" based installer [18:02] tomreyn: 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:03] I only picked it to help thato ther guy out earlier lol [18:03] daemon: 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] net detection script is about to fail and continue booting [18:03] bang on 2 minutes [18:03] it fails over [18:03] RoyK: i'm very aware of the irony. [18:03] * RoyK uses debian on servers [18:04] ok I ahve /var/log's which file would you need [18:04] daemon: i don't rmemeber which is the exact log file. i could look it up in a VM if you can't identify it [18:05] grep -ri dhcp . [18:05] personally i don't *need* this file. ;) [18:05] shows hits on [18:05] ./syslog [18:05] ./installer/installer-journal.txt [18:05] ./cloud-init.log [18:06] its ipv6 [18:06] its waiting for an address to be announced and neighbour discovery [18:06] it's /var/log/installer [18:07] not sure which one there exactly [18:07] /var/log/installer [18:07] my limited understanding there si that subiquity is mostly the UI, curtin does the configuration stuff. [18:07] Sep 02 16:23:54 ubuntu-server curtin_log.1730[2087]: Running command ['sh', '-c$ [18:07] Sep 02 16:24:30 ubuntu-server curtin_event.1730[2420]: finish: cmd-install/stag$ [18:08] no thats not 2 minutes [18:08] hmm [18:08] daemon: oh that's a misunderstanding [18:08] ./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] would it be that? [18:08] i'm trying to help you identify the installers' log files, to see whether something was incorrectly configured regarding networking [18:08] ah [18:09] daemon: the installed system boots to /var/log/syslog indeed [18:10] what I should do is boot it and record the exact time [18:10] I know it freezes two minutes [18:10] then I can grep the timestamp [18:10] you can also try tab completion for all of: systemctl status network [18:10] so hit double tab after typing 'network' [18:11] one of those should report an error, and if it does, it should explain how to get more logs [18:11] 19:11:07 [18:11] ok lets try both :) [18:11] love a good mystery [18:11] you can also correclate to "dmesg -T" output [18:12] https://1drv.ms/u/s!AkvwG6Qrk79x3EBwIhboTO6Iejoc [18:12] the intersting bit is [18:12] looking atthe messages above it [18:12] it reached everything it needed to [18:14] actually on your video it says how to get more information on the failed systemd target [18:15] systemctl status systemd-networkd-wait-online.service [18:15] See 'systemctl status systemd-networkd-wait-online.service' for details. [18:15] Starting Initial cloud-init job (metadata service crawler)... [18:15] yep lets take a peek [18:15] oddly that is the EXACT service I just found a 2 minute wait in [18:15] looking for datasources [18:16] "systemd-analyze blame" and "systemd analyze critical-chain" would probably confirm this, too. [18:16] i'm not sure how much you're into systemd [18:17] never used it before [18:17] I have quite a few production systems but there all: FreeBSD, Slackware, Gentoo or Windows-Server [18:17] it inits services in paralellel, wherever possible [18:17] well skip thatthe gentoo are more for fun [18:19] also 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] https://paste.ee/p/42kGD [18:21] so the root cause seems to be "systemd-networkd-wait-online[688]: Event loop failed: Connection timed out" - whatever that means [18:21] updating did not help either issue [18:21] seems so odd [18:22] there are plenty of related bug reports, if you do a web search for it (omitting the pid in squre brackets, obviously) [18:22] yeah [18:22] its doing something itsexpecting a response to [18:22] but its not getting [18:22] perhaps some broadcast announce [18:22] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=869995 this would match what you suggested might be the issue [18:22] Debian bug 869995 in systemd "interface stuck in "configuring" if SLAAC prefix announced with preferred lifetime zero" [Normal,Fixed] [18:23] I should drop a rta-dvd daemon on thatvirtual network [18:23] see if giving it ipv6 does anything [18:25] can I disable this cloud thing [18:25] cloud-init [18:26] meh anyhow :) its sunday so time to actually commit the work I was meant to commit last monday [18:26] thanks for the help guys! [18:27] the above bug should already be fixed in the ubuntu 18.04.1 systemd version, so it'ds going to be something else. [18:27] welcome, daemon === mundus2018 is now known as mundus [21:28] hello 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?