/srv/irclogs.ubuntu.com/2017/11/11/#ubuntu-server.txt

silencecmCan anyone help me with an ssh issue?02:19
silencecmI assume I have the rsa keys stored in the wrong place02:19
silencecmWhen my server initially starts I'm unable to ssh (connection refused on port 22). I assume this is because my rsa keys / ssh config are stored in a user folder who has not yet been logged in.02:22
hallynrharper: man, qemu-img convert -O vmdk is so disappoint03:49
hallynwish I knew someone at vmware who I could get drunk enough to make them write a sed script to convert the .vmdk to one that loads into esx :)03:49
hallyn<hic> sed dash <hic> i03:50
hallynI've got little doubt tht's all it would take03:50
drabsilencecm: not necessary04:31
drabsilencecm: in fact,  connection refused means nothing is listening04:31
drabso you can pretty much trust I think that ssh isn't running04:31
drabif it was an auth problem, say pass not permitted and only key, you would see a different error (public key denied), or something like that04:32
drabsilencecm: the sshd config is in /etc/ssh, nothing to do with the user or keys04:32
linoge(linoge) Hi I'm on 16.04 and trying to set up LVM on DRBD with pacemaker for postgresql HA. I've come to a point where the LVM volume fails to start with error messages about duplicates (included underlying device /dev/xvdb on the lvm reject filter). If I issue vgscan --cache and the systemctl restart corosync then the node starts alright.08:03
gunixlionel: why not use postgres streaming relpication?08:11
linogeWell, it's actually for learning purposes :D08:13
linogeAnd testing08:13
NetSplatHi, I'm having a network connectivity issue on a Hetzner server with an Intel 82540EM Gigabit Ethernet Controller10:36
NetSplatEvery day and a half or so the network connectivity will just disappear.10:36
NetSplatI can't ping it, can't connect to it, can't do anything unless I hard reset it twice.10:36
NetSplatOddly, if I launch vKVM ahead of time I can connect to vKVM and control the system when the network doesn't work.  I'm not sure how vKVM works, it's a Hetzner tool.  When I connect with vKVM (as I am right now) I cannot ping out from the server either.10:38
NetSplatI have no idea how I would go about troubleshooting this.10:38
NetSplatI can't push output from the commandline to a pastebin with no network connectivity so here is a screenshot from vKVM of ifconfig's output: https://puu.sh/yjA5X/6b6c0e1f10.png10:44
NetSplatAnd from ethtool https://puu.sh/yjA7v/ed54851250.png10:45
NetSplatFWIW - I can ping 127.0.0.110:48
daincredibleholgHi NetSplat. Did you ask Hetzner?10:55
daincredibleholgDo you see any errors in dmesg or /var/log/syslog?10:55
NetSplatdaincredibleholg, not yet.  I wanted to see if there was troubleshooting I could do first.10:55
NetSplatNone in dmesg10:55
daincredibleholgvKVM works over another connection, so no worries10:55
daincredibleholghmm, odd10:55
NetSplatI'll post dmesg, just a sec10:55
NetSplathttps://puu.sh/yjApg/1443233d0f.png10:57
daincredibleholgcan you also provide the output of `sudo lsmod` please?10:57
NetSplatThat's all that's there.10:57
NetSplatYes10:57
daincredibleholgah, that is from within vKVM?10:58
daincredibleholgsorry, need it from the system10:58
daincredibleholgcan you chroot into it?10:58
daincredibleholgcheck here: https://wiki.hetzner.de/index.php/Hetzner_Rescue-System/en#Starting_the_Rescue_System and do the necessary steps10:59
NetSplatvKVM lets me log in as if I were at the system.10:59
daincredibleholgnot quite10:59
daincredibleholgit gives you a rescue system10:59
daincredibleholgbut this is not what you would normally run10:59
daincredibleholgsee the link I just pasted11:00
NetSplatSorry, that was a distracted typing.  vKVM shows me what would currently be on the screen.  I can launch the rescue system and vKVM into that, I've done that before as well.  Right now I am logged in as my normal user, in my normal root.11:00
daincredibleholgIs this a virtual server?11:05
daincredibleholgI mean your normal server?11:05
NetSplatIt is a dedicated server11:05
daincredibleholgOk, then vkvm gives you just a live system, it does not boot into your system:The Hetzner Rescue System is a Linux live environment that allows you to have administrative access to your server. The environment starts from the network (PXE boot) and runs in the memory of the server. This makes it possible to carry out repairs to the installed system, to check file systems or to install a new operating system.11:06
NetSplatSo, if you want to enable a rescue mode you can choose from these options: https://puu.sh/yjAG4/a516cdee5a.png11:09
NetSplatLinux and FreeBSD are live environments.11:09
NetSplatvKVM, though, just shows what is presently on the screen.  The normal OS, on the HDD, is what runs if you select that.11:10
gunixwhat is vkvm?11:11
daincredibleholghmm, ok11:11
daincredibleholgwhat is `lshw -C net` giving you?11:11
gunixoh Das vKVM-Rescue-System erlaubt ihnen, das auf der Festplatte Ihres Servers installierte Betriebssystem in einer virtuellen Maschine zu starten und so z.B. Boot-Probleme oder Firewall-Einstellungen zu korrigieren, für die Sie üblicherweise eine KVM-Konsole benötigen würden.11:11
NetSplatlshw is not installed11:12
gunixyou can also do this with any linux that boots from USB and has KVM11:12
NetSplatI can do lspci11:12
NetSplatlspci output: https://puu.sh/yjALG/7bfd3b8f85.png11:12
daincredibleholg@gunix, he is using a Hetzner Dedicated server, hard to attach a USB on that distance :P11:14
NetSplatlol, I can request that they put a hardware KVM on it as well.11:14
NetSplatBut I've only had to do that once.11:14
daincredibleholg@NetSplat: Hmm, I did some googling and all I find is either virtualisation related or related to an old bios / wrong EPROM version, which would need fixing from Hetzner staff.11:15
daincredibleholgYeah, Hetzner is pretty good, love the KVM feature, never used the vKVM tho :P11:15
daincredibleholgthis save my back more than once11:16
NetSplatdaincredibleholg, that's really all I could find as well.  I wanted to bounce it off the community before calling 911.  But I suppose I'll do that now.11:16
daincredibleholganyhow - as this is a persistent issue, I think it would be worth bothering Hetzner support with it11:16
NetSplatOk, thanks for your help.11:16
daincredibleholgTell them what you already did, provide them with the output you posted here and ask for help11:17
daincredibleholgNo worries. Sorry that I couldn't help more11:17
xpistosHey all. Is there a way, I can plug in a samsung phone into my ubuntu laptop and have it automount to specific folder in stead of the generic "mtp://[usb:003,008]/" type mount? I want to write a bash script that grabs my videos and pictures and moves them for me but I would need them to go to /mnt/samsung or etc?16:53
xpistosI am assuming I need to do this in udev rules or something but not sure and could use some help finding where I need to go16:54

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