# /srv/irclogs.ubuntu.com/2011/03/11/#ubuntu-server.txt

kim0 hallyn uvirtbot hallyn: used cirrus, and vnc, still getting host cpu 20~30% with guest being idle 00:02 kim0: for audio, you could try doing 'export QEMU_AUDIO_DRV=spice' 00:03 New bug: #732953 in facter (main) "can_connect function inside ec2.rb always return false" [Undecided,New] https://launchpad.net/bugs/732953 00:03 hallyn: that's already being passed to the kvm process 00:03 I can see it in the logs 00:03 (so, kim0 ok cool 00:04 === rtdos is now known as z80 People trying to install openmp on Maverick. Can't remember the package name. Any suggestions? Already tried 'apt-get install libgomp' 00:20 ok its libgomp1 now 00:30 rnigam: you can search the repo for stuff using apt-cache search packageName 00:45 === z80 is now known as retrodos Excuse me, if I want to change the root directory a user first goes to when they log in, how do I do that?  (using vsftpd) 00:57 NicholasRoge: for normal accounts, the obvious way would be to change their home directory 00:58 *facepalm* 00:58 Ignore me.  I'm an idiot. 00:59 I guessed that because you're using FTP instead of SFTP 00:59 Hey, it's me again.  Is there any other way other than changing the home directory to change the default ftp directory? 01:03 For anonymous FTP? 01:10 That would be in vsftpd's config file, or perhaps the vsftpd user's home 01:10 * RoyK needs to sleep soon - a techie getting here at nine in the morning to setup this 25Mbps symmetric link 01:11 kirkland: is there any reason not to remove debian/qemu-kvm-static* from qemu-kvm package? 01:19 hallyn: it's already absent from the debian version, FWIW 01:22 There's definite use for qemu-user-static -- together with binfmt, it allows you to have cross-architecture chroots. 01:23 === jjohansen is now known as jj-afk hallyn: cool! 02:08 twb: right, the package isn't going away, it's just being provided by qemu-linaro 02:56 hello 02:58 === Dravekx|AWAY is now known as dravekx WTF is linaro 02:59 can someone tell me an easy way to automate this or type it easier? http://pastebin.com/zmwYFKgK 02:59 dravekx: that looks pretty automated already 02:59 twb: well it's the arm linux project.  Their tree is based on qemu.git, not qemu-kvm.git, which generally is better at emulating non-x86, 03:00 twb, yeah but I have to type them one by one for each user :( 03:00 dravekx: just put it in /usr/local/sbin/adduser-sftponly or something, changing username to "$1" (with the quotes) 03:00 Or even just a loop 03:00 http://paste.debian.net/110315/ 03:01 twb, then what would I type to add a username? say.. joe? 03:02 adduser-sftponly joe 03:02 ahhh. nice! thanks 03:02 This is, you know, scripting 101 03:03 You should know this already if you're a sysadmin 03:03 hmm 03:08 twb, i put the file in /usr/local/sbin/ but it wont work ( I guess) unless I call it from that directory? 03:11 Did you make it executable? 03:12 ah no. forgot to chmod 03:13 twp, line 4: syntax error near unexpected token http://pastebin.com/VVW0YqyT 03:20 looks like I have some reading and learning to do lol 03:21 Oops, there should be a "do" line after the "for" line 03:22 THe loop is just there so you can e.g. say "adduser-sftponly alice bob claire" in one go 03:23 :) 03:24 I have some LXC containers that run "iptables-restore /etc/iptab" at boot, to load a (per-container) firewall. 04:07 I just found that, due to a cock-up on my part, the firewalls weren't loaded. Nobody noticed because their services were working. 04:07 I would like the containers to panic if the iptables-restore upstart task fails... perhaps switching to single-user mode. How can I do this? 04:08 Maybe I should ask #upstart instead... 04:08 how do I make my powerbutton do a shutdown 04:16 install acpid 04:16 server doesn't by default 04:16 It pisses me off NO END that this isn't installed by default 04:16 The excuse I was given here was that "well, you might bump the power button" 04:16 that does a lot more than just the power button no? 04:17 Because yeah, I often bump into my rack, and none of the hosts have locked front panel faceplates \end{sarcasm} 04:17 sabgenton: no 04:17 sabgenton: only if you install acpi-support, which is a separate package 04:17 ok 04:17 I saw a config that had diable and enable someware 04:17 acpid itself is just the daemon and the event handler for PWRBTN or whatever it is 04:17 but didn't exist 04:17 mabey will exist when I install acpid 04:18 sabgenton: dunno what you mean by enable/disable config 04:18 on google I found /etc/acpi/events/powerbtn 04:19 but doesn't exist for me 04:19 when acpi is installed mabye it will appear 04:19 twb: I agree with your anoyance they should at lest promt you in the installer lazy bums 04:20 sabgenton: it's /etc/acpi/events/powerbtn-acpi-support on mine 04:22 just installed acpi 04:23 /etc/acpi/events/powerbtn exists now 04:23 Whatever 04:23 I've stopped caring about this conversation 04:24 twb: what distro version are u? 04:24 fair enough 04:24 lucid 04:24 hm same 04:24 strange 04:24 meah 04:24 cheers anyways 04:24 if my isp provides me with a static ip address on the WAN side of my internet connection, and also creats a subdomain under their TLD for me and mentions they created an MX record, does this mean that handling DNS queries is up to me via my own dns server if i can't resolve the provided subdomain name from other internet connections (university, netcafes, friends places, etc) ? 04:57 No. 05:02 did they just stuff up? 05:03 If they've made an mx to your IP it should resolve ;) 05:03 Give em a call buddy. Assuming you're using their DNS it should work instantly, another DNS then maybe let it propagate. 05:03 yeah from uni this week, i've been trying to resolve it with dig but it fails 05:04 Shouldn't take more than 48 hours to propagate across the root servers 05:04 Since I know you're very close anyway it's probably a typo or something on their behalf. 05:05 do you think they would let me have a wildcard subdomain ? *.myassignedname.them.net ? 05:07 WTF is a DNS RP record? 05:10 Ah, the Responsible Person 05:11 Yeah kinda new twb 05:11 nandemonai: RFC 1183 doesn't sound very new :P 05:11 Let's you assign a email address to a host. 05:12 lol 05:12 New to me! 05:12 :P 05:12 Relatively. 05:12 I don't think they're used much. *shrugs* 05:12 I'm setting up an nsd3 instance. It's fun 05:12 === nonotza_ is now known as nonotza === jj-afk is now known as jjohansen === Aison is now known as Hardwareklaus ttx: ping authbind...did you see the ipv6 patch for authbind? 09:50 \sh: hm, no 09:50 ttx: http://toroid.org/ams/etc/authbind-ipv6-support 09:51 \sh: think we should include the fix before debian does ? 09:52 ttx: regarding the ipv4/ipv6 situation we should come up with a solution, eventually before the o-release 09:53 \sh: sure... but I'd like to get a chance for the patch to hit debian first 09:53 * ttx looks up bug report 09:54 hi guys.. someone has ever tried a distributed file system? i have to setup one... 09:54 \sh: hm, it's been lingering for some time already 09:54 ScottK: Are you still the designated server person for the release team? (re: bug 732461) 09:54 Launchpad bug 732461 in ubuntu "[FFe] Please add python-novaclient to universe" [Wishlist,Confirmed] https://launchpad.net/bugs/732461 09:54 ttx: right...and I wonder if debian has pressure to fix it asap ;) 09:56 === ogra_ is now known as ogra ttx: as we are preparing a ipv6 testlab with all our applications running on ipv6 only, this authbind problem is a serious one, for everyone running tomcat and ipv6 in enterprise envs 09:58 \sh: you have my blessing if you want to seek FFe for that... though it's a bit of an untested patch, I fear. 09:59 ttx: I'm thinking early adopting a patch which could help here is better then to let it rot..we can still remove it when it's really not working 10:01 Daviey: whats the current status of euca in natty? Need to test jenkins-ec2-plugin and though I might take it for a spin.... 10:01 alex88: re distributed FS's .. there are quite a few out there. Are you looking to experiment or for something that is ready today? 10:08 * SpamapS should not be awake. :-P 10:08 SpamapS: i've to process a file in parallel way, so i was thinking to place the file in the dfs and read from the multiple machines.. 10:08 * SpamapS sits and wonders how likely a tsunami is 10:09 * alex88 never tried a tsunami 10:09 SpamapS: how close to the coast are you? 10:10 jamespage: about 10 miles inland, 420 ft. elevation 10:10 SpamapS: what was that re distributed fs? 10:11 red hat gfs? 10:11 alex88: GFS is a shared storage filesystem 10:12 a distributed fs isn't it? 10:12 alex88: you have to have a shared medium for it... so it *could* be distributed via iSCSI. 10:12 alex88: I think AFS, gluster, or CEPH are more akin to distributed filesystems 10:13 naa i'm thinking to have just multiple servers with a shared fs to access like a folder.. 10:14 8.8 magnitude.. wow.. thats a big one. :-P 10:14 alex88: gluster is probably simpler than GFS 10:16 hey guys, i'm interested in getting one of the more recent versions of nginx running on my server because it has uwsgi support built in... any ideas on how to do this? what is the most recent package avail? 10:18 SpamapS: ok i'll try that thank you :) 10:18 I am running karmic, so it appears 7.62-4ubuntu is the most recent, I am looking to get nginx-0.8.40 running. is there a fairly straightforward way to do this? 10:20 whalesalad: natty has 0.8.53 .. you might just try backporting it. 10:27 SpamapS: how does one go about that? 10:27 I ask because I've got a production server running that can't go down... so I need to basically be able to quickly install the latest nginx and see if it works, and then fall back to the old if something goes wrong 10:27 I know that isn't the best way to go about things, but it is my only option unfortunately 10:27 whalesalad: simplest way is to just install ubuntu-dev-tools and then run 'pull-debian-source nginx' 10:28 holy mother of god haha thats a lot of packages that will be installed 10:29 whalesalad: haha yeah 10:29 whalesalad: you can just do devscripts .. then you'll need to go find the package and use 'dget' 10:29 okay thanks a lot 10:30 I will be doing that this weekend 10:30 gotta run unfortunately, l8r 10:30 jamespage: re bug #727091 .. if its ready for a developer to work on it, and has been forwarded properly upstream.. thats Triaged, not Confirmed 10:36 Launchpad bug 727091 in mysql-dfsg-5.1 "Select on table with two colums cause empty result." [Low,Triaged] https://launchpad.net/bugs/727091 10:36 jamespage: ahh.. you marked it triaged, but said confirmed. Never mind. 10:36 SpamapS: well I did confirm it first; I then marked as triaged - does that make sense? 10:37 SpamapS: ah - see what you mean now - damn that copy-paste! 10:40 jamespage: no worries. I'm glad you were able to reproduce.. I think I must have missed a step. :-P 10:40 np 10:41 I can copy and paste with the best of them :-) 10:41 jamespage: once I can stop using this blasted touchpad and get back to my beloved mouse.. I too will have the gift of copy/paste 10:43 * SpamapS will finally be rebuilding / setting up his desk today.. having been working from the couch the last week 10:43 ttx: pitti approved the novatools FFe. 10:46 soren: saw that. Will push to NEW. 10:49 \o/ 10:51 SpamapS: while you are up and about; have we seen many issues with the new version of squid (2.7.STABLE7-1ubuntu12.2) in Lucid 10:54 see bug 732028 10:54 Launchpad bug 732028 in squid "package squid 2.7.STABLE7-1ubuntu12.2 failed to install/upgrade: подпроцесс установлен сценарий post-installation возвратил код ошибки 1" [Undecided,New] https://launchpad.net/bugs/732028 10:54 soren: I don't think we've formally designated people this time around, but I figured I'd look in on that one. 12:08 Ah. Nevermind. pitti got to it first. 12:09 ScottK: Sorry, yes, forgot to mention. 12:13 ScottK: Thanks for looking, though. 12:13 No problem. 12:14 can anybody tell me how the hell to enable network interface statistics monitoring in snmpd in ubuntu? could really not find any information on that 12:38 mornig 12:41 === guampa is now known as guampafk Daviey: yeah so poutine....ewww 13:27 heh 13:37 === jamespage1 is now known as jamespage morning all 14:09 === guampafk is now known as guampa hallyn: linuxcon is in vancouver this year 14:31 zul: if it's expensive as dhaval says, I worry bc there are several lxc developers probably funding themselves 14:33 hallyn: i dunno maybe get canonical to sponsor them then 14:33 RoAkSoAx, Around? 14:36 Daviey: yes 14:40 Daviey: what's up 14:40 Something seems very wrong with upgrading from 8.04 to 10.04 in terms of mysql going to upstart. 14:51 I think I'm going to test it out some on a couple of VMs. 14:52 RoAkSoAx, sorry, unity mid way through crashing... 14:52 Daviey: hehe i've been there 14:52 Daviey: crashed again ? 14:58 RoAkSoAx: hey so python-ethtool is fixed? 15:00 zul: yeah already subscribed to ubuntu-release 15:00 RoAkSoAx: ok bug number? 15:00 zul: bug #732759 15:01 Launchpad bug 732759 in ubuntu "[FFe] [needs-packaging] python-ethtool" [Wishlist,New] https://launchpad.net/bugs/732759 15:01 === txwikinger2 is now known as txwikinger zul: and for bug #731620 we would either have to separate the python modules into its own binary package for the "yum" source package, or not use it at all. That module seems to be only used when reinstalling a machine with koan, and pretty much just sets the repo for such purpose 15:11 Launchpad bug 731620 in cobbler "koan crashed with ImportError in /usr/lib/python2.7/dist-packages/koan/configurator.py: No module named yum" [Undecided,New] https://launchpad.net/bugs/731620 15:11 so we might not even need it 15:11 RoAkSoAx: cool ill have a closer look 15:13 zul: yeah I was just thinking that the best is to add the checks to see if it is redhat or debian based distro, if not, do not import that module nor do the "configuration" for the yum repos and that should be enouigh. Though we may need to add configuration for APT repo's 15:14 RoAkSoAx: yeah we havent really focused on koan to get it workin on ubuntu/debian so if you want go ahead :) 15:15 will do what I can :) 15:15 zul: btw.. the cobbler-web package is not leaving the web interface working out of the box right? 15:16 RoAkSoAx: right 15:17 "leaving the web interface" ? 15:17 bah 15:17 Okay, So I have a multitude of web-services that I woudl like to be able to remote into, with a bit of jigerypokery I hvae them all mapped behind Apache using Reverse proxy and whatnot 15:55 The question is, What would be the best.. as in "Safe" way to host Apache to the outside world in a way thats not going to get me uh.. raped 15:56 kim0: qemu-kvm-spice package just uploaded to my ppa. It is a separate binary package which we should be able to put into universe to let people use 'kvm-spice' alongside the kvm in main 15:58 kim0: pls let me know if that works for you, if it does i'll remove the 'qemu' package from my ppa 16:02 hallyn: okie, will there be a way to start the vm from virt-manager using "qemu-kvm-spice" 16:05 kim0: yes, you can specify the emulator to use in the .xml 16:11 kim0: '/usr/bin/kvm-spice' should work 16:12 yeah 16:12 === bdmurray_ is now known as bdmurray hello, /j #ubuntu-one 16:38 philsf: no 16:46 Umreen, it was a typo 16:46 Daviey: still around? 17:06 Daviey: whats the difference betwee server-nrs and server-nro? 17:08 zul, 17:09 zul, s = server, work we need to do / o is other, stuff we can't do. 17:10 Daviey: ok i missed that 17:10 Natty Release Server, Natty Release Other 17:11 zul, using it sparingly.. 17:11 === alexanderbandukw is now known as thekkid === Ryan_Lane is now known as Ryan_Lane|food zul: by any chance do you know what is what's referred as install_tree in cobbler, and why Ubuntu images don't have it (redhat/fedora do) and what replaces that install_tree key: http://pastebin.ubuntu.com/578936/ 17:52 zul: ok after further lookup the import yum error is used for configuration management feature in koan that updates the system configuration (as defined by cobbler). And since it's all yum based, we can obviate it for now to get rid of that error 17:58 RoAkSoAx, Is it too traumatic to if flavour xyz: it? 17:59 Daviey: can you reword your question :)? 17:59 RoAkSoAx, would be nice if it's something we can push upstream, rather than carry a hunk of just patching out code 17:59 Daviey: you mean (if it is ubuntu, do not import yum?) 18:00 hallyn: it seems audio is not working for fedora to begin with http://fedoraproject.org/wiki/How_to_debug_Virtualization_problems#Audio_output (see the bugs) 18:00 RoAkSoAx, thassim! 18:00 Daviey: ah yeah! that;s what I was planning to do actually 18:00 RoAkSoAx, super! 18:00 Daviey: yeah :)! What I actually meant is that for now it sounds to just obviate that part of the code (or disable it) so we don't have abroken koan until things get fixed 18:01 Daviey: right now, koan launches successfully a Fedora image in KVM (but I think during installation error occurs), and I'm trying to look into doing so with an Ubuntu image, but there's an error with that install_tree thing I was asking zul earlier 18:02 anyways, just mentioning that to get that out of the way for now 18:02 but yeah i';m gonna bve working on get that fixed 18:03 RoAkSoAx, That is good... 18:04 jamespage: oh and I missed your question about squid. I haven't seen the same problems no. I think the real problem was the use of restart rather than stop/start. 18:17 Afternoon, everyone! 18:21 Does anyone have experience sending email from a Windows SQL Server instance using Courier IMAP server on a linux/Ubuntu box? 18:22 didn't know windows sql could send email, thought windows smtp did that 18:24 and imap doesn't send email or receive email 18:25 imap accesses a mailbox 18:25 so you can say it receives email 18:25 smtp is used for sending 18:25 heh, I would say, it allows the fetching of email 18:26 ah, ofc :P 18:31 patdk-lap, and yeah Windows SQL server can access SMTP servers to send. 18:31 so setup an smtp server :) 18:32 postfix, exim, sendmail, ......... 18:32 Hey all. I created a mdadm raid 5 "/dev/md0" in my virtual machine that is 3.2TB in size. Since the disk is larger then 2TB I need to use parted rather then fdisk, which I am not familiar with. How do I make a partition that encompasses the entire disk? 18:38 kim0: those libvirt sound issues should not be involved here. the spice client is running as you, and should be getting audio stream from qemu-kvm 18:42 kim0: i'm going to play with that on monday 18:43 pls let me know if/when kvm-spice works for you and i'll delete the qemu package 18:43 i also need to send some patches to the spice community... 18:43 (monday also - i'm technically out this afternoon) 18:44 patdk-lap, we do have an SMTP server, we are able to send email, but some mail providers (yahoo, comcast) the emails are marked as delivered successfully on our side, but don't even make it into the spam/inbox of targets. They're being dropped by the mail provider. 18:46 http://www.hancockparkschool.com/site/ 18:53 Fail... 18:53 X-Powered-By: PHP/5.2.16 18:53 double fail 18:53 SpamapS: :) 18:55 BCS-Satori: parted /dev/md0 18:56 BCS-Satori: and then mkpart primary ext3 0 -1 18:58 ivoks: Thanks. Would you know how to go about carving partitions inside extended part-types? 19:00 ha? 19:01 === bigbangnow is now known as bigbang ivoks: nm think I figured it out 19:03 * RoyK wants native zfs on linux... 19:16 === erichammond1 is now known as erichammond can anybody tell me how the hell to enable network interface statistics monitoring in snmpd in ubuntu? could really not find any information on that 19:45 tuxinator: normally snmpd listens to localhost only - check /etc/default/snmpd 19:47 i mean configuring snmpd so that i get interface statistic information using snmpwalk which i could then use in cacti for example 19:48 tuxinator: see the line above 19:51 zul: ping 19:51 RoAkSoAx: yep? 19:51 RoyK: so it's the same setting? :D i knew it's something weird as i already had that working some years agoo 19:51 :D 19:51 New bug: #733465 in bacula (main) "package bacula-director-mysql 5.0.1-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/733465 19:52 zul: just downloaded the latest source of cobbler in the archives and it does not contain the python-koan binary package (not in debian/control, no debian/python-koan.install) 19:52 RoAkSoAx: damn ok ill have a look 19:52 zul ok :) maybe bzr rejected those changes in the merge or something 19:53 RoAkSoAx: it could be 19:56 zul: yeah those changes are missing here: http://bazaar.launchpad.net/~ubuntu-virt/cobbler/ubuntu/revision/2004 19:56 RoAkSoAx: ill fix it dont worry 19:57 zul: i'm not :) 19:57 look, a bacula bug :) 19:58 ivoks: yes you should fix it 19:58 zul: maybe :) 19:59 === Ryan_Lane|food is now known as Ryan_Lane === ahs3 is now known as ahs3-afk New bug: #716859 in clamav "cannot install .deb packages" [Undecided,New] https://launchpad.net/bugs/716859 20:16 I have a file with one zillion commands that I would like to run 25 at a time in parallel with a new one started every time another one completes, until they are all done. Is there a handy command line tool that would manage this for me? 20:22 while true; do /some/command; done 20:23 zul: hold for a bit the cobbler upload cause I wanna send you a patch first 20:24 for those parallel jobs, just do something like 'for ((0=1;i<25;i++)); do echo$i ; done' 20:25 add a & to the job run 20:26 for those parallel jobs, just do something like 'for ((i=0;i<25;i++)); do echo $i ; done' 20:27 even 20:27 RoAkSoAx: k 20:28 RoyK: The zillion commands listed in the file are all different. 20:31 I could split the file and run each segment in the background, but some segments would get done before others. I want it to keep starting new individual commands every time one of the 25 slots opens up with a previous command ending. 20:32 I could do this in any language with signal handling including bash, but thought somebody may have already invented it. 20:34 === skrewler_ is now known as skrewler New bug: #731628 in squid (main) "package squid 2.7.STABLE7-1ubuntu12.2 failed to install/upgrade: il sottoprocesso vecchio script di post-installation ha restituito lo stato di errore 1" [Undecided,New] https://launchpad.net/bugs/731628 20:43 === ahs3-afk is now known as ahs3 === zul_ is now known as zul zul: ok just uploaded https://code.launchpad.net/~andreserl/ubuntu/natty/cobbler/lp731620/+merge/53092 which fixes bug #731620 21:11 Launchpad bug 731620 in cobbler "koan crashed with ImportError in /usr/lib/python2.7/dist-packages/koan/configurator.py: No module named yum" [Medium,In progress] https://launchpad.net/bugs/731620 21:11 RoAkSoAx: k thanks 21:11 zul: and is also a patch that can be forwarded upstream i guess. you'll see :) 21:13 RoAkSoAx: you should be using lp:~ubuntu-virt/ubuntu/cobbler 21:25 [SOLVED]: Well, rancid_par seems to be doing what I want, though the syntax is awkward and I had to install rancid to get it. 21:28 zul: im using that branch but when uploading IDK how to stack it over that branch, so I just propose the merge over that branch 21:31 RoAkSoAx: k...ill have a look at it later tonight 21:32 ok cool thanks 21:34 Does someone have a link on how to mount a second hard drive? 21:40 any idea why physmem= doesn't work? 22:01 ops - wrong channel 22:01 hallyn: awesome, so far things looks stable, huge improvement over spicec 22:22 How do I disable mysql's upstart script thingie? 22:22 hallyn: would be great if you'd look at improving "idle" cpu usage of kvm. For me, an idle win7 kvm process consumes 25% cpu (fans get loud n stuff) 22:23 New bug: #733561 in squid (main) "package squid 2.7.STABLE7-1ubuntu12.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/733561 22:42 how is possible my hardisk run out of space 22:51 i did not installed nothing 22:51 => / is using 94.9% of 147.88GB 22:51 wtf can be used 147 gb for 22:51 nertil@Maverick:/$ ls 22:52 bin    dev   initrd.img      lost+found  opt   sbin     sys  var 22:52 boot   etc   initrd.img.old  media       proc  selinux  tmp  vmlinuz 22:52 cdrom  home  lib             mnt         root  srv      usr  vmlinuz.old 22:52 anyone please? 23:00 donvit0: i would start running du -s on /tmp and /var to see what's eating the space 23:03 (and then the other directories as needed...) 23:03 let me check 23:09 but i didnt install nothing 23:09 sudo du -s /tmp 23:10 32      /tmp 23:10 nertil@Maverick:/$sudo du -s /var 23:10 145616460 /var 23:10 ahs3 looks like /var eats the space 23:11 okay. then you'll have to dig into where in /var. cd /var; du -s * 23:12 i get to muych permision denied 23:12 can i pastebin to you please? 23:12 you'll have to use sudo 23:13 http://pastebin.com/1uD85wYR 23:13 i did 23:13 ah, i see. it'll be easier to cd /var, then sudo du -s * 23:14 145023928 log 23:14 logs eats the space 23:14 how to clear all logs to normal 23:15 http://pastebin.com/BE9MWudD 23:16 i'd go into /var/log and look for the largest log first, then see what it says. you could have something misconfigured or broken and there's just tons of messages being generated 23:16 -rw-r----- 1 syslog adm 3137658 2011-03-12 00:14 kern.log 23:17 -rw-r--r-- 1 root root 580069 2011-02-28 04:26 dpkg.log.1 23:17 -rw-r----- 1 syslog adm 766074 2011-03-12 00:14 messages 23:17 -rw-r----- 1 syslog adm 735070 2011-03-06 06:26 messages.1 23:17 looks like this are with the most space 23:17 /var/logs has subdirectories, too. i suspect one of those is taking more space than the files listed 23:19 nertil@Maverick:/var$ cd logs 23:19 -bash: cd: logs: No such file or directory 23:19 cd /var/logs 23:19 -bash: cd: /var/logs: No such file or directory 23:20 its /var/log 23:20 whups.  right 23:20 how to clear all machine logs? 23:21 also looks like apache logs 23:21 eats space 23:21 i'd look into those logs first.  there's some sort of error that's causing messages to be generated and filling the logs 23:22 -rw-r----- 1 root adm  148489936432 2011-03-12 00:05 error.log 23:22 wooowww 23:23 in apache2 folder 23:23 to much logs 23:23 then, you can always use packages like logrotate to keep the space usage down, or worst case just remove them 23:23 let me install logrotate 23:23 okay, so tail that file 23:23 it should *not* be that big :) 23:23 how to configure 23:24 logrorate please 23:24 apt-get install logrotate 23:24 the default configuration should be fine 23:24 what if i clean now all logs folder 23:25 with rm -rf *] 23:25 with rm -rf * 23:25 I do :) 23:25 i would just get rid of the big one first 23:26 kim0: can you reproduce that with a linux guest? 23:27 didn't try that 23:27 or win 2003? 23:27 hallyn: which one should I try :) 23:28 well a lucid guest woudl be best 23:28 else i'll just have to try and find my m\$ reg 23:28 is there an easy way to install kernel 2.6.37 in ubuntu server? 23:33 Aison:  which version of ubuntu server you running? 23:41 10.04?  10.10? 23:41 10.10 23:45 I think I found a solution by just taking it from lucid kernel ppd? 23:45 ppa 23:45 ok, 2.6.37-12 is running 23:50 now I need linux-tools-2.6.37 :P 23:50 um... 23:53 okay... 23:53 not sure how to help you though :/ 23:53 others would be better to help you out ;) 23:53

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