[00:00] <RawPeacock> sarnold, blah I wish I knew thank you for giving me things to investigate tomorrow
[00:04] <RawPeacock> In case you're feeling curious http://paste.ubuntu.com/15411603/
[00:05] <RawPeacock> thanks again for answering sarnold
[00:14] <Gaming4JC> So is it even worth using RAID1 on two drives these days?
[00:15] <Gaming4JC> My idea was: Two drives, two different vendors (mirrored), then two other drives (maybe RAID1 again?) for offline backups
[00:15] <Gaming4JC> it's got to be better than what I have now which is nothing
[00:15] <Gaming4JC> :D
[00:18] <sarnold> RawPeacock: yeah, it looks like there's no pam modules to do the AD authentication steps...
[00:18] <sarnold> Gaming4JC: 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 alright
[00:19] <Gaming4JC> sarnold, ok, thanks :)
[00:19] <sarnold> Gaming4JC: 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 downtime
[00:19] <sarnold> it will mean running without backups for a bit, not great, but still :)
[05:09] <jak2000> i 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] <jak2000> j ubuntu
[05:18] <showaz> ubuntu-server 16.04 (motd freezed)
[05:19] <showaz> 27 packages can be updated. 0 updates are security updates.
[05:19] <showaz> sudo apt dist-upgrade ( 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. )
[07:45] <OlofL> apt-get install ruby gave me ruby 1.9. how do I get to install ruby 2.0+?
[07:47] <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/Linux
[08:17] <cpaelzer> OlofL: 1.9 was the base in trusty, so that is what you've got when just installing "ruby"
[08:17] <cpaelzer> OlofL: but there is a ruby2.0 package for you that will give you 2.0.0.484-1ubuntu2.2
[08:17] <cpaelzer> http://packages.ubuntu.com/trusty/ruby2.0
[09:00] <selinuxium> hi all
[10:03] <devster31> what package do I need to remove files from an ntfs hard drive?
[10:03] <devster31> mounting with ntfs isn't enough
[10:04] <lordievader> devster31: It should be. If the ntfs drive is mounted rw you can remove files from it.
[10:08] <devster31> https://bpaste.net/show/f3ac712dd67a these are from mtab and fstab respectively and I can't even create a directory
[10:13] <lordievader> As what user?
[10:13] <devster31> pi user, as the gid uid
[10:13] <lordievader> Also, check dmesg. It might still be mounted ro because it was uncleanly unmounted or something.
[10:14] <jamespage> frickler, hey - sorry for lag - been away
[10:15] <jamespage> frickler, I have a 10.0.3 prepared in ppa:openstack-ubuntu-testing/ceph-sru if you want to try it
[10:15] <devster31> this is the last dmseg https://bpaste.net/show/862eabad96ac are you sure it isn't related to ntfs vs ntfs-3g driver?
[10:15] <jamespage> frickler, I try get that uploaded today (on my backlog)
[10:15] <jamespage> frickler, and we will ship with Ceph Jewel - last time I checked in with sage that was still good timescale wise
[10:16] <lordievader> devster31: Ntfs != ntfs-3g?
[10:47] <devster31> lordievader: doesn't seem so, ntfs is the linux kernel driver read-only, ntfs-3g is read-write
[11:04] <lordievader> Ah, the use the ntfs-3g ;)
[11:19] <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 again
[11:19] <lordievader> k4v_: What is taking up the space?
[11:19] <lordievader> Or better, what is generating it ;)
[11:19] <k4v_> I wish I knew
[11:19] <k4v_> i cannot find any more files to delete
[11:20] <k4v_> dmesg still shows new warnings every few seconds
[11:20] <k4v_> i used du --max-depth=1 to find stuff to delete, but now I don't see anything more
[11:23] <lordievader> Precisely, start with which folders take up the most space on the root of the filesystem,.
[11:25] <k4v_> lordievader: i did this, the space is gone but there are no more logfiles to delete
[11:27] <lordievader> k4v_: What is the output of 'du -hs /*'?
[11:29] <frickler> jamespage: thanks for the update, I'll be away next week, will recheck after that
[12:17] <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:18] <lordievader> Still, log files shouldn't grow that large, that fast.
[12:18] <lordievader> You should investigate which log is spamming your rootfs full.
[12:18] <k4v_> there are lots of kernel warnings... thats the problem.
[12:19] <k4v_> it seems to have something to do with a network device....
[12:25] <lordievader> Could you pastebin those?
[12:50] <coreycb> ddellav, 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:51] <ddellav> coreycb ack
[14:58] <halvors> Why is lxcbr0 present by default in ubuntu 16.04...
[14:58] <halvors> ?
[15:02] <ogra_> because lxc is preinstalled in the server task by default in 16.04
[15:34] <sdeziel> halvors: for now, you can set USE_LXC_BRIDGE=false in /etc/default/lxc-net
[17:14] <coreycb> beisner, 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] <beisner> coreycb, yep on it
[17:43] <patdk-wk> heh, well this is a lot of fun
[17:46] <patdk-wk> sarnold this is even more silly :)
[17:46] <patdk-wk> so that closed-source program, that wouldn't run on precise with a newer kernel
[17:47] <patdk-wk> will run on precise with a xenial kernel
[18:19] <beisner> coreycb, oh hey, pushed neutron 1:2014.1.5-0ubuntu4~cloud0 to icehouse-proposed
[18:19] <coreycb> beisner, thank you
[18:20] <beisner> coreycb, yw
[18:55] <karstensrage> anyone know why libpam0g et. al. was recently updated?
[18:56] <tarpman> karstensrage: presumably /usr/share/doc/libpam0g/changelog.Debian.gz would say why
[18:57] <Pici> karstensrage: also see the last few entries here: http://www.ubuntu.com/usn/
[18:59] <karstensrage> wow thats freaking awesome
[18:59] <karstensrage> thanks tarpman
[18:59] <karstensrage> nice
[18:59] <karstensrage> thanks Pici
[19:59] <Slashman> hello, 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 ?
[20:02] <sdeziel> Slashman: do you have ~34GB of RAM or more?
[20:02] <Slashman> 256GB ram
[20:02] <sdeziel> lucky guy ;)
[20:03] <sdeziel> can you show the output of that grep?
[20:04] <Slashman> sdeziel: http://apaste.info/02P
[20:08] <sdeziel> Slashman: 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 want
[20:08] <sdeziel> Slashman: in fact, I'm only setting vm.nr_hugepages and it seems that the _mempolicy follows
[20:09] <Slashman> sdeziel: thanks! it works without the "vm.nr_hugepages_mempolicy = 0"
[20:10] <Slashman> I suppose that's a difference between the kernel of ubuntu and debian/centos, since those last are older
[20:32] <tmartins> I have enabled hugepages on my Ubuntu box
[20:32] <tmartins> For DPDK
[20:33] <tmartins> something like: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash default_hugepagesz=1GB hugepagesz=1G hugepages=4"
[20:33] <tmartins> in my /etc/default/grub
[20:33] <tmartins> then: update-grub
[20:40] <DammitJim> do you guys have a suggestion on running a monitor like inotifywait ?
[20:40] <DammitJim> but how do I ensure that it's running all the time?
[22:41] <mojtaba> Hi, 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:42] <tarpman> mojtaba: 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:43] <mojtaba> tarpman: I want to update my system, but I can not do that with my current Ip address.
[22:45] <mojtaba> tarpman: basically I want to run apt-get update && apt-get upgrade using ssh tunnelling on my system.
[22:45] <tarpman> mojtaba: you're wondering how to set the proxy for apt-get? set Acquire::http::Proxy in /etc/apt/apt.conf -> man 5 apt.conf
[22:45] <RoyK> https://www.youtube.com/watch?time_continue=3&v=szdbKz5CyhA <-- if anyone wondered about email
[22:50] <mojtaba> tarpman: thanks
[23:09] <mojtaba> tarpman: Can I use ssh -D option in that apt.conf file?
[23:10] <tarpman> mojtaba: you can point apt at localhost and the port your ssh is bound to
[23:10] <tarpman> mojtaba: ... if I understood your question correctly
[23:10] <mojtaba> tarpman: thank you very much
[23:17] <mojtaba> tarpman: 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:18] <mojtaba> tarpman: And when I am trying to use port 80, it says Privileged ports can only be forwarded by root.
[23:18] <tarpman> mojtaba: correct, you have to be root to use ports lower than 1024. 8080 is fine
[23:19] <tarpman> mojtaba: with ssh -D bound to port 8080, what did you put in /etc/apt/apt.conf ?
[23:19] <mojtaba> tarpman:
[23:19] <mojtaba> Acquire::http::Proxy "127.0.0.1:8080";
[23:19] <mojtaba> Acquire::https::Proxy "127.0.0.1:8080";
[23:20] <tarpman> mojtaba: hmm, try "http://127.0.0.1:8080/" ?  I'm not sure whether what it's expected to do without http://
[23:22] <mojtaba> tarpman: 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 CONNECT
[23:24] <tarpman> mojtaba: 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-conf
[23:24] <tarpman> mojtaba: sorry about that
[23:26] <tarpman> mojtaba: 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] <mojtaba> tarpman: thanks for your info.
[23:38] <mojtaba> tarpman: I tried this: Acquire::socks::proxy "socks://localhost:3128/"; and then ssh -CND localhost:3128 user@remote.host
[23:38] <mojtaba> But I get this as a result: http://paste.ubuntu.com/15419708/
[23:40] <tarpman> mojtaba: Acquire::socks::proxy "socks://localhost:8080"; and ssh -D 8080 user@host works for me -- you may have some other problem
[23:42] <mojtaba> tarpman: Does it matter which port I am using?
[23:42] <tarpman> mojtaba: 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 later
[23:42] <tarpman> mojtaba: as long as it's above 1024, any port should work
[23:46] <mojtaba1> tarpman: 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] <mojtaba1> tarpman: Do you know what could be the problem?
[23:47] <tarpman> mojtaba1: hm actually. is the output with acquire::socks::proxy any different from the output with no proxy at all?
[23:48] <mojtaba1> tarpman: yes
[23:49] <tarpman> mojtaba1: 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-authentication
[23:50] <mojtaba1> tarpman: I rename the apt.conf file, it seems the output is the same.
[23:51] <tarpman> ah...
[23:53] <genii> Is this on 16.04?
[23:53] <mojtaba1> tarpman: sorry. Do you know what is wrong then? (Why it is not working as expected?)
[23:53] <mojtaba1> genii: no 14.04 LTS
[23:54] <genii> User in #ubuntu+1 is experiencing same issue, so I was wondering
[23:55] <mojtaba1> genii: Is that 14.04?
[23:55] <tarpman> mojtaba1: 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 earlier
[23:56] <mojtaba1> tarpman: thanks. I will check that too
[23:56] <tarpman> mojtaba1: sorry for misleading you
[23:57] <mojtaba1> tarpman: I appreciate your time and effort.
[23:57] <genii> mojtaba1: 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 eye
[23:58] <genii> mojtaba1: The #ubuntu+1 channel is for the version of Ubuntu which is currently in development