/srv/irclogs.ubuntu.com/2016/10/21/#ubuntu-server.txt

adonarosHello team/group.. i seem to be having a bit of trouble with postfix and sieve. i think its simple. anyone want to take a stab at it?00:28
patdk-lapadonaros, postfix and sieve don't even work together01:12
adonarospatdk-lap: sorry05:34
adonarosdovecot **.05:34
antares231hello everyone. im complete beginner about linux server. where do i start to learn? sorry for my english :-[06:05
fricklerjamespage: regarding https://bugs.launchpad.net/tripleo/+bug/1632538 once you have the new python-rfc3986 package available, I think you should also respin the python-nova package to explicitly require the new version. otherwise nova installations might still be broken unless people do package upgrades for everything08:36
ubottuLaunchpad bug 1632538 in python-rfc3986 (Ubuntu Zesty) "Using generate_service_certificate and undercloud_public_vip in undercloud.conf breaks nova" [Medium,Triaged]08:36
fricklerrunning our deployment with python-rfc3986==0.2.2 works fine now08:37
rbasaknacc: looks like there are still three unverified bacula SRU bugs. Please could you take a look?09:11
=== _degorenko|afk is now known as degorenko
jonahHi can anyone please help as I can't seem to start mysql this morning, I get this error: ExecStart=/usr/sbin/mysqld (code=exited, status=1/FAILURE)09:40
LartzaThere should be an error09:49
sarnoldjonah: check journalctl for log messages?09:50
jonahsarnold: getting this:09:52
jonah/usr/bin/mysql -v09:52
jonahERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)09:52
Lartza... journalctl -u mysql09:53
sarnoldhow about mysqld?09:56
Lartzasarnold, Afaik some genius named the service just "mysql"09:57
LartzaNot mariadb, not mysqld, mysql...09:57
sarnoldah09:58
=== ztane_ is now known as ztane
RoyKLartza: as you can see in the source code, the name of the internal bits hasn't been changed https://github.com/MariaDB/server11:14
LartzaRoyK, So?11:15
RoyKthe command is still mysql, the daemon is mysqld etc11:15
LartzaYet the systemd unit to start the daemon is mysql.service11:15
RoyKmakes sense11:16
LartzaNot really11:16
RoyKanyway - feel free to file a bug11:16
Lartzamariadb ships a mariadb.service and iirc mysql-server had mysqld.service so mysql.service is just...11:17
LartzaI don't see how that makes sense11:17
RoyKLartza: looks like you're right - I'm not sure which version of mariadb ubuntu has, though11:22
Lartzaxenial seems to have 10.0.2711:23
RoyKLartza: just checked in the mariadb 10.0 source - there it's called mysql.service11:31
LartzaHmm :/11:32
RoyK./dist/Ubuntu/mariadb-server-10.0.postinst:  deb-systemd-helper unmask mysql.service > /dev/null11:32
RoyKthat's in server/debian11:32
RoyKhttps://github.com/MariaDB/server/blob/10.0/debian/dist/Debian/mariadb-server-10.0.postinst11:36
sarnoldmaybe check sources.debian.net instead, who knows how close 'upstream' mariadb is to our packaging11:37
dlloydanyone else seeing SERVFAIL when resolving us.archive.ubuntu.com ?12:10
sarnolddlloyd: known issue, our dns providers are under ddos attack12:11
dlloydah ok12:11
dlloydthanks12:11
=== RoyK is now known as Guest55297
=== RoyK^_ is now known as RoyK
=== RoyK^ is now known as RoyK_Heime
PjusurIf I have two interfaces on the same subnett, but I want to enforce that all outgoing traffic goes from a specific interface, how do I accomplish this? IPtables?12:44
sarnoldPjusur: first guess, the 'ip' utility probably has a way to express this; maybe via setting one link up and another link down, or via routes, or perhaps you have to get familiar with http://lartc.org/howto/ to figure it out...12:48
lordievaderSetting the metrics should do that, right?12:54
sarnoldI'd hope so12:55
sarnoldahh, that's in ip-route. funny, I didn't expect that12:56
fricklercoreycb: plugin.py(16): from openstackclient.common import utils13:08
RoyKhm - this canonical livepatch - how does that work with automatic updates? will the latter still upgrade kernels and ask for reboots? I can't find any docs on this13:25
sarnoldRoyK: it should; some things can't be live-patched, and not all CVEs will be livepatched13:28
coreycbfrickler, I'm not sure which client that plugin.py is coming from but I think probably one of your client packages is not upgraded to newton13:32
RoyKsarnold: ok, guess I'll just wait and see - never tried that sort of thing before13:32
coreycbfrickler, http://paste.ubuntu.com/23359293/13:32
joelioRoyK: I doubt it needs a reboot, it'll be using kpatch/kexec one would assume. They'll be brief downtime, but not a wait for a full POST13:34
sarnoldjoelio: no, the live patching is using the in-kernel live patching mechanism. It's instant.13:41
sarnoldjoelio: there's some safeguards around making sure that processes currently executing in the kernel don't see the changes until after they return to userspace, but it should be visible to all processes on their next time entering the kernel13:42
sarnoldjoelio: this kind of live system patching of course won't work for everything; there's some things that can only be fixed by tearing the whole thing down via a reboot. So it's still important to reboot into new kernels occasoinally13:43
beisnerhi coreycb, dosaboy - promoted python-oslo.service 0.9.0-1~cloud1 to liberty-updates in the cloud archiive re: https://bugs.launchpad.net/oslo.service/+bug/152490713:44
ubottuLaunchpad bug 1524907 in Ubuntu Cloud Archive liberty "[SRU] Race condition in SIGTERM signal handler" [High,Fix released]13:44
joeliosarnold: interesting, I'd just assumed it was leveraging kpatch/kexec.. will do some digging into this13:44
sarnoldjoelio: http://chrisarges.net/2015/09/21/livepatch-on-ubuntu.html13:45
joeliosarnold: thanks13:45
joeliosarnold: that mentions kpatch?13:46
sarnoldjoelio: yeah, sorry, I focussed entirely on 'kexec' in your original statement, heh13:47
joeliosarnold: no worries :)13:49
coreycbthanks beisner13:52
powersjrbasak: during triage last night came across lp# 1483093 which is marked incomplete for >60 days, any idea why it showed up?14:07
rbasakpowersj: not sure. https://bugs.launchpad.net/ubuntu/+source/squid-deb-proxy/+bug/1483093/+activity doesn't suggest anything. Did I introduce a bug in the script?14:11
ubottuLaunchpad bug 1483093 in squid-deb-proxy (Ubuntu) ".archive.ubuntu.com is non inclusive" [Undecided,Incomplete]14:11
powersjrbasak: I wondered that, however if you look at all the bugs page for squid-deb-proxy it shows up there as well14:12
=== pavlushka is now known as Guest74067
coreycbbeisner, can you do a full sweep of liberty-proposed -> liberty-updates for bug 1619452?14:13
ubottubug 1619452 in Ubuntu Cloud Archive liberty "[SRU] liberty point releases" [Undecided,Fix committed] https://launchpad.net/bugs/161945214:13
rbasakpowersj: for me its ordering looks correct in https://bugs.launchpad.net/ubuntu/+source/squid-deb-proxy/+bugs?orderby=-date_last_updated&start=014:16
=== Guest74067 is now known as pavlushka
powersjrbasak: I agree, I guess I did not expect to see that bug at all given it should have expired, but I just realized it is assigned to someone so it won't expire14:18
rbasakAh14:20
rbasakI thought the problem was that my script showed it up when not requesting a 2015 date range? Or did that not happen?14:20
rbasakOr is the script supposed to show it up?14:20
powersjno the query that I ran was for 2015, so it correctly showed up14:20
rbasakAh14:20
rbasakShall we unassign it?14:20
powersjyeah14:21
rbasakDone14:21
powersjcool :) thx14:21
rbasak(I didn't feel that needed an explanation as the bug is Incomplete and clear on what needs to happen next anyway)14:21
powersjagreed14:21
rabbitdewI just added a hard disk to my ubuntu VM to expand the drive on /var. I'm using LVM but I forgot to use fdisk to write a partition table to the new disk and format it LVM before adding it as a pv, growing the vg, extending the lv, and expanding the filesystem14:36
rabbitdewI don't think there's anyway that filesystem has started to fill up onto the unpartitioned space. But partprobe now throws 'Error: Can't have a partition outside the disk!' I'm really concerned it's going to bork out. Any ideas on how I can revert this?14:37
rabbitdewI'm using ext4. Can only expand a mounted fs14:38
rbasakWhat did you add as the pv? The whole disk then and not a partition?14:51
rabbitdewyes14:51
rbasakAFAIK, that's an acceptable and stable situation. Partitioning tools won't be able to understand the disk, that's all.14:51
rabbitdewTHe whole disk (/dev/sdb)14:51
rbasakI'm not aware of anything that will let you change that without severe hackery (except for removing the data and dropping the pv, etc)14:52
RoyKrabbitdew: so pvcreate /dev/sdb ; vgextend somevg /dev/sdb ; lvextend -L something /path/to/my_lv?14:52
rabbitdewRoyK: yep, that's exactly what I did14:53
RoyKand then just resize2fs /dev/whatever ?14:53
rabbitdewYeah14:54
RoyKno arguments to resize2fs?14:54
rbasakI see that pvresize exists.14:54
rabbitdewresize2fs /dev/logicalvolume14:54
RoyKrabbitdew: can you pastebin it all, please, including messages?14:55
rbasakSo perhaps you could use that to shrink the PV a little, then use some tool to move the data up the disk, then create a partition table that fits where the data is. I don't know to what extent LVM will accept that, and that does qualify as severe hackery in my book.14:55
RoyKpvmove14:55
rbasakOh, neat.14:55
rbasakBut still, creating the partition table after the data is there is pretty hacky!14:55
RoyKjust don't do it14:56
rbasakYeah I agree14:56
rbasakNot worth it going wrong.14:56
RoyKrabbitdew: how big was the lv before you extended it?14:56
rbasak(or worse, leaving a latent problem for it to explode in a few years' time)14:56
RoyKrabbitdew: first of all - do you have a good backup?14:58
rabbitdew=) No I sure don't15:00
rabbitdewI had just created the vm yesterday as a logstash server15:00
rabbitdewhttp://pastebin.com/XmDefqHn15:00
RoyKrabbitdew: then - first of all - make one - there are cloud services out there that work well, crashplan, for instance15:00
RoyKrabbitdew: what's the output of vgs?15:01
beisnerhi coreycb - yep, on that liberty sru / point release pkgs now.15:04
rabbitdewRoyK: I'm pretty sure it was 60GB before I resized it. Here's vgs and vgdisplay http://pastebin.com/FE2gsZmP15:04
RoyKrabbitdew: what about pvs and lvs?15:04
rabbitdewhttp://pastebin.com/nZY0t2KR15:06
RoyKrabbitdew: next time, if you want to use the whole disk for expansion, just do lvextend -l +100%FREE15:06
rabbitdewRoyK: Ah, that's what I had wanted to do. I'll do that in the future.15:07
RoyKyou can do it now as well15:07
RoyKanyway - what did resize2fs say?15:07
RoyKrabbitdew: partprobe now throws 'Error: Can't have a partition outside the disk!' <-- I've seen similar messages when not using partitions15:12
rabbitdewI closed the terminal I had it open, so I don't have its output. But it didn't throw any errors15:13
RoyKparts in Linux seem to default to the thought of that everything must be on a partition15:13
rabbitdewIt really might be cool, but I should put a good backup plan into place15:14
RoyKnever had issues with it, though, apart from those messages15:14
rabbitdewI'll know later today15:14
rabbitdewI should have more than 60G of data written to it by later this afternoon15:15
RoyKanyway, please give backups a thought15:15
RoyKdisks fail, it's in their nature, like everything else15:15
rabbitdewThanks a lot for helping, also thanks rbasak15:15
rabbitdewYeah, I hear you. I'm pretty good about backing up my workstation/laptop and everything else. Because of politics I had to fight to get a logstash server in the first place15:16
rabbitdewDisk space is cheap15:16
RoyKrabbitdew: if this is work related, I hope you have a good, centralised backup solution ;)15:17
naccrbasak: ack, will do that to day15:22
nacc*today15:22
caravaggio971hi there15:29
caravaggio971can anyone help me in restoring a backup i made with rsnapshot?15:29
theGoatso updated one of my ubuntu instances to 16.04, i have added service to systemd for freeradius.  now when i do a service freeradius start, it just hangs...when i control c out of and do a ps it's running....not sure what's hanging it.  how can i debug it?15:30
caravaggio971#ubuntu-it15:30
naccjgrimm: fyi, i think the imports are all updated in usd-import-team16:02
=== freyes__ is now known as freyes
jgrimmnacc, cool, i'll take a look today16:17
naccjgrimm: thanks16:18
misterpinkanyone successfully setup dropbox on ubuntu server?  tried 100 different ways and always get a permissions error.  used an older version of dropbox that worked however it is no longer supported16:37
misterpink"unset DISPLAY" solved the permissions error issue16:54
naccrbasak: i think i got them all, can you confirm?17:00
=== degorenko is now known as degorenko|afk
ivoksnacc: rbasak https://bugs.launchpad.net/ubuntu/+source/bacula/+bug/1553563 ; fix confirmed17:54
ubottuLaunchpad bug 1553563 in bacula (Ubuntu Xenial) "bconsole to Bacula Director fails with authorization problem message" [Medium,Fix committed]17:54
stonedHello, is it advisable to upgrade from 14 LTS to 16 LTS?18:07
RoyKstoned: do you need to?18:08
stonedOr should I spin up a new server for 16 and go from there18:08
RoyKstoned: if you need the new stuff in 16.04, just do-release-upgrade the 14.04 one - should work fine18:08
stonedWell, kind of.18:09
RoyKstoned: if you don't need the new stuff, the old one will work fine and it'll be supported until march 201918:09
stonedOr actually, maybe not, but... to save money18:09
stonedI need to run a website, try some web software that is only available via snaps18:09
stonedRocketchat server for chat.stoned.io18:09
RoyKsetup a vm, then18:09
stonedyeah, another vm is $20 bucks.18:09
stoned:)18:09
* RoyK mostly runs his stuff on his own hardware18:10
stonedyou must have good b/w18:12
stonedand good h/w18:12
stonedmy desktop  is this18:12
stonedOS: Linux 3.16.0-4-amd64/x86_64-Distro: Debian 8.6-CPU: 4 x Intel Core2 Quad (3775.073 MHz)-Processes: 670-Uptime: 1d 4h 4m-Users: 6-Load Average: 0.21-Memory Usage: 3711.03MB/8002.49MB (-15.64%)-Disk Usage: 3392.89GB/3734.40GB (90.86%)18:12
stonedthat's all I go.18:12
stonedgot*18:12
stonedWho is a good ubuntu server vps provider that cheap/affordable/reliable etc. ? or is that not a good quetion here?18:13
RoyKstoned: should be sufficient to setup a few VMs18:14
RoyKa small webserver won't need more than half a gigabyte of RAM anyway, and CPU doesn't seem to be your bottleneck18:15
stonedWell, I'm on really crappy bandwidth.18:18
RoyKhow much?18:18
stonedit's more about reliability, the lines here suck18:19
RoyKI see18:19
stonedit' goes out like every couple of hours if not less18:19
RoyKthen - what is it you need for that new webserver that isn't in 14.04?18:19
stonedI think this thing called snaps, the rocketchat server is only available from it18:20
RoyKstoned: heh - I switched to a new ISP some five years back and the worst downtime I've had since then was an hour or two when one of their servers went down (plus perhaps an annual hang on the router)18:20
stonedI don't even really  need to upgrade, I prefer older/stable/secure software18:20
RoyKright - snaps isn't in 14.04 and probably won't be18:20
stoned<- comcast customer18:21
stonedwoe is me.18:21
stonedhere is my currnet problem18:21
RoyKstoned: what sort of vm do you currently have? openvz or kvm?18:22
stonedhttps://paste.debian.net/plainh/f857584318:23
stonedThis is my current issue18:23
stonedI'm on  Rackspace ATM and with ubuntu 1418:23
stonedI just wanted to play around with some chat backends18:23
stonedI guess, I should spin up another server for playing around and leave this alone?18:23
RoyKstoned: check crowncloud.net - doesn't cost a lot18:24
RoyKI have a vm there and a friend has another (which I'm mostly adminstering) - works well18:24
stonedyeah, I wanted to setup owncloud, my own vpn, and all the stuff. I kknow how to, I just need to find a good stable server. I'd stick w/ RS, but I don' tknow amazon AWS. I wonder if I should spend some money there, and learn how to use AWS and add that to my skillset.18:25
stonedSo many options.18:25
RoyKcrowncloud != owncloud ;)18:25
stonedBut that's not really a question here18:25
stonedyes, I know :)18:26
stonedIt just reminded me of it. similar word18:26
RoyKstoned: how much do you pay for your server today?18:26
stonedI don't18:26
RoyKok18:26
stonedhttps://paste.debian.net/plainh/f8575843 read this18:26
stonedit will explai my issue18:26
RoyKif you can handle $4/month for a 1GB RAM thing from crowncloud, go for it18:27
stonedSure, I can handle it.18:27
stonedHere's another thing.18:27
stonedI want to setup a server instance using a config managemenet tool18:28
RoyKbut I'd advice against imaging the server - better setup a new one from scratch18:28
RoyKwhat sorts?18:28
stonedSo I can use just that, create a config, use a tool to deploy the same server image locally in vm, and in cloud as a server instance18:28
stonedThat way I can keep one config ile, and deploy servers anywhere18:28
stonedsame config, same seruciry, packates, hardening, etc. etc.18:28
RoyKwhat sort of config management?18:28
stonedJust that on local, i can change a few php settings for dev.18:28
stonedpuphhete18:29
RoyKpuppet18:29
RoyKok18:29
stonedphupphet vagrant has a rackspcae plugin18:29
stonedyou can deploy ubuntu server imaes yuo create from this config file to local vm and to rackspace18:29
stonedso maybe I'll have to stick with RS for now.18:29
stonedIt's $20/mo, more expensive, but whatever. It's more convenient.18:29
RoyKagain, is this a kvm vm or openvz?18:30
RoyKif it's a kvm vm, you should be able to deploy an openvz container on top18:31
stonedno clue18:32
stonedI use vbox18:32
RoyKrun virt-what18:32
stonedvagratn/vbox locally18:33
RoyKon the server18:33
stonedon the server, no clue18:33
stonedit's rackspace18:33
stonedXen?18:33
RoyKvirt-what will tell18:33
stonedoh18:33
stonedhang on18:33
stonedThe program 'virt-what' is currently not installed. You can install it by typing:18:33
stonedapt-get install virt-what18:33
stonedhm.18:33
RoyKthen install it :P18:33
stonedxen18:34
stonedxen-domU18:34
stonedyup, RS uses Xen18:34
RoyKIIRC they're rolling out kvm now, but they probably have a *lot* of old xen left18:35
RoyKanyway - with a machine on xen, you should be able to spawn an openvz container on top of that18:35
stonedhm.18:37
stonedinteresting.18:37
stonedit's only got 512mb ram18:37
RoyKthat's not a lot18:37
stonedyeah, cheapest one.18:37
stonedMaybe I should move away from Rackspace.18:37
RoyKso probably better get something off crowncloud :P18:37
stonedI'm checking out crowncloud18:37
stonedhttps://lowendbox.com/blog/crowncloud-30year-3gb-openvz-vps-and-more-in-los-angeles/18:37
RoyKI have a VM there running Zimbra with 5GB RAM and 140GB disk, costs me $16 a month18:38
RoyKhttps://crowncloud.net/openvz.php18:38
stonedHm.18:38
stonedI can pay them $30 for 1 year of 2gb server?18:39
stonedcheap is usually not that great.18:39
RoyKwell, I've used them for a while now, and it works well18:39
RoyKand zimbra isn't really a light-weight system18:40
RoyKperhaps I should have migrated to something else - but it works - so why bother :P18:40
RoyKstoned: if you have questions to crowncloud, the fastest way is usually to ask them on #CrownCloud here on freenode18:45
naccivoks: thanks!19:10
dcampanocurious if people running 16.04 server use the standard timesyncd or if they install ntp?20:28
docmurI have a server running 16.04.1 LTS, I install virt-manager and libvirt, when I ssh to the server using -Y -2 I get X11 forwarding request failed on channel 0 and when I try to run virt-manager I get Failed to connect to Mir: Failed to connect to server socket: No such file or directory20:30
sarnolddocmur: try -X instead; debian fiddled with the meanings of -X and -Y20:34
sarnolddocmur: actually, try DISPLAY=:10 virt-manager  before trying -X20:34
docmurusing ssh user@host DISPLAY=:10 virt-manager did nothing and using -X is also not working :(20:37
=== hggdh_ is now known as hggdh
=== rcj is now known as Guest57444
=== PaulW2U is now known as Guest19338
=== unreal is now known as Guest98246

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