/srv/irclogs.ubuntu.com/2017/05/22/#ubuntu-server.txt

halpQuick question05:27
halpwould apt-get update and apt-get upgrade cause my host key to change?05:27
cpaelzergood morning05:29
=== noxs_ is now known as noxs
henkjanhalp: regular apt-get update en apt-get upgrade should not cause changed hostkeys06:50
henkjanhalp: upgrade between releases, eg 12.04 to 14.04 or 16.04 could add support for new hostkeys like ed2551906:52
halphenkjan: I got the answer already in #ubuntu but ty06:53
halpI've wiped and locked down the machine now. It had nothing of value anyways06:53
=== _dpawlik is now known as danpawlik
CarlenWhitesarnold, Oh, hey. I did figure out what might be going wrong. It seems like my ISP is indeed stepping in and blocking requests to port :2509:53
CarlenWhiteBecause I was able to connect to the same server from a business network no problem.09:54
CarlenWhiteIf I feel bothered, I'll see if I can bug my ISP to lift that limit else devise a different solution.09:55
CarlenWhiteEither sanely by having it go to a proper service.09:55
CarlenWhiteOr tunnel to a work server to facilitate the request.09:56
=== JanC_ is now known as JanC
=== soahccc_ is now known as soahccc
CapprenticeHi! when I run blkid I see these - /dev/sdb: UUID="LSI     M-^@M-^F)%" TYPE="ddf_raid_member"11:10
CapprenticeHow do I make these hdds show up as normal hdds? in etc/fstab?11:11
CapprenticeThe hdd Im booting from is showing this -/dev/sda1: UUID="055b6e93-b53f-4020-96d1-8ad49aad2779" TYPE="ext4" PARTUUID="14b09c11-01"11:11
cpaelzerCapprentice: isn't that a fake raid setup?11:26
cpaelzerCapprentice: so would mounting it individually not be the wrong things to do?11:26
Capprenticecpaelzer, I do not know. I just used fdisk to format the disk partition type to msdos and then create one single partition of ext4.11:30
cpaelzerCapprentice: that might even have killed some of the disk data - the "ddf_raid_member" means that this is a fakeRaid11:31
Capprenticecpaelzer, How do I make it non raid?11:32
cpaelzerCapprentice: TL;DR the bios/hw does part of the raid setup, but would rely on special drivers to do so correctly11:32
cpaelzerCapprentice: If you don't want it to be special you need to go to your bios and/or storage controller setup11:32
Capprenticecpaelzer, The SATA controller is set as AHCI.11:32
CapprenticeRAID is not selected there.11:32
CapprenticeAnd when installing I passed the argument nodmraid11:33
cpaelzerYeah also the borads/devices doing so get less and less - so it might be safer to go without11:33
cpaelzeryet your blockid reports a ddf type device11:34
Capprenticecpaelzer, How do I fix it?11:35
cpaelzerhaven't had  such a system for years - I'm thinking (slowly) ...11:35
cpaelzerCapprentice: since I understand that you want to kill the data on it anyway to install fresh or something like it maybe wipe the old signatures and reboot so the kernel stops detecting it as such?11:37
cpaelzerCapprentice: dmraid -x or so?11:37
Capprenticecpaelzer, The /dev/sdb/c/d can be wiped. I have no data on them.11:39
cpaelzerCapprentice: there are more things to wipe it - here is a discussion you might want to follow and try https://ubuntuforums.org/showthread.php?t=132210811:39
cpaelzerdmraid -rE seems to be the consensus in this thread, but since I don't have the device or used it be carful Capprentice11:41
Capprenticecpaelzer, I dont even have the package dmraid installed and I selected the AHCI mode. How or why it beacame lke this?11:42
Capprentice:(11:42
cpaelzerCapprentice: I think the kernel tries to detect11:42
cpaelzerCapprentice: but that is only half way done - either "kernel detects fakeraid, userspace consumes and sets it up" OR "wipe it all so it boots without being detected as such"11:43
cpaelzerCapprentice: it might have metadata form an old installation I'd guess11:44
cpaelzerCapprentice: there are plenty of similar references around like https://askubuntu.com/questions/91167/un-raiding-a-two-disk-fakeraid-array11:44
cpaelzerCapprentice: but they all seem to resolve around wiping the unwanted metadata11:44
Capprenticecpaelzer, ERROR: ddf1: seeking device "/dev/sdd" to 102420425395404811:49
CapprenticeERROR: writing metadata to /dev/sdd, offset 2000398933504 sectors, size 0 bytes returned 011:49
CapprenticeERROR: erasing ondisk metadata on /dev/sdd11:49
Capprenticecpaelzer, This had no previous installation. This is the first installation on the server. I dont know why and how this got attached and now giving me error on trying to remove it :(11:50
cpaelzer:-/11:50
cpaelzerSorry Capprentice I can't help more, I think you now need to hope to find somebody with the same or a similar device11:51
cpaelzerand while searching for him continue trying to find how to fully wipe it11:52
cpaelzerCapprentice: what storage controller is that exactly, so that somebody else here might chime in if he has one11:52
Capprenticecpaelzer, I have disabled the controller in BIOS. I dont remember its name and lspci shows  Sunrise Point-H PMC11:58
masonCapprentice: Just coming in, but did you do anything to nuke metadata on the disks?12:43
masonA not-horrible suggestion prior to using disks that aren't brand new/unused is to dd if=/dev/zero over them.12:44
masonOr maybe if=/dev/urandom if you're going to do crypto on the devices later.12:45
ahasenacksgdisk -Z is also interesting, as it also takes care of the partition data at the end of the disk iirc12:55
M3mphiZIs there a minimal iso for ubuntu server?13:08
andolM3mphiZ: How much such an iso differ from the regular mini.iso?13:10
M3mphiZandol: i thought the mini.iso is for desktop, no?13:12
andolM3mphiZ: Well, Ubuntu is Ubuntu. Just that some installers provide different defaults.13:13
M3mphiZandol: thats what i thought, so ubuntu server is preconfigured for server and the rest for desktop, thats why i thought the mini.iso is preconfigured for desktop..13:14
andolUnsure exactly what defaults the mini.iso gives you, but I do remember having used it to install a server. Just set the low debconf level and you will be fine.13:17
andol...and if you want to be really sure, start by testing it out in a virtual machien.13:17
M3mphiZandol: what do you mean with lob debconf level?13:19
M3mphiZandol: or better, how do i set it to low?13:20
masonahasenack: Does that know about fakeraid metadata? I think it just wipes partition data, which would leave the fakeraid stuff there.13:27
ahasenackmason: don't know, give it a try13:28
masonahasenack: You miss my point. I wasn't asking to ask, I was asking to tell. :P13:29
ahasenackwhere is the fakeraid stuff written to?13:30
ahasenack-Z destroys gpt and mbr data structures, it's what the manpage says13:30
masonLooks like the last 512K on disk: https://djlab.com/2013/07/removing-raid-metadata/13:30
masonRight, but... that's not going to touch the metadata.13:31
masonPut another way, -Z very cleanly and precisely destroys the partition structure.13:32
jamespagecoreycb: hey - the sync process for the UCA is currently broken - a duplicate build snuck into one of the ocata or pike pockets for qemu13:41
jamespagecoreycb: resolving that now but it currently means that no updates are getting from the build PPA's to the real UCA13:41
coreycbjamespage: ack13:41
jamespagecoreycb: OK I think I've poked it enough and things are now syncing again13:56
coreycbjamespage: ok cool13:56
redvicHi, I have not used IRC in 10 years I guess that makes me a newbee...14:04
ogra_rather a unpracticed oldie :P14:05
redvicthought so, how is it referenced now days14:06
dpb1ah14:14
dpb1IRC. :)14:15
redvicwhat software is recommended for server virtualisation would like to run two ubuntu servers at once ?14:16
dpb1redvic: KVM14:19
rbasakredvic: or lxd, for speed and density, unless you specifically need VMs.14:28
compdocI'll have to try lxd someday14:29
redvici use odoo accounting software on ubuntu server 12 lts would like to run two version and one test server14:31
IShavedForThis_hey, I'm having problems with a hdd turning to read only mode after a random amount of time. I have already run fsck and can't figure out the problem! has anyone had to deal with shit sort of thing with external drives before?14:32
compdocIShavedForThis_, usually means the drive has problems. use SMART and see14:35
compdocglad you shaved, btw14:36
IShavedForThis_hmm okay. is there a command for that?14:39
IShavedForThis_hahah thanks.14:39
compdocsmartctl -a /dev/xxx14:45
compdocyou have to replace the xxx with the drive14:45
compdocpastebin.com the results14:45
compdocmay have to use sudo14:46
redvichow do i setup kvm? do i load ubuntu server then install kvm and setup my virtual servers from there?14:49
compdocyup. do you have a desktop installed?14:50
masonredvic: https://superuser.com/questions/229084/does-displayport-carry-sound-as-hdmi-does14:50
masonUm, that didn't copy properly.14:50
masonhttps://help.ubuntu.com/lts/serverguide/virtualization.html14:51
masonthat one14:51
masonSo, if you want libvirt, for example: sudo apt install qemu-kvm libvirt-bin14:51
redvicwhat version of LTS ubuntu server is recommended 12 14 ?14:55
Ussatwe use 16.04 LTS here14:56
redvici know its not server related what IRC client is recommended here ?14:57
compdoc16.0415:01
redvicis it possible to setup a server between my wifi access point and internet connection in order to control access to network ? i am helping a school with wifi in all the class rooms for teachers only but students hack wifi and gain access to data15:07
redvicwifi password is a problem as students have access to teachers devices15:08
redviccan ipfire do something like this?15:09
redvichow would i secure data on a wifi network?15:10
rbasakcpaelzer: triaging bug 1685332, I think it would be reasonable to say that non-experimental NVMe support for smartmontools is a wishlist request, so Triaged/Wishlist. What do you think?16:34
ubottubug 1685332 in smartmontools (Ubuntu) "does not monitor NVMe drives" [Undecided,Incomplete] https://launchpad.net/bugs/168533216:34
=== aruns is now known as indistylo
tewardpowersj: poke.17:33
powersjteward: sup17:33
tewardpowersj: thou hast forgotten nginx special triage rules17:33
powersjdoh17:33
teward"Invalid", not "Incomplete", because "Not a bug"17:34
powersjActually I thought I did mark it invalid17:34
tewardah, your canned response and the status don't match17:34
tewardthat's whyt17:34
teward*tosses phone into /dev/null*17:34
powersjyeah ;)17:34
tewardwhy*17:34
tewardpowersj: i think we'd need to update the canned comment - it references "incomplete"17:35
tewardFRAKKK stupid tor >.<17:35
tewardthere we go...17:35
powersjthat's fair. I get into copy and paste mode, but did remember you prefer invalid to incomplete17:35
tewardpowersj: yeah, i get too many of those "Hey, this doesn't start" "Stop running the other webserver ya ninny" situations17:35
tewardjust got tired of them :)17:35
powersjI hear ya17:36
tewardback in a bit.  IT never sleeps, nor do we get a freaking break xD17:36
endpoint_davidhey folks, we just released a new version of DBD::Pg; wondering how we get libdbd-pg-perl updated accordingly17:46
naccendpoint_david: it's currently sync'd from Debian (with rebuilds as needed), so I'd guess if Debian updated, we'd pick it up17:47
jellyand debian won't update before debian 9 is released (this year, probably)17:48
naccjelly: good point17:49
naccendpoint_david: if there's a strong reason we should update ahead of Debian, I'd file a bug17:49
jellyunstable is "slushy", no new upstream version are coming in before stretch release17:49
endpoint_davidthe primary reason is supporting PostgreSQL 1017:49
endpoint_davidwhich breaks a few things as far as versioning, etc, internally17:50
endpoint_davidnow, that hasn't been released yet17:50
endpoint_davidbut that means that anyone using Pg 10 in the future is going to have to update DBD::Pg out-of-band AFAICT17:50
naccendpoint_david: ok, i'm not sure we're updating to pg1017:50
endpoint_davidyeah, I'd expect that isn't going to be in the base dist for sure17:51
naccendpoint_david: it's on, i think, our roadmap for 18.0417:51
naccendpoint_david: let me check my e-mail (i, along with cpaelzer, are the primary packagers for the pg updates)17:51
endpoint_davidok, when is the freeze for that?17:51
naccendpoint_david: for 18.04? well, it's not even open yet :)17:52
endpoint_davidnacc: cool, good to meet you17:52
endpoint_davidthen I haven't missed the deadline there... ;)17:52
naccendpoint_david: i'm *guessing* that when Debian brings pg-10 out of exp to unstable, we'll probably see them pick up the new version of dbd-pg too17:53
naccendpoint_david: it's probably best to file a bug in debian so they are aware of the need to update17:53
endpoint_davidnacc: so how would this work in the meantime?  generally people will use the PGDG repo, so do we need to package a custom version of libdbd-pg-perl there as well?17:53
endpoint_davidsince it's still pre-release it's kind of moot at this point, just trying to make sure things work out easiest in the future17:54
naccendpoint_david: not sure I follow what the issue is (yet). The version we have in 17.10 (I am assuming) works with the PG in 17.10, right? When we do the migration to PG-10 in Ubuntu (next cycle most likely), there will be a transition tracker (as many packages will need to be rebuilt, updated, etc.)17:55
endpoint_davidnacc: the problem would be if someone installs the PGDG repo to install pg10 but uses the system libdbd-pg-perl (which doesn't work with Pg 10), then anyone trying to use DBD::Pg wouldn't be able to work with it18:03
endpoint_davidso to me it looks like the choices are to either package/distribute the updated DBD::Pg in PGDG repo as well or update system libdbd-pg-perl to support it18:04
naccendpoint_david: right, if you have your own repo, then you need to make it self-consistent18:04
naccendpoint_david: you package/ship PG itself?18:04
endpoint_davidwell, the PGDG project does18:05
endpoint_davidand I'm sure we could get them to include a custom package18:05
naccendpoint_david: yeah, that seems like the right place to resolve this, it's not really an ubuntu issue18:05
endpoint_daviddumb question: are external repos able to depend on other packages?  we don't want to have to maintain a separate full perl installation for dependencies18:06
naccendpoint_david: well, the packages themselves express their dependencies18:06
naccendpoint_david: i'm assuming the PGDG repo is meant to be added to ubuntu18:06
endpoint_davidubuntu or debian both18:06
naccendpoint_david: so they could depend on any ubuntu package; but as with libdbd-pg-perl, they need to ship anything they want to control specifically the version of18:07
naccendpoint_david: otherwise they are reliant on whatever ubuntu/debian decide18:07
endpoint_davidok, well that sounds like the way we'll have to go then, thanks18:07
endpoint_davidthanks for your help18:07
naccendpoint_david: np18:08
kyle__Is anyone here pxe installing 16.04 server?  How did you get the serial console to work?  Through 14.04, I was able to just append console=ttyS0,115200 to the boot, and it worked.  Not, not so much18:10
=== JanC_ is now known as JanC
=== jmarsden|work is now known as jmarsden
JrWebDevis their any good open source ERP system that i can learn from...i want to learn how to setup an ERP system. is their any good open source ERP systems out their just so i can practice and see how an erp is implemented?20:50
=== nacc_ is now known as nacc
sarnold!package openssh-client21:19
naccsarnold: !info?21:21
sarnold!info openssh-client21:22
ubottuopenssh-client (source: openssh): secure shell (SSH) client, for secure access to remote machines. In component main, is standard. Version 1:7.4p1-10 (zesty), package size 654 kB, installed size 4629 kB21:22
sarnoldoh!21:22
naccsarnold: not sure if that's what you were looking for :)21:22
sarnoldnacc: that's it exactly; thanks21:22
sarnoldwith !package the little guy replies with <ubottu> Sorry, I don't know anything about package openssh-client  -- which looks like it might not understand the https redirect on https://packages.ubuntu.com/  :)21:23
sarnoldbut if you ask the correct thing it still gives correct answers. hehe.21:23
naccsarnold: right, because it's interpreting the whole string as a command (in this case 'package openssh-client') and it happens to look like English :)21:25
nacc"Sorry, I don't know anything about <input>"21:26
sarnoldI wish it replied to a help or !help or commands or !commands or something. sigh :)21:26
naccsarnold: yeah, i wonder if teh command list is too long21:27
mason!info xv21:44
ubottuPackage xv does not exist in zesty21:44
sarnoldsorry mason, it hasn't existed in a while it looks like https://launchpad.net/ubuntu/+source/xv21:45
masonI can hand-build it. But yeah, it's not there in Xenial either.21:45
masonI'm thinking of using it to learn .deb packaging at long last.21:46
naccmason: what is xv?22:08
sarnoldimage viewer22:08
sarnoldit used to be the only thing we had twenty years ago :)22:08
naccsarnold: oh i thought it was some other new thing -- given the reference to 'deb packaging' :)22:09
sarnoldnacc: https://en.wikipedia.org/wiki/Xv_(software)22:09
naccsarnold: yeah, i've used *that* xv before :)22:09
naccmason: xv is probably better (at this point) as a snap22:12
sarnoldyou'd certainly be done packaging way sooner :)22:12
nacc:)22:13
=== db` is now known as db
=== db is now known as Guest44806
masonOoh, a snap. That's a good idea too.23:05
masonProbably worth learning both.23:05
naccmason: for end-user applications, the snap is going to be a lot faster23:06
masonYar. Just saying.23:08
tewardsarnold: the more you know, huh?23:40
sarnold★✰⭐⭑⭒23:40
teward*throws sarnold into /dev/null*23:41
tewardsarnold: mind a PM?23:42
sarnoldsure23:42

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