/srv/irclogs.ubuntu.com/2019/08/02/#ubuntu-server.txt

fluvvellour lad installed desktop on a server by mistake, without a reinstall can we remove the package that requires a login to X before boot is complete? Crossgrade to ubuntu-server by package?05:15
fluvvellreally don't want to log into a graphic login before we can ssh in05:16
lordievaderGood morning06:52
lordievaderfluvvell: Those are separate services. However, removing X libraries will remove most of the desktop, as those packages depend typically on X.06:53
rafaeldtinocomorning o/10:59
lotuspsychjemorning rafaeldtinoco10:59
rafaeldtinocoo/10:59
=== Wryhder is now known as Lucas_Gray
=== jdstrand_ is now known as jdstrand
jamespagecpaelzer: I'm seeing libipsec-mb0 being pulled into the depends for OVS in eoan via librte-pmd-aesni-mb18.1114:03
jamespageis that something you are aware of and was it intentional?14:03
jamespagei.e. do we need to MIR tat14:03
lordcirthHaving a weird issue with netplan on 18.04 - I applied a config that I've used on other servers, vlan interfaces tied to a physical, bridges tied to vlans for lxc containers. The bridges don't start on boot15:24
lordcirthBoot waits for 2 minutes, 'brctl add' can add the bridges fine after boot. Must be some kind of race.15:24
lordcirthAhah, I had configured the physical interface that the vlans tie to, in both the vlan file and the main file.15:31
lordcirthIt would help for netplan to actually say something, though...15:32
cyphermoxlordcirth: some things are hard to detect15:32
cyphermoxcould you open a bug and include both yaml files so we can add that?15:32
lordcirthcyphermox, sure. Ubuntu launchpad bug?15:33
cyphermoxyes, please15:33
Akuwi am getting this  “Network configuration timed out: please verify settings”15:45
Akuwi have 4 ethernet cards but get that message, only one is connected to cable15:45
Ussatok, verify the settings15:46
Akuwi am using default DHCP15:47
Akuwall cards are in the list15:47
Akuwbut got that error15:47
AkuwBroadcom Limited / Netextreme ii BCM5709 Gigabit Ethernet15:48
Akuwis enp4s0f015:48
Akuwlink is blinking15:48
Akuwdhclient enp4s0f0 stay waiting15:52
Akuwcant get any ip15:52
tomreynAkuw: are you using the ubuntu *live* server installer, or the (alternative) server installer? for which ubuntu version?15:58
Akuwubuntu-18.04.2-live-server-amd64.iso15:58
Akuwping to 127.0.0.1 gives response16:01
Akuwthen card is ok16:01
tomreynAkuw: can you ping the gateway, though?16:02
Akuwno16:02
Akuwi cant get DHCP16:02
Akuwubuntu server should get automatically because i selected DHCP16:03
Akuwfor IPv4 and IPV616:03
tomreynAkuw: yes, nrmally this is what would be expected to happen. and i would think this NIC should be supported, too. you could check the logs which should be somewhere in /var/log16:13
tomreynAkuw: maybe /var/log/installer16:13
Akuwi should disable PXE Boot from this card in BIOS or doesnt matter?16:15
tomreynAkuw: here's a log file of a successful NIC configuration on 18.04.2 server-live installer:  https://termbin.com/0yo616:15
tomreynAkuw: pxe boot should no longer matter after you already booted the installer.16:16
Akuwok16:17
tomreynAkuw: have you tried to cross check with a desktop installer / live system?16:17
Akuwno16:17
tomreyni.e. it'd be good to test whether this is really an issue with the server-installer or whether the DHCP configuration is just incorrect.16:18
Akuwlet me see log16:18
Akuwthis server is old so should be work16:18
tomreynwhat i'm suggesting is that the network configuration data transferred via dhcp might be wrong so it cannot actually connect anywhere16:19
tomreynthis log is /var/log/installer/subiquity-debug.log16:19
tomreyn(in case you'd like to compare to yours)16:19
Akuwno16:19
Akuwi tested from another computer16:19
Akuwso netwrok is ok16:20
Glorfindelhi all, I need to install mysql 5.2 on ubuntu 18.04. what is the easiest way to go about doing this? I'm hoping to avoid building from source16:20
Akuwi will test with desktop16:21
Akuwwait16:21
Akuwletme create usb boot16:21
Glorfindelmysql-server 5.2, specifically16:22
tomreynGlorfindel: why do you need this old version when you can use a newer one? and why do you depend on installing it on 18.04?16:22
Glorfindeltomreyn: it's the newest version supported by some oldish software I'm trying to get running16:23
tomreynGlorfindel: since the oldest mysql server verison ubuntu supports at this time is mysql 5.7 (5.5 via !ESM) you'd indeed need to find another source for installing it. some of the mysql community distriubtions do provide their own versioned apt repositories, but i doubt they still maintain such an old release.16:27
tomreyni'd rather suggest you choose a maintained software.16:27
Glorfindelthe software in question is partkeepr, and from the research I did before deciding to test it there isn't really anything else availible. I was hoping to use it for inventory tracking16:31
lordcirthGlorfindel, there are many options for inventory software16:31
Akuwhi16:33
Akuwi just did a test16:33
Akuwfrom another computer it was possible to get IP using DHCP16:33
Akuwusing same cable16:33
Glorfindellordcirth: well, within the feature set I was looking for, I guess. do you have any alternatives to suggest that maybe didnt' show up when I searched?16:34
Akuwso... wat could be the problem?16:34
Akuwnetwork card?16:35
Akuwdriver?16:35
lordcirthGlorfindel, not off-hand. But I would not consider anything that requires mysql 5.2.16:35
tarpmanGlorfindel: where do you see that partkeepr requires mysql 5.2? I see plenty of people on their github who appear to be running it on recent-ish ubuntu16:36
tarpmanGlorfindel: https://wiki.partkeepr.org/wiki/PartKeepr_on_Debian_%22Stretch%22 even talks about running it on mariadb 1016:36
Akuwtomreyn: what do you think could be the problem, Ubuntu install is OK, Cable is OK16:37
Glorfindeltarpman: it's currently not running and when I asked in #partkeepr I was told 5.2 is the most recent mysql version it will run on16:37
Akuwthe only thing could be network card16:37
Glorfindelalthough they didn't sound like they remembered for sure either... meh. maybe I'll try finding an alternative... I've already spent around 8 hours trying to get this one working16:40
tomreynGlorfindel: what are your requirements in an inventory tracking system?16:52
Glorfindeltomreyn: barcode scanner support; notifications of low stock; automatic upc lookup would be nice, but not necessary. honestly I haven't really seen much of anything as far as inventory goes...17:01
tomreynGlorfindel: this doesn't sound special at all, i guess most ERP solutions will cover this.17:04
tomreynhttps://en.wikipedia.org/wiki/Inventory_management_software#See_also17:05
tomreynwikipedia usually has lists of commonly used softwares for specific tasks, too, have a look17:05
Glorfindeltomreyn: I don't see any lists of commonly used software :/17:10
tomreynhttps://en.wikipedia.org/wiki/List_of_ERP_software_packages17:12
tomreynERP may be much more than you want / need though, i guess you just want inventory management17:13
tomreynor warehouse mgmt17:13
tomreynor supply chain mgmt. but i agree there dont seem to be a lot of comparisons for those online, which probably suggests those are not the right search terms, yet.17:18
tomreynGlorfindel: https://ofbiz.apache.org/ might be an option (this is not a recommendation)17:20
tomreynmaybe https://github.com/odoo/odoo also17:25
tomreyni'm looking at http://cdimage.ubuntu.com/ubuntu-server/bionic/daily-live/20190802/MD5SUMS - are arm64 + ppc64el going to be built (and released) as well?17:49
tomreynahem, actually thes are on the same directory, sorry.17:50
tomreynthey're ust not listed at http://iso.qa.ubuntu.com/qatracker/milestones/405/builds which makes me wonder what their status is17:50
Glorfindeltomreyn: hmm, I'll keep those in mind. thanks. right now I'm thinking inventoria from nch, seems to have everything I'll need and runs on windows, which is a plus. Not open source or free, but a lifetime license costs less than some monthly subscriptions from other companies18:40
DammitJimI need to add more space to a couple of LVs; however my PVs are on a software raid18:43
DammitJimdo you guys know how I can achieve this? This is in a vmware environmen18:43
tomreynGlorfindel: whatever works for you ;) we're way beyong the scop of #ubuntu-server now, thoough - let's continue in #ubuntu-offtopic or -discuss if there's more to talk about it.18:44
tomreynDammitJim: so you have no unallocated space left in any VGs?18:45
DammitJimcorrect18:45
DammitJimI've added more space to a VG18:45
DammitJimbut I've never done it to a VG that is backed by a software raid18:45
tomreynDammitJim: well the software has a fixed size, so the PV on top of it has a fixed maximum size. you mentioned multiple PVs though, so it's hard to imagine what you are really dealing with there.18:55
tomreynsharing some command output (on a !pastebin - consider the !pastebinit command) might help18:56
tomreyn!pastebin18:56
ubottuFor posting multi-line texts into the channel, please use https://paste.ubuntu.com | To post !screenshots use https://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.18:56
DammitJimwhere did I mention multiple PVs?19:19
tomreynmwhudson: in case i can bug you with htis currently (feel free to point me elsewhere / not respond) - i'm trying today's  bionic-live-server-amd64.iso from 18.04.3 qa-testing (a8dff1ad76cf8b8424c9695a2ae13b9a) in virtualbox (6.0.10 r132072) with 4 NICs (3 of which have no link) and run into e1000 "Tx Unit Hang" errors: https://termbin.com/3sho https://i.imgur.com/NXy2ogc.png19:20
tomreynalso a netdev watchdog oops as a result of those19:21
tomreynshould i report this somewhere / omehow? (i'm not into QA testing, yet)19:21
tomreynDammitJim: "however my PVs are on a software raid" (plural)19:22
DammitJimoh, thanks for pointing that out19:25
DammitJimit's 1 PV19:25
tomreynDammitJim: so you have a couple of (virtual) HDDs, you have partitions on those, and on one of those parititons you have an mdadm managed software raid? correct? and which raid level is it, how many raid devices?19:29
tomreyncat /proc/mdstat    also works19:29
tomreynDammitJim: and then on top of this RAID array you have a logical volume meanager 2.x PV, which is assigned to a VG, and all allocatable space has been allocated. now what is your strategy for increasing allocatable space within this volum group?19:32
DammitJimraid 119:39
DammitJimI thought I could increase the virtual hard drives that are part of this raid array19:40
DammitJimso, I think lsblk shows something like sdc -> sdc1 -> md0 and sdb -> sdb1 -> md019:40
tomreynDammitJim: as discussed above, i assume your raid member devices as not full disks but partitons.19:40
DammitJimI'm picturing in my head that we would fdisk sdc and sdb with new sdc2 and sdb219:40
tomreynright19:40
DammitJimand add them to the raid array19:40
DammitJimyes, not full disks19:41
DammitJimbut I don't know what commands I would run to add the new partitions to the raid array so they are mirrored19:41
tdsDammitJim: can you pastebin the exact output of lsblk?19:41
DammitJimsure19:41
tdsalso, you mentioned VMs are involved - to confirm, is this inside the vm, on the host, or you're tweaking config on both, or what?19:41
TJ-DammitJim: is the space on sdb/sdc after sdb1/sdc1 currently unallocated?19:41
tomreynyou could repartition the existing disks to add new partitions and add those as new raid devices to a raid 10. but that's a lot more complexity that i'd recommend.19:42
DammitJimhttps://pastebin.com/97nfaH5Q19:42
DammitJimthe existing disks are maxed out19:42
Ussatwhych hypervisor ?19:43
DammitJimthe VM is the system I want to add more storage to... I have plenty storage in the datastore - vmware19:43
UssatJust add a physical disk, then ad that to the LV, then expand it19:43
tomreynDammitJim: wait, do you have a mirror raid spun across different partitions on sda?19:44
DammitJimUssat, I need to add it to the raid array first19:44
DammitJimI don't know how to do that19:44
Ussator, use SSM19:44
DammitJimtomreyn, don't worry about sda... that's the non-raided section (that's why I originally said PVs)19:44
DammitJimsdb and sdc is where I need more room19:44
Ussatno you dont....the origional disk is in the array right ?19:45
tomreynok i'll try to ignore sda19:45
Ussatjust add the space19:45
DammitJimno, the original disk is NOT in the array (this is all virtual and I'm about to expand the virtual hard drive by doing an "edit VM")19:46
Ussatwait I am confused here.....19:47
Ussat...19:47
Ussatediting the VM like that is not reccomended19:47
Ussatif its a VM, where is this raid array you speak of ?19:48
TJ-DammitJim: so sdb/sdc are virtual disks. It is possible therefore to increase the space allocated to those from the hypervisor and in the guest re-write the partition tables so that sdb1/sdc1 now cover the larger 'disks' using something like "mdadm --grow --size=X ..." and then all you need is a "pvresize /dev/sdb1; pvresize /dev/sdc1"19:48
DammitJimTJ-, the problem is that the drives are already 2TB and fdisk doesn't like anything larger than that19:49
DammitJimso, I was thinking I'd have to do a new sdb2 and sdc219:49
DammitJimam I wrong?19:49
TJ-DammitJim: 'rewrite the partition tables' would require using something like sfdisk (MSDOS label) or sgdisk (GPT label)19:49
Ussatdont use fdisk, use SSM19:49
TJ-DammitJim: depending on which sector partition #1 starts in sdb/sdc you can convert to GPT easily19:50
TJ-DammitJim: I'd guess partition #1 start at sector 2048, in which case a conversion to GPT is entirely possible, since it only needs sectors 1-33 (plus it will but a secondary table at end-of-disk )19:51
Ussathttp://manpages.ubuntu.com/manpages/xenial/man8/ssm.8.html19:51
tds"You can not create or manage MD volumes or pools, but it will be  extended  in the future." sounds like it'll be pretty useless for this situation, for the md resize at least19:53
tdspersonally i'd much rather do it by hand as described by TJ- than having some magic tool do it all anyway19:53
TJ-Ussat: does ssm enable taking over an existing config?19:54
Ussatyes19:54
UssatIts godlike, have been useing it for a long time19:54
tomreynyour god has recently deceased, though, according to packages.ubuntu.com19:56
tomreynhttps://packages.ubuntu.com/search?keywords=system-storage-manager19:56
TJ-looks like there were only 2 releases https://launchpad.net/ubuntu/+source/system-storage-manager19:58
tomreynhttps://bugs.debian.org/cgi-bin/bugreport.cgi?bug=84967119:58
ubottuDebian bug 849671 in ftp.debian.org "RM: system-storage-manager -- ROM; obsolete, unmaintained" [Normal,Open]19:58
tomreynhttps://bugs.debian.org/cgi-bin/bugreport.cgi?bug=84551719:59
ubottuDebian bug 845517 in system-storage-manager "system-storage-manager: fails to report listing" [Grave,Fixed]19:59
DammitJimwhat now?20:06
tomreynTJ-'s suggestion of using sfdisk (MSDOS label) or sgdisk (GPT label) seemed reasonable to me.20:07
DammitJimsgdisk, got it20:25
DammitJimthen how do I add the partitions to the array?20:26
Ussathttps://www.digitalocean.com/community/tutorials/how-to-manage-raid-arrays-with-mdadm-on-ubuntu-16-0420:28
Ussathttp://www.ducea.com/2009/03/08/mdadm-cheat-sheet/20:28
Numbers23Hi all anyone have experience with running Hbase in pseudo distributed mode? I can establish a shell session but when I go to try create a new table I get the error: "ERROR: KeeperErrorCode = NoNode for /hbase/master"22:19
sarnoldany chance you get a more detailed error message in the hbase logs?22:19
sarnoldman stackoverflow's a wasteland on this one.. heh22:21
sarnoldthe most useful answer I've found yet is deleted; it involes "start zookeeper, master, regionserver"22:22
sarnoldNumbers23: aha, there's something here that looks tolerable :) https://hub.packtpub.com/5-mistake-developers-make-when-working-hbase/  "When thezookeeper.znode.parentconfig value on the client side doesn’t match the one for your cluster"\22:23
sarnold"One possible scenario is that hbase-site.xml is not on the classpath of the client application.The default value for zookeeper.znode.parent doesn’t match the actual one for your cluster. When you get hbase-site.xml onto the classpath, the problem should be gone."22:23
Numbers23Thanks for your replies sarnold, not sure if this helps "bin/hbase shell22:25
Numbers232019-08-02 23:05:15,752 WARN  [main] util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable22:25
Numbers23HBase Shell22:25
Numbers23Use "help" to get list of supported commands.22:25
Numbers23Use "exit" to quit this interactive shell.22:25
Numbers23For Reference, please visit: http://hbase.apache.org/2.0/book.html#shell22:25
Numbers23Version 2.2.0, rUnknown, Tue Jun 11 04:30:30 UTC 201922:25
Numbers23Took 0.0143 seconds22:25
Numbers23hbase(main):001:0> create 'usertable', 'cf1'22:25
Numbers23ERROR: KeeperErrorCode = NoNode for /hbase/master"22:25
Numbers23hbase-site.xml is saved under usr/local/hbase/conf22:27
sarnoldNumbers23: and is it identical for all the servers? is it necessary for the client? if so, does the client have an identical copy too?22:28
Numbers23sorry I'm new to all of this not sure I understand your questions. Trying to create a table in Hbase and test its performance through YCSB vs Cassandra's performance22:31
Numbers23(it's a college project)22:31
sarnoldNumbers23: it could be my fault, I'd only read about hbase for a few days a few years ago22:32
sarnoldNumbers23: how many servers do you have running?22:33
sarnoldNumbers23: do they all have identical configurations?22:33
Numbers23In the /etc/host file do you mean? I have the local host IP and then my Virtual Box IP.22:38
sarnoldNumbers23: how many hbase servers are you running?22:38
Numbers23I'm sorry I don't know how to check that :/22:42
sarnoldNumbers23: you may need to ask whoever set it up22:43
Numbers23Yes more research needed on my part. Thanks for taking the time to answer me though :)22:43
sarnoldNumbers23: fwiw I really enjoyed the Seven Databases in Seven Weeks book; it's a nice fast introduction to a handful of different databases22:45
sarnoldNumbers23: it's a coupleyears old at this point, but I expect the hbase introduction on it might be close enough to what you've got now, you could probably be up and running with your own server pretty quick, while you're waiting to hear back from whoever runs yours :)22:45
Numbers23haha true that, I appreciate the recommendation. Hopefully I can get through it in 7 days rather than 7 weeks!22:51
sarnoldhehe yeah, each chapter is designed for three days, but, eh, you know, go at your own pace :)22:52
Greyztarhello,im running a cron job every minute,ive turned off logging in cron using the extra opts variable to avoid spam in syslog but im still seeing cron entries in syslog related to pam_unix session opening and closing everytime that cron job is running,can i turn these messages off somehow?23:07
sarnoldGreyztar: I think you can, but it's a bit off the usual path.. so you might introduce other oddities later23:13
sarnoldGreyztar: first I have to suggest that you change your application a bit, so you run your thing once, at boot, and then your application sleep for N seconds between executions, or something similar23:13
sarnoldGreyztar: but if you still want to continue.. try running pam-auth-update and see if it makes it easy for you to remove the *session* component of pam_unix from the cron service. (I'm skeptical, but if it can do it, that'd be best)23:14
Greyztarsarnold: ahh ok ill look into that then thanks!23:15
sarnoldGreyztar: if that doesn't offer it, then you'll have a bit more work on your hands. it's not terrible, but it's not particularly future-proof either23:15
sarnoldGreyztar: you'd inline everything from /etc/pam.d/common-session into /etc/pam.d/cron and remove the pam_unix *session* portion. just session. only session. :)23:16
Greyztarsarnold: interesting ill have to try that out,will have to be tomorrow though its 01:18 here so im off now,thanks for help though and have a good day/night =)23:18
sarnoldgnight Greyztar, have fun :)23:18
sarnold(and yeah, PAM changes at 1am.. risky :)23:19
Greyztarcheers (,")23:19

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