/srv/irclogs.ubuntu.com/2019/07/30/#ubuntu-server.txt

mahdi_jahi all03:33
mahdi_jai create a folder with root permision03:34
mahdi_ja<mahdi_ja> ls -l output is :drwxrwxrwx 1 root root 0 Jul 29 12:01 sftp03:34
mahdi_ja but when i use chmod 775 sftp a permision not change03:34
lordievaderGood morning06:26
fricklercoreycb: actually we need to test the xenial package, but that seems to be in place, too. bionic doesn't seem to be affected as I wrote earlier. will test later today07:19
=== not_phunyguy is now known as phunyguy
coreycbthanks frickler12:11
ahasenackif a certain binary isn't available in an architecture, should its manpage still be installed?13:50
ahasenackit's a package with multiple binaries, and just one isn't there in this case13:50
ahasenackdebian/pmdk-tools.install:[amd64] usr/bin/rpmemd13:51
ahasenackdebian/pmdk-tools.manpages:doc/generated/rpmemd.113:51
ahasenackcame from debian like this ^13:51
ahasenackI'm thinking about adding [amd64] to the manpage as well13:51
ahasenackthoughts?13:51
ahasenackassuming the dh helper for manpages understands that13:52
ahasenackhm, maybe a better question for #ubuntu-devel13:53
=== rsalveti_ is now known as rsalveti
lord4163Hi. I'm trying to install Ubuntu Server, but whenever I click on "Install Ubuntu Server" in the bootloader, it hangs17:33
lord4163Oh wait, something is happening now after like 5 minutes :D17:34
tomreynlord4163: is this server low on resources by chance?18:07
tomreynalso make sure you check the iso you downloaded is not corrupt, and that it was properly and entirely written to the installer media.18:08
tomreyn!checksum18:08
ubottuTo verify your Ubuntu ISO image (or other files for which an MD5 checksum is provided), see https://help.ubuntu.com/community/HowToMD5SUM or http://www.linuxquestions.org/linux/answers/LQ_ISO/Checking_the_md5sum_in_Windows18:08
coreycbfrickler: any luck?18:22
lord4163tomreyn: Not particularly, quad core, 4gb of RAM18:47
lord4163tomreyn: got it installed now :)18:47
lord4163I installed from a USB stick to a CF card. Now I'm going to transfer that to another machine, but I don't have any serial or video on that machine. I would like to set the same IP on all the network interfaces so that I can connect over SSH.18:49
lord4163I have no idea yet what the interfaces will be called18:49
lordcirthlord4163, could these interfaces use dhcp?18:53
lord4163lordcirth: Uhm yes I suppose18:55
lordcirthDHCP seems like the simplest solution. Network autoconfiguration is what it's for, after all.18:56
lord4163lordcirth: I am not familiar on how to configure that with netplan though.18:56
lord4163lordcirth: Can I do *: dhcp4: true?18:59
lordcirthlord4163, The docs say that names have pattern matching, so I think so.19:00
lordcirthBut I can't find docs on what patterns.19:00
lord4163lordcirth: I'll try it :)19:01
fricklercoreycb: sorry, our test cluster was in use today, will have to try again tomorrow19:01
coreycbfrickler: ok np thanks for letting me know. i may just try to get it released today.19:02
lord4163lordcirth: It doesn't seem to work :(19:16
lord4163lordcirth: So...? Any suggestions?19:51
lordcirthlord4163, doesn't the installer just pick the first interface and dhcp, if you set the preseed to auto?20:25
lord4163lordcirth: I installed on a different machine and transferred the CF card to the server20:29
lord4163lordcirth: I have no way to install without serial or VGA20:29
lord4163or USB20:30
lord4163I guess the simplest way is to try and get the serial port to work.20:32
lord4163I tried this https://www.hiroom2.com/2016/06/06/ubuntu-16-04-grub2-and-linux-with-serial-console/#sec-220:32
lord4163But for some reason my laptop doesn't see the serial device20:34
lord4163Have to go now, goodnight20:38
seven-elevenhow can I set a custom IP with cloud-init?20:41
fooI have a python script (long running task) in a Ssl state. I believe capital S is "Interruptible sleep" - meaning, it's stuck/waiting for something. Can someone confirm this? (It doesn't seem to be firing)21:26
fooThank you21:27
RoyKfoo: some fs errors?21:32
RoyKfoo: check dmesg21:33
fooRoyK: howdy. Nothing in dmesg. It's a digital ocean droplet. Does that state scream "something is wrong it is stuck" to you?21:36
sarnoldfoo: you could try strace on the process to find out where it's stuck; it might be stuck on a read, and if it tells you the filedescriptor, you could compare against /proc/pid/fd/ or lsof to figure what exactly it's waiting on21:41
foosarnold: thanks, yup, I did strace it... all it gives me is : read(21, (strace -p [pid]) - not sure what to make of that, though21:44
sarnoldfoo: hmm, is the text "(strace -p [pid])" literally in the strace output? o_O21:46
foosarnold: well, that's the command I ran. I did just restart the service and it properly processed all the backlog... something was definitely stuck21:48
sarnoldfoo: hmm. now you can't debug it :)21:49
foosarnold: How else would I debug it? I agree it is less than ideal especially since this has never happened before. :) Strace didn't seem too helpful here but I may be missing something22:10
sarnoldfoo: well, what was /proc/pid/fd/21?22:11
foosarnold: hm, I thought I tried looking for that but couldn't find it. I'll have to see if I can catch this next time22:33
foosarnold: I'm assuming that's a file I can attempt to cat or ls or tail or something?22:33
fooI haven't gone digging in /proc too much22:33
sarnoldfoo: *probably* it's a socket; it'd have some ls -l /proc/nnnn/fd/21 output like 21 -> 'socket:[5202400]'22:36
sarnoldfoo: you could (probably should) use lsof to figure out where that socket is going; you'll have bits of output like this:22:37
sarnoldTCP 192.168.0.13:42666->192.168.0.24:8009 (ESTABLISHED)22:37
sarnoldonce you know what's wedged, you'll be able to start looking into *why* it's wedged -- maybe it's a remote server that has stalled. maybe it's a firewall that silently blocks packets rather than rejecting them. etc22:38
foosarnold: ahh, this is all very helpful. Thank you! I'll make note of this next time it happens.23:27
sarnoldfoo: woo :)23:29
sarnoldfoo: while I've got this tab open, you may like this too :) http://www.brendangregg.com/linuxperf.html23:29
foosarnold: uh, this looks awesome - appreciate it23:29

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