/srv/irclogs.ubuntu.com/2016/03/18/#ubuntu-server.txt

RawPeacocksarnold, blah I wish I knew thank you for giving me things to investigate tomorrow00:00
RawPeacockIn case you're feeling curious http://paste.ubuntu.com/15411603/00:04
RawPeacockthanks again for answering sarnold00:05
Gaming4JCSo is it even worth using RAID1 on two drives these days?00:14
Gaming4JCMy idea was: Two drives, two different vendors (mirrored), then two other drives (maybe RAID1 again?) for offline backups00:15
Gaming4JCit's got to be better than what I have now which is nothing00:15
Gaming4JC:D00:15
sarnoldRawPeacock: yeah, it looks like there's no pam modules to do the AD authentication steps...00:18
sarnoldGaming4JC: I think it is; while it's not going to prevent data loss in the case of two drives dying, at least it'll handle one drive death alright00:18
Gaming4JCsarnold, ok, thanks :)00:19
sarnoldGaming4JC: and you said this was for backups ayway, so even e.g. raidz1 / raid5 may make sense, it's not like it'll cause immediate downtime00:19
sarnoldit will mean running without backups for a bit, not great, but still :)00:19
=== wolfa_ is now known as wolfa
jak2000i want every 8 minutes execute a script, from 20pm to 8am in the crontab: 0,8,16,24,32,40,48,56 20-8 * * 1-7 /usr/scripts/respsql2.sh   <---- not work, why?05:09
jak2000j ubuntu05:09
showazubuntu-server 16.04 (motd freezed)05:18
showaz27 packages can be updated. 0 updates are security updates.05:19
showazsudo apt dist-upgrade ( 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. )05:19
OlofLapt-get install ruby gave me ruby 1.9. how do I get to install ruby 2.0+?07:45
OlofL uname -a Linux 80003v-app001 3.16.0-37-generic #51~14.04.1-Ubuntu SMP Wed May 6 15:23:14 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux07:47
cpaelzerOlofL: 1.9 was the base in trusty, so that is what you've got when just installing "ruby"08:17
cpaelzerOlofL: but there is a ruby2.0 package for you that will give you 2.0.0.484-1ubuntu2.208:17
cpaelzerhttp://packages.ubuntu.com/trusty/ruby2.008:17
selinuxiumhi all09:00
devster31what package do I need to remove files from an ntfs hard drive?10:03
devster31mounting with ntfs isn't enough10:03
lordievaderdevster31: It should be. If the ntfs drive is mounted rw you can remove files from it.10:04
devster31https://bpaste.net/show/f3ac712dd67a these are from mtab and fstab respectively and I can't even create a directory10:08
lordievaderAs what user?10:13
devster31pi user, as the gid uid10:13
lordievaderAlso, check dmesg. It might still be mounted ro because it was uncleanly unmounted or something.10:13
jamespagefrickler, hey - sorry for lag - been away10:14
jamespagefrickler, I have a 10.0.3 prepared in ppa:openstack-ubuntu-testing/ceph-sru if you want to try it10:15
devster31this is the last dmseg https://bpaste.net/show/862eabad96ac are you sure it isn't related to ntfs vs ntfs-3g driver?10:15
jamespagefrickler, I try get that uploaded today (on my backlog)10:15
jamespagefrickler, and we will ship with Ceph Jewel - last time I checked in with sage that was still good timescale wise10:15
lordievaderdevster31: Ntfs != ntfs-3g?10:16
devster31lordievader: doesn't seem so, ntfs is the linux kernel driver read-only, ntfs-3g is read-write10:47
lordievaderAh, the use the ntfs-3g ;)11:04
k4v_ hi i have a problem with a ubuntu server: i got lots of kernel warnings in dmesg, and now my root filesystem is full. i already deleted everything i could find but now two days later its full again11:19
lordievaderk4v_: What is taking up the space?11:19
lordievaderOr better, what is generating it ;)11:19
k4v_I wish I knew11:19
k4v_i cannot find any more files to delete11:19
k4v_dmesg still shows new warnings every few seconds11:20
k4v_i used du --max-depth=1 to find stuff to delete, but now I don't see anything more11:20
lordievaderPrecisely, start with which folders take up the most space on the root of the filesystem,.11:23
k4v_lordievader: i did this, the space is gone but there are no more logfiles to delete11:25
lordievaderk4v_: What is the output of 'du -hs /*'?11:27
fricklerjamespage: thanks for the update, I'll be away next week, will recheck after that11:29
=== King is now known as ICantHelpYou
=== ICantHelpYou is now known as King
=== devil is now known as Guest29525
=== Lcawte|Away is now known as Lcawte
k4v_lordievader: i found the problem: I deleted the logfiles without stopping rsyslog, the process still held open handles to the files.12:17
k4v_after "service rsyslog restart" i have my space back.12:17
lordievaderStill, log files shouldn't grow that large, that fast.12:18
lordievaderYou should investigate which log is spamming your rootfs full.12:18
k4v_there are lots of kernel warnings... thats the problem.12:18
k4v_it seems to have something to do with a network device....12:19
lordievaderCould you pastebin those?12:25
coreycbddellav, I pushed the barbican-api changes.  it drops uwsgi and runs the api behind apache/mod-wsgi now.  I need to figure out how to do the init scripts for that so those aren't there yet.12:50
ddellavcoreycb ack12:51
=== devil is now known as Guest28469
halvorsWhy is lxcbr0 present by default in ubuntu 16.04...14:58
halvors?14:58
ogra_because lxc is preinstalled in the server task by default in 16.0415:02
sdezielhalvors: for now, you can set USE_LXC_BRIDGE=false in /etc/default/lxc-net15:34
coreycbbeisner, can you please promote neutron 1:2014.1.5-0ubuntu4~cloud0  from precise-icehouse-staging to precise-icehouse-proposed? regression testing is complete.17:14
beisnercoreycb, yep on it17:14
patdk-wkheh, well this is a lot of fun17:43
patdk-wksarnold this is even more silly :)17:46
patdk-wkso that closed-source program, that wouldn't run on precise with a newer kernel17:46
patdk-wkwill run on precise with a xenial kernel17:47
beisnercoreycb, oh hey, pushed neutron 1:2014.1.5-0ubuntu4~cloud0 to icehouse-proposed18:19
coreycbbeisner, thank you18:19
beisnercoreycb, yw18:20
=== Bray90820_ is now known as bray90820_
=== bray90820_ is now known as Bray90820
karstensrageanyone know why libpam0g et. al. was recently updated?18:55
tarpmankarstensrage: presumably /usr/share/doc/libpam0g/changelog.Debian.gz would say why18:56
Picikarstensrage: also see the last few entries here: http://www.ubuntu.com/usn/18:57
karstensragewow thats freaking awesome18:59
karstensragethanks tarpman18:59
karstensragenice18:59
karstensragethanks Pici18:59
Slashmanhello, I'm trying to activate hugepages on ubuntu server 15.10, I use "vm.nr_hugepages = 17000" in sysctl.conf and even after reboot and sysctl -p, "cat /proc/meminfo | grep Huge" give me 0 hugepages, the process works on debian and centos, what am I missing ?19:59
sdezielSlashman: do you have ~34GB of RAM or more?20:02
Slashman256GB ram20:02
sdeziellucky guy ;)20:02
sdezielcan you show the output of that grep?20:03
Slashmansdeziel: http://apaste.info/02P20:04
sdezielSlashman: I'm not that familiar with those sysctl knobs but here I have both vm.nr_hugepages and vm.nr_hugepages_mempolicy set to the number of hugepages I want20:08
sdezielSlashman: in fact, I'm only setting vm.nr_hugepages and it seems that the _mempolicy follows20:08
Slashmansdeziel: thanks! it works without the "vm.nr_hugepages_mempolicy = 0"20:09
SlashmanI suppose that's a difference between the kernel of ubuntu and debian/centos, since those last are older20:10
tmartinsI have enabled hugepages on my Ubuntu box20:32
tmartinsFor DPDK20:32
tmartinssomething like: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash default_hugepagesz=1GB hugepagesz=1G hugepages=4"20:33
tmartinsin my /etc/default/grub20:33
tmartinsthen: update-grub20:33
DammitJimdo you guys have a suggestion on running a monitor like inotifywait ?20:40
DammitJimbut how do I ensure that it's running all the time?20:40
mojtabaHi, I know that I can use -D option in ssh and using foxyproxy tunnel my connection through the server. Is there any way to do the same thing, but via command line? (I mean instead of foxyproxy in the web browser, direct my traffic using terminal through the server)22:41
tarpmanmojtaba: it kind of depends by program. some programs respect an http_proxy environment variable, others look for HTTP_PROXY, others have something different (or nothing at all)22:42
mojtabatarpman: I want to update my system, but I can not do that with my current Ip address.22:43
mojtabatarpman: basically I want to run apt-get update && apt-get upgrade using ssh tunnelling on my system.22:45
tarpmanmojtaba: you're wondering how to set the proxy for apt-get? set Acquire::http::Proxy in /etc/apt/apt.conf -> man 5 apt.conf22:45
RoyKhttps://www.youtube.com/watch?time_continue=3&v=szdbKz5CyhA <-- if anyone wondered about email22:45
mojtabatarpman: thanks22:50
=== Bray90820_ is now known as bray90820
mojtabatarpman: Can I use ssh -D option in that apt.conf file?23:09
tarpmanmojtaba: you can point apt at localhost and the port your ssh is bound to23:10
tarpmanmojtaba: ... if I understood your question correctly23:10
mojtabatarpman: thank you very much23:10
mojtabatarpman: I get something like this: W: Failed to fetch http://ca.archive.ubuntu.com/ubuntu/dists/trusty-backports/universe/binary-i386/Packages  Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22: Invalid argument)23:17
mojtabatarpman: And when I am trying to use port 80, it says Privileged ports can only be forwarded by root.23:18
tarpmanmojtaba: correct, you have to be root to use ports lower than 1024. 8080 is fine23:18
tarpmanmojtaba: with ssh -D bound to port 8080, what did you put in /etc/apt/apt.conf ?23:19
mojtabatarpman:23:19
mojtabaAcquire::http::Proxy "127.0.0.1:8080";23:19
mojtabaAcquire::https::Proxy "127.0.0.1:8080";23:19
tarpmanmojtaba: hmm, try "http://127.0.0.1:8080/" ?  I'm not sure whether what it's expected to do without http://23:20
mojtabatarpman: I get bunch of 404 and 405 erorrs: W: Failed to fetch https://deb.nodesource.com/node_0.12/dists/trusty/main/source/Sources  Received HTTP code 405 from proxy after CONNECT23:22
tarpmanmojtaba: ah, darn... I forgot ssh is just a SOCKS proxy and not a full HTTP proxy. you probably have to go in a different direction, e.g. http://askubuntu.com/questions/35223/syntax-for-socks-proxy-in-apt-conf23:24
tarpmanmojtaba: sorry about that23:24
tarpmanmojtaba: http://unix.stackexchange.com/questions/78335/apt-get-via-ssh-tunnel-if-only-port-22-is-allowed suggests an alternate apt.conf setting, but I have not tried this myself...23:26
mojtabatarpman: thanks for your info.23:26
mojtabatarpman: I tried this: Acquire::socks::proxy "socks://localhost:3128/"; and then ssh -CND localhost:3128 user@remote.host23:38
mojtabaBut I get this as a result: http://paste.ubuntu.com/15419708/23:38
tarpmanmojtaba: Acquire::socks::proxy "socks://localhost:8080"; and ssh -D 8080 user@host works for me -- you may have some other problem23:40
mojtabatarpman: Does it matter which port I am using?23:42
tarpmanmojtaba: the google talkplugin archive in particular might have some maintenance underway right at the moment -- if your other repositories are working, you could comment that out and try it again later23:42
tarpmanmojtaba: as long as it's above 1024, any port should work23:42
mojtaba1tarpman: This the output of the update result: http://paste.ubuntu.com/15419708/, I am not sure if other repositories are working or not.23:46
mojtaba1tarpman: Do you know what could be the problem?23:46
tarpmanmojtaba1: hm actually. is the output with acquire::socks::proxy any different from the output with no proxy at all?23:47
mojtaba1tarpman: yes23:48
tarpmanmojtaba1: in that case, I wonder if the machine you're sshing to is behind a proxy that is misbehaving. for example http://askubuntu.com/questions/474549/got-nodata-issue-nodata-does-the-network-require-authentication23:49
mojtaba1tarpman: I rename the apt.conf file, it seems the output is the same.23:50
tarpmanah...23:51
geniiIs this on 16.04?23:53
mojtaba1tarpman: sorry. Do you know what is wrong then? (Why it is not working as expected?)23:53
mojtaba1genii: no 14.04 LTS23:53
geniiUser in #ubuntu+1 is experiencing same issue, so I was wondering23:54
mojtaba1genii: Is that 14.04?23:55
tarpmanmojtaba1: seems like acquire::socks::proxy doesn't do what I hoped it would do. you may have to look at tsocks or such, as in one of the URLs I pasted earlier23:55
mojtaba1tarpman: thanks. I will check that too23:56
tarpmanmojtaba1: sorry for misleading you23:56
mojtaba1tarpman: I appreciate your time and effort.23:57
geniimojtaba1: No, they are on 16.04 and not 14.04 ...but I didn't know which distribution you were using until I checked your pastebin. The askbuntu URL is what caught my eye23:57
geniimojtaba1: The #ubuntu+1 channel is for the version of Ubuntu which is currently in development23:58

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