[09:56] <pteague> i'm having issues with the computer locking up... i finally switched to a tty & waited for it to crash again & got the following - http://pastebin.com/m657e3319 - any ideas?
[11:34] <faulkes-> I don't do oops/kernel panics but I would suggest you start removing loaded modules you don't require as a first step
[12:38] <pteague> i removed the nvidia drivers (not sure how else to set up my dual monitors though) & it's been running for about 30 minutes, but atop messed up & won't update... ps aux dumps some stuff & then hangs & won't respond to ctrl+c
[12:46] <faulkes-> the nvidia drivers, did you install them from synaptic or via envy?
[12:46] <faulkes-> and which kernel are you running?
[12:48] <faulkes-> I will be back, I have to do a reboot here
[12:57] <pteague> faulkes-> i installed them via the restricted drivers thing
[12:58] <pteague> & whatever kernel is on the ubuntu 7.10 64-bit live cd (not the server)
[13:39] <faulkes-> hrrm, interesting, well that could be an issue, I'm not sure
[13:40] <faulkes-> you may wish to consider installing using envy
[13:40] <faulkes-> (nvidia drivers that is)
[13:40] <faulkes-> which card is it?
[14:29] <spiekey> Hello!
[14:29] <spiekey> i am running OpenLDAP 2.2.26 on Dapper.
[14:30] <spiekey> when i reset my linux box by pressing the reset button, then my ldap database seems to erase or forget some added attributes.
[14:30] <spiekey> e.g. my new samba user disapears from the DB.
[14:30] <spiekey> any idea why the hell this is happenening?
[14:41] <faulkes-> iirc doesn't ldap have a write/commit time interval, such that if you added something and then rebooted, those changes would be lost if the commit hadn't happend yet
[14:41] <faulkes-> (noting that I'm not an ldap expert)
[14:41] <faulkes-> but I do recall reading something about that
[14:43] <spiekey> that would make sense and explain that "recover not found" message when i normally start ldap
[14:43] <faulkes-> iirc there is a config value which you can set to tell it how often to do the writes
[14:44] <faulkes-> don't ask me *where* it is, but I recall reading that in the same post
[14:44] <faulkes-> it might have been from the ubuntu-server bug notifications
[14:44] <spiekey> i am just checking tha man page
[14:44] <spiekey> oh, so this could be quite ubuntu-related?
[14:46] <faulkes-> no, I believe it is ldap in particular related
[14:46] <faulkes-> however the ubuntu-server bug lists gets traffic from many sources
[14:52] <peterdv> I do not believe this to be ubuntu related.
[14:52] <peterdv> http://www.openldap.org/lists/openldap-software/200304/msg00066.html:
[14:52] <peterdv> "Check up on how often your data is set to sync to disk. The slapd-bdb
[14:52] <peterdv> man page is useful: look particularly at 'checkpoint' and 'dbnosync'.
[14:52] <peterdv> You may also need to read the Berkeley DB reference guide."
[14:53] <faulkes-> peter: thanks for the links
[14:57] <peterdv> My pleasure
[15:01] <spiekey> so "checkpoint 1 1" and "cachesize 0" should make sure it writes my changes to disk quite regually?
[15:03] <peterdv> Yes. Remember this will always be a tradeoff. You can not have both security and performance at the same time. You have to make that choice.
[15:04] <spiekey> i write about 5KByte to my bdb within 1h. So i have no problems with performance at all
[15:05] <peterdv> It's been a while since I personally looked at tuning ldap servers, I seem to recall setteling at a fairly large cache myself (heavy read load).
[15:06] <spiekey> oh, i think i just killed everthing under my rootdn :-/
[15:07] <spiekey> those two options broke my db :P
[15:08] <peterdv> "cachesize 0" appears to be extreme ...
[15:09] <spiekey> do you think checkpoint 1 1 is ok?
[15:09] <peterdv> Again, very extreme ...
[15:11] <peterdv> I run at default checkpoint and cachesize 1000000 - and try very hard to do a clean shutdown (at most times) :-)
[15:12] <peterdv> In my setup, this gives me close to wire speed read performance ...
[15:15] <spiekey> what do you have as checkpoint?
[15:26] <peterdv> Nothing. Ie. default.
[15:47] <spiekey> ok...if i add a new user to ldap and reset my box 15secs afterwards those changed are lost :-/
[15:49] <peterdv> If you by reset mean powercycle - yes this is to be expected. If you do a "shutdown -r now" changes should persist.
[15:50] <peterdv> Disclaimer: My production machine uses the LDBM backend.
[15:51] <spiekey> i am testing it by pressing the reset button, like a power failure
[15:51] <spiekey> ;)
[15:52] <peterdv> In that case - It does not have a chance :-)
[15:54] <spiekey> it has 15 seconds to write!
[15:55] <peterdv> True, but chanches are that it does not even try - depending on the default value for checkpoint - which I do not recall (or have readily at hand ....
[16:02] <peterdv> ... we try very hard to protect the LDAP server we write to, and try very hard to keep it running. It is considered core infrastructure. We are less sensitive about the ones we read from ...
[16:05] <soneil> sounds more like a task for a UPS, than a config option
[16:13] <peterdv> Indeed
[16:44] <spiekey> i just want to cover as much as i can
[16:44] <spiekey> of course the box will get a ups
[16:48] <peterdv> If this is key requirement to you, investigate the LDBM backend - once upon a time it did seem to write directly to disc, I do not know its current status.
[16:58] <spiekey> okay, thanks
[17:05] <soneil> Is there a write-up anywhere on why KVM was chosen over xen? All I'm finding on google is "a better fit for us"
[17:13] <faulkes-> soneil: best person to ask would be soren I imagine
[17:14] <faulkes-> !bug 112839
[17:14] <ubotu> Launchpad bug 112839 in samba "I/O error on access to SMB shares of OS/2 Warp 4 host mounted in Ubuntu 7.04" [Undecided,Confirmed] https://launchpad.net/bugs/112839
[17:14] <faulkes-> ok, at some point you just have to ask why and laugh a little bit
[17:39] <spiekey> what package do i need for ldbm? (Unrecognized database type (ldbm)
[17:40] <faulkes-> aptitude search ldbm
[17:40] <faulkes-> would likely be your best bet if it's in the repositories
[17:40] <spiekey> libmldbm-perl ??
[17:41] <faulkes-> I couldn't say for sure
[17:41] <spiekey> as far as i can tell the result does not show what i am lookig for ;)
[17:52] <peterdv> Mea Culpa. It seems that the LDBM backend type has been deprecated in OpenLDAP 2.2 - it was deemed to "not work well" - we still run on an old Red Hat server (no flames please).
[17:53] <spiekey> hmm..
[17:53] <spiekey> damn
[19:35] <soren> soneil: We chose kvm for a number of reasons.
[19:35] <zul> hey soren
[19:36] <soren> soneil: One of the primary reasons was the fact that Xen i not in the mainline kernel.
[19:36] <soren> zul: Hey, dude.
[19:37] <soren> soneil: A lot of it really boils down to supportability.
[19:37] <zul> what xen not being easily supportable? ;)
[19:38]  * soren looks up in the air
[19:38] <Nafallo> it is. we have zul :-)
[19:38] <soren> Oh, sure it is.</sarcasm>
[19:38] <soren> zul is a scarce ressource. :)
[19:39] <zul> also a bit of a masochist
[19:39] <soren> Clearly :)
[19:39] <Nafallo> masochists are fun :-)
[19:43] <soneil> soren: thanks.  (something for me to look into when the hardware arrives, I guess)
[19:45] <soren> soneil: Xen works with Ubuntu, though. We just don't give it nearly as much attention and Canonical won't be offering professional support for it.
[21:26] <onesandzeros> hello all.  Do any of you know if the ubuntu-server installer will let you install to a partition without formatting it?  kubuntu's won't.
[21:35] <ScottK> It won't, IIRC.
[22:11] <faulkes-> onesandzeros: just leave the space unallocated and create the partition afterwards
[22:14] <Kamping_Kaiser> debian-installer allows you to not reformat a partition (as long as it has a valid filesystem to start with)