[00:00] <tbc> I figured you were quietly reading. :)
[00:02] <tbc> erichammond: I'm reminded now of sar, too.
[00:12] <erichammond> tbc: I've used sar casually but I think it only reports at the same level as the rest of the tools (i.e., user, system, iowait, nice, steal, ...)
[00:12] <tbc> erichammond: that's what I read in the collectl docs just now. Thus collectl may help you more than other tools you've tried.
[00:12] <erichammond> Based on my speed reading so far, collectl seems to be similar, unless there is a plugin which does something more.
[00:12] <tbc> ah
[00:13] <tbc> You might at least write to the list of post on the forum to see what that crowd has to say.
[00:13] <erichammond> As it turns out, we may have identified the cause through other means.  I just noticed that the fork rate increased at the same time on the munin charts.
[00:16] <ja660k> is there an x86 version of ubuntu server?
[00:19] <ja660k> !x86
[00:27] <erichammond> tbc: We think we've tracked the cause down to the invocation of an external process to calculate MD5 signatures instead of using the CPAN MD5 package.  Testing the fix soon.
[00:28] <tbc> glad to hear that
[00:33] <wweasel> I have a frustrating problem with my Ubuntu server install. It periodically goes into some sort of suspend state, where it doesn't respond to ping/ssh, etc. and, more strangely, doesn't keep the system time advancing.  If I touch a keyboard key it immediately wakes. Could anyone help me figure it out?
[00:36] <erichammond> tbc: Thanks for your ideas.  We track average page generation time with munin graphs.  After our last release, that jumped up a bit (200ms) which we correlated with a jump in system CPU and then to a jump in forks.  Then, examining the deltas in the revision control we identified the culprit.
[00:37] <tbc> Excellent!
[00:37] <erichammond> I love web development with fast release cycles.
[00:40] <tbc> heh
[00:41] <tbc> ja660k: re. !x86 architectures. Yes. See https://help.ubuntu.com/8.04/installation-guide/i386/hardware-supported.html
[00:41] <tbc> People should hang around a little longer for answers. J
[00:41] <tbc> wweasel: Did you install only server packages, or is X also running?
[00:42] <wweasel> tbc, server packages only.
[00:42] <tbc> erichammond: yeah, no problem w/fast releases as long as troubleshooting velocity keeps up. IRC rocks IMO.
[00:42] <wweasel> It's on a laptop, but obviously AC connected.
[00:43] <tbc> wweasel: sounds like some random laptop package is trying to save on power. But I haven't encountered that before. Sorry.
[00:45] <wweasel> tbc, Yeah :/ It would be nice if I could even know what exactly is happening. Would you know which log file I ought to look through? It's not clear to me.
[00:46] <tbc> wweasel: /var/log/messages
[00:46]  * tbc is guessing now
[00:47] <tbc> wweasel: Send 'ps -fe' to http://ubuntu.pastebin.com/ and I'll have a look.
[00:49] <tbc> wweasel: make that 'ps aux'
[00:49] <wweasel> http://ubuntu.pastebin.com/m7c27bf38
[00:49]  * tbc reads
[00:49] <wweasel> wait wait, that was ps -fe
[00:49] <tbc> np
[00:50]  * tbc has old habits
[00:50] <wweasel> shall I pastebin ps aux as well, or no worries?
[00:50] <tbc> Yes, let me see that, too.
[00:52] <wweasel> http://ubuntu.pastebin.com/m58a456a4
[00:53] <zorzar> hi is there a way to exclude dependencies from packages? i run a hadles ubuntu server without X an a packege depends on X but i don't want to install it
[00:54] <tbc> wweasel: you're running some KDE processes. Those are desktop packages.
[00:54]  * tbc didn't expect server edition to install KDE
[00:54] <wweasel> hrm. That's really odd, I don't think I've installed any KDE packages at all.
[00:57] <tbc> I've seen KDE get sucked in when I've installed an app that uses a GUI. zorzar: you're asking something similar. I'm new to the server edition and may be wrong, but I can say that if one is running a server one should be able to get along w/o X.
[00:57] <tbc> We need a tool that shows all installed packages and what they depend on. I'm sure it exists, but I'm rusty.
[00:57] <wweasel> yeah, I mean no X applications
[00:57] <tbc> *nod*
[00:57] <wweasel> I just pastebin'd my dpkg --get-selections
[00:58] <wweasel> that's all my installed packages
[00:58] <tbc> *chuckle* wweasel - URL, please?
[01:01] <wweasel> http://ubuntu.pastebin.com/m1845464c
[01:02] <tbc> reading...
[01:03] <wweasel> Like, I'm not all that advanced a linux user, but I've also been using linux for a while. The closest thing I've installed to a desktop app is Deluge.
[01:03] <wweasel> but I installed the backend and run a gtk client on my desktop
[01:03] <tbc> Sounds reasonable.
[01:03] <wweasel> and even then, that wouldn't have any kde dependencies - it's gtk
[01:03] <tbc> yup
[01:04] <wweasel> I wish I could get you the list of installed packages on a clean install and just show the diff with my install.
[01:04] <tbc> np
[01:05] <tbc> We can get that. Still thinking...
[01:06]  * tbc thinks his KDE suspicion was wrongheaded
[01:07] <wweasel> I'm pretty sure there's no desktop components installed
[01:07] <wweasel> it's a recent install (1 month)
[01:07] <wweasel> so all the packages i've installed are in my recent memory :)
[01:08] <tbc> wweasel: sorry, I have to go soon, but have a look at this list: http://ubuntu.pastebin.com/d580449e0
[01:08] <tbc> Those are the obviously-named kernel daemons
[01:09] <tbc> I think instead of a package you have some ACPI event putting your system in a less-than-fully-conscious state.
[01:09] <tbc> But that's only a hypothesis. I could be wrong.
[01:09] <wweasel> what about them?
[01:10] <wweasel> It's plausible
[01:10] <wweasel> The last time I was troubleshooting, the guy I was working with suspected it might be ACPI-related
[01:11] <wweasel> And suggested I start the server with the kernel parameter acpi=off
[01:11] <wweasel> In fact, that's how it's running right now, and no luck...it still suspends.
[01:11] <tbc> ah
[01:11] <tbc> For instance, why would kgameportd be running on a server? I don't think that daemon needs to run.
[01:12] <wweasel> Not sure. Do you have a server install? Check if it's running.
[01:16]  * tbc only has a notebook running Linux atm
[01:17] <wweasel> hrm
[01:17] <wweasel> Well, it's something power-saving related
[01:17] <wweasel> It wouldn't seem to be suspend, because it wakes *instantly* on a keyboard press
[01:18] <wweasel> so it's more likely "standby" state.
[01:18] <tbc> Yeah. Waiting for user IO.
[01:18] <wweasel> yeah
[01:18] <tbc> I've never seen anything so crude it shut off so much, though. That's what intrigues me.
[01:19] <wweasel> It's an old eMachines laptop from 1994...
[01:19] <wweasel> sorry, 2004
[01:19] <wweasel> not 1994.
[01:20] <wweasel> big difference :P
[01:20] <wweasel> it also has corrupted video ram, making odd distortions on the screen. but that's irrelevant as well.
[01:21] <tbc> Heh.
[01:21] <tbc> I have an old Compaq with a broken display. Boots fine. Nice server admin'd via ssh. But I haven't turned it on in years.
[01:23] <wweasel> yeah, that's the idea with my eMachines. less power hungry than a tower, completely unusable as a desktop (even the VGA-out is corrupted by the video ram)
[01:23] <wweasel> i'm presently wondering if I should try booting with acpi=off, apm=off
[01:24] <tbc> That sounds like something to try. After all, you can easily reproduce this problem, right? How long does it take?
[01:24] <tbc> For it to go semi-conscious?
[01:25] <wweasel> I haven't timed it. I don't think it's consistent either.
[01:25] <wweasel> But generally in about 15 min - an hour.
[01:25] <wweasel> so easily reproducible
[01:25] <wweasel> although it's very weird: "By default, hibernate/standby is disabled on the server edition", according to the internets
[01:26] <tbc> But it's neither suspending nor hibernating.
[01:26] <wweasel> no, but it's standby-ing.
[01:26] <wweasel> I think
[01:26] <tbc> My first guess was a screensaver. But that's too obvious.
[01:26] <wweasel> I had a ubuntu wiki page describing the difference between the three
[01:26] <wweasel> Well, it does know to turn off the laptop's screen after a certain period of IO inactivity.
[01:27] <wweasel> and does so even though I have acpi disabled
[01:27] <tbc> But screen blank shouldn't be causing the other brain damage.
[01:27] <tbc> So I'm intrigued.
[01:27] <tbc> Could be a bug.
[01:27] <wweasel> Indeed. Apparently it's not just a screen blank
[01:27]  * tbc likes bugs
[01:27] <tbc> bugs are a chance to improve the system
[01:28] <tbc> for everyone
[01:28] <wweasel> could be. would probably have to be reproducible on another system though
[01:28] <tbc> Finding them, that is.
[01:28] <tbc> Yeah. But if you can reproduce, it could enough to find & fix.
[01:28] <wweasel> Yep
[01:31] <wweasel> Alright, well, I'm trying acpi=off apm=off.
[01:31] <wweasel> And going to go have dinner.
[01:31] <wweasel> Much as it's kind of curious, it's also REALLY frustrating.
[01:32] <tbc> I can imagine. I'll be online for a while yet.
[01:33] <wweasel> Alright, I'll be back later! Thanks for all of your help
[01:33] <tbc> Glad to be here.
[02:02] <jolaren> Hello. I'm trying to install ubuntu server form usb.. but it keeps saying Could not find kernel image: Linux boot:
[02:02] <jolaren> What could be the error?
[02:09] <stimble_> do you get past the grub menu to select the image?
[02:10] <jolaren> stimble_;
[02:10] <jolaren> No it's just at the start
[02:10] <jolaren> SYSLINUX 3.63 Debia-2008....
[02:10] <stimble_> so you don't even see the grub menu?
[02:10] <jolaren> No
[02:11] <stimble_> have you installed grub to the usb device?
[02:11] <stimble_> grub-install /dev/sdb
[02:11] <stimble_> or similar
[02:11] <jolaren> I'm using unetbootin
[02:11] <jolaren> I'm trying to boot of the usb device
[02:11] <jolaren> and install ubuntu server
[02:11] <stimble_> i dont know anything about unetbootin
[02:12] <jolaren> simple well used linux boot usb
[02:12] <stimble_> your machine does not support direct netowrk booting?
[02:12] <stimble_> that might be a better bet
[02:12] <jolaren> I'm burning a new usb now
[02:13] <jolaren> Is it easy to install a server with pxe btw?
[02:13] <stimble_> unetbootin looks pretty cool tho
[02:13] <jolaren> yer its great
[02:13] <stimble_> i'd never heard of it
[02:13] <jolaren> been usin it for years
[02:13] <stimble_> pxe works, yeah
[02:13] <jolaren> i have no experience of it
[02:13] <jolaren> my dell poweredge 750 searches for pxe at boot
[02:13] <jolaren> if set to it i.e
[02:14] <jolaren> I've tried hookin up a cd rom reader etc to it but dun work
[02:14] <jolaren> last option is to move the hdd to a friends house
[02:14] <jolaren> and install it over there
[02:14] <jolaren> but, how easy is it with pxe?
[02:15] <stimble_> its not too tough
[02:15] <stimble_> u just need a tftp server, and dhcp setup
[02:15] <stimble_> and grap the netbooot images
[02:15] <stimble_> confiugre tftp to server em up
[02:15] <jolaren> bah
[02:15] <stimble_> and dhcpd to tell the requester to request the netboot image
[02:15] <jolaren> settin that up on me netbook is gay
[02:15] <stimble_> not easy peasy, but doable
[02:16] <stimble_> ha
[02:16] <jolaren> tried to hook up the s-ata disc to my ion
[02:16] <jolaren> ion asrock 330
[02:16] <jolaren> but apparently they have their own hyped s-ata cables
[02:18] <jolaren> kinda bugs me
[02:18] <jolaren> i have to setup mythbackend on a crap computer now
[02:18] <jolaren> cuz my srv wont boot
[02:19] <bogeyd6> what does 'wont boot' mean/
[02:19] <jolaren> well
[02:19] <jolaren> it boots to a concurrent old installation of fedora
[02:19] <jolaren> but I can't manage to insatll anythin to it
[02:20] <jolaren> or
[02:20] <jolaren> how can i put it
[02:20] <jolaren> I can't reinstall.. like wipe it all out
[02:22] <jolaren> and
[02:22] <bogeyd6> this is ubuntu server channel
[02:22] <jolaren> yer I knw
[02:22] <jolaren> know
[02:22] <jolaren> I want to install ubuntu server
[02:22] <bogeyd6> ok then when you boot the server cd, then it comes times to setup partitions go manual and set mount points and set format = no on them
[02:22] <bogeyd6> it will install over what is there with the things from the server cd
[02:23] <bogeyd6> anything else will be left alone
[02:23] <jolaren> yer but ya not followin bogeyd6
[02:23] <bogeyd6> also, make sure you setup a different user
[02:23] <jolaren> well
[02:23] <jolaren> this old comp
[02:23] <jolaren> will probarly boot just fine
[02:23] <jolaren> from ubuntu server from a usb
[02:23] <jolaren> but my poweredge 750
[02:23] <jolaren> I just cant get it to boot
[02:23] <jolaren> dno how ima solve it
[02:23] <bogeyd6> i dont know how to solve a fedora booting problem, try 3fedora
[02:24] <bogeyd6> hmm this is a new keyboard and the keys still dont work, yet a usb keyboard will
[02:25] <jolaren> a fedora booting problem?
[02:25] <jolaren> uhm
[02:25] <jolaren> an installation problem
[02:25] <jolaren> that it currently concures fedora is just a side-note
[02:25] <jolaren> not installed by me
[02:26] <jolaren> I want to wipe it clean
[02:26] <jolaren> as i said earlier
[02:26] <bogeyd6> hmm, my control keys dont work either so no copying pasting
[02:27] <jolaren> dat blows
[02:27] <bogeyd6> so you want to wipe the server clean
[02:27] <jolaren> yer
[02:27] <jolaren> i've tried almost all versions there is of it
[02:27] <jolaren> but i mean
[02:27] <jolaren> next step is either to bring the hdd to a friend
[02:27] <jolaren> or borrow and external cd reader
[02:27] <bogeyd6> dariks boot and nuke
[02:28] <bogeyd6> wipes the hdd completely clean of anything and you can start all over
[02:28] <jolaren> well
[02:28] <jolaren> i cant boot of anything
[02:28] <jolaren> ive tried usb
[02:28] <bogeyd6> but im confused because the ubuntu server cd install will re-do the partitions
[02:28] <jolaren> cd
[02:28] <bogeyd6> ok, so its a hardware problem/
[02:28] <jolaren> well
[02:28] <jolaren> not really a problem
[02:28] <jolaren> or not really a hardware problem
[02:28] <jolaren> more lackthereof
[02:29] <bogeyd6> you are making absolutely no sense at all
[02:29] <bogeyd6> the server wont boot a cd, yet its not a cd probme
[02:29] <bogeyd6> did you check the bios to change the boot order to cd, usb, then hdd
[02:29] <jolaren> ofcourse, but it's all fuzzy
[02:30] <jolaren> the fudge
[02:30] <bogeyd6> ok, im done, good luck
[02:30] <jolaren> this is like the fifth usb i've burnt
[02:30] <jolaren> that says
[02:31] <jolaren> could not find kernel image: linux
[02:31] <bogeyd6> how do you burn a usb
[02:32] <jolaren> unetbootin
[02:32] <stimble_> jolaren: can you boot another machine from the usb
[02:32] <bogeyd6> it is possible the server wont boot usb
[02:32] <stimble_> does it only fail on the poweredge
[02:32] <bogeyd6> lots of computers wont install from an external usb dvd drive
[02:33] <stimble_> yeah, lots of older hardware dont support usb boot
[02:33] <jolaren> well
[02:33] <jolaren> well now im not trying to boot the server
[02:34] <jolaren> i'm trying to boot annother computer
[02:34] <jolaren> a old one
[02:34] <bogeyd6> a brand new at the time dl 380 wouldnt install windows from external dvd drive either
[02:35] <jolaren> stimble_;
[02:35] <jolaren> ye
[02:35] <jolaren> stimble_; Other machines boots good
[02:35] <jolaren> strange
[02:35] <jolaren> probarbly bios settings
[02:36] <stimble_> well, then that machine just dont support usb boot
[02:36] <stimble_> so use cd or pxe
[02:38] <jolaren> well
[02:38] <jolaren> isnt it strange
[02:38] <jolaren> that I get up the loader?
[02:39] <jolaren> The
[02:39] <bogeyd6> not strange at all
[02:39] <jolaren> SYSLINUX 3.63 Debian-2008...
[02:39] <jolaren> Okay..
[02:45] <stimble_> jolaren:  the answer is CD or PXE
[02:45] <stimble_> stop fighitng it i say
[02:46] <stimble_> or take the drive out and install to it from another computer
[03:01] <jolaren> stimble_; well i guess ill have to get a cd tomorrow then
[03:01] <jolaren> but then i might aswell try to run over to a friend
[03:01] <stimble_> or pxe
[03:01] <jolaren> just wonder who has sata discs
[03:01] <jolaren> pxe seems complicated
[03:01] <jolaren> allthought
[03:02] <stimble_> a chance to learn:-)
[03:02] <stimble_> its not that bad
[03:02] <stimble_> not cake, but not terrible
[03:04] <jolaren> well but still lad
[03:04] <jolaren> reckon if i lay 3 hours of my time doin that
[03:04] <jolaren> and it wont work
[03:04] <jolaren> reckon my rage
[03:08] <jolaren> tho stimble_
[03:08] <jolaren> would an external cd drive work or should I just go hunt a friend
[03:08] <stimble_> no pain, no gain
[03:08] <stimble_> usb is your prob im thinking
[03:09] <stimble_> so would not count on usb cd
[03:09] <stimble_> i would at least try pxe
[03:09] <stimble_> there are lots of docs and howtos on it
[03:09] <jolaren> yer ive seen plenty
[03:09] <jolaren> but their pretty intense
[03:09] <jolaren> and in some cases you need floppies?
[03:14] <stimble_> picka good one
[03:14] <stimble_> and u dont need floopies
[03:15] <stimble_> so dont pick one of those
[03:26] <jolaren> will be easier to just hope some of my friends
[03:26] <jolaren> has a computer with a s-ata drive
[04:09] <Roxyhart0> Hi there iam tring to install a new schema and i am getting this error : ldap_add: Server is unwilling to perform (53)
[04:09] <Roxyhart0>         additional info: no global superior knowledge
[04:09] <Roxyhart0> any idea?
[04:45] <jMyles> I'm trying to stream ffmpeg using ffserver, but when a client tries to connect, I get an error message: "Error writing output header."  Not much in the way of help from our or other forums.  Anybody seen this?
[04:52] <tbc> Roxyhart0: I googled and found this. Does it help? http://www.openldap.org/faq/data/cache/1322.html
[05:00] <Roxyhart0> thanks tbc.i read that but still i can't see where is the problem in my cnfiguration as i follow the configuration guide exatly that it say
[05:01] <bizkit> how do i generate a text file of all the installed packages on my ubuntu server?
[05:01] <jmarsden> bizkit:  dpkg --get-selections | cut -f1
[05:01] <jmarsden> ah, wait...
[05:02] <jmarsden> dpkg --get-selections | grep -v deinstall$ |cut -f1
[05:02] <tbc> Roxyhart0: you'll have better luck connecting with LDAP community. I'm not an LDAP expert.
[05:03] <Roxyhart0> if i declare dc=mydomain, cd=edu,dc=au. Ahould I declare also dc=edu adfter that?
[05:07]  * tbc wonders if someone else on this channel can help Roxyhart0
[05:15] <jmarsden> tbc: Without (more or less) doing all his LDAP schema creation work for him, probably not.  I think at this point Roxyhart0 needs to better understand LDAP and openldap, and then create a working ldif file to add the new schema.  See http://www.openldap.org/doc/admin24/guide.html and (for adding/extending schemas) especially Chapter 13 of that guide.
[05:16]  * tbc didn't think Roxyhart0 had picked the best channel for his question
[05:16] <jmarsden> That's probably true too.  I spent some time yesterday (or the day before?) helping him get openldap installed and working, BTW.
[05:17] <tbc> jmarsden: on this channel?
[05:17] <Roxyhart0> who is him?
[05:18] <Roxyhart0> i am her
[05:18] <tbc> Roxyhart0: I'm sorry, Rosa. I should have checked your info.
[05:18] <tbc> d'oh
[05:19] <tbc> That was jmarsden's error. :)
[05:19] <jmarsden> tbc: Yes.  Roxyhart0: My bad.  Anyway, do read the guide and see if it helps you understand what is going on.
[05:20] <Roxyhart0> thanks :D
[05:22] <tbc> So Roxyhart0 do you need help connecting with the OpenLDAP folks?
[05:22] <tbc> I've been meaning to look up a friend who's an LDAP expert. I'm wondering if he's active in the OpenLDAP community.
[05:24] <Roxyhart0> really? if he is still in the comunity could be great talk with him
[05:32] <tbc> Roxyhart0: start here: http://ostatic.org/openldap
[05:33] <Roxyhart0> do i need to configurate or add to the tree manually cn=schema?
[05:36] <tbc> Roxyhart0: I don't know. Your best course of action is to visit http://ostatic.org/openldap and join their community. It's late and I need to reboot. I'm https://launchpad.net/~tbc0 - I'll be online tomorrow if you still need help connecting with them.
[05:37] <Roxyhart0> thanks very much
[05:37] <tbc> yw
[06:42] <achew22> Does anyone know if eucalyptus has support for amazon style elastic map reduce?
[07:17] <astevens> ls
[07:17] <astevens> oops, sorry :)
[07:25] <macrocosm> anyone ever recovered data from a mdadm raid who's superblocks were screwed n chewed?  Ive read a gazillion things googling but nothing seems to work.  Im running xfs_repair /dev/md0 right now but nothing yet, it keeps saying "found candidate  secondary superblock ... unable to verify superblock, continuing"  Is there another way to replace the superblocks?
[07:25] <macrocosm> Whats the expected amount of time to let this run?  There is barely any data on the raid, just a couple hundred megs.
[07:40] <macrocosm> trying TestDisk now... normally my obsessive backups would save my ass right now but they silently failed 6 important working days ago .. isnt that nice!
[08:24] <chilicuil> what files does ubuntu change to share folders while setting them up in the X system?, coz I've shared some of them in that way and I don't see them in the /etc/samba/smb.conf file
[08:26] <Roxyhart0> somebody know a guide to instal postfix, ouried idmap with ldap?
[08:43] <macrocosm> strange Testdisk found Ext2 superblocks in my XFS drive.  That doesnt seem proper ... and may be why xfs_repair wouldnt work.
[08:45] <Roxyhart0> somebody had a doc how to instal postfix with ldap support?
[08:45] <jmarsden> macrocosm: Sounds like maybe it was really ext2 or ext3?  In which case, go back to the images of the raw partitions from before you ran xfs_repair, and try again using e2fsck and friends?
[08:47] <macrocosm> im certain its an XFS drive though, strange
[08:48] <macrocosm> maybe thats how ive screwed this up ... I must have done something that overwrote the superblocks as ext2
[08:49] <jmarsden> macrocosm: Only the superblocks?  How would you do that?
[08:50] <macrocosm> I have no clue.. my apache stoped working and I restarted ... upon return md0 was no longer mounted .. when I tried to mount I got all these errors about the superblock
[08:50] <jmarsden> I don't think I could write over all XFS superblocks in a filesystem with ext2 ones if I really really tried, except by hand with a sector editor and a LOT of time and patience... that just doesn't sound plausible.
[08:51] <macrocosm> I cant explain why testDisk would state that the superblocks were ext2, perhaps its confused
[08:52] <jmarsden> Hmmm... are you confusing RAID superblocks with filesystem superblocks?
[08:52] <macrocosm> well .. It is a raid0 .. but the drives are formated XFS
[08:53] <macrocosm> and the testdisk im running is only on that raid .. which has no system files on it
[08:54] <jmarsden> So there should be RAID superblocks which tell the system that this is a RAID0, parameters of the RAID are X, Y Z.... *and* once you treat the thing as a RAID device, there will then be XFS superblocks on top of that.
[08:54] <jmarsden> But until you have a RAID device, you can't even begin to see or check for a filesystem... unless I'm VERY confused?
[08:55] <macrocosm> yea ... the drives are together in the raid... I just cant mount it because of the superblock error
[08:55] <jmarsden> Does cat /proc/mdstat show that the RAID device md0 is fine and happy?
[08:56] <macrocosm> yeah
[08:56] <macrocosm> Personalities : [raid0]
[08:56] <macrocosm> md0 : active raid0 sdf[0] sdi[3] sdh[2] sdg[1]
[08:56] <macrocosm>       314572544 blocks 64k chunks
[08:56] <macrocosm> unused devices: <none>
[08:56] <jmarsden> OK.  So, what does    file /dev/md0      output?
[08:57] <macrocosm> hmm irc doesnt like the output .. do I need to put it inside some special brackets or someasmuch?
[08:57] <macrocosm> just one line
[08:57] <macrocosm> dev/md0: block special
[08:57] <macrocosm> ahh that worked
[08:57] <Roxyhart0> any experience with courier-idmap and ldap?
[08:58] <macrocosm> sorry roxyhart0 ive not used that
[08:58] <jmarsden> Roxyhart0: You should probably try the courier folks of the ldap folks for that.
[08:58] <jmarsden> s/of/or/
[08:59] <Roxyhart0> i did, but with ubuntu is a little bit different everything
[09:00] <jmarsden> Yes, but it you understand what courier and what ldap are doing, that knowledge should apply just fine to Ubuntu, even if the defaults are slightly different.
[09:00] <jmarsden> It's not like the courier config file format is different or anything like that.
[09:02] <macrocosm> jmarsden .. is /dev/md0: block special  ....  a normal output from cmd ...  file /dev/md0 ?
[09:02] <as1965> Roxyhart: Sorry - don't use Courier or LDAP. However, Howtoforge often has useful steps for install/setup of this sort of thing.
[09:02] <as1965> Try google : site:www.howtoforge.com +postfix +ldap +courier
[09:02] <macrocosm> yes howtoforge is awesome
[09:03] <jmarsden> macrocosm: Yes.   It's a valid block device.  That's fine.   I'm not familiar with XFS enough to know how to proceed in detail; I'd tend to try and find out how to identify an XFS filesystem at a low level (is there a signature in the first block of the disk, or whatever) and make sure the raw data on /dev/md0 "looks like" an XFS filesystem
[09:04] <jmarsden> If it does, you need to try to repair or rewrite that bad XFS superblock.
[09:05] <macrocosm> well .. I have been using it for about a month with no problems .. however their was a bug with the latest ubuntu and XFS which caused it to not mount on reboot sometimes... apparently the last time was the last time lol.  Ill be good as long as I can get my data off of it... hopefully testdisk will help
[09:05] <jmarsden> If you know what you are doing with filesystems, see what xfs_db can do for you...
[09:06] <jmarsden> BTW, next time, don't use RAID0 for data you care about :)
[09:06] <jmarsden> RAID1 for important data would be a lot more robust.
[09:06] <as1965> macrocosm: there's an xfs_check as well I think. Plus an XFS mailing list - might be worth checking that.
[09:07] <macrocosm> well .. I would normally not have done that but amazon EBS drives are fully redundant
[09:07] <macrocosm> supposedly
[09:07] <macrocosm> and I have obsessive snapshots .. but they silently failed 6 days ago .. when all this transpired I was so happy to pop over and grab a snapshot to restore from but there were no recent ones lol
[09:08] <macrocosm> gotta love a perfect storm
[09:10] <jmarsden> macrocosm: So now you get to write a cron job that emails you if there are no snapshots less than 24 hours old... but that doesn't help with the data currently on this array.
[09:11] <macrocosm> True .. I really wish I had done that to begin with... would have saved me some headach.. but the upside is I have learned much more in the process so thats always good
[09:12] <macrocosm> I really appreciate your help and tips .. hopefully testdisk will help me get my files off ... ive backed up these dead turd drives so I may try banging them around some first though..
[09:13] <jmarsden> Yes.  One more idea... try dd if=/dev/md0 bs=1M count=10 >testmd0 ; file testmd0     # this should let file say what kind of fs it saw
[09:13] <macrocosm> 10+0 records in
[09:13] <macrocosm> 10+0 records out
[09:13] <macrocosm> 10485760 bytes (10 MB) copied, 0.205319 s, 51.1 MB/s
[09:13] <macrocosm> testmd0: x86 boot sector; partition 1: ID=0x83, active, starthead 0, startsector 256, 629143552 sectors
[09:14] <jmarsden> Ah, that was not a partition that was a "drive" complete with partition table.
[09:14] <jmarsden> So what does   fdisk -l /dev/md0     say?
[09:15] <macrocosm> Disk /dev/md0: 322.1 GB, 322122285056 bytes
[09:15] <macrocosm> 2 heads, 4 sectors/track, 78643136 cylinders
[09:15] <macrocosm> Units = cylinders of 8 * 512 = 4096 bytes
[09:15] <macrocosm> Disk identifier: 0x00000000
[09:15] <macrocosm>     Device Boot      Start         End      Blocks   Id  System
[09:15] <macrocosm> dev/md0p1   *          33    78642976   314571776   83  Linux
[09:16] <jmarsden> OK.  83 is the normal ext2/ext3 type byte... but I don't know whether XFS uses it too.
[09:17] <jmarsden> Hmmm, so what does   dd if=/dev/md0p1 bs=1M count=10 >testmd0p1 ; file testmd0p1     say (the last line is the interesting one)
[09:17] <macrocosm> yes its 83
[09:18] <macrocosm> dd: opening `/dev/md0p1': No such file or directory
[09:18] <macrocosm> testmd0p1: empty
[09:19] <jmarsden> Oh, hm.  So that's not a real device name at all. OK, never mind.  It's too late at night for me to figure out the right way to do it... I need to sleep :)
[09:20] <jmarsden> Oh... maybe dd if=/dev/md0 bs=4K skip=32 count=100 >testmd0p1 ; file testmd0p1
[09:21] <macrocosm> 100+0 records in
[09:21] <macrocosm> 100+0 records out
[09:21] <macrocosm> 409600 bytes (410 kB) copied, 0.001396 s, 293 MB/s
[09:21] <macrocosm> testmd0p1: SGI XFS filesystem data (blksz 4096, inosz 256, v2 dirs)
[09:21] <macrocosm> what is that? a test?
[09:21] <jmarsden> OK!  Got it!
[09:22] <jmarsden> Yes, it means there really is an XFS filesystem out there at 33 cylinders into your md0 disk.
[09:22] <jmarsden> So some kind of XFS filesystem recovery tool has a decent chance of getting your data back.
[09:23] <jmarsden> You can delete the test* files now, by the way :)
[09:23] <macrocosm> I will look around .. from what Ive read so far testdisk ... seemed the most promising
[09:24] <jmarsden> OK.  You might also be able to dd the entire filesystem out and into an image file and they try working with that, loopback mounting it etc.
[09:24] <macrocosm> hmm ... looking at the dd docs now .. didnt see that one in my searches
[09:25] <macrocosm> sweet .. I really appreciate your help!
[09:26] <jmarsden> You're welcome.  But now I need to sleep... goodnight, and I hope you get your data back!
[09:26] <macrocosm> I figured I should be able to get the stuff out .. looks like the data is still in place just the superblock is screwed n chewed
[09:26] <macrocosm> thanks man .. get some zzzz's have a nice one
[09:26] <jmarsden> Thanks.
[09:34] <guest555> can I upgrade my 7.xx server to 9.xx without a freash install?
[09:34] <as1965>  guest: I think LTS->LTS is supported directly, else one version to the next.
[09:35] <as1965> So, I would expect a fresh install to be best for you probably. Hopefully yur /home folder is on a separate partition, which helps with things
[13:04] <Zider> I have an issue with cryptdisks.. all the disks I unlock gets both foo and foo_unformatted in /dev/mapper
[13:05] <Zider> as I understand it, the _unformatted are temps or something, but shouldn't they go away then?
[13:28] <Zider> oh yeah, and the unlocking goes parallell with everything else so fstab tries to mount them before it's done..
[18:08] <stimble_> anybody happen to know where upstart jobs are defined?
[18:08] <jpds> stimble_: /etc/init/
[18:09] <stimble_> awesome
[18:09] <stimble_> thanks
[18:09] <stimble_> i've just started reading up on upstart, it looks pretty slick
[18:35] <petsounds> good evening. we plan to migrate all our campus server on monday from windows to ubuntu. can you guys give me link to a tutorial or maybe a book to learn more about migrating from windows server to ubuntu? thanks :)
[18:50] <resno> are these the best insutrction for setting up raid1? https://help.ubuntu.com/community/Installation/SoftwareRAID?action=fullsearch&context=180&value=Convert+to+software+raid&titlesearch=Titles
[19:22] <stimble__> resno: do u need to boot from the raid drive, or just for data volume?
[19:23] <stimble__> does anyone know a way to list all the registered upstart events?
[19:42] <sherringham> stimble: man upstart -> see also -> man initctl - maybe of use
[19:42] <stimble__> i looked thru those
[19:42] <stimble__> and the website
[19:43] <stimble__> but not seeing a way to list the registered events
[19:43] <stimble__> myabe just missing it
[20:08] <resno> stimble__: i want to boot from the raid drive
[20:09] <stimble__> that howto is probably pretty good then
[20:12] <resno> ok thanks stimble__
[20:18] <wizzy_> hello people
[20:18] <wizzy_> when i go to my website i am gettin only "index of..."
[20:24] <wizzy_> so noones is here
[20:30] <wizzy_> !apache2 virtual hosts
[20:33] <wizzy_> anyone is here?
[20:35] <guntbert> wizzy_: you could ask in #httpd too
[20:36] <wizzy_> i prefer here
[20:36] <wizzy_> thank you tho
[20:39] <Callum__> on my Ubuntu 9.10 Server, doing a kernel update results in update-grub SIGSEGVing out and stopping the update, anyone have any ideas what the problem might be? Its using an LVM set up spread across three hardware RAID 1 setups...
[20:40] <Callum__> here is the Pastebin of apt-get -f install: http://pastebin.com/m5268f3f5
[20:42] <guntbert> Callum__: did you search for error 139 already?
[20:46] <Callum__> guntbert: its the error code for SIGSEGV... something is happening to make update-grub fail
[20:47] <Callum__> I think I know what the problem is, I had a similar problem while trying to install Ubuntu 9.10 Server onto an existing LVM2 made by an RPM installation
[20:48] <guntbert> Callum__: no real help from me: you could boot with a live CD and check your LVM from there though
[20:48] <Callum__> guntbert: it seems to have trouble with LVMs created or modified by an RPM system like Fedora...
[20:48] <Callum__> I caved in and nuked all my drives completely and let Ubuntu's installer create fresh LVM2 system, but I had to modify it later with a Fedora Live CD to get all of the drives used by the system
[20:51] <guntbert> Callum__: I use lvm but no raid beneath - try to test you lvm setup with some live CD
[20:52] <Callum__> guntbert: I'm removing grub2 and installing and configuring classic grub to see if that will help
[20:53] <Callum__> yeah, update is finished, fingers crossed
[20:53] <guntbert> Callum__: if you think that will help ...
[20:53] <Callum__> guntbert: yeah, had no kinds of problems like this with ordinary GRUB
[20:53] <guntbert> Callum__: good to know for the future...
[20:57] <Callum__> hmm, yeah, it boots fine...
[22:11] <wizzy_> anyones here?
[22:16] <wizzy_> i need some help
[22:50] <wizzy_> when i use wget where is file downloaded?
[22:50] <guntbert> wizzy_: in the current directory
[22:52] <wizzy_> thank you
[22:53] <wizzy_> ok i unzipped file in same directory
[22:53] <wizzy_> cd /directory and it says no such file or directory
[22:54] <guntbert> wizzy_: omit the /
[22:54] <wizzy_> thank you
[22:55] <wizzy_> i am going to try install and setup email server
[22:55] <wizzy_> i tried 3 times in past and never couldn't do it
[22:56] <guntbert> wizzy_: please keep your mail server in a closed/secure environment - don't go "public" if you are not really knowing what you are doing
[22:57] <wizzy_> i never couldnt make it work anyways :(
[22:58] <guntbert> wizzy_: take my advice: play with one in a VM without external network access ....
[22:58] <wizzy_> ok i will
[22:58] <wizzy_> how do i test it in vm ?
[22:58] <wizzy_> i get always problems with receiving
[22:59] <wizzy_> i can send message out but never back
[23:00] <guntbert> wizzy_: no tutorial from me - but be very careful not to create an "open mail relay" - that could get you into real troubles
[23:00] <wizzy_> i am curious ., what troubles?
[23:01] <guntbert> wizzy_: google for "open mail relay" - your ISP might shut you off, ...
[23:02] <wizzy_> ouuu thank you for warning
[23:04] <guntbert> wizzy_: you're welcome :-) and be careful
[23:41] <wizzy_> anyone is using ispconfig3??
[23:41] <wizzy_> i am trying to install it with "php -q install.php" and i am getting error
[23:44] <osmosis> kirkland, i just finished reading through your kvm classroom talk. very good, learned a bunch.
[23:47] <wizzy_> where did you read it?