[00:00] <Theravadan> only shows 2011-03-20T23:59:41+0000
[00:00] <Theravadan> which ami should i use here: http://uec-images.ubuntu.com/maverick/current/
[00:01] <pnunn> We are using ami-22423c70 on a huge machine quite happily.
[00:01] <Theravadan> i need a 64 bit ebs, not sure if it really matters which one i choose
[00:01] <Theravadan> nice
[00:02] <Theravadan> Client.InvalidAMIID.NotFound: The AMI ID 'ami-22423c70' does not exist
[00:04] <pnunn> OK... that's odd, I got that ID straight off my EC2 panel.  Ahh.. its in ap-southeast-1b that's probably why, are you using US?
[00:04] <Theravadan> pnunn: i will use any region, whatever works... i 'm in the US
[00:05] <pnunn> OK.. well, that ami is in the southeast zone.
[00:05] <pnunn> We are running it in an m2.4xlarge
[00:05] <Theravadan> ec2-describe-availability-zones on ly shows us-east-1 so i guess i cant put anything there
[00:05] <Theravadan> nice, so it is possible... hmm
[00:06] <pnunn> Change your region to Asia Pacific (Singap.).
[00:06] <pnunn> But... there should be workable instances in US regions too.
[00:07] <Theravadan> i'd prefer the US
[00:07] <Theravadan> oh southeast = southeast asia, thought you meant southeast US
[00:07] <pnunn> When I was setting this one up, I just looked for EC2 instances that were pretty recent.
[00:09] <Theravadan> just tried the ami i-9ce227f3 from http://uec-images.ubuntu.com/releases/10.04/release/ ... terminated and no console output.
[00:09] <Theravadan> lemme try from the gui
[00:11] <Theravadan> pnunn, u using ebs?
[00:12] <pnunn> Theravadan: Yep.
[00:12] <Theravadan> pnunn, how is that going? reddit.com seems to be down because of ebs
[00:13] <Theravadan> i am just going to run m2.4xlarge and put the db in memory so it doesnt use I/O.
[00:14] <pnunn> Theravadan, pretty much what were doing.  The reason were on Huge is so we can put our db into a ramdisk.
[00:14] <Theravadan> pnunn, do any load balancing? Not sure if a need a static id for each of the servers in rotation, hope not
[00:14] <Theravadan> err static ip
[00:16] <Theravadan> ok i created the machine via the gui and that worked
[00:17] <pnunn> Good stuff...
[00:19] <Theravadan> pnunn, gonna create a 500gb ebs and mount it, never done this, any tips?
[00:20] <Theravadan> i'll create it via the gui first, gui seems to be better than cmd line
[00:24] <pnunn> Theravadan, I've only ever used the gui to this point.. it seems to work well.
[00:24] <Theravadan> pnunn, last time i used ec2 was 2 years ago and there was no gui so i'm used to the cmd line but.. gui seems to be easier to use
[00:25] <pnunn> Theravadan, yeh, its come a long way.
[00:33] <Theravadan> anyone have success with the new cluster instances? seems to be kinda beta from the feedback i see via google searches
[02:15] <pteague> downloaded & burned the iso... booted it up & i get "1. \n 2. \n Select CD-ROM Boot Type : _"  ... uh, ok?
[02:30] <pmatulis> pteague: do you have a question?
[02:35] <pteague> was wondering which to do... apparently 2 skips the cd/dvd so must be an odd bios issue even though i've set up the bios to boot correctly off the cd/dvd
[04:20] <Theravadan> if I create an ami from an existing ebs instance via the gui, it takes a snapshot, so when i create the new instance from the created ami, will it also have a totally new ebs volume?
[04:41] <sako> hey guys any way to get the numeric permission value of a file? such as 440 or 755?
[04:43] <twb> sako: stat
[04:43] <twb> stat -c %a foo
[05:07] <sako> thanks!
[05:16] <sako> i want to make a good ubuntu desktop/server anyone build a computer recently can give me some advice? :)
[05:17] <sako> was looking at either i5 or i7
[05:17] <sako> not sure if i _really_ need an i7...
[05:21] <twb> sako: those are just marketing names
[05:21] <twb> i5 is marketed at home/desktop, i7 at business/server
[05:22] <twb> But you should be looking at the actual specs
[05:22] <sako> yea
[05:22] <twb> Most businesses won't care about paying an extra $80 for an i7-flavoured system
[05:22] <twb> Check with your management
[05:37] <twb> Ugh, aptitude is so slow on embedded hw
[07:27] <\sh> moins
[09:22] <jamespage> good morning
[09:22] <laen> Mooooorning
[09:55] <kim0> Hi folks .. What's the root password for lxc container
[09:58] <soren> kim0: How did you set it up?
[10:02] <kim0> soren: sudo lxc-create -n lxc1 -f lxc.conf -t natty ?
[10:02] <kim0> lxc.conf is just networking stuff
[10:05] <soren> kim0: "root", it seems.
[10:16] <kim0> soren: thanks :)
[10:30] <soren> kim0: Sure :)
[12:05] <pmatulis> anyone have problems with tftpd-hpa on lucid after recent kernel upgrade?
[12:15] <patdk-wk> pmatulis, nope, but I haven't used a tftp client yet
[12:15] <patdk-wk> I can't imagine the kernel upgrade could have any effect at all on it
[12:33] <zul> morning
[13:05] <teddymills> cat /proc/sys/fs/file-nr   < --why is file descriptors alwayz zero ? is that okay ?
[13:07] <patdk-wk> dunno, kind of hard for me to see that file on your system from over here
[13:08] <RoAkSoAx> morning all
[13:17] <SuperRoach> Hello there. I have a general question - I'm running 8.04 on a rented vps. I've asked about doing an upgrade to 10.04 which appears dooable in the community guide, however they say they can only do 9.04, and require a complete recreation of the vm. Could you think of why they would go against doing an inplace update?
[13:21] <patdk-wk> because it's a vps
[13:21] <patdk-wk> and I wouldn't use 9.04, it hasn't been supported for awhile, and will get no security updates
[13:21] <patdk-wk> updates for 9.10 will end next month also
[13:21] <patdk-wk> so options are 8.04 or 10.04
[13:22] <_ruben> or 6.06 ;)
[13:22] <patdk-wk> doubt he wants to downgrade :)
[13:22] <SuperRoach> _ruben, heh i noticed that in the list too (6.06)
[13:22] <jdstrand> 6.06 runs out in june
[13:23] <jdstrand> I know it was a joke, but I don't want there to be *any* confusion :)
[13:23] <SuperRoach> patdk-wk, I understand. I didn't understand why I could only be offered 9.04 though... It seems the guide isn't relevant for a  vps?
[13:23] <patdk-wk> nothing is relevent for a vps
[13:23] <Pici> o.O
[13:23] <SuperRoach> aw :(
[13:24] <Pici> Sure it is.  It just depends whether you're planning on using the OS images provided by your provider or upgrading yourself.
[13:24] <patdk-wk> I would imagine it would be pretty easy to break the vps doing an upgrade
[13:24] <SuperRoach> pici - preferbly I was preferring to do an inplace upgrade if possible
[13:25] <Pici> SuperRoach: I've had no issues upgrading this VPS from 8.04 to 10.10, one release at a time as they came out.  Then again, this isn't being used for anything critical, just my personal stuff.
[13:25] <Pici> (linode)
[13:25] <patdk-wk> I only have one vps, and hate it, they are doing 10.04 ontop of centos5
[13:25] <SuperRoach> The lack of grub made me weary of attempting it for starters though
[13:25] <patdk-wk> kernel is so broken :(
[13:25] <SuperRoach> pici - yeah just personal stuff here too
[13:26] <SuperRoach> You've mentioned that you done one release at a time. I take it you mean 8.04 -> 9.04 -> 10.04 on your vps?
[13:26] <patdk-wk> that is two releases
[13:26] <patdk-wk> 8.04 -> 8.10 -> 9.04 -> 9.10 -> 10.04 ....
[13:27] <SuperRoach> ahh, so not just the lts, got it.
[13:27] <patdk-wk> 9.04 is not lts
[13:27] <Pici> "not just the lts"
[13:27] <SuperRoach> pici - yeah, the .10's ?
[13:28] <Pici> Or maybe it was 8.10 first.  Anyway, I started paying for it in late 2008, and as each release has come out I've upgraded.
[13:29] <SuperRoach> Ok. And you had no problems in your experience with your vps? Did you need to modify your boot parameters with each inplace update
[13:29] <Pici> SuperRoach: No. I didn't touch them.
[13:29] <Pici> There have been some configuration file changes across upgrades, but nothing unexpected.
[13:30] <SuperRoach> That's good to know
[13:32] <zul> SpamapS: you up yet?
[13:32] <SuperRoach> patdk-wk, you mentioned nothing is relevant for a vps before - is that because of a vendor thing, or because of vps - actual installation difference?
[13:33] <patdk-wk> well, it all depends on the vps
[13:33] <patdk-wk> there are atleast 3 different versions they like to use
[13:33] <patdk-wk> and each one works differently
[13:35] <patdk-wk> I atleast have never seen a ubuntu vps upgrade manual, they are all for bare hardware
[13:35] <patdk-wk> so they aren't really relevent
[13:35] <SuperRoach> I see. Would knowing the vps version help? I'm aware it is Xen.
[13:35] <patdk-wk> are you sure it's xen? generally vps's don't use xen
[13:35] <patdk-wk> normally openvz
[13:36] <patdk-wk> if it's xen, it can be considered a vm
[13:36] <patdk-wk> and upgrades are ok
[13:36] <SuperRoach> Just got an email confirming... yeah I thought it was openvz too... Xen, and thats the reason for 9.04 it seems... they don't support 10.04.
[13:36] <patdk-wk> the only issue you will have is, when using 10.04 or higher, you need to use an ec2 kernel
[13:37] <patdk-wk> and you will loose console output doing that
[13:37] <SuperRoach> Eek.
[13:37] <patdk-wk> I have two I run like that
[13:37] <patdk-wk> don't really need console
[13:37] <SuperRoach> if you don't have console, how do you admin?
[13:37] <patdk-wk> ssh
[13:37] <patdk-wk> and hope it doesn't break :)
[13:38] <SuperRoach> lol
[13:39] <SuperRoach> was there a change that requires the need of ec2
[13:39] <patdk-wk> ya, xen isn't supported :)
[13:39] <SuperRoach> losing console sounds like one of the scariest things possibnle
[13:39] <patdk-wk> ec2 is based on xen though
[13:39] <patdk-wk> so instead of installed kernel-xen, you install kernel-ec2
[13:40] <patdk-wk> and if you don't have grub
[13:40] <patdk-wk> you probably don't have control over the kernel or ramdisk images
[13:40] <patdk-wk> and therefor can't upgrade them anyways
[13:40] <SuperRoach> ah, darn.
[14:02] <orudie> while ubuntu server installation I get the following red screen "unable to set password for the mysql root user" , any idea  ?
[14:17] <RoyK> can someone please test http://transport.nilu.no/products/fukushima and see if it works ok? the news hit .jp/.us and the server wasn't too happy about that...
[14:17] <jkg> the page loads, are you after testing anything specific?
[14:20] <patdk-wk> hmm, that is an old page
[15:10] <raubvogel> mysql question: should I have a file somewhere in /etc/mysql/conf.d/ with my local settings, which then will outrank my.cnf, or is it ok to edit my.cnf?
[15:14] <pmatulis> Caribou: o/
[15:14] <Caribou> Hello pmatulis
[15:18] <Caribou> hmm. looks like grub2 will be a good friend of mine...
[15:26] <hggdh> smoser, good morning, we need another hardy ec2 from proposed...
[15:26] <smoser> hggdh, remember you don't so much need it
[15:26] <smoser> because you can apt-get install kernel.. and reboot
[15:26] <smoser> if you've launched with pv-grub aki
[15:27] <hggdh> smoser, huh.
[15:27]  * hggdh blushes, and hides
[15:28] <Orfeous> hi! is it possible to make my samba-server like a domain controller? on my client computers on my lan i want to logon to a domain wich has all users and passwords etc centralized instead of using the local users accounts on the client computers.. is this the right channel for that question? im using ubuntu server 10.10
[16:03] <kirkland> hallyn: fyi, spice question on ubuntu-server@ mailing list
[16:03] <kirkland> hallyn: figured you'd be best equipped to answer that one
[16:04] <hallyn> kirkland: actually kim0 might be as i've packaged it but he's used it :)  but thanks i'll take a look
[16:04] <kim0> just replied
[16:04] <hallyn> kirkland: this is the week that dev-zero should be updating his packages and taking some of my stuff into his, and then hopefully pushing into universe
[16:04] <kirkland> kim0: rock
[16:05] <hggdh> zul, can I use cempedak?
[16:05] <kim0> hallyn: can I post another answer that it should be landing in universe soonish :)
[16:05] <kim0> didn't know that
[16:07] <hallyn> kim0: i don't have your response yet, but sure
[16:08] <zul> hggdh: go ahead
[16:09] <hggdh> zul, thank you, destroying cempedak now
[16:09] <zul> nooooo :)
[16:10] <hggdh> heh
[16:25] <plm> Hi all
[16:25] <plm> How I configure in ssh for some users can't to do login?
[16:28] <kim0> plm: any idea why they can't login ?
[16:28] <Japje> kim0: i thought he was asking for a way to disable SSH for some users
[16:28] <kim0> :s
[16:29] <kim0> ah maybe indeed
[16:30] <kim0> plm: check out AllowUsers and AllowGroups in sshd_config
[16:30] <Japje> or change their shell to something like /bin/false :P
[16:34] <plm> kim0: thanks
[16:36] <kim0> Japje: that way they can't login locally either :)
[17:02] <Theravadan> what's the bwhat's the best way to create an AMI from a running instance? I am about to create a bunch of instances, should I make them EBS instances so I can make an AMI from the first one easily and clone the rest?e
[18:00] <SpamapS> Theravadan: you might want to consider using configuration management rather than image management to make your systems repeatable.
[18:41] <Orfeous> got some problem with PAM...
[18:41] <Orfeous> my errors looks like this: http://pastebin.com/6rAFEBAr
[18:44] <RoyK> Orfeous: erm ... that shouldn't happen. Take down the system in single and fsck the root
[18:44] <RoyK> s/root/root dev/
[18:47] <Orfeous> i cant understand why this has happened
[18:47] <RoyK> Orfeous: really, it shouldn't
[18:47] <Orfeous> maybe there was an upgrade of a package that did this
[18:47] <RoyK> doubt it
[18:47] <Orfeous> using "natty"
[18:47] <RoyK> I guess a filesystem corruption
[18:48] <RoyK> well, playing with alphas is like gasoline and matches... :)
[18:48] <RoyK> what filesystem?
[18:48] <RoyK> ext4?
[18:49] <Orfeous> ext4 yes
[18:49] <Aison> the harddrive of my test ubuntu server is failing, how can I copy the system to a new harddrive? what's the best way?
[18:50] <Orfeous> RoyK: this pam issues is causing my imap-server not working propertly when i try to login.. :(
[18:50] <RoyK> Orfeous: obviously
[18:51] <RoyK> Orfeous: but I don't think it's a pam issue - those files really _should_ be there unless they have changed something major on natty
[18:51] <Orfeous> RoyK: the files isnt in the specified directory..
[18:51] <Orfeous> ive checked
[18:52] <Orfeous> i reboot and i will see :)
[18:52] <Orfeous> soon back
[18:58] <Orfeous> the reboot did it :)
[18:58] <Orfeous> PAM working again
[18:58] <Orfeous> but the files isnt there anyway :D
[18:59] <RoyK> they're there on my natty VM
[19:00] <Orfeous> amd-64?
[19:00] <RoyK> yep
[19:01] <RoyK> lemme update to the latest...
[19:03] <Orfeous> lemme?
[19:03] <RoyK> let me
[19:27] <RoyK> Orfeous: heh - just upgraded my natty install and that seems like it broke it
[19:29] <Orfeous> yes, you see..
[19:30] <RoyK> forgot to make a snapshot before it also - oh well - a test VM isn't much of a loss :P
[19:30] <Orfeous> is it a bug or just a change? because pam is working without the files
[19:30] <RoyK> probably a change
[19:30] <Orfeous> when i rebooted
[19:30] <RoyK> or somewhere in the middle of two changes :P
[19:31] <Orfeous> hehe
[19:31]  * RoyK wouldn't use an alpha for anything but testing
[19:44] <jkg> I am trying to use trickle to rate-limit a file transfer over ssh (as in, tar ... | trickle -s -d 5 -u 10 ssh tar ...). without trickle it works great. with trickle the file transfer fails, and all I see is "Read from socket failed: Resource temporarily unavailable". Any ideas where I should be looking?
[19:44] <jkg> this is on ... urgh, hardy, apparently.
[19:45] <RoyK> jkg: rsync --bwlimit
[19:46] <RoyK> rsync uses ssh for transport by default (since five years back or so) and does a better job than most
[19:46] <jkg> I'm trying to remember why I ditched rsync in the first place
[19:46] <RoyK> standard ops (that I use) are rsync -avP --bwlimit /path/to/somedata somehost:/new/path
[19:47] <jkg> also ... you're telling me for *5 years* I've been typing "-e ssh" needlessly?
[19:47] <jkg> oh well :)
[19:47] <RoyK> yeah, waste of calories :)
[19:47] <RoyK> rsync had some nasty bugs before v3
[19:47] <RoyK> v3 works well
[19:48] <jkg> part of me says "switch to this other tool" is the wrong answer when "why doesn't this tool work" is the question ... however "ditch the tool you've never encountered and go back to one you use daily" is, so I will :-)
[19:48]  * RoAkSoAx starving... off to lunch
[19:48] <Pici> rsync 3.0.4 is in Hardy's backports, but 2.6.9 is in its normal repos.
[19:48] <a7ndrew> i'm not sure if this is helpful but if you use scp there is a -l switch
[19:48] <a7ndrew> for rate limiting
[19:49] <RoyK> Pici: rsync 3.0.7 is in lucid
[19:49] <a7ndrew> i'd never heard of trickle :)
[19:49] <Pici> RoyK: jkg stated he was using hardy.
[19:50] <RoyK> k
[19:50] <RoyK> ah
[19:50] <RoyK> ok
[19:50] <RoyK> sorry
[19:50] <Pici> :)
[19:50] <RoyK> then I'd use a backport
[19:50] <jkg> yeah, for my sins. legacy machine, and all that.
[19:50] <RoyK> rsync <v3 has some nasty issues
[19:50] <Pici> Hardy is still supported.
[19:51] <RoyK> perhaps they've backported the fixes, then
[19:51] <Pici> rsync | 2.6.9-6ubuntu2 |         hardy | source, amd64, i386 VS rsync | 3.0.4-3ubuntu1~hardy1 | hardy-backports | source, amd64, i386
[19:51] <RoyK> ok
[19:52] <RoyK> we've moved (almost) all our servers to lucid
[19:52] <jkg> so, backports ... it's been a while, and it was probably on Debian Etch, so, any pointers? :)
[19:52] <jkg> sorry that's a dumb question, I'll STFW.
[19:53] <RoyK> one 8.04 box still on - can't get g77 for lucid :P
[19:53] <Pici> jkg: If you're just looking to upgrade rsync from backports, I'd uncomment the line in /etc/apt/sources.list , sudo apt-get update then sudo apt-get install rsync   (replace with aptitude if you prefer that).
[19:53] <Pici> jkg: You *may* want to disable the repo after that though, as there were other packages backported that you may not necessarily want.
[19:54] <jkg> ok, thanks
[19:54]  * RoyK should go pack for the trip to the north - a bit sad to leave the spring now.... :P
[19:55] <jkg> "rsync  version 3.0.4  protocol version 30" -- well that was less painful than I remember, and I didn't see the word "pinning" once ;)
[19:55] <a7ndrew> jkg: scp -l should work, and it uses ssh for its transport
[19:56] <Pici> I suppose there are other ways to enable backports safely using pinning, but that is complicated.
[19:56] <jkg> can scp preserve timestamps/permissions though? (the original reason to use tar | ssh tar was to keep those)
[19:58] <jkg> Pici: yeah, I think if the machine was ever going to go back into external-facing production I'd look deeper into the "right" solution, but for now, that worked great
[19:58] <a7ndrew> man page says it can do timestamps and 'modes' with the -p option. I've never used that though
[19:58] <RoyK> a7ndrew: any reason to use scp when rsync exists?
[19:59] <jkg> a7ndrew: oh! I was looking for -a, as per cp/rsync. doh :-) but rsync -az will suffice
[20:00] <RoyK> jkg: add a --partial (or -P if you want --progress too) so that if you're rsync'ing large files, they can be resumed if interrupted
[20:00] <a7ndrew> well, i could be wrong about this, but i find rsync sometimes spins its wheels a lot before doing anything, and uses a bunch of memory. I guess I only uses rsync for those cases where some of what i want to copy is on the other side.
[20:00] <a7ndrew> typing that out, those seem like sketchy reasons :P
[20:01] <jkg> RoyK: this is for an unattended process run out of cron, so I'll keep it quiet, but thanks for -P (combining those options is what I usually want and don't bother to do)
[20:01] <RoyK> a7ndrew: rsync may use rather large amounts of memory (or at least in earlier versions) for the initial index process - no idea if that still is a case for v3 - don't think so
[20:02] <RoyK> jkg: for an unattended process, you surely don't want -P :P
[20:02] <RoyK> no reason to get emails that size :þ
[20:04] <jkg> indeedy
[20:04] <jkg> given this process is going to run every minute (but look for, create and destroy a lock file, so not really every minute), I *really* don't want those emails
[20:04] <a7ndrew> I used to rsync stuff to and from a ARM-powered NAS box at home, very slow process. In fairness though it was probably the processor struggling with the encryption as much as the memory issue.
[20:06] <a7ndrew> I'm on the mailing list for backuppc and there are regular complaints there about rsync for the memory issue, but that's moving whole disks around
[20:11] <jkg> woo, all working. thanks folks.
[20:13] <jkg> oh, spoke too soon. it failed on one file :-/
[20:13] <jkg> http://paste.ubuntu.com/583487/
[20:14] <jkg> (a typical file is /srv/data/documents/queue/test.add/$timestampTIFF001.XSM/blah.tif)
[20:16] <emindmedia> Hi everyone. I am getting ready to setup a new webserver, Does anyone know if ill have trouble with ubuntu on a poweredge 1650 / raid 5
[20:18] <ScottK> emindmedia: I think you shouldn't.  Of course no one can say for sure in advance if you will.
[20:19] <emindmedia> ScottK: I was just preparing to follow the guide step by step. I figured I would check, thank you.
[20:19] <jkg> emindmedia: it might be worth checking the list on http://www.ubuntu.com/certification/make/Dell/servers -- if you want a 'sure thing', pick from that list.
[20:20] <jkg> that said I wouldn't expect a problem with any kit that wasn't really quite weird :-)
[20:21] <emindmedia> JKG: Thank you, unfortunately I'm stuck setting this up on servers we own before I can justify the CAPEX to buy certified equipment.
[20:22] <emindmedia> jkg: Thanks, I'm sure it will go smoothly. Or hopefully. :-)
[20:24]  * jkg finds and fixes the stupid bug in his rsync invocation
[20:28] <jkg> hrm, no. rsync is failing right at the end of transferring each file, when it comes to rename the file
[20:29] <jkg> (I fixed the path-doubling-up thing, but it still breaks in the same way)
[20:45] <jkg> ok, throwing away rsync and picking up scp. wonder hwo long until I'm back trying to get trickle working ;)
[20:46] <RoyK> jkg: why did you ditch rsync?
[20:47] <jkg> at the end of transferring any file of significant size, the rename it does was failing. I tried with/without --delayed-updates, got the same errors.
[20:50] <jkg> (glad I tested it with real files, I had just been creating a directory structure with mkdir/touch!)
[20:51] <jkg> oddly, scp has worked perfectly, except that it failed to set the timestamp on one particular file, claiming it didn't exist
[21:12] <gtaylor_laptop> Anyone else notice that Ubuntu EC2 instances take -forever- to restart? Or get stuck and don't restart until you restart them a second time through the EC2 management console?
[21:13] <jkg> gaibdube
[21:13] <jkg> GAHA
[21:13] <jkg> wrong terminal
[21:14] <jkg> uh, nobody saw that, right, I don't need to change any passwords...
[21:14] <guntbert> jkg: of course not
[21:14] <jkg> (also: when will GNOME implement focus-follows-eyes?)
[21:14] <guntbert> and the logs wil just show *****
[21:15] <jkg> the blessing is that I only use it in 3 places, for relatively unimportant accounts...
[21:15] <jkg> ... make that used. whew.
[21:39] <hallyn> does anyone here use the open-vm-tools?  The community documentation doesn't say anything about the kernel modules in open-vm-dkms.  Are they actually required on the host for the vm-tools in the guest to work?  (i'd assumed so)
[21:44] <RoAkSoAx> SpamapS: ping
[21:47] <Theravadan> i want to add swap to my ec2 ebs instance, i'd prefer to put it on local disk, is that an option? using ebs for swap seems wrong
[21:47] <soren> hallyn: I don't believe they're needed on the host at all, no.
[21:52] <SpamapS> RoAkSoAx: pong, sup?
[21:54] <RoAkSoAx> SpamapS: quick question about mysql. I'm doing this: mysql_install_db --datadir=/mnt/export
[21:54] <RoAkSoAx> SpamapS: that installs a mysql dir under /mnt/export (/mnt/export/mysql)
[21:54] <hallyn> soren: interesting, thanks.  so they're for the guest?
[21:54] <RoAkSoAx> SpamapS: now, when running the daemon, should I sue /mnt/export or /mnt/export/mysql as datadir?
[21:55] <guntbert> RoAkSoAx: don't sue your system  - sorry, couldn't resist :-))
[21:55] <SpamapS> RoAkSoAx: /mnt/export
[21:56] <soren> hallyn: Yes.
[21:56] <soren> hallyn: They're their paravirt drivers.
[21:56] <soren> hallyn: ...and such.
[21:57] <hallyn> good then i don't need to worry as much about ltp crashing with them installed
[21:57] <soren> hallyn: There's a special driver for the emulated nic, there's a driver for a host-guest shared fileystem... err... and some toher stuff.
[21:57] <soren> hallyn: I forget. It's been a number of years by now :)
[21:57] <hallyn> one custom-designed to screw up xfs?  :)
[21:57] <hallyn> soren: thanks.
[21:58] <RoAkSoAx> SpamapS: I get this though:
[21:58] <RoAkSoAx> Mar 21 21:57:36 natty1 mysqld_safe: Starting mysqld daemon with databases from /mnt/nfsexport
[21:58] <soren> hallyn: Sure thing.
[21:58] <RoAkSoAx> Mar 21 21:57:41 natty1 mysqld_safe: mysqld from pid file /var/run/mysqld/mysql1.pid ended
[21:58] <SpamapS> RoAkSoAx: looking at /var/log/mysql/mysql.err?
[22:10] <RoAkSoAx> SpamapS: for some reason the port is still open even though mysql is stopped
[22:13] <soren> *blink*
[22:14] <SpamapS> RoAkSoAx: lsof -n -p | grep 3306
[22:14] <SpamapS> err
[22:15] <SpamapS> netstat -tnlp | grep 3306
[22:15] <SpamapS> mixed two commands there
[22:17] <RoAkSoAx> SpamapS: will ping you later. Split brain in my cluster :)
[22:30] <storrgie> Is it possible to use a PERC 5 as an HBA instead of as a hardware controller?
[22:39] <pyrophelia> I've got 45 disks in a single 4u, how do I determine the identity of a bad disk from an error in the syslog.  [ 8670.445436] ata11.03: exception Emask 0x100 SAct 0x0 SErr 0x0 action 0x6 frozen
[22:40] <pyrophelia> I need to figure out which disk that is in /dev/ so I find identify the right backplane
[22:41] <kim0> Hi .. How do I update the tgz file that lxc clones to create guests?
[22:41] <pyrophelia> for whatever reason this sytem does not boot with the same disk order every time.
[22:42] <kim0> pyrophelia: I'm not sure .. but /dev/disk/by-path/ would probably show reboot consistent device paths
[22:42] <RoAkSoAx> SpamapS: ok this is what I keep getting: http://pastebin.ubuntu.com/583558/
[22:43] <pyrophelia> I do but it reports PCI addresses not, ATA :/
[22:43] <SpamapS> RoAkSoAx: netstat -tnlp | grep 3307 should show anything listening on 3307
[22:43] <RoAkSoAx> SpamapS: doesn't
[22:43] <pyrophelia> s/I do/it does
[22:43] <SpamapS> RoAkSoAx: whats bind-address set to?
[22:44] <RoAkSoAx> SpamapS: 127.0.0.1
[22:44] <RoAkSoAx> SpamapS:daahh I think that's the problem
[22:45] <pyrophelia> I don't get it.  Why does the syslog report errors in ATA addresses but I can't translate that to an actual address.
[22:45] <RoAkSoAx> SpamapS: apparently not
[22:49] <RoAkSoAx> SpamapS: i think it is apparmor
[22:50] <sbeattie> RoAkSoAx: is there anything in dmesg?
[22:52] <soren> pyrophelia: There's a lot of symlinks in /sys that might help you.
[22:53] <RoAkSoAx> sbeattie: it is not an error with apparmor, but rather it is enforcing mysql whne I don't really want it to
[22:53] <RoAkSoAx> sbeattie: at least that's what I'm thinking might be going on
[22:55] <sbeattie> RoAkSoAx: I'm only picking up the tail of the discussion, and am not sure what you're trying to do, but you can put the mysql profile in non-enforcing mode via aa-complain or aa-disable (the latter is natty only)
[22:56] <Daviey> ooo, i didn't know about aa-disable...
[22:57] <RoAkSoAx> sbeattie: I'm trying to get MySQl in an HA Cluster, and actually launching mysql from another datadir which causes apparmor to not allow MySQl to do so
[22:59] <patdk-lap> well, edit apparmor
[22:59] <RoAkSoAx> patdk-lap: that';s what I already did
[22:59] <patdk-lap> :)
[23:07] <pyrophelia> soren, nothing uselful.  thanks anyway
[23:07] <pyrophelia> ok maybe i'm going about this wrong
[23:07] <pyrophelia> when you have a ton of disks in a single system, how do manage them?
[23:07] <pyrophelia> there has to be something better than syslog errors
[23:07] <pyrophelia> ata11.03 tells me nothing if I can't resolve it
[23:44] <RoAkSoAx> SpamapS: ok, this is the mysql command I'm using: /usr/bin/mysqld_safe --defaults-file=/etc/mysql/my.cnf --pid-file=/var/run/mysql1.pid --socket=/var/run/mysql1.sock --datadir=/mnt/nfsexport --user=mysql --bind-address=192.168.122.254 and the conf is: http://paste.ubuntu.com/583581/
[23:44] <RoAkSoAx> SpamapS: the error it shows is that it cannot bind the port, ideas?
[23:45] <jeeves_moss> just wondering, if I put 2 NICs (in the same box) on 2 diff subnets, then have the router with static NAT routers for the "web only" subnet, what other configs do I need to do?
[23:46] <twb> jeeves_moss: what are you trying to achieve?
[23:47] <jeeves_moss> twb, I'm trying to keep ETH0 as our "web interface" so all web traffice coming into/out of this box stays on that one interface,and the gig interface is ONLY for inter....  nm, answered my own question.  dual gateways
[23:47] <SpamapS> RoAkSoAx: does that IP actually exist?
[23:47] <RoAkSoAx> SpamapS: yes
[23:48] <SpamapS> RoAkSoAx: strace it and figure out the errno that its catching
[23:48] <RoAkSoAx> SpamapS: ok ;)
[23:48] <SpamapS> RoAkSoAx: that really doesn't make any sense
[23:49] <jeeves_moss> twb, can you quickly have a look @ the config for me please?  http://pastebin.com/nQ1CmK3j
[23:53] <twb> jeeves_moss: you have two upstream interfaces?  That is, two ISPs?
[23:53] <twb> Hm, except they're both using /24s in 192.168/16, so that doesn't make any sense
[23:54] <jeeves_moss> twb, they dual into a single router with dual NATs to the same external interface
[23:54] <RoAkSoAx> SpamapS: weird, it is like if this bug: http://bugs.mysql.com/bug.php?id=28516 was still present
[23:54] <jeeves_moss> twb, with the current config, I can see it externally.  but I've only got 2 ports open, so I think I've got it licked.  I don't think it's a Ubuntu issue
[23:54] <twb> I think the problem is you not knowing what you're doing
[23:57] <jeeves_moss> twb, that's a distinct possibilty