RawPeacock | sarnold, blah I wish I knew thank you for giving me things to investigate tomorrow | 00:00 |
---|---|---|
RawPeacock | In case you're feeling curious http://paste.ubuntu.com/15411603/ | 00:04 |
RawPeacock | thanks again for answering sarnold | 00:05 |
Gaming4JC | So is it even worth using RAID1 on two drives these days? | 00:14 |
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:15 |
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:18 |
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 :) | 00:19 |
=== wolfa_ is now known as wolfa | ||
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:09 |
showaz | ubuntu-server 16.04 (motd freezed) | 05:18 |
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. ) | 05:19 |
OlofL | apt-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/Linux | 07:47 |
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 | 08:17 |
selinuxium | hi all | 09:00 |
devster31 | what package do I need to remove files from an ntfs hard drive? | 10:03 |
devster31 | mounting with ntfs isn't enough | 10:03 |
lordievader | devster31: It should be. If the ntfs drive is mounted rw you can remove files from it. | 10:04 |
devster31 | https://bpaste.net/show/f3ac712dd67a these are from mtab and fstab respectively and I can't even create a directory | 10:08 |
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:13 |
jamespage | frickler, hey - sorry for lag - been away | 10:14 |
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:15 |
lordievader | devster31: Ntfs != ntfs-3g? | 10:16 |
devster31 | lordievader: doesn't seem so, ntfs is the linux kernel driver read-only, ntfs-3g is read-write | 10:47 |
lordievader | Ah, 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 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:19 |
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:20 |
lordievader | Precisely, 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 delete | 11:25 |
lordievader | k4v_: What is the output of 'du -hs /*'? | 11:27 |
frickler | jamespage: thanks for the update, I'll be away next week, will recheck after that | 11: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 |
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:18 |
k4v_ | it seems to have something to do with a network device.... | 12:19 |
lordievader | Could you pastebin those? | 12:25 |
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:50 |
ddellav | coreycb ack | 12:51 |
=== devil is now known as Guest28469 | ||
halvors | Why 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.04 | 15:02 |
sdeziel | halvors: for now, you can set USE_LXC_BRIDGE=false in /etc/default/lxc-net | 15:34 |
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:14 |
patdk-wk | heh, well this is a lot of fun | 17:43 |
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:46 |
patdk-wk | will run on precise with a xenial kernel | 17:47 |
beisner | coreycb, oh hey, pushed neutron 1:2014.1.5-0ubuntu4~cloud0 to icehouse-proposed | 18:19 |
coreycb | beisner, thank you | 18:19 |
beisner | coreycb, yw | 18:20 |
=== Bray90820_ is now known as bray90820_ | ||
=== bray90820_ is now known as Bray90820 | ||
karstensrage | anyone know why libpam0g et. al. was recently updated? | 18:55 |
tarpman | karstensrage: presumably /usr/share/doc/libpam0g/changelog.Debian.gz would say why | 18:56 |
Pici | karstensrage: also see the last few entries here: http://www.ubuntu.com/usn/ | 18:57 |
karstensrage | wow thats freaking awesome | 18:59 |
karstensrage | thanks tarpman | 18:59 |
karstensrage | nice | 18:59 |
karstensrage | thanks Pici | 18: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 ? | 19:59 |
sdeziel | Slashman: do you have ~34GB of RAM or more? | 20:02 |
Slashman | 256GB ram | 20:02 |
sdeziel | lucky guy ;) | 20:02 |
sdeziel | can you show the output of that grep? | 20:03 |
Slashman | sdeziel: http://apaste.info/02P | 20:04 |
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:08 |
Slashman | sdeziel: thanks! it works without the "vm.nr_hugepages_mempolicy = 0" | 20:09 |
Slashman | I suppose that's a difference between the kernel of ubuntu and debian/centos, since those last are older | 20:10 |
tmartins | I have enabled hugepages on my Ubuntu box | 20:32 |
tmartins | For DPDK | 20:32 |
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:33 |
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? | 20:40 |
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:41 |
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:42 |
mojtaba | tarpman: I want to update my system, but I can not do that with my current Ip address. | 22:43 |
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:45 |
mojtaba | tarpman: thanks | 22:50 |
=== Bray90820_ is now known as bray90820 | ||
mojtaba | tarpman: Can I use ssh -D option in that apt.conf file? | 23:09 |
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:10 |
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:17 |
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:18 |
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:19 |
tarpman | mojtaba: hmm, try "http://127.0.0.1:8080/" ? I'm not sure whether what it's expected to do without http:// | 23:20 |
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:22 |
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:24 |
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:26 |
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:38 |
tarpman | mojtaba: Acquire::socks::proxy "socks://localhost:8080"; and ssh -D 8080 user@host works for me -- you may have some other problem | 23:40 |
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:42 |
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:46 |
tarpman | mojtaba1: hm actually. is the output with acquire::socks::proxy any different from the output with no proxy at all? | 23:47 |
mojtaba1 | tarpman: yes | 23:48 |
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:49 |
mojtaba1 | tarpman: I rename the apt.conf file, it seems the output is the same. | 23:50 |
tarpman | ah... | 23:51 |
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:53 |
genii | User in #ubuntu+1 is experiencing same issue, so I was wondering | 23:54 |
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:55 |
mojtaba1 | tarpman: thanks. I will check that too | 23:56 |
tarpman | mojtaba1: sorry for misleading you | 23:56 |
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:57 |
genii | mojtaba1: The #ubuntu+1 channel is for the version of Ubuntu which is currently in development | 23:58 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!