[00:02] <Kutakizukari> How do I enable mod_rewrite for Apache2?
[00:11] <RoAkSoAx> kirkland, are you planning to separate the code of testdrive? so that it would be easier to create a gtk front-end?
[00:12] <kirkland> RoAkSoAx: i think that's part of the gtk writer's job :-)
[00:13] <kirkland> RoAkSoAx: but, sure, i would like to see it modularized
[00:13] <RoAkSoAx> kirkland, ok I'll see what i can do then :)
[00:14] <kirkland> RoAkSoAx: :-)  \o/
[00:16] <kirkland> RoAkSoAx: i'm happy to help where necessary
[00:17] <RoAkSoAx> kirkland, will poke you when needed since i first have to read your new python code :)
[00:17] <kirkland> RoAkSoAx: cool :-)
[00:17]  * kirkland does not claim to be a good python programmer :-)
[00:19] <RoAkSoAx> kirkland, neither do I :)
[00:19] <RoAkSoAx> i just like it
[00:19] <kirkland> RoAkSoAx: same here
[00:20] <RoAkSoAx> kirkland, I actually haven't been coding much in the past two years, just small python project last semester for a class and because I wanted to learn python and there comes my liking to it :)
[00:36] <histo> Alright I switched boxes now my server is still locking up definately not hardware related.
[00:37] <histo> it just hangs randomly sometimes makes it 30 minutes sometimes longer.
[00:37] <histo> Its a dell optiplex 170L
[00:38] <histo> I did a cli install from the mini.iso. I'm wondering if its some sort of power management thing going on?
[00:40] <histo> Syslog and message show nothing of help i'm wondering if anyone has any other ideas?  Someone suggested it may be a power issue. so i took the new box off of the battery backup and put it directly in the wall and it still hung.
[02:07] <qman__> Kutakizukari, IIRC,  sudo a2enmod rewrite
[02:09] <GhostFreeman> Is there a kernel module to improve performance of ubuntu server inside of a VM?
[02:12] <Kutakizukari> qman__, thank you.
[02:12] <\sh> GhostFreeman: hmmm?
[02:13] <GhostFreeman> I was just wondering if there was a kernel module or a package I could install that would give me access to VirtualBox guest directories and such
[02:14] <\sh> whatever guest directories are...if you mean to access your guest hd, you could export samba or nfs to the host running vbox easily...but that doesn't improve performance
[02:15] <GhostFreeman> performance is moot if generic support VT-X (I think it does)
[02:18]  * \sh runs ESX on dl385 with 32GB ram and 8 300GB sas drives...
[02:20] <\sh> + adding vmware tools to the standard install layout via puppet == I don't think about performance ;)
[02:21] <qman__> heh
[02:21] <qman__> I don't think any of my servers even support VT-X
[02:21] <qman__> working with old junk here
[02:21] <GhostFreeman> well i'm running 9.10 from VirtualBox so I can fiddle around with Ruby, amongst other things
[02:21] <\sh> ah well...boxes without VT-X (my home server doesn't have such things) I would use LXC as para virtualization
[02:22] <\sh> which uses host io which is sometimes much faster then hypervisors
[02:22] <qman__> hmm, I'll have to check that out
[02:23] <qman__> most of my stuff is socket 939 AMD, reasonably quick, but predates all the new virtualization stuff
[02:26] <GhostFreeman> I was thinking about running VMWare on a Pentium 3 i was gifted
[02:27] <qman__> ehh
[02:27] <qman__> single P3? how much RAM?
[02:27] <GhostFreeman> yeah I felt the same way
[02:27] <GhostFreeman> it was a double with 1GB
[02:28] <qman__> that's not really enough RAM, but a dual P3 would be enough to toy with some server on server stuff
[02:28] <qman__> I've got a dual P3 with ~2.2GB in it
[02:29] <qman__> it's too noisy to use on a regular basis though
[02:29] <GhostFreeman> this is the same case
[02:29] <GhostFreeman> its off most of the time
[02:29] <\sh>  Intel(R) Pentium(R) 4 CPU 3.00GHz <- no vt stuff...but HT and 64Bit ready ;)
[02:29] <GhostFreeman> I use it as a duplicate "production-like" environment
[02:29] <qman__> I installed the HP driver package
[02:30] <qman__> changed the noise level from "hearing damage" to "vacuum cleaner"
[02:31] <GhostFreeman> lol
[02:31] <GhostFreeman> is the machine in question a Proliant?
[02:31] <qman__> yes
[02:31] <GhostFreeman> mine too
[02:31] <GhostFreeman> although its a Compaq era
[02:31] <GhostFreeman> I didn't even know there were drivers for it
[02:32] <qman__> yeah, it's a compaq DL380
[02:32] <qman__> the package was for 9.10, even
[02:32] <GhostFreeman> is there any benefit to installing the drivers, and is it gettable from apt?
[02:33] <qman__> not in apt, had to download a deb from HP
[02:33] <qman__> the main benefit is fan control
[02:33] <qman__> but it's supposed to add RAID control software and such too
[02:34] <GhostFreeman> i'll look into this the next time I start it uo
[02:34] <GhostFreeman> up*
[02:53] <Emzzzz> http://imggmi.info/DSC-1268362000.jpg/ do my tits look big?
[03:08] <Error404NotFound> i am trying to configure psad with shorewall. Psad does detect port scans but when i do a iptables -nvL and grep any port-scanner's IP, i don't see anything.
[03:10] <twb> Error404NotFound: see also #shorewall
[03:10] <Error404NotFound> twb, done :)
[03:11] <twb> But if shorewall is doing The Right Thing, it will be using ipsets, not separate rules for each offender.
[03:16] <Error404NotFound> twb, hmmm, and do you have any idea how do i check that?
[03:17] <twb> Using the ipset command, I imagine.
[03:20] <Error404NotFound> twb, no command ipset found :)
[03:21] <twb> You're not root, or you haven't installed it.
[03:22] <Error404NotFound> twb, i think its not installed as i am root
[04:37] <funkiwan> i'm having some issues with a raid1 array. i just rebooted and the raid array attempted to rebuild itself. now that the rebuild is done, it's writing "RAID1 conf printout:" messages to /var/log/syslog every few seconds, and mdadm is reporting the array as either "clean, degraded" or "active, degraded"
[04:37] <funkiwan> here's some sample output of syslog and mdadm and /proc/mdstat: http://pastebin.com/XhFWNvA2
[04:40] <sbeattie> for whatever reason, md thinks that /dev/sda1 is a spare. you'll need to add it back with mdadm.
[04:53] <funkiwan> sbeattie: sorry, just seeing your response
[04:53] <funkiwan> any idea why the log file is getting flooded?
[05:01] <sbeattie> funkiwan: no, I haven't seen that behavior before. What release is this?
[05:02] <funkiwan> sbeattie: karmic, Linux kubuntu 2.6.31-20-386 #57-Ubuntu SMP Mon Feb 8 11:42:49 UTC 2010 i686 GNU/Linux
[05:03] <funkiwan> sbeattie: the strange thing is that it seems to be continuosly switching between states of "clean, degraded" and "active, degraded"
[07:54] <Kutakizukari> Where do I put a .bash_profile to use for alias?
[07:58] <sherr> funkiwan: still looking at raid problems? Any progress?
[07:58] <twb> Kutakizukari: that question makes no sense.
[07:58] <funkiwan> sherr: i am
[07:59] <funkiwan> sherr: seems that my machine is stuck in a loop. you can see the general output here: http://pastebin.com/XhFWNvA2
[08:00] <sherr> funkiwan: always kicked as a "spare" and always sda ?
[08:00] <Kutakizukari> twb, lookup Using aliases to speed up checkout on this page. http://drupal.org/node/320
[08:00] <funkiwan> sherr: yep
[08:01] <sherr> Check cables and connections to sda etc. - who knows.
[08:01] <sherr> Have you tried running "smartctl" on it - see the SMART disk status?
[08:01] <Kutakizukari> twb, says to put it in home directory I did that but did not work maybe /var is the home dir to use?
[08:02] <Kutakizukari> or /var/www/
[08:03] <funkiwan> sherr: i did run smartctl on it, with -t
[08:03] <funkiwan> sherr: and then looked at the test log and it looked clean
[08:04] <sherr> Maybe : smartctl -iHa /dev/sda
[08:05] <funkiwan> sherr: just put my head down to the drive. heard what sounded like a small pop, followed by what sounded like a drive spinning down, and then spinning up
[08:05] <sherr> Well - bad drive I would say. Check the smartctl command on it - but whatever, sounds like you should replace.
[08:08] <funkiwan> sherr: not quite sure how to read the output: http://pastebin.com/6QeFKEYr
[08:11] <sherr> Well it thinks all is well - healthy. However, from what you say, the disk is suspect/bad. So, if I was you, I would replace.
[08:18] <funkiwan> i just tried /dev/sdb for shits and giggles. problems: http://pastebin.com/guprGzW1
[08:20] <funkiwan> and now /dev/sda1 is listed as faulty
[08:21] <sherr> Well, sda has "Reallocated_Sector_Ct" at 5 - which could be a failing indicator, otherwise passed/healthy.
[08:22] <sherr> Maybe try - different cables, different disks, check connections. All assuming you have backup of all your important data. Good luck.
[08:23] <funkiwan> sherr: thanks for your help.
[09:02] <alveraan> My python interpreter starts but all imports fail with an ImportError. Even modules in the standard library fail. Tried purging, then reinstalling all python packages but to no avail.
[10:12] <SandGorgon> hi guys.. need help on openvpn. I need to setup openvpn on a hosted machine which runs a reverse proxy, so that incoming requests to that hosted machine can be forwarded to specific clients (that connect using network-manager-openvpn). My config doesnt seem to work.. and I cant figure out routing.. help
[10:15] <_ruben_> after reading the thrice i still dont understand what you're trying to achieve
[10:26] <SandGorgon> _ruben_, sorry.. lemme try again
[10:28] <SandGorgon> we ought to connect to open-vpn server and get private ip addresses. Someone sends a request to say <openvpn server's ipaddress>:port 8080, then a reverse proxy routes that request to a particular private ip. a different request to port 8081 is routed to different private ip...
[10:29] <_ruben_> ah, that's a bit more clear
[10:29] <_ruben_> what have you tried so far ?
[10:33] <SandGorgon> I havent gotten to the reverse proxy part yet - for starters, I'm trying to setup openvpn, so that I can go to whatismyipaddress.com and see my vpn server's address
[10:34] <SandGorgon> I have used a particular configuration and all... but I'm simply unable to connect to my server (using my Ubuntu network-manager's VPN tab)
[10:34] <_ruben_> SandGorgon: for that site to work as you'd expect you'd have to route *all* your traffic over the vpn, as for just providing access to certain sites only a few static routes might be neeeded
[10:35] <SandGorgon> _ruben_, true.. I'm just trying to work my way up from simple to more fine-grained
[10:35] <persia> Routing all traffic over the VPN is good practice anyway, if the bandwidth is available : there are a number of ways to use separated networking to arrange a back-door into a private network.
[10:36] <_ruben_> persia: that highly depends on the scenario i'd say, i'd say for this scenario, its "overkill"
[10:36] <SandGorgon> are there any openvpn 2.0 configs that I can take a look at - and do I need to mess around with iptables before I can even begin to attempt to connect to my vpn server ?
[10:37] <persia> _ruben_: It's unrelated to the scenario, but yes, it may be overkill.
[10:37] <persia> (or at least paranoid networking)
[10:39] <_ruben_> i really dislike vpn solutions that override your default gateway .. it tends to break more than it solves
[10:47] <SandGorgon> _ruben_, a lot of people surf the internet using VPNs... in that case does it not override the default gateway ?
[10:50] <persia> SandGorgon: Depends on the VPN config.  Both methods are in common use.
[10:52] <SandGorgon> persia, any "10-step tutorials" that I can take a look at... I'm a bit overwhelmed by the amount of config options, tun vs tap, tcp vs udp and bridged interfaces
[10:53] <persia> SandGorgon: I don't know of any.
[10:54] <persia> SandGorgon: This is not meant to imply they don't exist: I also haven't every looked for any
[10:54] <SandGorgon> persia, oh ok
[11:02] <_ruben_> SandGorgon: vpns in general tend to have a fairly steep learning curve, but once you wrapped you head around the first few hurdles, a lot of the complexity fades away
[11:02] <_ruben_> the openvpn documentation itself is fairly decent in my eyes, but i must admit i've been building vpns for several years
[11:04] <_ruben_> btw, the reverse proxy setup might be overkill as well .. if its just about making a select few internal sites available to external vpn users, just push routes pointing to those server to the vpn client
[11:05] <_ruben_> as tun (routed) versus tap (bridged), tun tends to be most suitable for most cases ... and using udp will give best performance, but using for instance tcp on port 443 will be more firewall friendly (in strict (enterprise) environments)
[11:10] <SandGorgon> _ruben_, actually use case is a little different - we have certain secure web interfaces (that may be under development at different times by different developers) - these web interfaces have to be made available to the people outside our organization (on a temp basis). This is why, we need to forward incoming requests to the vpn server to specific vpn client machines
[11:18] <maxagaz> how to egrep a number from x to in  file ?
[11:19] <erichammond> maxagaz: I couldn't parse your question.  Perhaps you could provide a specific example of what you're looking to do.
[11:30] <pjanecze> hi, i have ftp server and want to allow for user to read, execute but not to remove file. Someone know how to do this?
[11:32] <persia> pjanecze: Don't give the user write access to the directory.
[11:32] <persia> (this also prevents upload, as a side effect)
[11:32] <pjanecze> but it as you say remove upload
[11:33] <pjanecze> i want only to not remove files
[11:36] <pjanecze> is it possible?
[11:37] <persia> Not with traditional UNIX permissions.  You may be able to do something with the ftp server configuration (to make it not actually comply with the RFC), or with advanced permissions of some sort.
[11:38] <persia> But that means reading lots of details about how your selected ftp server works: I don't believe there is a common solution.
[11:40] <pjanecze> thanks, I see it's problem. I will do hard links to all files, think that it's some easier way
[11:56] <dayo> my onboard NIC has got a shaky lan port. i want to install a NIC but have it be eth0,not eth1. how do i do this?
[12:02] <sherr> dayo: there are some persistent udev rules you can use. Have a look in /etc/udev/rules.d
[12:02] <sherr> "persistent-net"
[12:08] <SandGorgon> _ruben, I hae managed to connect to VPN.. however my regular internet stops - I guess that's a feature. How do I keep my internet going inspite of the VPN ?
[12:09] <persia> SandGorgon: Route through your concentrator :)
[12:12] <SandGorgon> persia, cryptic.. I give up.. english please ;)
[12:13] <persia> SandGorgon: Look at the routes on your client.  I believe by default, everything is being routed through the VPN.  Set up the other endpoint of the VPN to route those packets somewhere useful.
[12:13] <persia> Alternately, set up split routing on the clients.
[13:36] <zul> morning
[14:43] <SandGorgon> hi guys.. how can i ensure that only traffic meant for the VPN's private network (10.8.0.x) goes through VPN and everything else goes through the regular internet ? I would prefer doing it using some directive in the server, so it just works on windows and linux
[14:45] <pmatulis> SandGorgon: is that possible?  modifying the remote host's routing table would require superuser privileges
[14:46] <SandGorgon> pmatulis, http://schinckel.net/2008/04/30/openvpn-and-default-gateway/  I do not understand it completely yet though
[14:47] <pmatulis> not sure if i trust that face
[14:48] <pmatulis> SandGorgon: so that file he's referring to is on the remote host
[14:49] <SandGorgon> pmatulis, seems like it
[14:49] <pmatulis> SandGorgon: but that's not what you're asking
[14:50] <SandGorgon> pmatulis, I understand what you are saying - I'm just asking for any rule that will cause the tun interfaces on the client to reject traffic not intended for the private subnet
[14:50] <_ruben> SandGorgon: show us your openvpn server/client configs, you probably either tell the client to override the def gateway, or you push a default gateway from the server
[14:52] <pmatulis> SandGorgon: just configure your remote host accordingly
[14:58] <SandGorgon> _ruben, here is my server config http://paste.ubuntu.com/394057/ - I dont actually use a client config, because I want to work within the GUI of network-manager-openvpn (I have only given it the certificates... it connects fine)
[14:59] <_ruben> SandGorgon: odd, redirect-gateway seems disabled
[15:03] <SandGorgon> how can I check what gateways do I get (as a client), once I connect to the VPN ? I'm able to ping the VPN server though
[15:03] <diago> route -n
[15:08] <SandGorgon> here r my routes - http://paste.ubuntu.com/394064/
[15:12] <SandGorgon> ah.. seems to be an issue in network-manager-openvpn... esoteric combos of settings
[15:27] <jo-erlend> i need some advise. i'm going to place a server in a colocation center this month and i'm going to install ubuntu server on it. i want to use lucid, but should i install karmic now and upgrade later or is it fairly safe to install lucid now?
[15:33] <genii> jo-erlend: I don't think anyone would recommend running alpha/beta OS on a production box
[15:35] <pmatulis> jo-erlend: consider a pre-production test phase
[15:36] <jo-erlend> right. but is it safe to assume that an upgrade from karmic will be unproblematic?
[15:36] <pmatulis> jo-erlend: no
[15:36] <_ruben> nor will running lucid in production now
[15:37] <_ruben> upgrades *should* go smooth, but there's no guarantees
[15:38] <jo-erlend> ok, i have ip-kvm access to it, so i guess i'll go with karmic then.
[15:40] <jo-erlend> i am concerned about hardware support regressioms though, but the old kermel will still be available after upgrade, right?
[15:42] <_ruben> do a test install with lucid to check for hardware support, then reinstall with karmic
[15:43] <jo-erlend> i think i'll do that. thanks.
[15:45] <reading> hello.
[15:47] <reading> Does anyone know that Intel s5000pal mainboard 's raid 1 can run in 9.10 server?
[15:47] <reading> thank you .
[15:54] <_ruben> reading: most onboard raidchips are merely fakeraid, and using mdadm to do full software will probably give you more control and performance
[15:54] <_ruben> full software raid i meant
[15:58] <reading> I think software raid need more resouces than hard raid. So I buy a new machine which with intel s5000pal. But I found installer  couldn't found hard disk when I open the raid 1 in BIOS.
[15:59] <reading> thank you  _ruben.
[16:01] <_ruben> reading: depends, if its fakeraid, it'll still use the cpu for most tasks, if its real hardware raid, then you're probably better of actually using that, assuming you can find drivers for it (if not included in the kernel)
[16:02] <_ruben> after a quick google it seems to be fakeraid
[16:03] <reading> lol..... fakeraid..  ..Profiteer
[16:05] <clinton> Can I control the installation graphics mode for Ubuntu Server?
[16:09] <NCommander> coffeedude: ping?
[16:09] <reading> to _ruben: when I installing ,the ubuntu installer will ask me :"one or more raid ...found ...active the raid driver?"  .Does that means this is a soft raid?
[16:11] <_ruben> reading: i think so, i never bothered to mess with fakeraid+linux
[16:14] <reading> to _ruben:thank you very much!Tomorrow I will "fix" the Profiteer.He tell me it's a hard raid. T-T
[16:15] <reading> to  clinton : graphics mode for server install? I aways install it at text mode.
[16:27] <reading> good bye every one.
[16:28] <jiboumans> smoser: https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/531494 just got updates from foundations with requests for more information. please take a look
[16:29] <smoser> jiboumans, i responded.
[16:30] <smoser> mathiaz, i attempted to boot an instance in DC right now, but it appears the metadata service is down for an instance
[16:30] <mathiaz> smoser: have you reinstalled the cloud?
[16:30] <smoser> no
[16:30] <smoser> it was running, i just added a image and booted
[16:30] <mathiaz> smoser: ok - it's probably not working as I was working on getting the multi-network installation setup correclty
[16:31] <smoser> right.
[16:32] <mathiaz> smoser: I'd like to keep working on that today
[16:32] <mathiaz> smoser: so I'd say the DC UEC is not working for now
[16:33] <smoser> mathiaz, well i am not really here right now... have to run, but if you, or anyone could get /var/log/udev from a successful boot of https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/531494
[16:33] <smoser> then i'd be much obliged.
[16:34] <smoser> it seems that on the DC we usually successfully boot, but on kirkland's system, we ususally fail
[16:34] <mathiaz> smoser: ok
[16:34] <smoser> mathiaz, but, in order to get that, you'll have to have a working MD service
[16:34] <mathiaz> smoser: yeah - the current UEC in the DC is on a multi-network installation
[16:35] <mathiaz> smoser: may the CLC isn't able to talk to the NC
[16:35] <mathiaz> smoser: or the guest in the NC
[16:35] <smoser> right... itst that bug we saw before.
[16:35] <smoser> i think maybe it was postponed form alapha3
[16:35] <smoser> we'd seen it before.
[16:36] <smoser> but anyway, if you can at some point get a working instance and grab /var/log/udev that would be great.
[16:38] <smoser> mathiaz, i posted comments in that bug... if you could, that would be fabulous.
[16:38] <smoser> if not, i'll get to it Sunday.
[16:38] <mathiaz> smoser: ok
[16:39] <smoser> basically, get instance, boot, grab /var/log/udev
[16:39] <smoser> most of the time "boot" works in DC, but not other places
[16:39] <smoser> :-(
[16:40] <smoser> see you all later.  If i'm needed, please feel free to call my cell phone (listed in ldap). i'll check that bug also from time to time. i'm traveling rest of the day.
[17:03] <wack479> Sherr: are u in here today?
[17:12] <wack479> sherr!!!!!!
[17:12] <wack479> u there?
[17:15] <sherr> wack479: Hey!
[17:16] <sherr> How are things today? Any news on the raid?
[17:16] <wack479> yes!
[17:16] <wack479> it was a conflict between dmraid (device mapper) and mdadm
[17:16] <sherr> Aah.
[17:17] <wack479> something similar to this bug i found
[17:17] <wack479> https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/442735
[17:17] <wack479> yep
[17:17] <sherr> Is it build now?
[17:17] <sherr> built
[17:17] <wack479> 4.7%
[17:17] <wack479> its 4TB worth of space, so its gonna take a while
[17:17] <wack479> lol
[17:18] <sherr> Right large disks .... :-)
[17:18] <sherr> This is why we need ext4 as well .... fsck times!
[17:18] <wack479> exactly!!!!
[17:18] <sherr> How did you fix it?
[17:19] <wack479> sudo apt-get remove dmraid
[17:19] <wack479> lol
[17:19] <wack479> then mdadm -create....
[17:20] <sherr> I'll like to read the bug more carefully - it's open and "undecided". I am interested in why dmraid takes "charge" here and screws up mdadm ...
[17:21] <wack479> yeah its weird
[17:21] <wack479> but thats how i fixed it
[17:21] <sherr> Maybe something in your BIOS - SATA RAID, fakeraid?
[17:22] <sherr> Anyway - thanks for reporting back and good that it's sorted!
[17:23] <nevans> does anyone in here know how I can diagnose an ext3 directory's metadata size (NOT "du -sh")?  `ls -lah /var/log 2>/dev/null | head -2 | tail -1 | awk '{print $5 }'` is 156M on one of my servers, with `ls -1 | wc -l` => 101
[17:24] <sherr> nevans: what do you mean "metadata size"
[17:24] <sherr> ?
[17:24] <nevans> sherr: what "ls -l" reports as the size for the dir.
[17:25] <nevans> normally it only shows 4K or maybe 8K if I've got thousands of directory entries.
[17:26] <nevans> but in this case, it's showing 156M.
[17:26] <nevans> And the first time I "ls" the directory, it takes over a minute to display anything (presumably because it has to read all 156M into memory before it can work)
[17:29] <wack479> sherr: np!
[17:30] <sherr> nevans: just having a look at the man page. ls -l displays a "total" in blocks.
[17:30] <sherr> ls -ls - the total per listed file in blocks.
[17:31] <sherr> You are talking about the "total=" line?
[17:32] <nevans> sherr: no, not the total line, the one just after it.
[17:34] <sherr> I don't have anythng after it. An "ls -l" gives me a "total N" line and a list of files/dirs one per line after.
[17:34] <nevans> https://gist.github.com/694ee0892949a0903315
[17:35] <nevans> use the -a option.  :)  it's the "." entry.
[17:35] <sherr> OK. Right ... lots of files somewhere.
[17:36] <sherr> What about a : du -k /var/log | sort -n 2>&! > /tmp/sizes (if you have space there)
[17:36] <sherr> Or maybe "sort -rn | less" YMMV
[17:38] <sherr> Or just a "find /var/log -type f" to a file/console?
[17:38] <nevans> sherr: most of the dir is in one file that isn't being rotated properly.  /var/log/btmp is 900M, and the rest of the dir (inluding subdirs) is only 300M.
[17:41] <nevans> someone in another channel suggested it might be unlinked inodes that would go away after a "fsck".  we had a seriously misconfigured logrotate at some point in the past, which made millions of /var/log/foo.log.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.gz etc files
[17:42] <sherr> Wow ... bad. So "btmp" is a failed login attempt file. Tell you something?
[17:43] <sherr> Never had a problem. The largest I have anywhere is 0 bytes :-)
[17:43] <nevans> I'm just a little bit afraid to reboot this server anytime soon.  I've inherited it, and the previous admin made it a single point of failure (we're using mysql nss and can't easily log into the other servers when this server is down)
[17:44] <sherr> I think it is safe to delete /var/log/btmp (will get recreated)
[17:45] <nevans> I'll try that too.
[17:45] <sherr> But not sure how trustworthy the system is if that file is so big. last -f /var/log/btmp
[17:45] <nevans> even so, no matter how large that particular file is, it should only account for one dirent on ".", right?
[17:46] <sherr> I'd dump a list of all the files/dirs and trawl through it. Sounds like things are a bit messy.
[17:47] <pjanecze> do someone have experience with firefly (mt-daapd)?
[17:52] <nevans> sherr: thanks for your help.  :)
[17:55] <sherr> nevans: not much help - but interested. Good luck - please report in any developments :-)
[18:11] <timboy> need some help with dhcp. I've got it all set up correctly but I can't access internet from machines connected to dhcp
[18:12] <timboy> I'm on the server right now and dhcp server declaration is probably to fault...
[18:12] <sherr> timboy: on the client, is the gateway & broadcast addr correct?
[18:13] <sherr> As a sanity check - can you definitely manually config the ethernet setup and have it work i.e. internet access?
[18:13] <sherr> On the client?
[18:21] <timboy> sherr, sorry, everything looks good to me. I may not have the right settings going to them. I've got my phone providing dhcp to my laptop via usb and from there I'm trying to give internet to my switch...
[18:22] <timboy> settings on machines are taking.
[18:28] <sherr> Well, phone/usb/switch/dhcp isn't a configuration I've used ... but it's not rocket science, so should be fixable. Not sure it's a #ubuntu-server topic though.
[18:29] <timboy> settings phone provides to my laptop are 192.168.0.202 ROUTE and 192.168.0.202 DNS laptop IP is 192.168.0.11
[18:30] <Ichat> when running  8.04 server, i tried installing transmission-cli  and  transmission-daemon   -  now when connecting to the  webUI local  it runs (fine?)  - but no remote access -   now when i look for    /etc/transmission-daemon.settings.json  its NOT there...   but the app stil works (local) - how can i fix )
[18:30] <timboy> i set my dhcp server subnet to 192.168.1.0 and dns server 192.168.0.202
[18:31] <sherr> timboy: "ifconfig -a" might be useful - plus a network topology maybe. Plus "ping" diagnostics? But sorry ... food beckons for me :-)
[18:31] <sherr> subnet seems odd? Others are 192.168.0.0/24 I assume. Subnet is .1.0? Anyway - back later ...
[18:39] <pmatulis> is it possible to set up a single ssh forced command for rsync (no remote daemon) that will allow *mulitple* source directories to be transferred to the local host?  a catch-all that will avoid me having to update authorized_keys when i add a directory for saving
[18:41] <Kutakizukari> Tried to create an alias at sudo gedit ~/.bashrc I created my code from the docs here: "http://drupal.org/node/320" under Using aliases to speed up checkout. When I try my checkoutdrupal I get command not found. What I'm I doing wrong?
[18:42] <pmatulis> Kutakizukari: i didn't open the link but did you source ~/.bashrc ?
[18:43] <Kutakizukari> pmatulis, I added my code to .bashrc at ~/
[18:44] <pmatulis> Kutakizukari: try 'source ~/.bashrc'
[18:46] <Kutakizukari> pmatulis, I type "source ~/.bashrc" nothing happened.
[18:46] <pmatulis> Kutakizukari: now: 'alias checkoutdrupal'
[18:50] <Kutakizukari> pmatulis, returns "alias checkoutdrupal='cvs -z6 -d:pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal export -r DRUPAL-6-16 drupal'".
[18:50] <pmatulis> Kutakizukari: good work
[18:50] <Kutakizukari> remove alias
[18:50] <pmatulis> Kutakizukari: what?
[18:51] <Kutakizukari> that is what it returns but no download
[18:51] <Kutakizukari> under dir /var/www/
[18:52] <pmatulis> Kutakizukari: well then your command is faulty.  can't help there.  you alias is as you wanted it
[18:52] <Kutakizukari> pmatulis, hmmm typed in just checkoutdrupal and now it downloads what did source do.
[18:52] <pmatulis> Kutakizukari: right, type just the alias name
[18:53] <Kutakizukari> pmatulis, I was doing that before but it was not working.
[18:53] <pmatulis> Kutakizukari: source command "sourced" your .bashrc file.  your system does this whenever you log in.  you, however, did not log in so we did it manually
[18:54] <Kutakizukari> pmatulis, do I need to type source it everytime restart my computer?
[18:55] <pmatulis> Kutakizukari: i said that this is done automatically whenever you log in
[18:55] <pmatulis> Kutakizukari: so "no"
[18:55] <Kutakizukari> pmatulis, thank you for the help!
[18:55] <pmatulis> Kutakizukari: keep on truckin'
[19:03] <Ichat> anyone here familiar with  transmission-daemon
[19:35] <hggdh> kirkland: willing to consider a change in testdrive to allow user config files to live under ~/.config/testdrive (and using optparse)?
[19:35] <kirkland> hggdh: hmm, i thought i added that
[19:36]  * kirkland checks code
[19:36] <kirkland> for i in ("/etc/%s" % PKGRC, "%s/.%s" % (HOME, PKGRC), "%s/.config/%s/%s" % (HOME, PKG, PKGRC)):
[19:36] <kirkland> hggdh: it sources the files in that order, if they exist
[19:37] <kirkland> hggdh: i don't know what "optparse" is though
[19:39] <hggdh> kirkland: yes, it goes through /etc/, ~, and ~/.config/testdrive, but the user config file name is fixed on 'testdriverc'
[19:40] <kirkland> hggdh: is that bad?
[19:40] <hggdh> I need to have slightly different config files for tests
[19:40] <kirkland> hggdh: what would you like to call it?
[19:40] <dasunsrule32> What is the command to change whether a file can be modified at the filesystem level? Not permissions, chmod, etc?
[19:41] <hggdh> so I added in a fourth option -- either a fully-qualified file name, or one off ~/.config/testdrive
[19:41] <kirkland> hggdh: so just that file, not a directory?
[19:41] <hggdh> kirkland: just *any* file -- for example, I have to test with no network access, and with network access
[19:42] <hggdh> kirkland: and they still all add up, overriding as it does now any changed value
[19:42] <kirkland> hggdh: sure, sounds perfectly reasonable to me
[19:42] <hggdh> kirkland: optparse is the python implementation for getopt
[19:42] <kirkland> hggdh: please file a bug, create a branch, propose a merge
[19:43] <hggdh> kirkland: will do, thank you
[19:43] <kirkland> hggdh: we might have trouble getting a FFe for the getopt change
[19:43] <kirkland> hggdh: i'll assume you'll run with that one :-)
[19:43] <kirkland> hggdh: but it's in universe, so it shouldn't be too hard
[19:43] <kirkland> hggdh: cheers ;-)
[19:43] <hggdh> kirkland: heh, yes. But there is no getopt change, optparse comes in the standard python library
[19:43] <kirkland> hggdh: sweet, okay, i'm game
[19:44] <kirkland> hggdh: the current parsing is fragile :-)
[19:44] <hggdh> bug will be created in a few (as soon as I am done with $CURRENT_TASK
[19:44] <hggdh> kirkland: rather fragile, yes
[19:47] <blackxored> hi guys
[20:15] <kees> kirkland: I've assigned bug 525425 to you; will you have time to check that?
[20:47] <marsje> Hi. Can anyone tell me how I can start X windows and start an X app automatically at boot?
[20:47] <marsje> I have installed xfce4 and xdm, but it doesn't seem to work out of the box...
[20:47] <marsje> I get a login screen, but after login I get back at the command line login prompt
[20:49] <erichammond> marsje: I have the exact same requirement for a work project.  However, the #ubuntu-server channel is probably not the best place to ask questions about X.  You might try #ubuntu
[20:50] <marsje> erichammond: I was asking here since I'm using Ubuntu Server as my starting point
[20:50] <marsje> erichammond: if I was using Ubuntu Desktop I wouldn't have this question :)
[21:06] <sherr> marsje: Servers usually don't have X installed, hence the #ubuntu comment. Are you saying that you run a desktop XFCE? And it doesn't start?
[21:07] <jeeves_Moss> can anyone here give me sudgestions on how to repair a server that's coming up with "wrong kernel for CPU"?  I have a server sitting @ a site location with UNTRAINED staff that I need them to repair to remotley
[21:11] <sherr> jeeves_Moss: No other kernel to boot?
[21:12] <jeeves_Moss> sherr, apparently, when it boots, that's ALL they get (including booting from a live CD?)
[21:12] <jeeves_Moss> sherr, http://pastebin.ca/1836013
[21:14] <sherr> What's a "bantu disk image"?
[21:14] <marsje> sherr: the plan was to run it headless, but one required app needs X, so I want to install a very lightweight desktop
[21:14] <jeeves_Moss> sherr, it was a type-o
[21:14] <marsje> sherr: I installed the xfce4 package and I can start it using startx, but I would like it to start automatically at boot
[21:15] <sherr> Looks like they're installing an amd64 x64 ISO - try the i686 version
[21:16] <jeeves_Moss> sherr, ok, once they get the "right" disk, what should they do?
[21:17] <sherr> jeeves_Moss: Don't know. What's installed on the machine?
[21:18] <jeeves_Moss> ???
[21:20] <sherr> Is Ubuntu installed on the machine or are you doing a fresh install?
[21:20] <sherr> Are yoyu "rescuing" a broken system?
[21:21] <jeeves_Moss> sherr, I'm rescuing a system
[21:21] <sherr> So - try "fix a broken system" using an i686 live CD perhaps.
[21:22] <sherr> The error in your pastebin says "This kernal requires an x86-64 cpu, but only detected an i686-cpu"
[21:23] <jeeves_Moss> sherr, do you have the link to the CORRECT live CD they should d-load?
[21:23] <sherr> What vrsion of Ubuntu do you have installed?
[21:24] <jeeves_Moss> sherr, I think it's 9.01.  it's been a long time since I messed with it
[21:24] <sherr> You might be best to find out .... if you want to use the right rescue CD.
[21:25] <sherr> CD image mirrors : https://launchpad.net/ubuntu/+cdmirrors
[21:25] <jeeves_Moss> sherr, thanks.
[21:25] <sherr> e.g. http://ftp-stud.fht-esslingen.de/Mirrors/releases.ubuntu.com/karmic/
[21:26] <jeeves_Moss> sherr, thanks
[21:26] <sherr> That's assuming 9.10 (karmic) - Use an i386 CD.
[21:26] <sherr> No prob. Good luck.
[21:26] <jeeves_Moss> sherr, as long as we can get them to boot the live CD, then I can get the kernel issue fixed
[21:27] <cj> anyone here know who's responsible for the @lists.ubuntu.com domain?  It really needs a SPF entry.
[21:28] <cj> sorry for being OT... just don't know where to send the question.
[21:39] <|eagles0513875|> hey guys
[21:39] <|eagles0513875|> im having some weird keyboard issues with a usb keyboard on an ibm server
[21:44] <cj> |eagles0513875|: anything interesting in the output of dmesg?
[21:44] <|eagles0513875|> cj: operator error cable was not plugged in right into the router
[21:45] <|eagles0513875|> funnily enough that made a difference on keyboard responsiveness strangly enough
[22:19] <devmod> Hi
[22:20] <devmod> Any recommendations on some sort of web based system monitoring utility on ubuntu-server repo? (mostly interested on cpu/mem usage )
[22:39] <sherr> devmod: a few options : cacti, munin, mrtg (all rrdtool based I think)
[22:41] <Aison> evening
[22:42] <Aison> I installed ubuntu server on my p4 2.4ghz. Installation was no problem, but when I reboot I allways get the message that no boot data was found.
[22:42] <Aison> altough the drive is detected by the bios
[22:59] <devmod> sherr, thanks
[23:23] <jayvee> I haven't seen mrtg for years.
[23:35] <hggdh> kirkland: I have yet another change to testdrive... I would like to be able to have my ISO cache in one place, and the IMG on another
[23:35] <hggdh> kirkland: more to the point, the IMG cache on /dev/shm (so that it will be faster to test ;-)
[23:36] <hggdh> kirkland: can I submit Yet Another Branch? :-)
[23:45] <kirkland> hggdh: i use symlinks
[23:45] <kirkland> hggdh: my caches are in different places too, as i don't want them in my encrypted home
[23:50] <hggdh> kirkland: hum. What I would like to get is the user not needing any other action but configuring testdrive/running it
[23:50] <hggdh> and I would like to provide the QA tests with pre-set configs for some tests
[23:51] <hggdh> and, of course, have a lot of them testers running testdrive