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

tomreyntarvid: it's been the 'default' location on ubuntu (and debian) for the past 10 or 15 years00:45
tomreynyou can use file system permissions + sftp chroot'ing to restrict things, same as in #/home basically00:46
=== tikund is now known as sikun
RoyKtomreyn: somewhere.tld/~user != somewhere.tld/user03:43
RoyKtomreyn: for the former to work, you just need the userdir module03:43
RoyKtarvid: just try to enable userdir03:46
=== bakhtiya_ is now known as bakhtiya
=== pavlushka is now known as Guest13975
=== Guest13975 is now known as pavlushka
=== pavlushka is now known as Guest82935
=== icey is now known as icey-travel
jonahHi can anyone help. Each evening my server's mysql crashes and fills the log file with 2016-10-23T09:20:42.318890Z 0 [ERROR] Error in accept: Socket operation on non-socket09:53
jonahwhich in turn causes services to go offline09:53
jonahDoes anyone know a fix? I'm on Ubuntu 16.04 LTS server09:53
PCdudeI have installed openstack with conjure-up today. When I rebooted the system it is no longer active and commands like "lxc list" just hang and dont give any info10:12
PCdudeHow can I solve this?10:12
PCdudestokachu: maybe you have an idea?10:12
tomreynjonah: https://www.percona.com/forums/questions-discussions/mysql-and-percona-server/44502-error-in-accept-socket-operation-on-non-socket suggests it is possible to reproduce this on percona mysql server 5.7.12-5 on debian by, as run on the server itself, 'telnet localhost 3306'. Can you?10:34
tomreynif so, i'd suggest posting a bug report including your mysql configuration ('ubuntu-bug mysql-server' *may* do so for you) and ubuntu version. as a workaround, downgrading to mysql 5.6 may be an option (since these reports all refer to 5.7),10:37
tomreynanother workaround *may* be to only connect to the server using TCP connections (to port 3306) and to set the 'socket' option to a location where it will not be expected, preventing socket access to the server. but this is likely more error prone and complex to configure than a downgrade.10:47
tomreynbefore doing anything at all, use mysqltuner or mysql tuning primer or similar to review your current configuration.10:50
=== mundus2018_ is now known as mundus2018
LostSoulHi16:28
LostSoulAnyone around?16:28
RoyKLostSoul: there's usually someone around, yes16:32
RoyK!ask16:32
ubottuPlease don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience16:32
hfpHi, I'm currently running an old Debian, and I'd like to switch to Ubuntu. My plan is to setup Ubuntu server in a VM and then somehow copy it in place of the Debian. I have a few questions: 1. I'd like to make a backup. The system lives on / (80GB SSD) and I have 1TB of media in /dev/sdb3. I'd like to nackup / by booting a LiveCD and taking an image with `dd`. If I screw up, I can restore with dd and16:32
hfpeverything will be like nothing happened. Correct? 2. I have VMs running on the Debian host using QEMU (latest for Debian, but old in other universes). How do I transfer these? I was thinking of copying their disk images and somehow extract their configuration in an XML file. Is that enough? 3. What's the best way to run VMs in Ubuntu Server, which software should I use?16:32
RoyKdon't dd it - just rsync the lot and setup the new VM with the stuff you need16:33
hfpRoyK: Sorry I'm not sure I follow. I'd like to backup the system SSD in such a way that I could just wipe it all and restore it exactly the way it was before I started screwing around. If I rsync the system SSD, then I'll have to reinstall Debian and then copy the files over to restore it, correct?16:35
LostSoulRoyK: Good to see you here :)16:35
LostSoulI have problem with setting up bridge to LXC containers16:36
LostSoulThey see each other on brigde IP but are  no accessible for internal network (for example I can't access them from my laptop)16:36
RoyKhfp: I see - just use dd or ddrescue to create an image file on your data disk and then reinstall16:36
LostSoulMy lxc config for container: http://paste.debian.net/hidden/4aa6df9f/ my brigde: http://paste.debian.net/889024/16:36
RoyKLostSoul: I haven't used LXC, but I use this brige setup with KVM http://paste.debian.net/889027/16:38
LostSoulThanks RoyK16:39
hfpRoyK: I just thought of something. I could image the Debian machine, install Ubuntu, and then run the Debian as a VM within Ubuntu; the Debian VM running its original Virtual Machines while I transfer everything to Ubuntu. I'm not sure how long it's going to take me and I'd like to keep services running while I do it. The VMs are not very resource intensive so hopefully they'd be ok with the VM in a VM16:41
hfppenalty16:41
RoyKhfp: I'd recommend against it - it'll be easier to just migrate the old system to a new one by just reinstalling and moving the config16:46
hfpRight, so I make a backup with dd, I install Ubuntu server in a VM, and then I rsync the fully configured Ubuntu VM to Debian's / ? Or do I wipe Debian, install and configure Ubuntu, install VirtualBox, and setup the VMs from their drisk images?16:48
hfpRoyK: ^16:48
RoyKhfp: just setup a new machine and configure it like the old one16:54
hfpRoyK: I see, thanks16:55
RoyKhfp: it may seem to take longer, but it'll work, and you might even learn a little by it16:57
RoyKhfp: trying to move things between distros by rsyncing configs may work, but may also fail, because of different versions of things - so better setup the new vm from scratch16:58
hfpRoyK: Yes, that makes sense. What's the best way to run VMs in Ubuntu? VirtualBox? It's a headless home server if that makes a difference.16:59
RoyKhfp_: kvm17:01
=== hfp_ is now known as hfp
LostSoulPromiscuous mode was not turned on... damn..17:01
LostSoulThanks RoyK17:01
hfpI have an easy question: if a file is created on one mchine, and belongs to some user, can you chown it on another machine and make it belong to whichever user you want on that other machibne? I'd say yes, and so you can't losr files that way unless they're encrypted but I just want to make sure18:04
oxkipoHi Im getting an error on conjure-up when deploying openstack on a single node fresh ubuntu 16.04 after updates "Exception: Unable to find /home/stack/.local/share/juju/accounts.yaml" Please may someone help me?18:43
hfpWhere should I mount a partition used to store data? Does it go in /mnt, /media, or somewhere else?19:10
hfpIt's not on a removable drive, it's on an internal SATA drive19:11
patdk-lapanywhere you want19:18
patdk-lappersonally I like /var/lib/mysql19:18
hfpI put it in /media/storage19:20
hfpI'm having fun with NFS permissions now... I set no_root_squash in /etc/exports, but I don't know how to make it so that network clients with different UID and GID can also write to the NFS share. I remember it was a pain last time around but I can't remember how I solved it. Any pointers?20:23
=== Phanes- is now known as Phanes

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