/srv/irclogs.ubuntu.com/2017/04/13/#ubuntu-server.txt

=== marahin_ is now known as marahin
=== marahin is now known as Guest95213
=== marahin_ is now known as marahin
=== marahin is now known as Guest29464
IShavedForThis_hey! does anybody have an experience running an ubuntu server bittorent client with a proxy? I'm having some difficulties setting it up02:13
sarnoldI wouldn't be surprised if some clients don't easily support a proxy02:14
IShavedForThis_yeah it's looking like transmission-daemon doesnt02:14
IShavedForThis_and I'm not quite sure why02:14
sarnoldIShavedForThis_: this looks sane https://github.com/rakshasa/rtorrent/wiki/Tor-based-Proxying-Guide#step-3-rtorrent02:19
IShavedForThis_would you happen to know any that do?02:19
IShavedForThis_ahh. Tors a little heavy, plus I would hate to congest it downloading whatever I'm downloading. I already own PIA02:20
sarnoldyeah I wouldn't want to torrent over tor. I expect that's miserable.02:22
sarnoldbut there's the configuration settings to use socks proxies :)02:22
IShavedForThis_lol for me, and all the people that actually have to use tor02:22
IShavedForThis_awesome! would you recommend rtorrent?02:22
sarnoldyeah, it was awesome stuff. the display is a bit baffling but it runs great inside tmux or screen02:23
IShavedForThis_well I usually use a web interface anyway. does this have one?02:24
IShavedForThis_actually don't answer that. I do own a google02:24
sarnoldoh I've heard good things about the google it must be nice to own one :)02:25
IShavedForThis_its just a fad.02:25
IShavedForThis_So this is telling me to disable all UDP support? would I need to forward a port or can I just leave that intact since im not using tor02:26
sarnoldif your udp can be routed then you can probably leave it turned on02:26
IShavedForThis_I'm not sure what that means. I'm still new to Linux servers as a whole02:27
IShavedForThis_(and home networks)02:27
sarnoldwell, why do you need the proxy? normally you use a proxy because your packets can't be routed off the network but you know a machine that -can- talk to the internet..02:28
IShavedForThis_because I would like to download torrents without my ISP knowing I am02:31
IShavedForThis_or am I a complete idiot and thats not what proxies do lol02:31
sarnoldthen you may wish to disable the udp support in rtorrent and maybe even figure out how to run your dns through the proxy as well.02:33
IShavedForThis_hmm. Should I skip the proxy then, and use the VPN service for only the transmission daemon? or is that not possible02:36
IShavedForThis_because I definitely dont want my entire home network using the VPN02:37
=== marahin_ is now known as marahin
=== marahin is now known as Guest92876
sarnoldthat might work. I don't know much about network namespaces but maybe you could just run your torrent client and vpn thing in the same VM instance02:38
IShavedForThis_that sounds complex as fuck lol. Is there any reason why a proxy wouldn't work? Like I said, I'm still fairly new with this so don't know too much02:44
sarnoldproxies are often just for dns traffic02:45
sarnoldsigh02:45
sarnoldit's time for me to stop working obviously :)02:46
sarnoldproxies are often just for *TCP* traffic02:46
sarnoldsince most DNS traffic starts out at UDP, it's often not proxied02:46
IShavedForThis_ahhh. okay so it wouldn't really do a damn thing02:47
sarnoldwhich is why the tor people go on about dns at length :)02:48
andolWell, SOCKS5 support proxying UDP.02:49
IShavedForThis_I do have socks502:49
sarnoldandol: oh? I hadn't heard that :) thanks02:49
IShavedForThis_thanks a bunch sarnold. I haven't used a proxy since highschool so I never knew any of that02:50
IShavedForThis_and thanks andol. Do you happen to use a socks5 proxy for a bittorrent client?02:51
andolIShavedForThis_: Nope02:52
* andol did a bit more reading, and while SOCKS5 itself defines UDP support, not all SOCKS5 proxies actually implement it.02:53
IShavedForThis_hmm. I wonder if PIA uses it. I'm going to google.02:53
IShavedForThis_unless I can find a way to install PIA on the headless and only VPN that one specific program02:54
IShavedForThis_https://schnouki.net/posts/2014/12/12/openvpn-for-a-single-application-on-linux/02:56
IShavedForThis_is this still applicable? or is it outdated?02:57
sarnoldthat's the network namespacing I mentioned twenty minutes back :)02:57
IShavedForThis_ahhhhh02:58
IShavedForThis_is it as complicated as it looks?/02:58
sarnoldit should still work02:58
sarnoldoddly enough it's probably even more complicated than it looks02:58
sarnoldbut it seems to work okay for folks :)02:58
IShavedForThis_fuck02:58
IShavedForThis_ill pay someone 5 bucks on paypal if they can get it working03:01
profallWill I have any issues running Ubuntu 16.04 with the 3.13 Kernel?04:24
OerHeksUbuntu 16.04 LTS is based on 4.4, so how would you use 3.13 ?04:27
profallI upgraded from 14.04 to 16.04 and it's still on 3.13 Kernel.04:31
=== JanC is now known as Guest86694
=== JanC_ is now known as JanC
OerHeksprofall, what does ' dpkg -l | grep linux-image  ' show? maybe you miss linux-generic >> http://askubuntu.com/questions/815002/kernel-did-not-upgrade-between-14-04-lts-to-16-04-lts04:35
profallOerHeks: https://pastebin.com/jPwVkesU04:45
profallRight now it's running on 3.13.0-3704:46
OerHekslinux-image-extra-3.13.0-37 is missing?04:49
profallno04:49
profallFigured it out :)05:03
profallThank you for the help though.05:03
profallJust had to change Default= in /boot/grub/menu.lst05:03
OerHeksprofall, oh, good find, didn't think of that possibility05:05
lordievaderGood morning06:21
=== Guest92876 is now known as marahin
=== admcleod is now known as admcleod_afk
adrian_1908On my VPS there's an "ubuntu" user with a home directory. Is this normal for Ubuntu server installations? (It might be the provider's doing, just making sure)10:30
Frickelpitlooks like a pre-configured cloud-image10:40
rbasakadrian_1908: yeah - if using a cloud image, it's the default.12:03
adrian_1908rbasak: ah the cloud image. that explains why I didn't immediately find something while searching. thanks!12:04
catphishcan anyone tell me the status of CVE-2016-10229 in ubuntu 16.04? there seems to be a lot of mixed info about what kernels are affected13:05
rbasakhttps://people.canonical.com/~ubuntu-security/cve/2016/CVE-2016-10229.html13:05
rbasakIt's fixed except on some phone kernels13:06
catphishwhat does DNE mean?13:06
rbasakDoes Not Exist13:06
catphishthanks, i'll try to find my kernel in that pile13:07
rbasakIt looks like 16.04 was never affected.13:07
catphishthat's good news, i'm running various versions of 4.4 (the defaults in 16.04)13:08
catphishi guess it's just the "linux" package, "Ubuntu 16.04 LTS (Xenial Xerus): not-affected (4.4.0-2.16)"13:09
catphishso that's good13:09
catphishthank you13:09
=== coreycb_vaca is now known as coreycb
adacmount shows me something like this:13:58
adac /etc/auto.xxxxx.your-backup.de.davfs on /mnt/backups type autofs (rw,relatime,fd=6,pgrp=27899,timeout=60,minproto=5,maxproto=5,indirect)13:58
adacbut with autofs I mount it like this:13:59
adachttps://gist.github.com/anonymous/6166626a7fa8259b754b1a04c82bb29313:59
adacI'm wondering why there is no "mode" shown with "mount"13:59
=== Chrisfu- is now known as Chrisfu
=== EmilienM_ is now known as 17WAAOC7S
=== ShaRose_ is now known as ShaRose
=== akaWolf1 is now known as akaWolf
=== ReScO_ is now known as ReScO
=== Dmitrii-Sh_ is now known as Dmitrii-Sh
=== robher_ is now known as robher
=== diddledan_ is now known as diddledan
=== ggherdov`_ is now known as ggherdov`
=== PaulePan1er is now known as PaulePanter
RBoreal_FripperyHey All, I am looking to change the owner of a file on a windows server from my ubuntu-server. I have admin access etc. Is there any generally good way to do this?15:24
RBoreal_FripperyI have used Samba to move files and folders, but I need to set permission15:25
ikoniaRBoreal_Frippery: if you have permission chown will work15:26
RBoreal_FripperyIs that in one of the samba binaries?15:26
naccRBoreal_Frippery: no `chown` is a basic utiltity15:27
naccor chmod, depending on what you need15:27
=== ggherdov`_ is now known as ggherdov`
=== 21WAAA2JF is now known as EmilienM
=== blackboxsw is now known as blackboxsw_bbl
=== tyhicks` is now known as tyhicks
=== blackboxsw_bbl is now known as blackboxsw
WACOMaltHello. I am having an issue with a dedicated server I am accessing via ILO. trying to install ubuntu 16.04.218:28
WACOMaltIt is currently hanging on  "Creating ext2 file system for /boot in partition #1 of SCSI1 (0,0,0) (sda)..."18:29
dpb1WACOMalt: do you know which physical disk that is in the system?  Could be any number of things.18:43
WACOMaltdpb1: it only has one drive18:49
WACOMaltILO has got to be the worst thing I have ever used...18:50
=== ducasse_ is now known as ducasse
dpb1DRAC isn't much better.  /me jokes18:51
masonI miss serial aggregators and Sun hardware.18:52
dpb1WACOMalt: first suggestion I would have is to replace that disk and try again.  process of elimination.18:52
WACOMaltI have no physical access. Support ticket time!18:52
dpb1WACOMalt: indeed!18:53
tomreynWACOMalt: if it's acurrent HP ILO, it should be usable (even convenient). of course it works entirely different than sun hardware does for OOB management.19:02
tomreyns/does/did/19:03
tomreynit's got both a web UI (with KVM, remote media mounts etc.) and CLI (via SSH)19:04
WACOMaltdpb1 is there a good linux distro I can run live to try and test this disk?19:16
WACOMaltsomething small as it'll have to be shared over network to the ILO server19:16
geniiTCL19:19
tomreynhttp://tinycorelinux.net/19:31
bekksWACOMalt: you can share enire dvd to the ilo. :)19:41
WACOMaltbekks: I dont know how to do that. I just clicked mount CD and chose an ISO from my local machine19:42
WACOMaltand its not taking any keyboard input on the ubuntu setup to choose install ubuntu :/19:42
bekksWACOMalt: and thats how you share an iso image. of a small cd, a normal cd, or a full blown dvd.19:43
bekksWACOMalt: did you acquire the ILO session?19:43
WACOMaltI dont know what that means... but I'm currently looking at the console19:43
bekksand you can use your keyboard within?19:44
WACOMaltI can hit enter to choose Enlish19:44
WACOMaltbut anything past that doesnt work19:44
WACOMalt*English19:44
WACOMaltI'm running dd if=/dev/zero of=/dev/sda bs=512 count=6319:45
WACOMaltmaybe that will let the normal formatter in ubuntu installer work19:46
bekksWACOMalt: what are you trying to achieve by doing so?19:46
WACOMaltbasically if I use my hosts's pre-built provisioning image, it freezes on formatting the drive19:46
WACOMaltI'm hoping by wiping it first this will continue19:46
WACOMaltsince I am unable to manually run the install it seems since I have no keyboard19:46
bekksI strongly doubt it.19:47
=== coreycb is now known as coreycb_vaca
WACOMaltSo ubuntu 16.04 install hangs at 33%. formatting /dev/sda for /boot19:56
WACOMalthttps://hastebin.com/oluhavejuj.sql is the smart status of the drive19:56
WACOMaltwhat can I try?19:56
bekksWACOMalt: How long did you wait?19:57
WACOMalt3 hours19:57
WACOMaltit's a 500GB sata drive19:57
bekksWACOMalt: did you check dmesg?19:57
WACOMaltdont know how. will google19:57
bekksWACOMalt: nothing to google, its a command to be typed.19:58
WACOMaltwould that still be there after power cycling? I am unable to get to a terminal while it's frozen there19:58
bekksWACOMalt: No.19:58
WACOMaltI've seen this issue before with ubuntu installs in forums19:59
WACOMaltand people say to format the drive first and then tell it not to format during install, but I cant do that since it;s a silent installer it seems, just rushes through things right to a progress bar20:00
WACOMaltand I cant use my keyboard20:00
bekksThats an issue to be fixed first, then.20:00
WACOMaltI am trying ILO (ILO 2) over internet explorer20:00
bekksWhich HP server is it?20:00
WACOMaltI have been unable to get the java one to work at all20:01
WACOMaltdespite now installing a ton of different java versions and firefox versions to try to get it20:01
bekksIt tells you which version to use :P20:01
WACOMaltand then the download link to it is broken on the ILO info page20:01
WACOMaltisnt there like a actual program I can use to do this?20:01
bekksA program to do what?20:02
WACOMaltlike how I would used vinvnc or something to hook to a vnc remote desktop20:08
WACOMaltwhy are there no ILO clients20:08
bekksAsk HP.20:09
WACOMalthave to rely on insanely outdated java versions in outdated browsers, or clunky activex in an terrible browser20:09
bekksWhich HP server in particular do you have?20:09
bekksYou are using a horribly outdated system when still having an ILO2.20:09
WACOMaltHP BL260C Dual E542020:25
bekksIts a horribly outdated server blade.20:28
WACOMaltgotcha :/20:29
bekksA G5 one.20:29
WACOMalthorribly as in what year would this have been considered ok?20:29
geniiProbably 2003-ish20:35
WACOMaltholy crap20:39
WACOMaltI didnt realize that.20:40
WACOMaltin that case I'm amazed it's working at all20:40
WACOMaltwelp, running mkfs.ext4 /dev/sda from sysrcd seems to have solved it20:41
SineDeviancehi all! i'm running ubuntu-server x64 16.04. my question is, how do i run a script from a specific directory as a user during boot time?20:58
patdk-wkcron20:58
patdk-wkmake an systemd init script20:58
drabSineDeviance: depends what "boot time" means, would rc.local work? otherwise systemd20:58
patdk-wkadd it to rc.local (pretty evil)20:58
SineDeviancei like the service option better, yeah20:58
SineDeviancedrab: not sure20:58
masonpatdk-wk: Does Ubuntu support user systemd services?20:59
drabSineDeviance: rc.local will run at the very end of the process and it's kind of dirty, a systemd service would be better20:59
patdk-wkno idea20:59
patdk-wkbut what exactly is a user systemd service?20:59
SineDeviancedrab: i'm good with that option. so i need to write an init.d script and add it?20:59
patdk-wkas far as I knew, you just had services20:59
masonpatdk-wk: https://wiki.archlinux.org/index.php/Systemd/User describes it21:00
masonper-user services21:00
drabmason: I don't know about that, but nothing stops you from setting user/group in the service file, which would accomplish what SineDeviance is asking for21:00
masonRHEL doesn't support it as yet due to problems I don't remember off the top of my head. No clue if Ubuntu does.21:00
masonSure.21:01
masonI think the notion is that the systemd user stuff lets the user control the service post-boot.21:01
SineDevianceyeah, that'd be fine. i'd like it to be possible for other users with elevated privilege to stop/start the service21:01
drabI have a /lib/systemd/systemd --user running on my 16.04 desktop so maybe it does21:01
drabbut have never really looked into it21:02
SineDeviancefwiw, the script i'm trying to automate is supybot21:02
draboh wow, supybot, been a while since I heard that name21:02
SineDeviancei still think it's the best one21:03
SineDeviancesadly, it does not seem to come with an init.d script21:03
SineDeviancei know i had this setup and working a couple years ago. i just don't remember how i did it21:03
dasjoeHow come there's no language switcher on https://help.ubuntu.com/lts/serverguide/index.html?21:19
t2mknCan some one help on config file setting for just installed samba server on Ubuntu 14.04. I just need an open access to all to a directory in my home network.21:41
naccdasjoe: might not be translated, not sure21:44
dasjoenacc: it is translated, that's how I found out my browser was set to accept German ;)21:54
dasjoeI'd rather have a manual selector, too21:54
naccdasjoe: oh i don't know then :)21:58
=== SineDeviance is now known as OverSineThousand
=== OverSineThousand is now known as SineDeviance
drabmmmh, lame question I guess but I suck at gpg... how am I supposed to find and get all the keys I need to validate a ppa[/3rd party repo]?22:49
drabfor the main ubuntu mirror I just had to import /usr/share/keyrings/ubuntu-archive-keyring.gpg22:49
drabwhich was easy22:49
drabbut for the ppa of say libreoffice, I'm not sure how to go about it22:50
drabbasically whatever apt-add-repository does behind the scenes22:50
drabguess I could read its source code...22:50
WACOMaltOK got my server up22:52
WACOMaltBut one issue... it seems the host's provisioning settings didnt apply the root password I set, and I didnt make a normal user22:52
WACOMaltwait nm... I'm just and idiot22:53
WACOMaltso question... does it matter if my server's hostname is hostname.domain.com or just hostname?22:53
drabWACOMalt: it depends what's asking, for most things it won't22:55
drabapache for example will complain about not being able to find a FQDN22:55
drabif you don't have it22:55
tomreyngots in your hostname are probably not a good idea22:56
tomreyn*dots22:56
tomreynunless you're speaking FQDN22:56
WACOMaltok I'm trying to set up a normal user via ILO, but for some reason arrow keys dont work so I cant... how can I enable ssh access for the root user until I get a normal user made?22:58
WACOMaltcurrently SSH is saying access denied22:58
drabby default I think root login is permitted with no pwd22:59
drabbut otherwise you need to edit /etc/ssh/sshd_config22:59
drabPermitRootLogin prohibit-password <-- that's what you probably have23:00
tomreynon HP ILO?23:01
tomreyni would think it just allows you to login with the root password as the root user by default.23:02
tomreynthe device you're working with there, is that an HP ILO at all, and which version of it? and are oyu on the web interface?23:05
WACOMaltok I got another user created with sudo access23:05
WACOMaltNext question... nano is not found and sudo apt-get install nano is Unable to locate package nano23:06
WACOMaltugh disregard. stupid again, forgot apt-get update after a fresh install23:06
WACOMaltDoes this etc/apt/sources.list look normal to you guys? https://hastebin.com/lugagucima.nginx23:09
WACOMaltfresh install23:09
tomreynthe mirror server is non standard23:13
WACOMaltanything to worry about?23:13
WACOMaltprobably just my host using their own mirrors I guess23:13
tomreynare you hosting with Yomura Corporation then?23:13
WACOMaltprobably. I'm with delimiterVPS23:14
WACOMalt(though it's a dedicated server)23:14
WACOMaltyup that's their holding company23:14
Latrinanoob question. If I get a powerful workstation with some serious Nvidia graphic card, supported from Ubuntu ofcourse, will I be able to take advantage of it with a Windows virtualbox VM?23:27
LatrinaThe idea I have is migrate Windows 10 pro on a VM and keep ubuntu as the Host, however I badly need access to photoshop23:27
tomreynLatrina: what you are looking for is to have a dedicated graphics card for the VM23:38
tomreyni.e. you'll need two. one of them would be handled by linux, the other by windows. it's called 'video (card) passthrough'.23:39
tomreyngraphics virtualization is a delicate topic, not easy to achieve, but bothm KVM and Xen are working on making this work nowadays.23:41
tomreynthis doesn't seem to be a server question, though23:42
Latrinathank you for the info and I apologize if my question went off topic23:45
tomreynLatrina: also look for KVMGT and XenGT (implementations on these virtualizations) and VGPU (as a generic term)23:51
Latrinawill do, thanks again :)23:52
tomreyngpu virtualization is not actually off-topic for a server channel since this is currently the most relevant use case: calculations made on graphics cards from within VMs23:52
Latrinawell thats the reason why I felt my question would be appropriate if brought up here23:53
tomreynthe less painful approach is to have 1 discrete graphics card per OS (so one for the host and one for each VM which needs graphics acceleration). but you can also share acceleration across systems (host, guests) in some configurations nowadays.23:53
tomreynsorry then ;)23:53
Latrinamy concept of server is storage / services / VMs / cloud23:53
naccgpu virtualization is still really fragile, though23:53
Latrinano thank you for the valuable info23:53
naccand honestly, the easier way to go is what tomreyn said, dedicate a card to it23:54
nacceven then, i'm not sure what kind of performance you get with windows in a VM, never tried it23:54
tomreynif disk I/O is fine and there is plenty of unallocated space on the system drive, it should work ok23:55
nacctomreyn: yeah, i'm not thinking there is anything technically that shoudl affect it .. other than windows itself :)23:55
Latrinaneed to try this out with some of the workstations we have at work23:56
LatrinaI dont have top $$$ to invest in attempts23:56
tomreynmost of your time will be spent on researching a working hardware + software configuration.23:58
tomreyn(and yes, windows is terrible in how it abuses resources)23:59

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