/srv/irclogs.ubuntu.com/2017/07/24/#ubuntu-server.txt

LisaLhi02:44
LisaLI have a problem...02:44
LisaLthere is this ubuntu server,  and it's relatively fast considering that I am the only user on this server02:45
LisaLhowever, there is a person sitting in Asia, claiming that this server would be extraordinary slow for him02:45
LisaLI ran speedtest-cli and the results are OK02:45
LisaLwhat could be the reason?02:45
ddellavLisaL latency03:02
LisaLddellav, what is that?03:03
ddellavdo a trace route from the server to his IP address and you'll see what the issue is03:03
LisaLddellav, okay!03:03
LisaLdoing this now03:03
ddellavLisaL it's the time it takes a packet to travel from your server to his computer03:03
LisaLokay testing it - 1 moment please03:03
LisaLthank you for the tip!03:03
ddellavnp03:03
LisaLddellav, can I please show you the output in a private message?   It would feel bad to me to share the person's IP address (and my server's IP address)  in a maybe logged channel publicly03:05
ddellavLisaL sure03:05
RoyKLisaL: depending on where the server is located, asia or europe or america, the latency issues can be rather bad. if you're using SMB, it can be pretty horrible03:05
LisaLRoyK, the server stands in Central Europe03:05
RoyKLisaL: just secure the server - the bots will find it anyway ;)03:05
LisaLthe person in question lives in Cambodia03:05
LisaLI could blank out the IP's03:06
LisaLone moment please03:06
RoyKLisaL: what sort of ping times do you get there?03:06
RoyKLisaL: what sort of traffic or protocol is this?03:07
LisaLpasting now...03:07
LisaL1 moment pls03:07
LisaLhttps://dpaste.de/Qe71/raw03:08
RoyK200ms is quite a bit03:08
LisaLwhy are there not more points in between?03:08
RoyKagain, what protocol?03:08
LisaLI don't know?!03:08
RoyKwhat sort of service? web?03:08
LisaLyes03:09
LisaLoh03:09
LisaLhttp then03:09
RoyKhttp is rather resilint to latency, so it shouldn't matter too much03:09
LisaLhe is downloading huge files (200 MB+)03:09
LisaLand also uploading03:09
LisaLand he needs 2 hours for a 200 MB upload / download03:09
RoyKthat shouldn't matter either in terms of latency03:10
LisaLbut when he up/downloads files to google drive, this takes 2 minutes03:10
LisaLso his connection is good03:10
RoyKLisaL: what sort of internet connection do you have?03:10
LisaLit's not me, it's a server03:10
LisaLhosted at a local provider03:11
LisaLI guess that's a normal ethernet cable they plug in?03:11
LisaLnot idea how they connect their servers03:11
LisaLI ran a speedtest-cli03:11
RoyKwhat did it say?03:11
LisaLTesting download speed........................................03:11
LisaLDownload: 600.37 Mbit/s03:11
LisaLTesting upload speed..................................................03:11
LisaLUpload: 282.13 Mbit/s03:11
RoyKand what are the speed you client is getting?03:12
LisaLI only know that he needs an average of 2 hours to transfer 200 MB03:12
LisaLit's a freelancer to be exact03:13
RoyKwebdav or something?03:13
LisaLyes03:13
LisaLnextcloud03:13
RoyKok03:13
RoyKdo you monitor your server's cpu use? and i/o?03:13
LisaLno03:14
LisaLwhen I download / upload files myself,  my server is very fast03:14
RoyKwell, do so - start by installing sysstat, it's an old, but rock solid thing, you need to enable it in /etc/default/sysstat after installing it03:14
RoyKjust monitor everything you can03:15
LisaLokay03:15
LisaLthank you RoyK03:15
RoyKbtw, is your client using a linux machine? if so, you could use iperf to check the network performance between the two, your machine and the client's03:16
LisaLhe uses windows03:16
LisaLI am the client03:16
LisaLhe is the freelancer03:16
RoyKLisaL: I'd recommend using something like munin on top, but that takes a wee bit of configuration compared to sysstat03:16
LisaLI will read on this03:17
RoyKthere's iperf for windows as well https://iperf.fr/iperf-download.php03:17
LisaLoh that's good!03:17
LisaLand using this, he could see why it's so slow?03:17
RoyKkeep in mind that iperf2 and iperf3 are not compatible03:17
RoyKiperf will only monitor network speed - it may be nextcloud is the bottleneck03:18
RoyKperhaps some php tuning needed somewhere03:18
LisaLI could try to upload a 200 MB testfile into /var/www  and ask him to download from there03:18
RoyKstart with the basics03:18
RoyKmeasure network - iperf03:18
LisaLokay03:19
LisaLI need time to read about it03:19
RoyKmake sure you have the same version on both sides, and that the server side is open for connection on the port in the firewall03:19
RoyKit won't take long ;)03:19
LisaLthank you RoyK03:21
LisaLusually I only work with graphics / pictures03:21
LisaLmaybe I should have rented a static webspace rather than a vserver03:21
RoyKI see03:21
RoyKwell, it doesn't take too long to get used to things03:21
RoyKand you'll learn a lot from it :D03:22
* RoyK setup his first linux machine in 1994 and has been using linux (and a lot of other OSes) ever since03:22
LisaLI am also using linux as my desktop03:23
LisaLsince Suse, and later Debian Potato times03:23
LisaLbut I never got into server administration too much03:23
RoyKpotato <303:24
LisaLI believe that was the codename03:24
LisaLthe one before woody03:24
RoyKyeah - I remember it - from 200203:24
RoyKno - 200003:24
LisaLomg time passes by03:24
LisaLI used to be young, sexy and beautiful03:25
LisaLnow I am the potato03:25
RoyKlol03:25
LisaLand Debian is sexy03:25
RoyKaren't we all? ;)03:25
RoyK(the former)03:25
LisaL:))03:25
LisaLlol03:25
RoyKanyway - any luck with iperf?03:25
RoyKand btw, which version of nextcloud and php?03:26
LisaLI installed it03:26
RoyKthe client needs it as well03:26
LisaLI believe iperf3 -s   would be the right command03:26
RoyKshould do - just make sure the firewall is open for that port03:26
LisaLyep, it was :)03:26
LisaL-----------------------------------------------------------03:26
LisaLServer listening on 520103:26
LisaL-----------------------------------------------------------03:26
RoyKufw or iptables or something in the way, it won't work03:27
LisaLnah the server is not secured03:27
LisaL^.^03:27
RoyKLisaL: pm me the ip address, so I can test03:27
LisaLyeah, now that you know it's not secured ;)03:27
LisaL:))03:27
LisaLI am installing iperf3 on my local ubuntu machine as well03:28
LisaLand try it03:28
RoyKI know *your* ip address already ;)03:28
RoyKLisaL: just secure your machines - giving away ip addresses is safe as long as the machine is safe - not giving away ip addresses won't stop the bots from finding it03:29
LisaLwell I am connected to IRC, sure you get my IP :)03:30
LisaLiperf3 has successfully been installed on my local machine03:30
RoyKok, try iperf -c x.x.x.x03:30
RoyKthere's a bunch of magpies feasting on something on my balcony03:31
LisaLlooks similar to a ping03:31
RoyKexcept it measures bandwidth as well03:32
RoyKping usually just sends a 56 byte package - not a megabyte or two03:32
RoyKwee difference03:33
RoyKI guess that is 'Elster' to you ;)03:35
LisaLI don't know Elster?03:37
RoyKLisaL: where are you from?03:38
LisaLAustria03:38
LisaLVienna03:38
RoyKguessed so - by the whois of your ip ;)03:39
LisaL^.^03:39
RoyKI was talking about birds https://de.wikipedia.org/wiki/Elster03:39
RoyKseems a möwe (if that is what you call it) is taking over the party http://smilla.karlsbakk.net:8081/03:41
LisaLthere are birds named that way03:42
LisaLbut there are no "Möwen" around in Vienna03:42
LisaLand Elster is a bird I've seen twice in my whole life03:42
LisaLmy freelancers keep messaging me all the time,  I must go back to work03:43
LisaLI am sorry03:43
LisaLthank you for the nice chat :)03:43
RoyKhehe03:43
RoyKhope I could help out a bit03:43
LisaLsure you could03:43
LisaLthank you :)03:43
=== Kamilion is now known as |{amilion
=== |{amilion is now known as Kamilion
androiddoes system76 still sell ubuntu machines?11:16
androidcan you wakeup from a jackal11:25
androidor is a jackal permenant comotose11:32
RoyKandroid: why do you need to buy an "ubuntu machine"?11:54
runelind_qhow can I enable networking in recovery mode?  There is an option in the menu to enable networking, but that mounts filesystems which I don't want to do.15:53
UssatGenerally, you dont want networking in recovery, in my experiance anyway16:00
runelind_qI need to get some data off a zfs pool.  it won't mount in multi-user mode.16:05
sbeattierbasak: is there any chance we can get upstream interested in maintaining percona-server-5.6 (or moving the ubuntu packages to percona-server-5.7)? Or can we just drop the package?16:10
sbeattieBecause the publishing history is kind of dire https://launchpad.net/ubuntu/+source/percona-server-5.6/+changelog when compared with the open cves for the package http://people.canonical.com/~ubuntu-security/cve/pkg/percona-server-5.6.html16:11
rbasakdpb1, jamespage: ^16:19
jamespagerbasak, sbeattie, dpb1: good question - tbh I don't know16:22
jamespageI've made some effort to tend percona-xtradb-cluster-5.6 as that's part of our openstack deployment architecture16:23
=== JanC is now known as Guest39739
=== JanC_ is now known as JanC
* ddellav waves to jamespage 16:35
jamespageo/16:35
keithzgHmm, on one of my VMs I had to LSB-ize an old init script to get it to run on 16.04+systemd, but a customer support rep for the program in question has said she didn't have to. Is there some sort of compatibility package *other* than systemd-sysv that my instance could be lacking? Or some other wrinkle that could create this result?20:50
=== hehehe is now known as linuxman
=== linuxman is now known as hehehe
drabam I missing something or there's no way to get an apt-listchanges like output in terminal before installation?22:27
drabI can do it manually with apt list --upgradable and then looking at the versions and finally apt changelog and look at it for that delta22:28
drabbut it kind of sucks22:28
drabI guess I have to download the pkg first and then it will work with apt-listchanges22:29
tomreyndrab: you can have apt-listchanges prompt whether or not to continue with package installation. if you answer no, the packages dont get installed. https://askubuntu.com/questions/272215/seeing-apt-get-changelogs-for-to-be-upgraded-packages22:33
BenMcLeanMy ubuntu server install failed at the "Selecting and installing software" stage. What should I do?23:19
BenMcLeanit was an amazingly unhelpful error screen in that it did not communicate anything about any reason for the failure. just said it failed.23:19
BenMcLeanSince I'm just trying to setup a stupid minecraft server in my house, maybe i should just use regular ubuntu ?23:20
drabtomreyn: yeah, what I meant was a manual review before install, meaning before the time I actually run the install (which is unattended)23:23
drabI have a test box/vm that gets upgraded before anything else and I wanted to review at once all the changes the upgrade would introduce23:24
drabwhich is pretty much what apt-listchanges will send you via email. I just wanted that to be printed (and possible stored somewhere as part of documented the increment of the image)23:25
drabon a different note, I'm amazed about how hard it turned out to be to do transparent proxying with another box than the gw23:26
drabit seems actually almost impossible without some "heavy" tradeoffs23:26
drablike putting the box on a diff network that would route to clients through the same gw or lose the source ip (in case on nat'ing), which isn't really an option23:27
sarnoldBenMcLean: if you've got a video card and monitor on it, then the desktopversion should probably be fine. the desktop version comes with network manager, and X11, and libreoffice and the like, but the server version doesn't. you can basically get a desktop on the server via 'apt-get install ubuntu-desktop'23:28
drabI don't understand how people do this "professionally", it seems a common need/practice, but I couldn't find a blueprint of any sort23:28
BenMcLeansarnold, ok i am going with the regular ubuntu i guess23:28
BenMcLeanstill, failing the install is pretty bad23:29
drabin #iptables they assured me it was all NAT, but most proxies will do auth or change restrictions based on src ip so NAT seems a no go23:29
sarnoldBenMcLean: was there any more information on any of the other virtual consoles?23:29
sarnolddrab: certainly when I did it 20 years back I put the squid proxy right on the NAT box ..23:30
drabsarnold: yeah, that's what 99% of the tutorials/docs explain, but how is that scalable if you are a school/largish campus or company?23:30
BenMcLeansarnold "other virtual consoles"? sorry I haven't messed with ubuntu server before. Most of my exposure to linux is from screwing around with RetroPie, the debian-based gaming OS for Raspberry PI23:30
drabsarnold: it seems you'd want to run a few of those and on their own machine23:30
sarnoldBenMcLean: control alt f1, control alt f2, etc23:31
drabsarnold: but maybe they just have multiple gateways behind "the real" gw23:31
sarnolddrab: the -big- sites I've seen all force users to customize a proxy in their browser23:31
draboh23:31
drabfair enough23:31
BenMcLeansarnold oh well i already shut down and am most of the way through downloading regular Ubuntu. think i'll go with that at that point, but thanks for the info cause if this install fails as well, then I can try those key combos to see what's going on23:31
sarnoldBenMcLean: try f1 through f7 or f8, they might not all have stuff on them but others may23:32
BenMcLeansarnold ok, will try that if it happens again23:34

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