/srv/irclogs.ubuntu.com/2017/04/06/#ubuntu-server.txt

renatosilvahttps://pastebin.com/raw/RHDyE4mR00:06
=== NotPyrrhic is now known as Pyrrhic
=== notdaniel_ is now known as notdaniel
=== JanC is now known as Guest52949
=== JanC_ is now known as JanC
j_good night world03:24
tsimonq2Good night j_ :)03:32
=== guampa_ is now known as guampa
=== ChmEarl is now known as PryMar56
=== PryMar56 is now known as ChmEarl
lordievaderGood morning06:34
DK2hey im trying to debug a invalid certificate should be be valid06:51
DK2im seeeing that there are some parameters missing in the CSR as in organization name etc, could that be the cause of it?06:51
cpaelzerDK2: how do you check currently that it is invalid?08:20
cpaelzerDK2: I'd ahve hope that tells you at least a bit about the reason08:20
cpaelzerWithout any other data my first guess for unexpected invalid certs would be odd local time08:21
cpaelzerDK2: since I don't know what cert you are looking for I don't know if it applies, but step by step checking like the following might be good https://www.cyberciti.biz/faq/test-ssl-certificates-diagnosis-ssl-certificate/08:21
=== Sin-ZzZz is now known as Sinned
DK2i think i figured it out09:42
DK2maybe its just my buggy thundebrird09:42
ikoniawin 410:19
ikoniasorry10:19
Villagenano vsftpd.conf - [ Error reading lock file /etc/.vsftpd.conf.swp: Not enough data read ]10:32
Villagehello, how fix it?10:32
ikoniaVillage: you're editing a swap file10:49
ikoniaVillage: you're supposed to edit the real file10:49
ikoniaI'd guess the swap file is caused by another editor crashing with the file open ?10:49
lordievaderOr another editor still has the file open.10:52
marahinHello! I'm trying to run systemd --user, but it results with11:04
marahinTrying to run as user instance, but $XDG_RUNTIME_DIR is not set.11:04
marahinAny idea how do I fix this?11:04
Villageikonia, how i can make in not swap , unlock?11:05
lordievaderVillage: Is there another editor running with the file open?11:07
Villageno, i don't think so11:07
lordievaderVillage: Did you verify?11:08
Villagenow i im with vim11:09
Villageand i dont know how to to exit from file with vim11:10
lordievaderVillage: :q11:10
lordievaderGiven you didn't edit your buffer.11:10
Village:Q111:13
Village:q111:13
Villageit needs11:13
Villageso how now i can unlock file?11:13
VillageIt's now not opened with any editor11:13
lordievaderI usually remove those (don't even have the option enabled), but to be safe you can simply rename the file.11:15
Villagehow i can remove?11:15
Villagei remove file and then his again shows same, maybe i need remove11:16
lordievaderVillage: To rename the file use 'mv', if you really want to delete it use 'rm'.11:16
Village.vsftpd.conf.swp11:16
lordievaderOfcourse it is recreated if your editor is set up to create a swap file.11:17
Villageok it's now free11:17
Villagethank You11:17
VillageI remove .vsftpd.conf.swp11:17
Villageand all good11:17
=== IdleOne is now known as Guest17507
=== icey_ is now known as icey
=== daker_ is now known as daker
=== Guest17507 is now known as IdleOne
danpawlikcoreycb: hello!14:43
_yeevehey chat, those who use mysql-server, what have you done about the changes to sql_mode/group-by? It seems that I keep running into this "only_full_group_by" error and I'm ready to give in and just hardcode the change to be like it used to in 5.614:49
naccrbasak: --^ ?14:51
erick3kgood morning14:51
rbasak_yeeve: not sure. It's not in packaging, so is that a change in 5.7 perhaps? Or are you reporting some change in behaviour during the lifetime of a stable release?14:56
_yeeve5.7 changed to include a setting in sql_mode for `only_full_group_by` which causes errors in previous which worked. I've been fighting this a lot lately (in symfony you can add a setting to the doctrine options to change it for that project) but that's not always doable14:57
_yeeveprevious queries*14:57
_yeeveThis: http://stackoverflow.com/a/37248560 fixes the issue but it's not an ideal fix. At first I didn't want to change this, I was updating queries when I first ran into it but it's not feasible at all. I then moved to overriding specifically but I've got to the point where I can't override the setting via the platform code so I'm just doing it on a server-wide level now :( (there might be a way to set it per user or db/table but I didn't find15:00
_yeeveanything when I looked)15:00
rbasakAh, OK.15:05
rbasakI don't know much about that, sorry.15:05
_yeeveNo worries rbasak, cheers :)15:11
zioprotocoreycb: I am upgrading from Mitaka to Newton and I have hit this bug https://bugs.launchpad.net/horizon/+bug/164396416:11
ubottuLaunchpad bug 1643964 in horizon (Ubuntu) "compressing static assets fails with xstatic-bootswatch 3.3.7.0" [Undecided,Fix released]16:11
zioprotoI got the error CommandError: An error occurred during rendering /usr/share/openstack-dashboard/openstack_dashboard/templates/horizon/_scripts.html: '\"../bower_components/respond/dest/respond.min.js\"' isn't accessible via COMPRESS_URL ('/horizon/static/') and can't be compressed16:12
zioprotoFollowing the discussion on the bug16:12
zioprotoI fixed it doing16:12
zioprotoapt-get remove python-django-horizon16:12
zioprotoand then I could finish the installation of openstack-dashboard16:13
coreycbzioproto, zul, i think we came across that before.  are you using newton-proposed?   the problem i think is that we shouldn't be refreshing xstatic files in stable releases.16:13
zioprotoI am using newton stable16:13
zioprotocoreycb: are you saying the fix is in newton proposed but not yet in newton stable ?16:16
coreycbzioproto, i'm hoping (and looking to see) that updated xstatic files weren't promoted to newton-updates.  are you using ubuntu packages or your own?16:17
zioprotocoreycb: I am using ->  sudo add-apt-repository cloud-archive:newton16:18
zioprotocoreycb: I have to leave my office ... I can give you feedback on this tomorrow16:20
zioprotobye16:20
coreycbzioproto, zul, i just checksummed the xstatic orig files for newton and it looks like xstatic files have not been updated for ubuntu packages since newton was released, so that's good16:21
=== niemeyer_ is now known as niemeyer
Logos01So ... not sure how useful this'll be to anyone here, but I'm currently working on evaluating the costs we're paying for ec2 instances in AWS, and as such I've been screwing around with jq. Thought I'd share the product since I know I'm not alone in being a sysadmin-type who doesn't know jq well.17:57
Logos01aws ec2 describe-instances | jq '.[]|.[].Instances|.[] | select ( .State.Name == "running" ) | .InstanceId + "," + .InstanceType + "," + "\( .Tags[] | select ( .Key == "Name" ) | .Value)"'17:57
Logos01That command will take the output of `aws ec2 describe-instances` and output in CSV-format the instance-id, instance-type, and instance-name ... for every running ec2 instance your CLI can find.  This makes for easy importation into spreadsheet.17:58
Logos01Then calculate the annual cost of instances by multiplying the hourly rate for that instance-type by 867717:58
sarnoldyou had much better success with jq than I did. I think I got lost with it when trying to parse maps (objects?) with arbitrary keys18:00
sarnoldI had better luck with jshon, it fit my mental model far better; but I spent less time learning how to use serde_json in rust and got more done. hehe. :)18:00
Logos01sarnold: heh.18:03
=== IdleOne is now known as Guest96888
=== patrickmn is now known as pmn
powersjrbasak: did you have an updated ubuntu-server-triage merge for me to look at yet? Should I accept what is there?22:21
rbasakpowersj: sorry, not yet22:28
powersjrbasak: no worries, just wanted to be sure I haven't missed it :)22:28
rbasakpowersj: feel free to accept what is there though. It should do no harm.22:28
rbasak(IIRC no functional change either, unless you use the new option)22:28
powersjrbasak: thx - was just looking at it and do like the changes, so I'll grab 'em both22:28
rbasakWe can make it default in a future commit22:28
rbasak(after changing the bits we discussed)22:28
=== Serge is now known as hallyn
manukapuahowdy - i'm trying to clean out a boot partition on a small VM, GRUB version is 1.99 i want to know if i can dpkg purge a kernel version later than the "uname -r" one which is the only one that boots ?23:40
manukapuawith out breaking things : )23:41
sarnoldmanukapua: without knowing details it's hard to be specific23:43
sarnoldmanukapua: in general, I like to keep at least two kernels installed, sometimes three -- the newest kernel, the currently running kernel, and maybe the next most-recent kernel.23:44
manukapuasarnold: the more recent kernels dont "work" due to lack of disk space need to purge them23:45
sarnoldow :)23:45
sarnoldthen by all means start deleting away23:45
manukapua3.2.0-48-virtual is good but 51 and 126 are borked23:48
manukapuadoing housekeeping , leaned out a lot of older ones23:48
sarnolddoes apt-get purge work at that point?23:49
manukapua*cleaned23:49
sarnoldor is it too busted/23:49
manukapuaive been doing dpkg --force-all -P on the earlier ones23:51
manukapuaas apt-get purge wouldn't23:52
manukapuajust need to be sure its ok to go for the "latest" ones23:52
sarnoldyeah23:53
sarnoldyou can even delete the currently running kernel, if you're positive another kernel actually works23:53
sarnoldthe trouble with removing the currently running kernel is that you can't then load any new kernel modules (say, for cifs or something)23:54
manukapuawant to keep current running and remove a couple of more recent ones..23:56
manukapuaalready ditched everything proir to currently running23:56
manukapuajust being cautious - as do not want to break it23:58

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