[00:19] <RoyK> this is quite nice
[00:19] <RoyK> I'm home sick with a leg in a cast, boss sent me ane sms "are you logged onto the dhcp server?" replied "huh?"
[00:21] <RoyK> he called me minute later, the dhcp servers had been down for half an hour or so, I checked /var/log/daemon.log, complaints about timesync between  the two servers, installed and configurd ntp, restarted ntpd, dhcpd, done, about a minute work, and boss was like WTF did you do?
[00:21] <ScottK> To which you replied "Fixed it - now where's my check?"
[00:22] <RoyK> I'm called in sick, his only reply was 'well, roy, you've done your job today again :)'
[00:22] <RoyK> I love debugging unices when I get to the point quickly
[00:23] <RoyK> those windoze nerds just bladder and can't understand how something can be fixed that easily, or quickly
[00:23] <RoyK> and WITHOUT A REBOOT
[00:28] <yann2> reminds me when I started virtualising windows... "what a terrible idea! How will users press the reset button now when its being slow?" (true story sadly)
[00:29] <RoyK> :)
[00:29] <RoyK> windoze is defective by design
[00:30] <pmatulis> yann2: did you ever get more info re 'kvm and memory usage'?
[00:30] <yann2> pmatulis, nope...
[00:30] <pmatulis> yann2: k
[00:30] <RoyK> yann2: what was that about?
[00:30] <yann2> is a vm with postgres, still swapping when having plenty of filecache, still no idea, still thinking I should add more ram
[00:31] <RoyK> google swappiness
[00:31] <yann2> thought about that, but didnt know what to set it to
[00:31] <RoyK> linux will start swapping out things quite early by default
[00:31] <yann2> and a good value for that is quite disputed
[00:31] <RoyK> it's a good thing to swap out crap you don't need in ram
[00:32] <yann2> and actually pmatulis told me not to, I think my original questoin was "what should i set swappiness to" :)
[00:32] <yann2> RoyK, when 60% of ram is used it starts to get me worried
[00:32] <RoyK> default value is 60
[00:32] <RoyK> I usually set it to 100
[00:33] <RoyK> yann2: the point is that you want as much memory usable as possible, stuff hanging around eating memory is of no use
[00:33] <yann2> but when its claimed back it might take a lot of i/o, more than some filecache
[00:34] <yann2> plus on a postgres VM, filecache is probably the db files... and swap the postgres memory
[00:34] <RoyK> not necessarily, swapped out doesn't mean released from memory
[00:34] <yann2> I meant used back, or read back :)
[00:35] <RoyK> swapped out is an old term, these days things get swapped out and not released from memory
[00:35] <yann2> just with a postgres vm, you end up having postgres trying to read as much as possible into memory, and the filesystem doing the same for the same data
[00:35] <RoyK> so that the memory contains the data, but can release it quickly, or release it from swap
[00:36] <RoyK> I don't think postgres has any caching
[00:36] <RoyK> it just relies on the filesystem buffers
[00:37] <RoyK> yann2: don't care too much about how much is swapped out - care about i/o load
[00:38] <yann2> wonder what  it uses 600M ram for then :(
[00:38] <RoyK> if sar/sysstat/vmstat/something tells you wio is high, well, that's an indicator for need of more memory
[00:38] <yann2> RoyK, the thing is, it's a very sensible VM, if it runs out of memory it might kill my data
[00:38] <RoyK> yann2: don't bother
[00:38] <yann2> and it would be good
[00:39] <yann2> I certainly dont want my VM to run out of ram... and monitoring the swap is the best way I know to monitor it
[00:39]  * RoyK guesses that last one should be 'no good'
[00:39] <yann2> no good yes :P
[00:39] <yann2> although its boring finance stuff :)
[00:39] <RoyK> how is the i/o load of the vm?
[00:40] <yann2> has pikes
[00:40] <RoyK> on average
[00:40] <RoyK> apt-get install sysstat
[00:40] <RoyK> enable it in /etc/default/sysstat
[00:40] <RoyK> start it
[00:40] <yann2> pasted you a link in private
[00:40] <RoyK> that will show you io load over time
[00:40] <yann2> with detailed stats
[00:41] <RoyK> well, that's ok
[00:41] <RoyK> some spikes, but overall just fine
[00:42] <yann2> maybe I should change my swap alerts levels
[00:42] <RoyK> I really wouldn't worry about that
[00:43] <RoyK> you're hardly using swap at all
[00:43] <yann2> got an alert at 40% :)
[00:43] <RoyK> and the memory stats look good
[00:44] <RoyK> disk i/o load is close to zero
[00:44] <RoyK> so don't worry
[00:44] <yann2> like collectd? :)
[00:45] <RoyK> well, add a truckload of memory and you might gain 10% performance
[00:45] <RoyK> your system is not under heavy load
[00:46] <yann2> I know :) just concerned its sometimes swapping out 400MB when it has 500MB filecache
[00:46] <RoyK> linux does that
[00:46] <RoyK> it swaps out stuff not in use
[00:46] <RoyK> so that the memory can be used for something useful
[00:46] <yann2> k
[00:47] <RoyK> at swappiness = 60, being the default, it's quite moderate
[00:48] <RoyK> at 100 it's a little more triggerhappy, better for most systems, at least those with low memory
[00:48] <RoyK> low memory being < 200% needed of the apps
[00:59] <Ph0t0nix> hi all
[01:00] <Ph0t0nix> could anyone help me recovering grub2 on a software RAID?
[01:01] <RoyK> after an upgrade from 8.04?
[01:08] <hallyn> jdstrand: is bug 696318 something you've ran across before?
[01:17] <pmatulis> yann2: what disk format are you using with your plagued guest?
[01:20] <quentusrex> Anyone familiar with Supermicro ipmi on Ubuntu 10.04 or 10.10?
[01:21] <yann2> qcow2 pmatulis , on local disk
[01:21] <yann2> its not THAT plagued
[01:22] <yann2> sent you the graphs in pv
[01:24] <yann2> anyway its late here, I think I'm off to bed :) see you tomorrow, and thanks to both of you for your help
[01:43] <Frenk> Hey, I have a strange issue with hostnames on ubuntu. When I send an e-mail there is a line:  Received from damdamdam.org (ip6-localhost [127.0.0.1]) but my hosts file does not have damdamdam.org ...
[01:52] <qman__> Frenk, mail is sent "from" the mailname you specified when configuring your mail server
[01:54] <Frenk> qman__: I mean something else: the from adress is okay. But when I open all headers: Received from damdamdam.org (ip6-localhost [127.0.0.1]) by myrightdomain.org (Postfix) with ESMTP id 223 for <testmail@gmail.com>; Tue, 4 Jan 2011 02:32:41 +0100 (CET)
[01:55] <Frenk> and I want to get rid of damdamdam.org
[01:55] <qman__> yes, this is what I'm talking about
[01:55] <qman__> that name is the system's mailname
[01:55] <qman__> what that name is has nothing to do with DNS, though you're supposed to choose a DNS accurate name
[01:56] <Frenk> cat /etc/post*/main.cf | grep my >>> myhostname = myrightdomain.org
[01:57] <qman__> that is not the mailname
[01:57] <qman__> cat /etc/mailname
[01:58] <Frenk> output is: static.MY-IP-ADRESS.clients.HOSTER.com
[02:00] <qman__> well, if it's coming from somewhere else, grep -R damdamdam.org /etc
[02:00] <qman__> might be the sender specifying that in headers too
[02:10] <Frenk> qman__:  I found smth but there are all domains listed that Im using. I just run grep for / ... waiting ..
[02:27] <fubada> anyone use Adaptec 2240900-R?
[02:27] <fubada> or Rosewill RC-218
[02:28] <fubada> need more sata ports for my sw raid not sure which is best for ubuntu
[02:34] <twb> I don't use hardware raid.
[02:35] <fubada> i dont either
[02:35] <fubada> i want to use sw raid
[02:35] <fubada> i just need more ports.
[02:35] <twb> If you just need SATA sockets for your md RAID, just buy a $10 SATA controller card.
[02:35] <twb> It shouldn't matter a damn as long as you can say "don't fakeraid", which most can -- and if the one you get can't, just buy another $10 card with a different controller.
[02:36] <fubada> the rosewill is the only option i found on newegg thats nonraid, 4xsataII,
[02:36] <fubada> pci-e 4x
[02:36] <twb> They all CLAIM to be raid, but it's fakeraid
[02:36] <fubada> yes i know
[02:36] <twb> don't worry about it
[02:36] <fubada> i was lookng at a 3ware card but thats way overkill
[02:36] <fubada> i dont need 300mb/sec
[02:36] <twb> Just buy three $10 ones of different makes (and chipsets, if you can confirm that)
[02:37] <twb> One of them will work and support "no raid" as an option
[02:37] <fubada> heh in my case i can only use 1. its on a atom ion2
[02:37] <fubada> 1xpci-e
[02:37] <twb> Yes, but buy three at once so you have a better chance of ONE of them working
[02:37] <fubada> LOL
[02:37] <fubada> oh its like that
[02:38] <fubada> thanks
[02:53] <qman__> I have a couple promise TX4s
[02:53] <qman__> the only features you might be interested in are NCQ and friends, for performance
[02:53] <qman__> everything else is irrelevant as long as it can operate in non-raid mode
[02:55] <twb> NCQ is the noop call, right?
[02:55] <twb> Oh, no, it's more like an interrupt protocol.  Never mind
[02:55] <twb> http://en.wikipedia.org/wiki/NCQ
[03:00] <fubada> k i do want ncq thanks
[03:01] <twb> fubada: eh, depends if it's gonna be a database server or just host users' word documents :-P
[03:05] <qman__> if you have more than four drives, you're probably CPU and network limited anyway
[03:07] <fubada> twb ill surely have mysql or some db backend for services
[03:07] <fubada> i have 4 drives for md raid
[03:07] <fubada> and ssd for os
[03:07] <fubada> http://secure.newegg.com/WishList/PublicWishDetail.aspx?WishListNumber=12215494
[03:08] <qman__> raid 10/0+1?
[03:09] <fubada> i was thinking raid5
[03:09] <fubada> 4x2tb's
[03:09] <fubada> md raid
[03:09] <qman__> going to be CPU limited
[03:09] <fubada> really? dual core 1.8
[03:09] <qman__> reads will be fast, but writes will be CPU limited
[03:10] <qman__> still pretty fast, but don't expect more than ~60MB/s
[03:10] <fubada> hm
[03:11] <qman__> it has to calculate the parity on the fly
[03:12] <qman__> raid 10 would not have that problem
[03:12] <fubada> can linux do sw raid10
[03:12] <qman__> but gigabit ethernet will cap your throughput around 80MB/s
[03:12] <qman__> so unless that throughput is needed locally, not really worth it
[03:13] <qman__> yes
[03:13] <fubada> so what is the best option? a 3ware card runs 320$
[03:14] <fubada> but i dont need that kinda read/write
[03:14] <qman__> not worth it, for that scale
[03:14] <fubada> raid 1?
[03:14] <qman__> if you need more throughput, spend more on a faster CPU and better drives, or just go raid 10
[03:14] <fubada> raid 5 is too much cpu, im not familiar with raid10
[03:14] <fubada> the drives are wd greens for low power
[03:15] <fubada> and low heat
[03:15] <qman__> green drives are the bottom of the barrel
[03:15] <qman__> they like to advertise low power but they're very slow and won't last under heavy loads
[03:16] <qman__> but again, it all depends on your needs
[03:16] <qman__> if it's just storing data backups, no problem
[03:16] <qman__> if you're hosting a high traffic database, get something else
[03:16] <fubada> htpc, home nas
[03:16] <fubada> backups
[03:17] <fubada> seed box for my torrents
[03:17] <fubada> 500/sec 24/7
[03:17] <fubada> 500k/sec
[03:17] <qman__> you're going to need a faster CPU if you want good throughput with that going
[03:18] <qman__> encoding/decoding video and running torrents are going to put notable load on it already, plus a raid 5
[03:18] <fubada> eh i dont think it'll be doing any encoding
[03:18] <fubada> ion2 is onboard for gfx
[03:18] <qman__> let me put it this way
[03:18] <fubada> :)
[03:18] <qman__> my file server, 8 disk raid 6, runs torrents
[03:18] <qman__> 2.2GHz single core CPU
[03:19] <qman__> my writes under normal circumstances cap around 35MB/s
[03:19] <qman__> when I start a bunch of torrents the server load exceeds 20 for several minutes
[03:19] <fubada> what.cd?
[03:19] <qman__> nah, 10-20 torrents
[03:20] <fubada> damn
[03:20] <qman__> and normal, seeding load is .10-.15
[03:20] <qman__> that chip is dual core, so it is faster than mine, and raid 6 has twice the parity to calculate
[03:20] <qman__> but you're still looking at notable overhead
[03:21] <qman__> you're going to be waiting on it when you start big torrents, and your writes probably won't cap your gigabit
[03:21] <Frenk> Mh can anyone explain this to me: https://help.ubuntu.com/10.04/serverguide/C/certificates-and-security.html there is some information: http://paste.ubuntu.com/550071/ What does this paragraph mean? Its my first SSL experience (Official SSL from a CA) - I mean eg. if Apache or Cyrus crashed, does it mean my watchdog cant start them again until I type in my password again for the cert?
[03:21] <fubada> got it
[03:21] <fubada> the goal was to build a lower power box, so i'll have to sacrifice on services
[03:21] <fubada> thats fine
[03:21] <qman__> ok, just so you're aware
[03:22] <fubada> appreciate the info thank you
[03:22] <qman__> it'll work fine, just a bit slower
[03:22] <fubada> i wanted to run xen on this lol
[03:23] <dschuett> how do you make it so you can access your webpages internally like this: http://internal.ip.of.server/directory_of_webpage
[03:23] <fubada> qman__, can you think of a better 5400rpm drive
[03:24] <fubada> than the wd caviar green
[03:24] <dschuett> i am currently using virtual hosts
[03:24] <qman__> I don't have suggestions there, I use 7200RPM drives
[03:24] <qman__> samsung HD103SJs, to be exact
[03:24] <fubada> nice
[03:25] <fubada> 72k's run too hot
[03:25] <fubada> 4 stacked will run really hot
[03:25] <qman__> in my experience, WD drives run a lot hotter than other bransd
[03:25] <qman__> though it has not affected longevity
[03:25] <qman__> 10C on average
[03:26] <qman__> the green drives may be a different story, I don't know because I don't use them, but for everything else that has been my experience
[03:27] <fubada> there's a samsung green drive
[03:27] <fubada> 5400
[03:27] <fubada> its 20bucks cheaperr
[03:27] <fubada> SAMSUNG Spinpoint F4 HD204UI
[03:28] <qman__> one suggestion, make sure you configure SMART monitoring
[03:28] <qman__> I lost my first array when three drives failed in one day, and I already had to RMA one drive from this new array
[03:29] <fubada> 3 drives in one day
[03:29] <fubada> earthquake?!
[03:29] <qman__> no, just plain drive failure
[03:29] <qman__> those were seagate 7200.11 500GB
[03:30] <qman__> two an hour apart
[03:30] <fubada> i have 1 drive fault tolerance with raid10?
[03:30] <qman__> the third a few hours later
[03:30] <fubada> 4x2tb
[03:30] <qman__> any one drive, and in some cases two drives
[03:30] <fubada> cool
[03:30] <qman__> it depends on which two, though
[03:30] <fubada> right
[03:31] <fubada> are you using myth
[03:31] <fubada> mythtb
[03:31] <fubada> tv
[03:31] <qman__> no, my file server isn't also an htpc
[03:31] <fubada> :)
[03:31] <qman__> I tried to set up myth on a different machine but it wouldn't work with my graphics
[03:31] <qman__> had to install windows, unfortunately
[03:31] <fubada> im so enraged at this cablecard issue
[03:31] <fubada> encryption of hdmi, lack of cablecard support in linux
[03:31] <fubada> sdv
[03:32] <fubada> this makes mythtv not even worth it
[03:32] <The_Tick> it's not if you have encrypted qam channels
[03:32] <fubada> i want to fire my cablecompany now
[03:32] <The_Tick> I just want to buy the channels I use
[03:32] <The_Tick> and not the other shit
[03:32] <fubada> exactly
[03:33] <The_Tick> dream on ;)
[03:33] <fubada> im going to fire my cabletv
[03:33] <The_Tick> what do you watch anyhow?
[03:33] <fubada> a&e
[03:33] <fubada> nfl
[03:33] <fubada> history
[03:33] <fubada> natgeo
[03:33] <The_Tick> nfl you're set
[03:33] <fubada> espn
[03:33] <The_Tick> get an xbox
[03:33] <The_Tick> and downlod the espn app
[03:33] <The_Tick> :D
[03:33] <fubada> i have ps3 :P
[03:34] <The_Tick> does the ps3 have the espn app? ;)
[03:34] <fubada> i doubt it
[03:34] <The_Tick> anything that plays on espn
[03:34] <The_Tick> you can play on the xbox
[03:34] <fubada> i think you can stream hd nfl games for 100$/yr
[03:34] <fubada> in flash
[03:34] <The_Tick> what on a&e?>
[03:34] <fubada> horders and intervention
[03:34] <The_Tick> haha
[03:34] <fubada> other crap
[03:34] <The_Tick> ya, same
[03:35] <fubada> i really liked that show on amc
[03:35] <fubada> about meth...
[03:35] <fubada> doh whats the name
[03:36] <fubada> espn signed a deal with MS
[03:36] <fubada> no espn for ps3
[03:36] <The_Tick> right
[03:36] <fubada> The_Tick, do you own a hauppage hd-pvr
[03:36] <The_Tick> nope
[03:36] <The_Tick> fubada: I have an xbox
[03:36] <The_Tick> and I'm almost off of cable
[03:36] <fubada> thats one way to have mythtv with cablecard
[03:37] <The_Tick> really?
[03:37] <fubada> but can only record/watch one channel
[03:37] <The_Tick> hrmm
[03:37] <fubada> yea it just records and encodes 1080i
[03:37] <The_Tick> so get more than one computer
[03:37] <fubada> and USB to your box
[03:38] <fubada> the media/communication companies in this country are filthy pigs.
[06:24] <tom_> oh dear - I think I've done something stupid. I have 320000 files in one directory (small css files).Am I reaching somehow some limits here on ext3?
[06:24] <tom_> just thinking of running out of inodes or something.
[06:28] <shauno> tom_: 'df -i' will show you your filesystem usage by inode count, I'd keep an eye on that as the first sign of things going funky
[06:31] <tom_> uff - still shows 26% free ... :-) but an ls | wc -l takes like 5 minutes. I guess I'm best of deleting the whole directory, they are just temp files.
[06:32] <shauno> I think what you'll start to run into first with that kinda scenario is the limits of shell globbing
[06:32] <twb> tom_: by default GNU ls will sort records
[06:33] <twb> tom_: there is an option to prevent this, which will make it emit results as they arrive from the directory listing syscalls
[06:33] <twb> Alternatively, find -ls or just find
[06:34] <stlsaint> hello folks
[06:34] <twb> Oh, and 320,000 files in a single dir will not be handled very well by ext[23] or fat -- possibly not by any block-oriented filesystem.  Try an extent-oriented filesystem?
[06:34] <stlsaint> could someone help me to install grub to from cli?
[06:34] <twb> stlsaint: "grub-install /dev/sdz", where sdz is your disk.
[06:34] <tom_> I don't event want them !! I think I must have screwed up in a php script.
[06:34] <twb> stlsaint: if that doesn't work, you're on your own -- I use extlinux.
[06:34] <stlsaint> i installed server edition, but grub installed on the usb stick and not my master harddrive
[06:35] <tom_> but it should be safe to just delete that directory right?
[06:35] <twb> tom_: find /tmp/foo -name 'php_??????.txt' -delete
[06:35] <twb> tom_: yes, or just rm -r the parent dir
[06:35] <twb> stlsaint: that is a known bug
[06:35] <twb> stlsaint: I don't know what the workaround is, other than unplugging the USB key after you've loaded its kernel and ramdisk into memory.
[06:36] <stlsaint> oh man there has to be a better way than that!
[06:36] <twb> stlsaint: it'll be fixed in natty (and maverick?)
[06:36] <tom_> thx for ur help twb shauno, that number just was astronomical
[06:36] <stlsaint> 10.04
[06:36] <twb> stlsaint: of course you can also fix things post-facto by booting a live image and using grub-install from there.
[06:37] <twb> stlsaint: or you could install 8.04 normally, then upgrade it to 10.04
[06:41] <stlsaint> this is a pretty big bug to let go unwarranted
[06:41] <stlsaint> smh
[06:42] <twb> Er, it's not "unwarranted".
[06:42] <twb> It has been fixed.
[06:43] <twb> Since it does not affect the supported install media, I assume that the release policy didn't require it to be backported to stable releases.
[06:44] <stlsaint> twb: aye, i see what you mean but is it corrected in 10.04 as i see this being the most important as it is a LTS
[06:45] <twb> stlsaint: AFAIK you're using an unsupported install medium, so if it breaks, you get to keep both pieces
[06:47] <stlsaint> so the only supported installs are cd?
[06:47] <stlsaint> i wouldnt understand how a net install would be supported...
[06:47] <stlsaint> but a usb is not...
[06:47] <twb> AFAIK only CD installs are officially supported.
[06:48] <stlsaint> smh
[06:49] <twb> FWIW a 10.04 netboot kernel and ramdisk can be bootstrapped from a USB key, then the USB key removed, and then the install completed from the network.  This is how I perform installs when the PXE server is down.
[06:50] <stlsaint> aye
[06:50] <stlsaint> that is good tto know
[06:51] <twb> That's these: http://archive.ubuntu.com/ubuntu/dists/{hardy,lucid,maverick}/main/installer-amd64/current/images/netboot/ubuntu-installer/amd64/{linux,initrd.gz}
[06:52] <twb> Within that tree are boot.img and mini.iso that are basically the same content, but pre-rolled with a bootloader.
[07:01] <stlsaint> twb: i went with the re-install of grub from livecd (usb)
[07:01] <stlsaint> twb: thanks for your assistance
[07:01] <twb> stlsaint: OK
[09:00] <Guest17443> where i can discuss about ubuntu amazon or UCE images - any idea - is it the right room?
[09:03] <xampart> my log is filling up with collectd rrdtool -errors like these http://pastebin.com/Fm1LDc7V any experiences?
[09:15] <twb> xampart: install ntp?
[09:15] <macno> Hi, when I start the cman service in 10.10 I see these messages in daemon.log http://paste.ubuntu.com/550140/
[09:15] <twb> xampart: the first line looks like it's whinging because an epoch time counter somewhere went backwards
[09:16] <twb> Or rather, stood still
[09:16] <twb> xampart: what happened at Mon Jan  3 08:19:39 UTC 2011 ?
[09:18] <twb> macno: udev is pissed because the rules file you just installed expects (presumably) an older kernel
[09:18] <twb> macno: try copying it from /lib/udev/rules.d/ to /etc/udev/rules.d/ and removing the "misc/"'s
[09:18] <macno> I upgraded from 10.4 to 10.10
[09:19] <macno> let me try
[09:19] <twb> macno: note that I'm just guessing; I'm not familiar with "cman" nor 10.10
[09:32] <xampart> twb: nothing special in syslog or messages
[09:33] <xampart> and ntp is installed
[09:34] <no--name> is it safe to use ubuntu-server as a desktop os?
[09:34] <no--name> does it have all the security stuff that ubuntu-desktop has?
[09:37] <TREllis> no--name: yes, apart from the packages installed by default from the server cd will be different and the kernel installed will be the -server flavor
[09:38] <no--name> TREllis: is there anything I should install security wise that -server doesn't have installed by default?
[09:41] <TREllis> no--name: the server install will have a very minimal package set, so by default you shouldn't have any ports open or anything. I'd start off with reading through the server guide, it has a fairly brief overview of things to look at securing, really depends on what services you want to run. https://help.ubuntu.com/10.10/serverguide/C/index.html
[09:42] <no--name> ok
[09:43] <no--name> so in the end it will be a lot more work than just going with -desktop?
[09:44] <TREllis> no--name: "more work" would depend on what you want to use it for
[09:44] <no--name> ok
[09:46] <twb> no--name: define "safe"
[09:47] <no--name> twb: as safe as ubuntu-desktop
[09:48] <soren> It's safer.
[09:48] <soren> Way safer.
[09:48] <soren> It has almost nothing installed by default.
[09:48] <soren> Less attack vectors.
[09:48] <twb> no--name: IMO -server is not significantly LESS safe than -desktop; it may be MORE safe.
[09:49] <twb> no--name: they differ primarily in the set of packages installed by default; they both back onto the same package repository.
[09:49] <no--name> twb: but I want to use it like I'd use -desktop
[09:49] <no--name> just because it has less bloat
[09:50] <jussi> argh, what is the package that provides the command "locate" ?
[09:50] <twb> no--name: perhaps you should install from the "alternate" CD, choosing the "cli" option and then installing only what desktop packages you think you need.
[09:50] <twb> jussi: mlocate (or locate or slocate, depending on vintage and preference).
[09:51] <jussi> twb: ok, what is the one that usually ships with maverick?
[09:51] <twb> jussi: apt-file can tell you, in future.
[09:51] <twb> jussi: mlocate, I expect
[09:51] <jussi> they didnt put it onto my server... :/
[09:51] <no--name> twb: ok. I was just wondering if there were packages I'd need to add for security if I were to use it as a desktop OS
[09:52] <twb> no--name: conventional wisdom is that installing packages makes a system LESS safe
[09:52] <no--name> ok
[09:53] <no--name> what concerned me is that update manager on -desktop comes up with all sorts of "security updates" but on -server it just comes up with kernel stuff. I guess that's because these security updates are for packages that aren't on -server?
[09:54] <twb> no--name: that is simply because you have fewer packages installed.
[09:54] <no--name> ok, cool :)
[09:54] <twb> no--name: security updates apply to both.
[09:54] <no--name> both what?
[09:54] <twb> no--name: both -server and -desktop.
[09:54] <no--name> hmm
[09:54] <twb> no--name: they back onto the same security repository.
[09:55] <no--name> why is it that when i ran the update manager on -server i only got kernel stuff?
[09:55] <twb> 20:54 <twb> no--name: that is simply because you have fewer packages installed.
[09:55] <no--name> oh, right :/
[09:55] <twb> Well, it may also be because you screwed up something and updates aren't being received
[09:55] <no--name> hmm
[09:55] <no--name> it's too bad I don't have it installed right now
[09:57] <no--name> I'll install it on vbox and see how it goes.
[10:17] <Syria> Hi, please tell me if this is correct   cp -r var/www/site1/folder   var/www/site2/folder
[10:25] <no--name> twb: would recommend "install security updates automatically" or "manage system with landscape"?
[10:25] <no--name> would "no automatic updates" have update manager manage them isntead?
[10:35] <twb> no--name: unless you have a support contract with canonical, there's no point in choosing landscape
[10:36] <no--name> ?
[10:37] <no--name> hmm, oh well. should i choose automatic or no automatic (seeing i will be using update manager)
[10:38] <twb> No idea.  I do not support desktops.
[10:38] <no--name> ok
[10:38] <no--name> well, i'll try no
[10:38] <no--name> last time i did install them automatically
[10:39] <Syria> please tell me if this is correct   cp -r var/www/site1/folder   var/www/site2/folder
[10:39] <no--name> maybe that's why the update manager only came up with the kernel stuff
[11:00] <soren> Syria: How are we supposed to know?
[11:01] <Syria> soren am i using the right command? because i am getting a message telling me that folder was not found.
[11:01] <soren> Syria: Again: How are we supposed to know? That command copies a folder called var/www/site1/folder to var/www/site2/folder. How can we tell if that's what you want?
[11:02] <no--name> should be a / in front of var
[11:02] <soren> How can you know that?
[11:02] <Syria> no--name thnx, I will try it.
[11:02] <no--name> cp -r /var/www/site1/folder /var/www/site2/folder
[11:03] <no--name> and only use one space
[11:03] <Syria> Okay.
[11:03] <soren> Doesn't matter.
[11:03] <soren> At all.
[11:04] <no--name> ok
[11:04] <no--name> well the / in front matters if you're not in the / directory
[11:07] <soren> Unless you're in /home/foo/ and the folder you actually want to copy is called /home/foo/var/www/site1/folder, which is perfectly valid.
[11:07] <no--name> hmm, true
[11:07] <no--name> didn't think about that
[11:07] <Syria> no--name I had to add the / It works now.
[11:08] <no--name> cool
[11:08] <Syria> Thank you guys.
[11:08] <no--name> np
[11:09] <Syria> Using the terminal is much cooler than gui and comfortable to me, but I am still having a problem with learning the commands.
[11:09] <Syria> I have a vps with Lucid server installed on it.
[11:12] <no--name> yeah i like using the terminal
[11:21] <Syria> Guys do you have an idea why my .htaccess file doesn't work? what I ever I type in it? for example "deny from all"
[11:21] <Syria> 644 permessions.
[11:52] <Pupeno[work]> Hello.
[11:52] <Pupeno[work]> I have a server that quite often runs out of ram and stops responding all together and needs to be restarted. Any ideas where to start to debug the problem?
[11:58] <xperia> hello to all. i am trying to send email from my php scripts but somehow in the mail logs i get allways the error message
[11:58] <xperia> Invalid mail address, must be fully qualified domain
[11:58] <xperia> looks like a configuration problem with php and postfix becouse i am able to send mails over telnet
[11:58] <xperia> any know how to fix that
[12:02] <Syria> xperia install rouncube.
[12:04] <xperia> Syria: i have roundcube and it works great. I am able to send and recive mails without any problems with roundcube but when i try to send a email for a event from one of my scripts it does not work ! normally this worked till yet with the php function "mail"
[12:31] <nooder> hello. if i have 2 socket server, total ram available is divided by 2?
[12:33] <zoopster> nooder: ??? sockets have nothing to do with the available RAM.
[12:34] <zoopster> nooder: available cpu is just that...something that an app can utilize...same goes for RAM.
[12:35] <nooder> zoopster, so if i setup 16 + 16 gb, for 1 db instance (mysql) gonna be 32gb available?
[12:36] <zoopster> if you have a server with 32gb, then that ram will be allocated to what needs it....if you have a 30gb db and you cache it all...it will use 30g if it's available...maybe I don't understand your question
[12:37] <nooder> zoopster, there is mb that have 2 sockets. each socket have 6 ram slots near it. will 1 application have access to both processors and both ram blocks?
[12:41] <zoopster> I guess it depends on how the mb is architected. It could be two distinct mainboards on one, but is likely to just be organized in a dual-channel configuration
[12:42] <zoopster> in most inexpensive mainboard configs all cpu and all ram are available as a whole to the os and any apps running on it
[12:43] <zoopster> in very high end mainboards there are proprietary configurations that allow for the separation, but you would know that if you are working with a proprietary config
[12:48] <nooder> zoopster, is there a chip way to get 64gb ram or more? because 16gb modules costs really much :(
[12:49] <sn0man> @nooder what are you trying to use memory for?
[12:49] <sn0man> apache? nginx or somethng else?
[12:49] <nooder> mysql cache
[12:49] <nooder> put whole innodb inside ram
[12:50] <sn0man> why not try some SSD drives?
[12:50] <zoopster> nooder: as you increase the amount of ram on a module the price increases rapidly
[12:50] <reisi> nooder: buy an actual battery-backed ram disk
[12:50] <nooder> there is point to use fusionio
[12:51] <zoopster> the question really is why do you want to cache the entire db?
[12:51] <reisi> nooder: though, are you sure you need to have a 30GB database in-memory?
[12:52] <nooder> zoopster, thats a standart operation. if all db fits in ram there is 3x increase in performance
[12:52] <sn0man> they have a point, kinda impractical to put entire db in RAM... what happens when your DB exceeds your RAM later?
[12:52] <zoopster> yes, but if you are looking for performance, there are many other ways to go about it in addition to caching the entire db
[12:53] <zoopster> it USED to be standard practice...before SSDs, nosql, etc
[12:53] <sn0man> buy a battery backed raid controller, setup a Raid10 with 4 SSD drives
[12:54] <nooder> hm, there is a point in that
[12:54] <nooder> just never dealed with ssd
[12:54] <sn0man> response time is really what your after
[12:55] <nooder> so how much is 1 ssd about?
[12:55] <nooder> 100+gb
[12:55] <sn0man> 200 bucks maybe?
[12:56] <nooder> thats much cheaper than ram anyway
[12:56] <sn0man> but if you go 60gb they're as low as 80 bucks maybe?
[12:57] <nooder> anybody used intel platforms?
[12:57] <sn0man> what OS are you running?
[12:57] <nooder> fedora 14
[12:57] <nooder> ext4
[12:58] <sn0man> what kernel
[12:59] <nooder> just thinking for now, buy or not supermicro
[12:59] <nooder> .35 i think
[12:59] <sn0man> 2.6.33+ allows for TRIM support I believe, which you'll want for sure
[13:00] <nooder> did you hear about issues with ssd?
[13:00] <nooder> failures or smth
[13:01] <sn0man> OCZ is actually a good choice, I seem to recall reading somewhere they have some exclusive crap deal with Sandforce (the SSD controller on the devices) that gives them exclusive access to firmware and such
[13:01] <sn0man> where as other companies have to use reference firmware from sandforce.   Some licensing bullshit
[13:02] <sn0man> Whatever SSD disk/company you choose, spend an hour and read through their support forums before purchasing
[13:03] <sn0man> and read up on TRIM and Garbage collection for your OS
[13:03] <nooder> for os i will use regular hdd
[13:03] <sn0man> TRIM and GC will keep the drives healthy and fast
[13:03] <nooder> i think no need for os in fast drive
[13:04] <RoyK> iirc there's no TRIM in Lucid
[13:04] <RoyK> that is, trim came into 2.6.33, so unless someone has backported it to the current lucid packages, there's none
[13:04] <sn0man> he said he's got 2.6.35
[13:04] <sn0man> so he should be ok there
[13:05] <RoyK> oh, well, then it should be there
[13:05] <sn0man> but he's on fedora 14, dunno if that matters.  But a kernel is a kernel right?
[13:06] <RoyK> more or less, yes
[13:06] <RoyK> albeit asking for fedora help on #ubuntu-server is a little wierd
[13:06] <sn0man> @RoyK: https://sites.google.com/site/lightrush/random-1/howtoinstalllinuxkernel2635onubuntu1004lucidfromubuntu1010mavericktheeasyway
[13:06] <sn0man> looks like someone did
[13:07] <RoyK> ah - nice backport
[13:07] <sn0man> But yea, nooder.  Go get some SSD drives and that shit will be flyin
[13:08] <ScottK> The powerpc buildds on Launchpad run a maverick kernel with a lucid userspace as it's more stable on that arch.
[13:08] <RoyK> sn0man: a kernel is a kernel, but all distros have their own patch kits...
[13:08] <sn0man> true
[13:09] <nooder> last question is intel or supermicro? intel is very cheap
[13:09] <sn0man> for what, SSD?
[13:09] <nooder> platform
[13:09] <nooder> chasis + mb
[13:09] <RoyK> nooder: both work, it's more a matter of taste
[13:10] <sn0man> ahh, just make sure the chipset is fully supported
[13:10]  * RoyK uses supermicro for storage systems and a few servers
[13:10] <sn0man> I've woked with a lot for SuperMicro and found them pretty decent
[13:10] <RoyK> but then, I don't use linux for storage...
[13:10]  * RoyK wants ZFS
[13:10] <RoyK> s/wants/needs/
[13:10] <sn0man> ZFS is the sex
[13:11] <RoyK> with 2 boxes with 100TB each, I somewhat want block-level checksumming :P
[13:12] <sn0man> hehe, so long as you got a decent L2ARC cache deduplication is a great thing to have
[13:14] <nooder> and for mysql whats will be better i7-980x 3.33 or xeon e5620 2.6 but with more l1 cache
[13:15] <nooder> i think that mhz are really important. but don't know what this cache means for mysql :)
[13:16] <RoyK> sn0man: really? I've done quite some testing on this 12TB test system, and found dedup quite unusable due to very low write speeds
[13:16] <RoyK> this was with some 160GB of L2ARC
[13:16] <RoyK> total space used was 2-3TB
[13:16] <RoyK> so way within the 'specs', but still, not very usable
[13:17] <sn0man> to be correct you need a proper LOG cache as well too.
[13:17] <RoyK> SLOG, yes
[13:17] <RoyK> had that as well
[13:17] <RoyK> 4GB
[13:17] <sn0man> so, LOG and L2ARC for read and write
[13:17] <RoyK> quite sufficient
[13:17] <RoyK> SLOG for write, L2ARC for read
[13:17] <RoyK> L2ARC is critical if using dedup
[13:17] <RoyK> or a truckload of RAM...
[13:17] <RoyK> or both
[13:18] <sn0man> did you give it a proper amount of time to build the cache?  With those two it should be flying
[13:18] <RoyK> but stil there are issues with destroying a deduped dataset - it can take hours or even days, hanging the system
[13:18] <RoyK> not very funny
[13:19] <RoyK> I guess that's the reason S10u9 doesn't have dedup...
[13:19] <sn0man> yea, all that stuff is still technically dev builds, but long overdue :P
[13:20] <sn0man> Can't wait till FreeBSD gets p22
[13:20] <RoyK> so for these two systems, and a smaller 14TB box for another office, we chose openindiana and sufficient disk space
[13:20] <sn0man> But by that time, Maybe BTRfs will be out with a stable release
[13:21] <RoyK> looks like there's something in the works with raid[56] there too
[13:26] <nooder> so which ssd to choose? x25m? or there are better once?
[13:26] <RoyK> for what use?
[13:27] <nooder> db
[13:27] <RoyK> Crucial's RealSSD C300 is fast and works wery well for most use
[13:28] <RoyK> x25m is quite old and not very fast compared to the newer ones on the market
[13:28] <RoyK> nooder: how large is the database?
[13:28] <nooder> 64 gb is enough
[13:28] <nooder> just needs to be as fast as possible
[13:28] <RoyK> then I'd recommend the C300
[13:29] <RoyK> they're quite fast )
[13:29] <RoyK> :)
[13:30] <nooder> i read reviews for crucial ram modules and there is quite big number of returns
[13:31] <nooder> if a buy one, i need to upgrade firmware at first?
[13:37] <skorv> hello
[13:37] <skorv> i have a server setted up with bind9+dhcp3 and its working
[13:37] <skorv> but it serves 2 subnest
[13:37] <skorv> on dhcp everything is fine
[13:38] <skorv> on bind i have zone "domain", the rev.lan1 and rev.lan2
[13:39] <skorv> when i ping my server from lan1 it gives me the ip ih has in lan2 (only in windows)
[13:39] <skorv> all zones are master
[13:40] <skorv> i tried to create another zone with a domain for lan2 but bind fails to start
[13:42] <RoyK> nooder: wouldn't think so - also, about return of crucials, I haven't heard that, got an url on that one?
[13:42] <sn0man> keep in mind, you always find more complaints than postive reviews
[13:42] <sn0man> when something works, people don't talk
[13:43] <sn0man> so more people on a forum saying something doesn't work doesn't really mean much
[13:43] <RoyK> skorv: I think you need split horizon - see the section about views in the manual
[13:43] <nooder> sn0man, http://www.amazon.com/Crucial-CT2KIT51264BC1067-204-PIN-PC3-8500-SODIMM/product-reviews/B001MX5YWI/ref=sr_cr_hist_all?ie=UTF8&showViewpoints=1
[13:45] <RoyK> nooder: I wouldn't worry about that - get a couple of C300, mirror them, and you should be safe
[13:45] <nooder> i just cant understand what can happen
[13:45] <RoyK> nooder: also, even if crucial had a bad series of memory chips, that doesn't really matter much for other products
[13:45] <sn0man> regardless of reviews on amazon, you have no idea what they did to the product in the first place, how they configured it, how they maintained it, treated it.
[13:46] <nooder> regular hdd i'm monitoring with smart
[13:46] <sn0man> you can still use SMART
[13:46] <sn0man> there are also new SMART codes specific to SSD's
[13:46] <sn0man> so you have to make sure the tool you're using to check the SMART codes supports them
[13:46] <skorv> put each subnet + reverse in its own view?
[13:46] <RoyK> SMART might be even SMARTer on the SSDs, since a drive quite oftenly dies without telling SMART about it
[13:46] <skorv> would that be the idea
[13:47] <RoyK> skorv: yes
[13:47] <sn0man> supports SSD, that is
[13:47] <skorv> humm
[13:47] <skorv> ty for the help.... i'm new to bind :P
[13:49] <nooder> thx, that really helped me :)
[14:31] <ssureshot> I have my nics bonded but when I restart netwroking avter I've added a new slave in the interfaces file the bond kicks errors and does not work.. how can you restart networking with a bond active?
[14:40] <SpamapS> ssureshot: how are you setting up the bonded interface?
[14:42] <ssureshot> SpamapS: wow.. I was just reading the documentation for the first time in a while and although the old way works it seems things have changed so let me try the new way
[14:43] <ssureshot> I was setting up the auto bond0 with the slave directive for eth0 and1
[14:46] <RoyK> does a bonded network allow for full speed on boths NICs for a single TCP/UDP stream?
[14:48] <SpamapS> RoyK: depends on how you have it bonded
[14:48] <SpamapS> RoyK: the default method is just for failover
[14:49] <SpamapS> but some switches support a trunking protocol
[14:49] <RoyK> it was trunking I was thinking of
[14:49] <RoyK> just curious how that works when a stream is sent to a MAC address on the network layer
[14:50] <RoyK> if it can balance a single connection across two NICs
[14:54] <ssureshot> royk: generally speaking, modes provide either hot standby or load balancing services. <-- taken from a quick google
[14:55] <RoyK> ssureshot: I'm aware of that
[14:55] <RoyK> I was just wondering about if those trunks could balance a single connection
[15:00] <ssureshot> I believe they can balance using the roundrobin style mode.. which Transmit packets in sequential order from the first available slave through the last. This mode provides load balancing and fault tolerance.
[15:11] <RoyK> ssureshot: sure, but what about single connections? I was told from someone I couldn't get 2Gbps on a single connection from two bundled 1Gbps connections
[15:17] <soren> RoyK: It depends.
[15:17] <RoyK> depends on what?
[15:18] <soren> RoyK: All the components in between the two systems exchanging data.
[15:18] <RoyK> no, you misunderstand
[15:18] <soren> Easiest way to success is to have a switch that supports bonding.
[15:18] <soren> Or trunking.
[15:18] <soren> Or whatever the vendor chooses to call it.
[15:18] <RoyK> if I open a connection from A to B, single TCP connection
[15:19] <RoyK> how will bonding help if the data is sent to/from MAC adresses?
[15:19] <ssureshot> royk: soren is right he beat me too it... youll never get 2gbs on bonded nics unless you have the switches to support it
[15:19] <soren> if the switch is up for it, the two ports can share a MAC.
[15:19] <RoyK> ok
[15:20] <RoyK> but then, the OS needs to support shared MAC as well?
[15:20] <soren> Sure.
[15:20] <RoyK> any idea if linux supports that?
[15:21] <soren> Err. Sure. I thought that's how this discussion started.
[15:21]  * soren only read the last few lines of context
[15:21] <ssureshot> royk: the bonding bonds eth0 and eth1 to a single mac address attached to bond0
[15:22] <soren> RoyK: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=Documentation/networking/bonding.txt;h=5dc638791d975116bf1a1e590fdfc44a6ae5c33c;hb=HEAD
[15:22] <RoyK> thanks
[15:24] <pmatulis> soren: nice link
[15:34] <zul> ivoks: im the middle of packaging dovecot2 for universe
[15:38] <ara> Hello guys!
[15:40] <compdoc> dont us gals get a hello?
[15:41] <ara> I am also a lady, and I use guys for both male/female :)
[15:41] <compdoc> Im not a gal - but I could have been
[15:41] <zul> hi ara
[15:41] <AndyGraybeal> anyone know a good hardware mailling list?  i emailed the ubuntu users list about a PDU but haven't gotten a good response yet, plus it's technically off-topic.
[15:41] <ara> Anyway, during our weekly testing before holidays, we found this bug in the server isos
[15:41] <ara> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/693042
[15:42] <ara> hey zul :)
[15:43] <zul> ara: crappers...:(
[15:43] <ara> zul, have you experienced something similar?
[15:44] <zul> ara: not recently
[15:44] <ivoks> zul: eh? universe?
[15:44] <ara> zul, and before that? the test was done before the holidays
[15:44] <zul> ivoks: yeah im calling it dovecot2 but it will conflict with dovecot
[15:45] <zul> ara: no thats totally new to me...ill bring it up in the meeting today
[15:45] <ivoks> ah, dovecot 2
[15:45] <ara> zul, I will bring it if you want, I will be there
[15:46] <ara> zul, you mean the kernel meeting?
[15:47] <zul> ara: server team meeting
[15:47] <ara> zul, ah, OK, I won't be at that one
[15:47] <zul> but if you want you can bring it up there as well ;)
[15:47] <ara> zul, I will raise it in the kernel meeting, and you can do it in the server meeting :)
[15:47] <zul> ara: sounds like a plan
[15:48] <zul> 2 people nagging are always better than 1 ;)
[15:48] <ara> :)
[15:48] <zul> thanks!
[15:54] <AndyGraybeal> i need some help, i'm rsyncing across hosts with the -a switch; which should do -o.  it says "super-user" only; what does this mean?
[15:54] <AndyGraybeal>         -o, --owner                 preserve owner (super-user only)
[15:55] <AndyGraybeal> why does it only do 'super-user only'?
[15:55] <kim0> AndyGraybeal: you need to rsync as root (or sudo) in order for that option to work
[15:55] <AndyGraybeal> aaah
[15:55] <kim0> AndyGraybeal: since chown'ing files is a root thing
[15:55] <AndyGraybeal> thank you kim0
[15:56] <AndyGraybeal> so, if i'm running th ecommand as root on one computer, and sending it to another computer as a regular user ... does this apply?
[15:56] <AndyGraybeal> it doesn't apply does it?
[15:56] <AndyGraybeal> i have to be root on the machine that is receiving for it to be able to preserve the owner, correct?
[15:57] <zul> uh...is it me running the meeting today?
[15:57] <AndyGraybeal> hm. so i'm doing it opposite of what i should be.. okay - i'll try something else.. thank you very much kim0  for responding.
[15:57] <kim0> AndyGraybeal: yeah root on receiver I'd say .. on reader machine, you'd only need permission to read the files
[15:57] <AndyGraybeal> :)
[15:58] <JamesPage> zul: looks like it - smoser did the last one pre xmas
[15:58] <zul> frig..
[16:00] <smoser> i did one prior to the break.
[16:00] <fubada> hi, I plan on using ubuntu-server w/ Linux md raid for purposes of NAS.  I have 4x2tb drives driven by Intel Atom d525 dual core 1.8
[16:00] <fubada> which raid do you think is more appropriate, raid5 or 10
[16:01] <kim0> fubada: for performnance raid10 for capacity raid5
[16:01] <gobbe> well. raid10 is ofcourse better than raid5
[16:01] <gobbe> if you look performance
[16:01] <smoser> so, http://www.mojvideo.com/video-it-ain-t-me-babe/36cb8416efd2ca44c4b6
[16:01] <fubada> what capacity will i get with 4x2tb raid10? 4tb?
[16:01] <fubada> raid5? 6tb?
[16:02] <kim0> fubada: yeah
[16:02] <compdoc> 6
[16:02] <fubada> hm
[16:02] <compdoc> raid 10 would be 4
[16:02] <fubada> is sw raid5 cpu intensive?
[16:03] <fubada> mores than sw 10
[16:03] <compdoc> ooops - raid 5 is 6, raid 10 is 4
[16:04] <fubada> dang
[16:04] <fubada> im not sure what i want
[16:07] <kim0> fubada: what are you storing there
[16:08] <fubada> media primarily
[16:08] <fubada> seed box also
[16:08] <fubada> p2p
[16:08] <fubada> backups
[16:08] <kim0> fubada: is that mostly movies
[16:08] <fubada> movies and mp3s
[16:09] <fubada> xbmc type of stuff
[16:09] <kim0> fubada: media and backups are streaming large files .. I'd go raid5. Hopefully mp3s are not gonna be a problem
[16:10] <fubada> a problem for the cpu keeping up with raid5?
[16:10] <kim0> fubada: you'll only know after trying, but I'd be surprised
[16:10] <fubada> heh
[16:10] <pmatulis> hm, intel atom processor
[16:11] <pmatulis> fubada: if it's just dishing up files it shouldn't be a problem
[16:11] <fubada> pmatulis, the box will also be my xbmc
[16:11] <fubada> and torrent seedbox
[16:12] <fubada> thanks kim0
[16:12] <pmatulis> fubada: does that involve a lot of processing?  i have no idea
[16:12] <kim0> fubada: you're welcome
[16:12] <fubada> pmatulis, i dont think so
[16:12] <fubada> thanks pmatulis
[16:12] <kim0> fubada: use ext4 since it's a bit faster
[16:12] <fubada> ext4 raid5 for a total of 6tb's :)
[16:13] <kim0> fubada: yep :)
[16:13] <pmatulis> fubada: so just reading from box right?  not writing?
[16:14] <fubada> well ill be writing to it when its doing backups
[16:14] <fubada> and when its downloading torrents
[16:14] <fubada> my torrent speeds can hit 3mb/sec
[16:14] <fubada> OS is on SSD
[16:16] <pmatulis> fubada: k, b/c raid5 suffers a bit with writing, due to parity
[16:17] <HJess> what could cause a very disk disk io (99,9%) on while trying to copy big files on a ubuntu server? (the io stat is taken from iotop) - it locks everything down so even ssh timeout while doing a copy of the files..
[16:17] <fubada> HJess, raid?
[16:18] <kim0> HJess: seen that with bad sata cables
[16:18] <HJess> fubada: yes and no - there is a raid connected, but the copyed files are from a USB to a SATA disk inside the server
[16:19] <HJess> kim0: ok a bit strange.. given that the problem kind of builds up .. upstart works fine and so
[16:19] <patdk-wk> I don't know where the 99.9% comes from, as iotop doesn't use percents
[16:21] <HJess> at the momemt I have 5 Mb/s transfer from the USB to the sata disk .. normal this would be around ~30 MB/s
[16:22] <patdk-wk> there are so many reasons for that :)
[16:22] <patdk-wk> harddrive issues on either one, usb or sata
[16:22] <patdk-wk> other usb device or that one, causing usb bus speed to be slow
[16:23] <patdk-wk> does dmesg say anything?
[16:23] <HJess> no errors at all ..
[16:23] <patdk-wk> probably read recovery or hardware ecc errors on one of the drives
[16:23] <patdk-wk> use smartctl (doesn't work over usb)
[16:24] <HJess> ok .. just plain stranage.. a "ls ~" - takes around 2 minutes..
[16:25] <HJess> when doiing the cp
[16:25] <patdk-wk> and you find that odd?
[16:26] <patdk-wk> since you don't have any dmesg stuff, I doubt it's an interface issue, so must be a bad drive
[16:26] <HJess> normal it would take a spilt sec.
[16:26] <patdk-wk> normally != failed drive
[16:27] <HJess> if it was a failed drive would fsck pick it up?
[16:28] <patdk-wk> no
[16:28] <patdk-wk> fsck is for failed filesystem
[16:28] <HJess> smartctl it is then
[16:42] <kennethbaucum> Can someone give me some tips on getting my Ubuntu LAMP setup to talk to a MSSQL database residing on a different server?
[16:44] <kennethbaucum> I'm using Ubuntu 10.04.1 LTS Server Edition with LAMP package installed and up-to-date...need to talk to an MSSQL server and I have the correct creds...
[16:45] <kennethbaucum> Tried following structions found at http://us2.php.net/manual/en/book.mssql.php but to no avail
[16:46] <thesheff17> kennethbaucum: by default mysql only listens on localhost...edit /etc/mysql/my.cnf comment out bind-address            = 127.0.0.1 and restart mysql
[16:47] <kennethbaucum> thesheff17: I can talk to MYSQL fine, I need help talking to MSSQL, Miscrosoft SQL Server
[16:48] <thesheff17> kennethbaucum: oh sorry...Unfortunately almost everyone here doesn't use microsoft
[16:49] <thesheff17> kennethbaucum: http://www.webcheatsheet.com/PHP/connect_mssql_database.php maybe this how may help.
[16:49] <kennethbaucum> thesheff17: I understand that, and I don't prefer MS SQL server by any means...but the boss opted to outsource development of an app and that guy chose ASP/MSSQL...I'm still required to talk to the data he has in his app...just need a way to get to it...PHP throws error Fatal error: Call to undefined function mssql_connect()
[16:50] <kennethbaucum> thesheff17: Thanks, I'll check the link...
[16:51] <kennethbaucum> thesheff17: Thanks....I have the code, just as listed on the page you suggested, but perhaps there is a MSSQL module missing from PHP5, that I cannot use that built-in function...
[16:51] <thesheff17> have you installed php5-sybase
[16:51] <thesheff17> it looks like the PHP to MSSQL module
[16:52] <kennethbaucum> thesheff17: Oh wait!  I scrolled down and saw how to connect with a DSN name...let me try that...and I'll look at the php5-sybase package...back in a few!
[16:54] <RoyK> Sybase -> MSSQL was a nice turn
[16:55] <RoyK> Microsoft was part of the Sybase project, and one day, they just took the code and ran away to make MSSQL
[16:55] <RoyK> much  the same way as with OS/2 => Windows NT
[16:58] <eagles0513875> hehey guys i need some help with roundcube i have a mail server running imaps and its failling to authenticate against it for some reason and log me in can someone help me fix this
[17:57] <blistov> anyone know how to setup nfsv3 on 10.10 ?
[17:57] <blistov> Seems to have disappeared from all the repos.
[18:04] <pmatulis> !info nfs-kernel-server
[18:04] <pmatulis> blistov: ⤴
[18:07] <blistov> Gah.
[18:07] <RoyK> nfs3 is still in
[18:07] <RoyK> mount -o vers=3
[18:07] <blistov> v4 supports v3, but I'm wondering if there's a way to disable 2 and 4, enable 3, and not use kerberos.
[18:08] <blistov> RoyK, I don' t have the ability to set client options.  The client is an esxi 4.1 server.
[18:08] <blistov> It defaults to v4 as a client, but doesn't ACTUALLY support v4.
[18:09] <blistov> so you have to completely disable v4 on the server.  Doing this however, seems to force kr5b enabled on the server.
[18:09] <RoyK> krb is an nfs4 thing
[18:11] <blistov> RoyK, hrm... well is set --no-nfs-version 4 --no-nfs-version 2" on the server, and now its insisting on locating creds for kr5b.
[18:11] <blistov> Any idea why/
[18:11] <elijahosborne> I have a question please, after installing lamp, is there a way to not have everything start on reboot, so when I need to use the lamp I type in sudo service apache2 start?
[18:13]  * RoyK made costers for some family members out of old harddrive platters this christmas
[18:23] <pmatulis> elijahosborne: by default ubuntu starts installed services on boot
[18:24] <RoyK> elijahosborne:  apache starts in /etc/rc2.d
[18:24] <pmatulis> elijahosborne: it's a bit mysterious how to change that behaviour
[18:25] <pmatulis> RoyK: not upstart?
[18:25] <RoyK> elijahosborne: just remove the symlink there and it won't start
[18:25] <RoyK> iirc apache doesn't use upstart
[18:32] <hggdh> update-rc.d can be used for that
[18:33] <hggdh> e.g. sudo update-rc.d apache2 disable
[18:35] <SpamapS> is it just me, or does natty alpha1 boot into a black screen (have to alt-f1 to get the login) ?
[18:36] <hggdh> I have seen it, but not always, SpamapS
[18:36] <SpamapS> I think its an attempt to avoid flicker that is having a negative affect on the server
[18:37] <SpamapS> will have to check it out on alpha2..
[18:38] <SpamapS> hggdh: I think we have a fix for the libc6 thing
[18:39] <hggdh> SpamapS: yes, I saw your entry in the bug, great!
[18:39] <hggdh> SpamapS: perhaps this time I will be able to finish an install on the test rig ;-)
[18:40] <hggdh> SpamapS: there is also bug 693042 that *may* be related
[18:41] <SpamapS> oh thats fun.. virt manager won't give me my mouse back when I hit ctrl-alt
[18:53] <RoyK> SpamapS: seen that happen, especially from remote
[19:04] <SpamapS> zul: + [zulcss] get cobbler deploying Ubuntu From Ubuntu: DONE   w0000t
[19:05] <zul> SpamapS: yep
[19:05] <zul> SpamapS: i rule
[19:10] <SpamapS> zul: O'Doyle Rules
[19:24] <soren> SpamapS, zul: Where can I see this new hotness?
[19:24] <zul> soren: its in the cobbler git repo
[19:32] <_Neytiri_> i am having a issue with the networking on Ubuntu server 10.10 i set the /etc/network/interfaces file to use a static ip address and it works but then later on it changes back to a dhcp assigned address even tho the file still says static
[19:36] <SpamapS> _Neytiri_: did you do 'ifdown ethX' before making that change?
[19:36] <SpamapS> _Neytiri_: dhcpcd is probably still running
[19:36] <_Neytiri_> no
[19:36] <SpamapS> or dhclient
[19:36] <_Neytiri_> i have never had to do that before but i will try it
[19:37] <SpamapS> _Neytiri_: the issue is that dhclient is still running
[19:37] <SpamapS> _Neytiri_: you can probably just kill dhclient
[19:37]  * SpamapS thinks ifup should take care of that
[19:37] <SpamapS> _Neytiri_: you may want to report that as a bug.
[19:38] <_Neytiri_> i will cause i know in 10.4 all i had to do was restart netwroking nd it would solve it
[19:38] <cdubya> is there a problem with the current samba package in the repos for 10.04? I was trying to install samba and am getting an error on unmet dependencies. Looks like maybe the samba package is looking for older versions of the dependencies than exist in the repos?
[19:41] <genii-around> cdubya: Did you do something like: sudo apt-get update                beforehand, to get the latest list of files?
[19:41] <cdubya> yep
[19:41] <cdubya> just did it again for grins
[19:42] <genii-around> Hm
[19:44] <genii-around> cdubya: Were you perhaps using a ppa or so, which installed later versions of it's dependencies for some other program?
[19:44] <cdubya> It doesn't like the versions of samba-common and libwbclient0 that it's seeing (wants 2:3.4.7~dfsg-1ubuntu3.2 on both, sees 2:3.4.8~dfsg-0ubuntu1 available...?)
[19:45] <cdubya> genii-around, I had tried to install ebox on this machine. That's the only thing. Backed it off, but perhaps that's the issue.
[19:46] <cdubya> genii-around, the only ppa in the sources file is the ebox one, but it's commented out.....
[19:48] <genii-around> cdubya: Well, you can always do the long form for the deps.. like: sudo apt-get install libwbclient0=2:3.4.7~dfsg-1ubuntu3.2                   for instance to install that specific version
[19:48] <cdubya> ok, I'll try that.
[19:48] <deadsmith> can someone please direct me to the correct channel for installation on an Apple XServe?
[19:51] <cdubya> genii-around, that did it. Thanks!
[19:52] <genii-around> cdubya: Yer welcome
[20:01] <genii-around> deadsmith: https://help.ubuntu.com/community/Xserve2-1 may be of some kind of help
[20:21] <deadsmith> genii-around:  Thanks :-)  That's what I was looking at, but the boot options just give me a blank screen after I select one.  I can get to grub, but that's the only thing that works.  The server version is named "-amd64.iso" -- do you if there is there a separate x86-64 kernel for the intel machines?
[20:22] <genii-around> deadsmith: the amd64 is for all processors that use 64 bit instruction sets (AMD or Intel, doesn't matter)
[20:26] <RoyK> and most software work well with both 64 and 32bit
[20:26] <RoyK> some software links to 32bit libs, meaning you need those as well
[20:28] <deadsmith> genii-around:  thanks.  It's been about 6 years since I've done anything, and the hardware seen has changed a bit...
[20:31] <RoyK> deadsmith: the game is still the same
[20:31] <deadsmith> ick... ack... *scene.  :-)
[20:32] <RoyK> http://karlsbakk.net/xray.png <-- I guess I could have brought home more interesting artifacts from Iceland than these
[20:40] <Amgine> RoyK: but, perhaps, none you'd be as able to keep track of.
[21:34] <cdubya> what's the easiest way to allow samba guest access with rw permissions on a share?
[21:36] <cloakable> Make the folder rw to the samba guest account (default nobody), set the share 'guest ok' and make it writable.
[21:36] <cloakable> why?
[21:37] <remix_tj> cloakable: e.g. for an app like a mine which eats pdf from a share and returns postprocessed pdfs? :-)
[21:39] <cloakable> :)
[21:42] <_Neytiri_> i am having a issue with the networking on Ubuntu server 10.10 i set the /etc/network/interfaces file to use a static ip address and it works but then later on it changes back to a dhcp assigned address even tho the file still says static, i have shut the interfaces down and then restartred netwreoking and its still grabbing a dhcp address about a hour or so after
[21:43] <AndyGraybeal> i want to rsync some files in a cron job, the problem i'm wondering about is how do i make sure that the rsync job ran and that it did the job i asked it to do?
[21:44] <pmatulis> AndyGraybeal: cron sends emails to the user of the job
[21:44] <AndyGraybeal> pmatulis: interesting
[21:47]  * genii-around ponders --log-file=something
[22:11] <kirkland> zul: hey
[22:11] <kirkland> zul: saw your blueprint update
[22:11] <kirkland> zul: so you got cobbler deploying ubuntu from ubuntu?
[22:17] <kirkland> cjwatson: howdy
[22:17] <kirkland> cjwatson: i just uploaded a new package, ssh-import-id to natty
[22:17] <kirkland> cjwatson: if you could/would give that an Archive Admin's review, and get it into the archive, you can prune that code from openssh
[22:18] <kirkland> cjwatson: i'll send a merge proposal for that too
[22:25] <kirkland> cjwatson: lp:~kirkland/openssh/remove-ssh-import-id
[22:26] <NateW> im trying to get php working on ubuntu-server.. if i have a page in /var/www it works, if i have it in public_html then the browser tries to download it. why does this happen?
[22:26] <deadsmith> I'm trying to update the 64bit install CD with grub2 so it will work with the EFI on my Xserve2,1 systems.  Can someone explain to me the process on boot?
[22:27] <The_Tick> grub doesn't have documentation about that?
[22:27] <thesheff17> NateW: did you install php?  many times that happens when apache hasn't been restarted after php is installed.
[22:28] <NateW> installed php5 and restarted apache
[22:28] <NateW> the php mod is enabled as well
[22:29] <deadsmith> The_Tick:  I wanted to make sure I was doing things in a sanctioned way, hoping that i could upload the ISO to a server to solve the problem for others.  I think I understand the GRUB stuff essentially, but I'm not sure about path names and the EFI setup.
[22:31] <NateW> thesheff17: would restarting the server help?
[22:31] <thesheff17> NateW: no...so it is working in /var/www/  you are missing something within the directive.
[22:32] <NateW> how would i fix this?
[22:32] <The_Tick> well
[22:32] <NateW> i tried searching online and havent found a solution yet
[22:32] <The_Tick> if he modified a config file
[22:32] <The_Tick> he may need to restart apache to make modphp work
[22:32] <thesheff17> can you pastebin your /etc/apache2/sites-available/default
[22:33] <thesheff17> is that where you are adding that public_html dir?
[22:33] <NateW> i used a2enmod
[22:33] <NateW> havent edited the /etc/apache2/sites-available/default at all
[22:33] <thesheff17> apache2 needs to be restarted so the module is picked up
[22:34] <NateW> i have restarted apache
[22:34] <NateW> the public_html folder works with html files.. just not php
[22:38] <thesheff17> I would also check permissions
[22:38] <thesheff17> chown -R www-data:www-data /var/www/
[22:42] <thesheff17> here is a real simple PHP script...try creating test.php w/ this content: http://pastebin.com/e4yacRWR
[22:44] <The_Tick> it won't work thesheff17
[22:44] <The_Tick> the fact it's downloading it
[22:44] <The_Tick> and not trying to process
[22:44] <NateW> thats actually the php file im using
[22:44] <NateW> setting /var/www to www-data makes it download in the same way
[22:44] <The_Tick> apache is misconfigured most likely
[22:45] <thesheff17> hmm...maybe apache2 isn't restarting correctly?
[22:45] <thesheff17> try stopping it and ps aux | grep apache
[22:45] <NateW> setting it back to the default username makes it work again
[22:46] <thesheff17> I'm a little confused?  what do you mean default username?
[22:46] <NateW> username i use for the server
[22:47] <thesheff17> this should be done w/ sudo or root
[22:47] <thesheff17> if that is what you mean?
[22:47] <NateW> lcs      30906  0.0  0.0   8952   876 pts/2    S+   17:47   0:00 grep --color=auto apache
[22:48] <NateW> i mean.. running chmod www-data:www-data makes the php file not open correctly, running chmod lcs:lcs makes it work again
[22:49] <NateW> of course im using sudo and using /var/www with -R
[22:51] <NateW> http://paste.ubuntu.com/550419/ is /etc/apache2/sites-available/default
[22:52] <thesheff17> NateW: yea my default looks the same :-/
[22:52] <thesheff17> and it works
[22:53] <thesheff17> what version of ubuntu?
[22:53] <NateW> 10.10
[22:53] <thesheff17> odd...I'm running 10.04
[22:53] <NateW> its strange.. php files in /var/www work, but not in ~/public_html
[22:54] <thesheff17> so if you put test.php with phpInfo(); in /var/www/ it works fine?
[22:54] <NateW> yeah
[22:56] <thesheff17> ah ok...I think something needs to be added to apache2 config to say ~/plublic_html to process php files.
[22:57] <NateW> what should i put?
[22:58] <thesheff17> https://wiki.ubuntu.com/UserDirectoryPHP
[23:04] <hggdh> smoser: there? A question on karmic and EC2
[23:04] <NateW> thesheff17:awesome.. that fixed the problem.. thanks
[23:05] <thesheff17> NateW: np didn't read close enough that you where trying to use ~/public_html
[23:21] <zul> kirkland: yep
[23:21] <kirkland> zul: you rock, man