[00:02] <LargePrime> now it is at 92%
[00:07] <qman__> literally anything
[00:07] <qman__> do you have separate /var or /boot? if not, sudo apt-get clean and then uninstall any old kernels you're not using
[00:07]  * patdk-lap bets /tmp
[00:08] <patdk-lap> but ya, /var is likely also
[00:08] <qman__> I thought /tmp was a tmpfs out of the box
[00:08] <patdk-lap> nope, that could be really evil really fast
[00:12] <LargePrime> http://paste.ubuntu.com/5997863/
[00:13] <LargePrime> what does the 15G in . mean
[00:13] <LargePrime> sorry for my ignorance
[00:13] <whaley> LargePrime: 15 gigabytes
[00:14] <LargePrime> that is a result of 5:/var# du -h --max-depth=1 | pastebinit
[00:14] <LargePrime> so var is taking the space
[00:14] <whaley> LargePrime: looks like lib, mostly
[00:15] <whaley> oh, sorry, you are in /var
[00:15] <LargePrime> http://paste.ubuntu.com/5997868/
[00:16] <LargePrime> thats /var/lib
[00:17] <LargePrime>  it seems /mysql has 10GB
[00:21] <qman__> you have over 3.5GB of logs, which is a lot
[00:22] <qman__> suggest cleaning that up unless you need them
[00:22] <LargePrime> ok thanks
[00:22] <qman__> er, 3.3GB
[00:23] <patdk-lap> heh, du -shc *
[00:23] <patdk-lap> normally gets good results :)
[00:23] <LargePrime> http://paste.ubuntu.com/5997887/
[00:23] <LargePrime> math dont work on last one?
[00:24] <LargePrime> or am i not seeing something
[00:24] <qman__> there is 9.9GB used in that directory, not any of the subdirs
[00:24] <qman__> see the last line
[00:24] <LargePrime> ibdata1 is 8GB
[00:24] <LargePrime> i see
[00:25]  * patdk-lap hugs his 2tb of logs
[00:27] <LargePrime> ok so now to tackle shrinking ibdata
[00:27] <patdk-lap> good luck with that
[00:27] <patdk-lap> ibdata doesn't shrink
[00:28] <LargePrime> so i am reaading
[00:38] <LargePrime> why do you keep sp many logs?
[00:38] <LargePrime> so*
[00:41] <LargePrime> apparently 5.6 of mysql no longer has this ibdata  size issue
[00:44] <LargePrime> is it worth upgrading to 13.04
[00:45] <patdk-lap> hmm, well, I collect about 5gigs of logs a day (after gzip)
[00:45] <patdk-lap> need to keep enough logs for compliance
[00:45] <patdk-lap> some days it can get up to 10-20gigs
[00:47] <qman__> I stick to LTS releases unless I need feature support
[00:47] <qman__> or in the case of my laptop, trying to get flash to work
[00:47] <qman__> it still doesn't, btw
[00:48] <patdk-lap> flash to work?
[00:49] <qman__> yeah, as in youtube and whatnot
[00:49] <patdk-lap> never had an issue
[00:49] <qman__> it absolutely refuses, 12.04, 12.10, 13.04
[00:49] <patdk-lap> just use chrome :)
[00:49] <qman__> I am
[00:49] <patdk-lap> but I haven't had an issue in firefox
[00:49] <qman__> chromium, specifically
[00:49] <patdk-lap> no, chrome
[00:49] <patdk-lap> must different :)
[00:49] <patdk-lap> chrome has it's own built in flash
[00:49] <qman__> it works great on my desktop, which is 64-bit
[00:49] <patdk-lap> it doesn't use adobe's
[00:50] <patdk-lap> chromium uses adobe's
[00:50] <qman__> I've tried both adobe flash and pepper flash
[00:50] <patdk-lap> as does firefox
[00:50] <qman__> neither work
[00:50] <patdk-lap> I'm using adobe flash, has worked fine for me
[00:50] <qman__> 64-bit?
[00:50] <patdk-lap> yep
[00:50] <qman__> because this laptopt is 32-bit
[00:50] <patdk-lap> it's always been more broken on 64bit
[00:50] <qman__> works fine on all my other 64-bit systems
[00:51] <patdk-lap> heh
[00:51] <patdk-lap> a 32bit only laptop? that is old
[00:51] <qman__> and it used to work, it just stopped one day
[00:51] <qman__> yep, pentium 3
[00:51] <patdk-lap> oh, that isn't old
[00:51] <qman__> 1033MHz, 768MB
[00:51] <patdk-lap> that is well, suprising it works
[00:52]  * patdk-lap hugs his quadcore laptop :)
[00:52] <qman__> these are great because they're about $100 to replace and nigh indestructible
[00:52] <patdk-lap> and only about 60lb :)
[00:53] <qman__> plus I just installed a new wireless card, awesome range
[00:53] <patdk-lap> you want my kaypro ][ ?
[00:53] <qman__> nah, I've got big blue
[00:54] <patdk-lap> still can't believe the kaypro is a *laptop*
[00:54] <qman__> just got this guy: http://www.amazon.com/gp/product/B006JWMOOI
[00:55] <patdk-lap> have one of them, it is unstable for me, works fine for a few hours, then just dies
[00:55] <qman__> ran it all day today without a problem
[02:45] <eropple> Hey there. I have an Ubuntu 13.04 machine with Linux softraid (known working) and I'm trying to use a RAID device as an LVM volume. It's being about as helpful as you'd expect; lvcreate is yelling at me about "Failed to wipe start of new LV." dmesg isn't showing anything interesting, even running lvcreate with -vvv it's not giving me any explicit clues as to what's going on, and Google isn't helping. Anybody have any suggestions?
[02:45] <eropple> Passing -Z n allows me to create the LV, but I then can't create a snapshot, making it less-than-useful.
[03:34] <sometwo> I enabled cachefs for my nfs mount yesterday. And today I noticed that things started to stall a lot. dmesg says CacheFiles: Error: Overlong wait for old active object to go away.
[03:38] <sometwo> Is there any way to resolve this? Using a newer kernel?
[03:39] <sometwo> Perhaps cachefs is just too unstable to be usable at all.
[05:08] <tcb^ll3r> hi
[05:08] <tcb^ll3r> how do I set the default umask for a users?
[05:24] <tcb^ll3r> crickets
[05:24] <patdk-lap> crickets don't use umask
[05:27] <tcb^ll3r> ha
[05:27] <tcb^ll3r> glad i'm not the only person in here on saturday night
[05:27] <patdk-lap> sat night?
[05:27] <patdk-lap> it's sunday morning
[05:29] <jkitchen> sat night here.
[05:29] <patdk-lap> people live in the wrong timezone
[05:29] <jkitchen> this is likely true
[05:29] <jkitchen> UTC is the only timezone
[05:30] <tcb^ll3r> any thoughts on the umask thing?
[05:34] <patdk-lap> set it in profile or pam
[05:35] <patdk-lap> really so many places to set it, and you didn't specify what for
[05:37] <tcb^ll3r> i need to set the default umask when a new user is created. do i set .profile || .bashrc in skel for that?
[05:39] <tcb^ll3r> when my sftp users create a file, it has the wrong perms
[05:40] <patdk-lap> then you want to set it for sftp
[05:40] <patdk-lap> sftp doesn't run in a shell, so setting it in a profile won't help
[05:40] <patdk-lap> it's documented, use google
[05:40] <tcb^ll3r> oh  per daemon setup
[05:40] <tcb^ll3r> i'm pretty noobish
[05:40] <tcb^ll3r> :(
[05:41] <tcb^ll3r> i'm trying though
[05:41] <tcb^ll3r> ahh, yes that would seem obvious setting shell umask in shell profile...
[05:58] <tcb^ll3r> hello my name is durp
[06:00] <tcb^ll3r> so, i would need to set umask for root user since sftp daemon runs under root? any thoughts on that?
[06:03] <patdk-lap> no
[06:04] <patdk-lap> seriously, google
[06:04] <patdk-lap> http://serverfault.com/questions/70876/how-to-put-desired-umask-with-sftp
[06:05] <patdk-lap> yandex, bing, whatever you want, just type in, sftp umask
[06:07] <tcb^ll3r> i did. it just seems like there are a few options. I just wanted some opinions.
[06:08] <patdk-lap> that are LOTS of ways to do it
[06:08] <patdk-lap> pick one
[06:08] <patdk-lap> I can't tell you, this way will solve all your issues
[06:08] <patdk-lap> each option is different
[06:08] <tcb^ll3r> alot of the time the stuff i find is applicable to other distros, hence the reason i am here. I have ubuntu.
[06:09] <tcb^ll3r> i have ubuntu(s)
[06:15] <tcb^ll3r> looking at the link you provided, i will have to learn some new stuff about subsystems. Thanks for pointing me to that.
[06:35] <tcb^ll3r> I had another question. How important is the group that each user belongs to that has that users name? Is this just to have that group on their .profile , and other config files? Do I need it?
[07:54] <Gr3mlin> gidday guys, anyone able to help with a SSH issue im having?
[07:56] <Gr3mlin> trying to set up auth key, but after googling for a few hours and trying multiple times, i run into an issue when attempting contection, "Server refused our key"
[07:59] <Gr3mlin> i've googled the fault and tried many 'FIXES' and still cant connect.
[07:59] <morph> hey guys. I just set up some partitions on a server as GPT
[07:59] <morph> now I need to install ubuntu on it. (this is a remote server. no physical access) how do i do this?
[08:35] <mhzarei> Hi, I make a new vpn connection by make a new file in /etc/NetworkManager/system-connections/vpn1 . When I use ' sudo nmcli con up id vpn1' to up connection, this error occurred: Error: Unknown connection: vpn1.
[09:14] <Gr3mlin> trying to set up auth key, but after googling for a few hours and trying multiple times, i run into an issue when attempting contection, "Server refused our key"
 trying to set up auth key, but after googling for a few hours and trying multiple times, i run into an issue when attempting contection, "Server refused our key"
[09:59] <Gr3mlin> ANYONE!? please! im about to go through the stupid ubuntu box our a moving vehicle.
[10:17] <resno> Gr3mlin: ?
 trying to set up auth key, but after googling for a few hours and trying multiple times, i run into an issue when attempting contection, "Server refused our key"
[10:18] <Gr3mlin> *hugs resno
[10:18] <resno> are you using the pub key?
[10:18] <Gr3mlin> indeed.
[10:18] <resno> on the sever
[10:19] <resno> are you connecting with the right user also?
[10:19] <Gr3mlin> pub on the server like every tut says, and private on the windows system
[10:19] <resno> oh, your using windows
[10:19] <resno> you're
[10:19] <resno> putty?
[10:20] <Gr3mlin> yup! please dont tell me its putty.
[10:23] <resno> i dont know anything about putty
[10:23] <resno> have you specified the key in your connection on putty?
[10:23] <Gr3mlin> I tried heaps of the things google suggests with now avail. im ready to 'pull out my nine and place bullet in each of the servers.'
[10:23] <Gr3mlin> yeap.
[10:24] <resno> what do your server logs say?
[10:24] <Gr3mlin> putty said that it
[10:24] <Gr3mlin> right now, they arent saying alot. i sort of had a little hissy fit and sudo rm -rv /* but its almost installed
[10:26] <Gr3mlin> *thought i would start again from scratch* and have alittle funny while doing it. ;B
[10:26] <resno> uh huh
[10:28] <Gr3mlin> server is running on a VM until i get it going. easier to kick.. then i can just replicate it when i do get it going
[10:29] <resno> did you put the pub file in the right location and name the file correctly?
[10:31] <Gr3mlin> pub went into ~/.ssh where the key was appended to authorized_keys. authorized_keys was checked to be one line. which it was, it was then chmod'd to 600, in /etc/ssh/sshd_config, line #Auth file was un commented out. and read %h/.ssh/authorized_keys
[10:32] <resno> did you upload the complete pub file?
[10:33] <resno> it should end with an = and your computer name
[10:33] <resno> when checking on the server
[10:34] <resno> ok, so tail -f /var/log/auth.log and then try to login using the private key
[10:38] <Gr3mlin> i started again, before i do any editing have to go a good link to a step by step i can follow?
[10:40] <resno> whyd you start again?
[10:44] <Gr3mlin> cos i deleted root, right im in.
[10:45] <Gr3mlin> i mean, the servers up, not im in*
[11:01] <Gr3mlin> OK, tail reported Failed publickey for test from *LAN_IP* port ssh2
[11:05] <maxb> You might try running a debug mode sshd on a separate port and seeing what it says when you try to connect to it('/usr/sbin/sshd -ddd -e -p 2222')
[11:06] <maxb> I would say that focussing on tutorials and step by steps is generally the wrong approach to getting computers to do what you want. Much better to pursue understanding than recipes - that way you don't get utterly stuck when you want to do something a bit different.
[11:10] <Gr3mlin> im thinkin its not worth the flippin hassle, i just thought it would be easier if i could remotely administrate me server when im not home. but this is proving to be stupidly difficult.
[11:10] <bekks> maxb: How do you get to know what a computer is actually doing if not even knowing what the software does, when not reading a manual, to get to know what the software is intended to do?
[11:11] <bekks> Gr3mlin: Administering a server remotely is most likely done by using SSH
[11:12] <Gr3mlin> bekks: i know, thats what im setting up, ssh access using keys instead of password access..
[11:12] <bekks> Gr3mlin: thats pretty easy. where are you stuck at?
[11:13] <Gr3mlin> Server refused our key
[11:14] <Gr3mlin> bekks: i've googled the pants off it.
[11:14] <bekks> Then you didnt add the key to the authorized_keys file.
[11:15] <Gr3mlin> if i vi ~/.ssh/authorized_keys i get me key.
[11:15] <bekks> On the server or on the host?
[11:15] <maxb> I did give you a suggestion for running a debug mode sshd above..... might tell you something useful
[11:15] <bekks> And which key (public or private) did you enter there?
[11:16] <Gr3mlin> on the server, the host is putty on a windows system
[11:16] <Gr3mlin> public key bekks
[11:16] <bekks> Gr3mlin: putty can act as ssh server.
[11:16] <Gr3mlin> what i totally missed that maxb
[11:16] <bekks> So your server is Ubuntu, and your client is putty?
[11:16] <maxb> < maxb> You might try running a debug mode sshd on a separate port and seeing what it says when you try to connect to it('/usr/sbin/sshd -ddd -e -p 2222')
[11:16] <bekks> *cant
[11:16] <Gr3mlin> affirm
[11:17] <bekks> Check the sshd_config wether publix key auth is even enabled.
[11:17] <Gr3mlin> server is running ubuntu server 12.04, OpenSSH. connecting via a windows system running Putty
[11:18] <Gr3mlin> sshd_config PubkeyAuthentication yes, AuthorizedKeysFile %h/.ssh/authorized_keys
[11:20] <maxb> People usually do not need to customise the AuthorizedKeysFile value
[11:21] <Gr3mlin> so leave it commented out?
[11:22] <Gr3mlin> sshd debug said key is not allowed?
[11:22] <maxb> Yes. It does seem to be the one thing you've mentioned doing differently to what most people do - even if it *shouldn't* matter
[11:22] <maxb> It does sound a lot like the content of your authorized_keys file is incorrect
[11:22] <maxb> You should pastebin both the authorized_keys content and the debug log
[11:22] <maxb> !pastebin
[11:23] <bekks> Gr3mlin: Which user are you using to connect to your server?
[11:25] <Gr3mlin> which am i using to connect to the SSH server? what do you mean? Putty?
[11:26] <bekks> No. You have users on your server, which one do you use to connect?
[11:26] <Gr3mlin> test
[11:26] <Gr3mlin> its a VM test server before i configure the real server.
[11:27] <bekks> So you added the public putty key to the authorized_keys file of "test"?
[11:27] <Gr3mlin> so im SSH key file is in /home/test/.ssh/auth^keys
[11:27] <Gr3mlin> yes that is correct.
[11:28] <bekks> Try commenting "AuthorizedKeysFile" to "#AuthorizedKeysFile" in the sshd_config and restart the sshd service.
[11:29] <Gr3mlin> already did when Maxb mentioned it.
[11:29] <maxb> < maxb> You should pastebin both the authorized_keys content and the debug log
[11:29] <bekks> Did you create a public key for test, add the public key to the authorized_keys, and try using ssh like: ssh test@localhist ?
[11:30] <maxb> Otherwise we're just needlessly blind
[11:30] <Gr3mlin> ok, on there way maxb
[11:37] <Gr3mlin> heres the auth key auth^key: http://paste.ubuntu.com/5999285/
[11:37] <bekks> Erro detected.
[11:38] <maxb> indeed
[11:38] <bekks> Missing s at the beginning. It has to be ssh not sh ...
[11:40] <Gr3mlin> sorry, thats my bad, i must o deleted it when i passed it. i just rechecked. definately says "ssh-rsa blabla
[11:40] <Gr3mlin> sorry, thats my bad, i must o deleted it when i passed it. i just rechecked. definately says "ssh-rsa blabla"
[11:41] <Gr3mlin> i cant get debug to output to file. what am i missing?
[11:41] <bekks> You missed to copy the entire public key.
[11:41] <bekks> It is missing the host identification at the end.
[11:42] <maxb> That does not matter
[11:42] <maxb> What follows is merely an informational comment, only relevant to humans reading it
[11:42] <Gr3mlin> this is the exact key copied off of PuTTy key gen : http://paste.ubuntu.com/5999299/
[11:46] <maxb> ok, and the debug logs?
[11:50] <Gr3mlin> this might be a dumb question maxb but does debug output to a log file? if so where?
[11:51] <maxb> no, it outputs to stderr
[11:51] <maxb> You could, of course, redirect it
[11:53] <Gr3mlin> i typed > filename and it looked at me like a dear in headlights.. blank.
[11:56] <Gr3mlin> oooppps.
[11:57] <Gr3mlin> ok here it is. http://paste.ubuntu.com/5999336/
[11:58] <bekks> Wrong permissions on .ssh and the files in there.
[11:59] <bekks> Pastebin ls -lha /home/test/.ssh/ please
[11:59] <Gr3mlin> auth^keys is ment to be 600 and .ssh ment to be 700?
[11:59] <maxb> debug1: Could not open authorized keys '/home/test/.ssh/authorized_keys': Permission denied
[12:00] <maxb> Seems highly relevant
[12:01] <maxb> I suspect you've got the file/directory owned by root, not test
[12:01] <Gr3mlin> thats correct.
[12:01] <maxb> No, that's incorrect :-)
[12:01] <bekks> Thats the cause of your error.
[12:01] <Gr3mlin> http://paste.ubuntu.com/5999343/
[12:01] <Gr3mlin> i saw i set that to test.
[12:01] <Gr3mlin> or was that before a re-installed..
[12:02] <bekks> Reinstallation has nothing to do with it.
[12:02] <ikonia> just change the onership of the permissions to the correct user
[12:04] <Gr3mlin> bekks: i mean ubuntu server.
[12:04] <ikonia> just change the onership of the permissions to the correct user
[12:04] <bekks> Gr3mlin: Me too. Just change the ownership to test:test as ikonia suggests.
[12:06] <Gr3mlin> bekks, yeah, know i have
[12:07] <Gr3mlin> thanks guys for the help! im gonna go dream about stupid things like this now ;S
[15:06] <sometwo> So, I upgraded to a 3.8 kernel and my fscache stalls seem to have disappeared. However, it doesn't seem like fscache is actually doing anything. The cache is currently taking 50 MB of space, stats show "Lookups: n=210 neg=207 pos=3 crt=207 tmo=0" and "Retrvls: n=2635 ok=0 wt=5 nod=2635 nbf=0 int=0 oom=0" which doesn't look good. Is there anything I have missed in my configuration?
[16:26] <baniir> how do i determine what a safe nofile limit is; i see examples setting 65535, 32768, … without explanation
[16:30] <bekks> baniir: You need to know the maximum number of open files of your applications.
[16:30] <bekks> And the nofile count has to be higher than that.
[16:32] <baniir> bekks: thanks. in this case, open files are network sockets that raise with traffic. i can't raise it indefinitely
[16:50] <patdk-lap> 3million :)
[17:56] <MraMaria> Hi. Using a fresh and updated 'basic Ubuntu server' 'OpenSSH server', '$ sudo apt-get install LXDE' and  remotely desktop controlling with XRDP (as server) (and Remmina as client on the other computer) (The desktop environment only starts if i connect to the XRDP server).
[17:57] <MraMaria> I'm having problems on locales and input method. Following the info at http://wiki.lxde.org/en/Ubuntu the "Configuration for locales and input method" doesn't apply to this installation in none of the "login managers". Could you please help me on this....
[17:59] <MraMaria> Just found and i'm reading http://wiki.lxde.org/en/Change_keyboard_layouts . I don't know yet if it helps
[19:44] <Rapid2214> Hey guys, in centos it is possible to set the hostname from DHCP, however I cannot find a way in ubuntu. Anyone got any ideas?
[19:48] <ikonia> Rapid2214: works the same way in ubuntu - it's just a dhclient parameter
[19:49] <ikonia> Rapid2214: in the config you tell it what information to get from the dhcp server, hostname is just one varible/option
[19:53] <Rapid2214> Ok, I will take a look - Thanks
[19:54] <Rapid2214> Do you know what config file in centos makes this happen by default?
[19:56] <Rapid2214> I see request in Ubuntu, but nothing is done with this information
[22:30] <sometwo> Is anyone using the cachefs?
[22:35] <palomer> if I ping my public ip address, is it the same thing as pinging localhost?