/srv/irclogs.ubuntu.com/2013/08/18/#ubuntu-server.txt

LargePrimenow it is at 92%00:02
qman__literally anything00:07
qman__do you have separate /var or /boot? if not, sudo apt-get clean and then uninstall any old kernels you're not using00:07
* patdk-lap bets /tmp00:07
patdk-lapbut ya, /var is likely also00:08
qman__I thought /tmp was a tmpfs out of the box00:08
patdk-lapnope, that could be really evil really fast00:08
LargePrimehttp://paste.ubuntu.com/5997863/00:12
LargePrimewhat does the 15G in . mean00:13
LargePrimesorry for my ignorance00:13
whaleyLargePrime: 15 gigabytes00:13
LargePrimethat is a result of 5:/var# du -h --max-depth=1 | pastebinit00:14
LargePrimeso var is taking the space00:14
whaleyLargePrime: looks like lib, mostly00:14
whaleyoh, sorry, you are in /var00:15
LargePrimehttp://paste.ubuntu.com/5997868/00:15
LargePrimethats /var/lib00:16
LargePrime it seems /mysql has 10GB00:17
qman__you have over 3.5GB of logs, which is a lot00:21
qman__suggest cleaning that up unless you need them00:22
LargePrimeok thanks00:22
qman__er, 3.3GB00:22
patdk-lapheh, du -shc *00:23
patdk-lapnormally gets good results :)00:23
LargePrimehttp://paste.ubuntu.com/5997887/00:23
LargePrimemath dont work on last one?00:23
LargePrimeor am i not seeing something00:24
qman__there is 9.9GB used in that directory, not any of the subdirs00:24
qman__see the last line00:24
LargePrimeibdata1 is 8GB00:24
LargePrimei see00:24
* patdk-lap hugs his 2tb of logs00:25
LargePrimeok so now to tackle shrinking ibdata00:27
patdk-lapgood luck with that00:27
patdk-lapibdata doesn't shrink00:27
LargePrimeso i am reaading00:28
LargePrimewhy do you keep sp many logs?00:38
LargePrimeso*00:38
LargePrimeapparently 5.6 of mysql no longer has this ibdata  size issue00:41
LargePrimeis it worth upgrading to 13.0400:44
patdk-laphmm, well, I collect about 5gigs of logs a day (after gzip)00:45
patdk-lapneed to keep enough logs for compliance00:45
patdk-lapsome days it can get up to 10-20gigs00:45
qman__I stick to LTS releases unless I need feature support00:47
qman__or in the case of my laptop, trying to get flash to work00:47
qman__it still doesn't, btw00:47
patdk-lapflash to work?00:48
qman__yeah, as in youtube and whatnot00:49
patdk-lapnever had an issue00:49
qman__it absolutely refuses, 12.04, 12.10, 13.0400:49
patdk-lapjust use chrome :)00:49
qman__I am00:49
patdk-lapbut I haven't had an issue in firefox00:49
qman__chromium, specifically00:49
patdk-lapno, chrome00:49
patdk-lapmust different :)00:49
patdk-lapchrome has it's own built in flash00:49
qman__it works great on my desktop, which is 64-bit00:49
patdk-lapit doesn't use adobe's00:49
patdk-lapchromium uses adobe's00:50
qman__I've tried both adobe flash and pepper flash00:50
patdk-lapas does firefox00:50
qman__neither work00:50
patdk-lapI'm using adobe flash, has worked fine for me00:50
qman__64-bit?00:50
patdk-lapyep00:50
qman__because this laptopt is 32-bit00:50
patdk-lapit's always been more broken on 64bit00:50
qman__works fine on all my other 64-bit systems00:50
patdk-lapheh00:51
patdk-lapa 32bit only laptop? that is old00:51
qman__and it used to work, it just stopped one day00:51
qman__yep, pentium 300:51
patdk-lapoh, that isn't old00:51
qman__1033MHz, 768MB00:51
patdk-lapthat is well, suprising it works00:51
* patdk-lap hugs his quadcore laptop :)00:52
qman__these are great because they're about $100 to replace and nigh indestructible00:52
patdk-lapand only about 60lb :)00:52
qman__plus I just installed a new wireless card, awesome range00:53
patdk-lapyou want my kaypro ][ ?00:53
qman__nah, I've got big blue00:53
patdk-lapstill can't believe the kaypro is a *laptop*00:54
qman__just got this guy: http://www.amazon.com/gp/product/B006JWMOOI00:54
patdk-laphave one of them, it is unstable for me, works fine for a few hours, then just dies00:55
qman__ran it all day today without a problem00:55
eroppleHey 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
eropplePassing -Z n allows me to create the LV, but I then can't create a snapshot, making it less-than-useful.02:45
sometwoI 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:34
sometwoIs there any way to resolve this? Using a newer kernel?03:38
sometwoPerhaps cachefs is just too unstable to be usable at all.03:39
tcb^ll3rhi05:08
tcb^ll3rhow do I set the default umask for a users?05:08
tcb^ll3rcrickets05:24
patdk-lapcrickets don't use umask05:24
tcb^ll3rha05:27
tcb^ll3rglad i'm not the only person in here on saturday night05:27
patdk-lapsat night?05:27
patdk-lapit's sunday morning05:27
jkitchensat night here.05:29
patdk-lappeople live in the wrong timezone05:29
jkitchenthis is likely true05:29
jkitchenUTC is the only timezone05:29
tcb^ll3rany thoughts on the umask thing?05:30
patdk-lapset it in profile or pam05:34
patdk-lapreally so many places to set it, and you didn't specify what for05:35
tcb^ll3ri need to set the default umask when a new user is created. do i set .profile || .bashrc in skel for that?05:37
tcb^ll3rwhen my sftp users create a file, it has the wrong perms05:39
patdk-lapthen you want to set it for sftp05:40
patdk-lapsftp doesn't run in a shell, so setting it in a profile won't help05:40
patdk-lapit's documented, use google05:40
tcb^ll3roh  per daemon setup05:40
tcb^ll3ri'm pretty noobish05:40
tcb^ll3r:(05:40
tcb^ll3ri'm trying though05:41
tcb^ll3rahh, yes that would seem obvious setting shell umask in shell profile...05:41
tcb^ll3rhello my name is durp05:58
tcb^ll3rso, i would need to set umask for root user since sftp daemon runs under root? any thoughts on that?06:00
patdk-lapno06:03
patdk-lapseriously, google06:04
patdk-laphttp://serverfault.com/questions/70876/how-to-put-desired-umask-with-sftp06:04
patdk-lapyandex, bing, whatever you want, just type in, sftp umask06:05
tcb^ll3ri did. it just seems like there are a few options. I just wanted some opinions.06:07
patdk-lapthat are LOTS of ways to do it06:08
patdk-lappick one06:08
patdk-lapI can't tell you, this way will solve all your issues06:08
patdk-lapeach option is different06:08
tcb^ll3ralot of the time the stuff i find is applicable to other distros, hence the reason i am here. I have ubuntu.06:08
tcb^ll3ri have ubuntu(s)06:09
tcb^ll3rlooking at the link you provided, i will have to learn some new stuff about subsystems. Thanks for pointing me to that.06:15
tcb^ll3rI 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?06:35
Gr3mlingidday guys, anyone able to help with a SSH issue im having?07:54
Gr3mlintrying 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:56
Gr3mlini've googled the fault and tried many 'FIXES' and still cant connect.07:59
morphhey guys. I just set up some partitions on a server as GPT07:59
morphnow I need to install ubuntu on it. (this is a remote server. no physical access) how do i do this?07:59
mhzareiHi, 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.08:35
Gr3mlintrying 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:14
=== smb` is now known as smb
Gr3mlin<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"09:59
Gr3mlinANYONE!? please! im about to go through the stupid ubuntu box our a moving vehicle.09:59
resnoGr3mlin: ?10:17
Gr3mlin<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 resno10:18
resnoare you using the pub key?10:18
Gr3mlinindeed.10:18
resnoon the sever10:18
resnoare you connecting with the right user also?10:19
Gr3mlinpub on the server like every tut says, and private on the windows system10:19
resnooh, your using windows10:19
resnoyou're10:19
resnoputty?10:19
Gr3mlinyup! please dont tell me its putty.10:20
resnoi dont know anything about putty10:23
resnohave you specified the key in your connection on putty?10:23
Gr3mlinI 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
Gr3mlinyeap.10:23
resnowhat do your server logs say?10:24
Gr3mlinputty said that it10:24
Gr3mlinright now, they arent saying alot. i sort of had a little hissy fit and sudo rm -rv /* but its almost installed10:24
Gr3mlin*thought i would start again from scratch* and have alittle funny while doing it. ;B10:26
resnouh huh10:26
Gr3mlinserver is running on a VM until i get it going. easier to kick.. then i can just replicate it when i do get it going10:28
resnodid you put the pub file in the right location and name the file correctly?10:29
Gr3mlinpub 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_keys10:31
resnodid you upload the complete pub file?10:32
resnoit should end with an = and your computer name10:33
resnowhen checking on the server10:33
resnook, so tail -f /var/log/auth.log and then try to login using the private key10:34
Gr3mlini started again, before i do any editing have to go a good link to a step by step i can follow?10:38
resnowhyd you start again?10:40
Gr3mlincos i deleted root, right im in.10:44
Gr3mlini mean, the servers up, not im in*10:45
Gr3mlinOK, tail reported Failed publickey for test from *LAN_IP* port ssh211:01
maxbYou 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:05
maxbI 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:06
Gr3mlinim 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
bekksmaxb: 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:10
bekksGr3mlin: Administering a server remotely is most likely done by using SSH11:11
Gr3mlinbekks: i know, thats what im setting up, ssh access using keys instead of password access..11:12
bekksGr3mlin: thats pretty easy. where are you stuck at?11:12
Gr3mlinServer refused our key11:13
Gr3mlinbekks: i've googled the pants off it.11:14
bekksThen you didnt add the key to the authorized_keys file.11:14
Gr3mlinif i vi ~/.ssh/authorized_keys i get me key.11:15
bekksOn the server or on the host?11:15
maxbI did give you a suggestion for running a debug mode sshd above..... might tell you something useful11:15
bekksAnd which key (public or private) did you enter there?11:15
Gr3mlinon the server, the host is putty on a windows system11:16
Gr3mlinpublic key bekks11:16
bekksGr3mlin: putty can act as ssh server.11:16
Gr3mlinwhat i totally missed that maxb11:16
bekksSo 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*cant11:16
Gr3mlinaffirm11:16
bekksCheck the sshd_config wether publix key auth is even enabled.11:17
Gr3mlinserver is running ubuntu server 12.04, OpenSSH. connecting via a windows system running Putty11:17
Gr3mlinsshd_config PubkeyAuthentication yes, AuthorizedKeysFile %h/.ssh/authorized_keys11:18
maxbPeople usually do not need to customise the AuthorizedKeysFile value11:20
Gr3mlinso leave it commented out?11:21
Gr3mlinsshd debug said key is not allowed?11:22
maxbYes. It does seem to be the one thing you've mentioned doing differently to what most people do - even if it *shouldn't* matter11:22
maxbIt does sound a lot like the content of your authorized_keys file is incorrect11:22
maxbYou should pastebin both the authorized_keys content and the debug log11:22
maxb!pastebin11:22
ubottuFor posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://imagebin.org/?page=add | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.11:22
bekksGr3mlin: Which user are you using to connect to your server?11:23
Gr3mlinwhich am i using to connect to the SSH server? what do you mean? Putty?11:25
bekksNo. You have users on your server, which one do you use to connect?11:26
Gr3mlintest11:26
Gr3mlinits a VM test server before i configure the real server.11:26
bekksSo you added the public putty key to the authorized_keys file of "test"?11:27
Gr3mlinso im SSH key file is in /home/test/.ssh/auth^keys11:27
Gr3mlinyes that is correct.11:27
bekksTry commenting "AuthorizedKeysFile" to "#AuthorizedKeysFile" in the sshd_config and restart the sshd service.11:28
Gr3mlinalready did when Maxb mentioned it.11:29
maxb< maxb> You should pastebin both the authorized_keys content and the debug log11:29
bekksDid you create a public key for test, add the public key to the authorized_keys, and try using ssh like: ssh test@localhist ?11:29
maxbOtherwise we're just needlessly blind11:30
Gr3mlinok, on there way maxb11:30
Gr3mlinheres the auth key auth^key: http://paste.ubuntu.com/5999285/11:37
bekksErro detected.11:37
maxbindeed11:38
bekksMissing s at the beginning. It has to be ssh not sh ...11:38
Gr3mlinsorry, thats my bad, i must o deleted it when i passed it. i just rechecked. definately says "ssh-rsa blabla11:40
Gr3mlinsorry, thats my bad, i must o deleted it when i passed it. i just rechecked. definately says "ssh-rsa blabla"11:40
Gr3mlini cant get debug to output to file. what am i missing?11:41
bekksYou missed to copy the entire public key.11:41
bekksIt is missing the host identification at the end.11:41
maxbThat does not matter11:42
maxbWhat follows is merely an informational comment, only relevant to humans reading it11:42
Gr3mlinthis is the exact key copied off of PuTTy key gen : http://paste.ubuntu.com/5999299/11:42
maxbok, and the debug logs?11:46
Gr3mlinthis might be a dumb question maxb but does debug output to a log file? if so where?11:50
maxbno, it outputs to stderr11:51
maxbYou could, of course, redirect it11:51
Gr3mlini typed > filename and it looked at me like a dear in headlights.. blank.11:53
Gr3mlinoooppps.11:56
Gr3mlinok here it is. http://paste.ubuntu.com/5999336/11:57
bekksWrong permissions on .ssh and the files in there.11:58
bekksPastebin ls -lha /home/test/.ssh/ please11:59
Gr3mlinauth^keys is ment to be 600 and .ssh ment to be 700?11:59
maxbdebug1: Could not open authorized keys '/home/test/.ssh/authorized_keys': Permission denied11:59
maxbSeems highly relevant12:00
maxbI suspect you've got the file/directory owned by root, not test12:01
Gr3mlinthats correct.12:01
maxbNo, that's incorrect :-)12:01
bekksThats the cause of your error.12:01
Gr3mlinhttp://paste.ubuntu.com/5999343/12:01
Gr3mlini saw i set that to test.12:01
Gr3mlinor was that before a re-installed..12:01
bekksReinstallation has nothing to do with it.12:02
ikoniajust change the onership of the permissions to the correct user12:02
Gr3mlinbekks: i mean ubuntu server.12:04
ikoniajust change the onership of the permissions to the correct user12:04
bekksGr3mlin: Me too. Just change the ownership to test:test as ikonia suggests.12:04
Gr3mlinbekks, yeah, know i have12:06
Gr3mlinthanks guys for the help! im gonna go dream about stupid things like this now ;S12:07
sometwoSo, 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?15:06
=== Ursinha-afk is now known as Ursinha
baniirhow do i determine what a safe nofile limit is; i see examples setting 65535, 32768, … without explanation16:26
bekksbaniir: You need to know the maximum number of open files of your applications.16:30
bekksAnd the nofile count has to be higher than that.16:30
baniirbekks: thanks. in this case, open files are network sockets that raise with traffic. i can't raise it indefinitely16:32
patdk-lap3million :)16:50
=== LargePrime is now known as Guest98517
=== LargePrime_ is now known as LargePrime
MraMariaHi. 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:56
MraMariaI'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:57
MraMariaJust found and i'm reading http://wiki.lxde.org/en/Change_keyboard_layouts . I don't know yet if it helps17:59
Rapid2214Hey 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:44
ikoniaRapid2214: works the same way in ubuntu - it's just a dhclient parameter19:48
ikoniaRapid2214: in the config you tell it what information to get from the dhcp server, hostname is just one varible/option19:49
Rapid2214Ok, I will take a look - Thanks19:53
Rapid2214Do you know what config file in centos makes this happen by default?19:54
Rapid2214I see request in Ubuntu, but nothing is done with this information19:56
=== veebull is now known as veebull_away
sometwoIs anyone using the cachefs?22:30
palomerif I ping my public ip address, is it the same thing as pinging localhost?22:35

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