> >> To: openldap
> >> Subject: RE: bdb backend - reliable or not?
> >>
> >> Do you have any idea where might we locate this special startup script?
> >> :)
> >
> > In OpenLDAP 2.3 2.3 slapd automatically recovers the database when
>
2006 7:55 AM
To: openldap
Subject: RE: bdb backend - reliable or not?
Do you have any idea where might we locate this special startup script?
:)
In OpenLDAP 2.3 2.3 slapd automatically recovers the database when
needed. There is no special startup script needed.
So, will it recover, or will
On Thu, Jul 20, 2006 at 09:55:46PM +0200, Tomasz Chmielewski wrote:
> Matthew Hardin wrote:
> >>Tomasz Chmielewski wrote:
> >>
> >>(...)
> >>
> >[...]
> >>I digged a bit in the mailing list, and found that OpenLDAP with bdb
> >>backend needs a special startup script to recover from such situations.
Tomasz Chmielewski <[EMAIL PROTECTED]> writes:
> Matthew Hardin wrote:
>>> Tomasz Chmielewski wrote:
>>>
>>> (...)
>>>
>> [...]
>
> Although it sounds great, lots of posts on this group prove quite the
> contrary - there are problems with recovery with bdb backends, and for
> lots of people it ta
Owen DeLong wrote:
This may not be the politically correct thing to say here, but, it is my
experience and YMMV.
BDB is very stable and reliable, once you get the right combination of
configuration figured out. There's lots of different things that need
to be set up to get BDB stable and many o
> So, will it recover, or will it not?
It will.
> I'm confused, I use 2.3.6, and it doesn't recover. After reading lots of
> posts in this thread, I would say db_recover is needed after an unclean
> shutdown.
>
> Did you mean a recent 2.3 version (2.3.24 or so)?
I believe at least 18 releases oc
ubject: RE: bdb backend - reliable or not?
Do you have any idea where might we locate this special startup script?
:)
In OpenLDAP 2.3 2.3 slapd automatically recovers the database when
needed. There is no special startup script needed.
So, will it recover, or will it not?
I'm confused,
--On Thursday, July 20, 2006 9:49 PM +0200 Tomasz Chmielewski
<[EMAIL PROTECTED]> wrote:
FRLinux wrote:
On 7/20/06, Tomasz Chmielewski <[EMAIL PROTECTED]> wrote:
It's hard to do so when you have multiple servers, and don't know which
one had a power outage...
If you don't mind me saying,
Matthew Hardin wrote:
Tomasz Chmielewski wrote:
(...)
[...]
I digged a bit in the mailing list, and found that OpenLDAP with bdb
backend needs a special startup script to recover from such situations.
Too bad it isn't mentioned, even short and briefly, in OpenLDAP Admin
Guide.
It's not men
Matthew Hardin wrote:
-Original Message-
From: [EMAIL PROTECTED] [mailto:owner-openldap-
[EMAIL PROTECTED] On Behalf Of Daniel Maher
Sent: Thursday, July 20, 2006 7:55 AM
To: openldap
Subject: RE: bdb backend - reliable or not?
Do you have any idea where might we locate this special
FRLinux wrote:
On 7/20/06, Tomasz Chmielewski <[EMAIL PROTECTED]> wrote:
It's hard to do so when you have multiple servers, and don't know which
one had a power outage...
If you don't mind me saying, i thought it was what notification
utilities were for (nagios springs to mind ...)
You're mi
This may not be the politically correct thing to say here, but, it is my
experience and YMMV.
BDB is very stable and reliable, once you get the right combination of
configuration figured out. There's lots of different things that need
to be set up to get BDB stable and many of them are less than
Atom Powers wrote:
>
> Tomasz Chmielewski wrote:
> > Atom Powers wrote:
> >
> > (...)
> >
> >> Then put the db_recover command in your start-up script, and/or tune
> >> BDB so that it can survive a crash more easily.
> >
> > Is it OK if I put "db_recover" before each slapd startup? I guess it
> >
Atom Powers wrote:
>
> Tomasz Chmielewski wrote:
> > Unfortunately, the choice was a disaster - a couple of tests showed that
> > after powering off the server, OpenLDAP is not able to start anymore -
> > all I see in logs is a single message (loglevel 256):
> >
> > bdb_db_open: unclean shutdown d
> Tomasz Chmielewski wrote:
>
> (...)
>
[...]
>
> I digged a bit in the mailing list, and found that OpenLDAP with bdb
> backend needs a special startup script to recover from such situations.
>
> Too bad it isn't mentioned, even short and briefly, in OpenLDAP Admin
> Guide.
It's not mentioned
On 7/20/06, Tomasz Chmielewski <[EMAIL PROTECTED]> wrote:
It's hard to do so when you have multiple servers, and don't know which
one had a power outage...
If you don't mind me saying, i thought it was what notification
utilities were for (nagios springs to mind ...)
Steph
On 7/20/06, Tomasz Chmielewski <[EMAIL PROTECTED]> wrote:
Did you ever press the reset button to simulate a power outage? :)
As a matter of fact, i did better than simulate, due to *human error*
it did happen twice and bdb does recover from it pretty well.
Steph
Tomasz Chmielewski wrote:
Atom Powers wrote:
(...)
Then put the db_recover command in your start-up script, and/or tune
BDB so that it can survive a crash more easily.
Is it OK if I put "db_recover" before each slapd startup? I guess it
should be avoided.
In that case, how can I detect tha
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:owner-openldap-
> [EMAIL PROTECTED] On Behalf Of Tomasz Chmielewski
> Sent: Thursday, July 20, 2006 1:24 AM
> To: openldap-software@OpenLDAP.org
> Subject: bdb backend - reliable or not?
>
> Previously I was
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:owner-openldap-
> [EMAIL PROTECTED] On Behalf Of Daniel Maher
> Sent: Thursday, July 20, 2006 7:55 AM
> To: openldap
> Subject: RE: bdb backend - reliable or not?
>
> Do you have any idea where might we loc
FRLinux wrote:
On 7/20/06, Daniel Maher <[EMAIL PROTECTED]> wrote:
Do you have any idea where might we locate this special startup
script? :)
I think he actually meant : where to find the special utility to
recover from corrupted databases, so namely that would be db_recover.
And as mentionned
FRLinux wrote:
On 7/20/06, Tomasz Chmielewski <[EMAIL PROTECTED]> wrote:
Will an upgrade to 2.3.24 solve my problems with bdb, or shall I revert
back to ldbm?
We've been using 2.3.21 for a bit and recently upgraded to 2.3.24 and
all servers are really happy. Worth mentionning that from 2.1.x t
On 7/20/06, Tomasz Chmielewski <[EMAIL PROTECTED]> wrote:
Will an upgrade to 2.3.24 solve my problems with bdb, or shall I revert
back to ldbm?
We've been using 2.3.21 for a bit and recently upgraded to 2.3.24 and
all servers are really happy. Worth mentionning that from 2.1.x to
2.3.x, we've a
On 7/20/06, Daniel Maher <[EMAIL PROTECTED]> wrote:
Do you have any idea where might we locate this special startup script? :)
I think he actually meant : where to find the special utility to
recover from corrupted databases, so namely that would be db_recover.
And as mentionned in a previous p
Atom Powers wrote:
(...)
Then put the db_recover command in your start-up script, and/or tune BDB
so that it can survive a crash more easily.
Is it OK if I put "db_recover" before each slapd startup? I guess it
should be avoided.
In that case, how can I detect that the server crashed unexpe
Tomasz Chmielewski wrote:
Unfortunately, the choice was a disaster - a couple of tests showed that
after powering off the server, OpenLDAP is not able to start anymore -
all I see in logs is a single message (loglevel 256):
bdb_db_open: unclean shutdown detected; attempting recovery.
And that
Chris Lundell wrote:
Dieter Kluenter wrote:
Tomasz Chmielewski <[EMAIL PROTECTED]> writes:
Previously I was using OpenLDAP 2.1.x and 2.2.x with ldbm backend.
I never had problems with it.
As I've read on the list that ldbm support will be dropped in the next
major version of OpenLDAP, and
matthew sporleder wrote:
That special startup script is only for 2.2. As your logs show,
openldap attempted to automatically recover. You can try running
db_recover manually, and see if that works.
It's hard to do so when you have multiple servers, and don't know which
one had a power outage
Daniel Maher wrote:
Do you have any idea where might we locate this special startup script? :)
Hmm, if you're talking about the documentation (OpenLDAP Admin Guide),
I'd mention the fact that one needs to run db_recover after an unclean
shutdown (power outage).
And an example init.d script
--On Thursday, July 20, 2006 10:23 AM +0200 Tomasz Chmielewski
<[EMAIL PROTECTED]> wrote:
Previously I was using OpenLDAP 2.1.x and 2.2.x with ldbm backend.
I never had problems with it.
As I've read on the list that ldbm support will be dropped in the next
major version of OpenLDAP, and b
Behalf Of Tomasz
Chmielewski
Sent: July 20, 2006 9:59 AM
To: openldap
Subject: Re: bdb backend - reliable or not?
Tomasz Chmielewski wrote:
(...)
> Performance is not an issue here, databases are relatively small.
> What is important is the ability to survive unexpected system
> crash/pow
Dieter Kluenter wrote:
Tomasz Chmielewski <[EMAIL PROTECTED]> writes:
Previously I was using OpenLDAP 2.1.x and 2.2.x with ldbm backend.
I never had problems with it.
As I've read on the list that ldbm support will be dropped in the next
major version of OpenLDAP, and bdb is the recommended
That special startup script is only for 2.2. As your logs show,
openldap attempted to automatically recover. You can try running
db_recover manually, and see if that works.
On 7/20/06, Tomasz Chmielewski <[EMAIL PROTECTED]> wrote:
Tomasz Chmielewski wrote:
(...)
> Performance is not an issue
Tomasz Chmielewski <[EMAIL PROTECTED]> writes:
> Previously I was using OpenLDAP 2.1.x and 2.2.x with ldbm backend.
>
> I never had problems with it.
>
> As I've read on the list that ldbm support will be dropped in the next
> major version of OpenLDAP, and bdb is the recommended backend, I
> deci
Tomasz Chmielewski wrote:
(...)
Performance is not an issue here, databases are relatively small.
What is important is the ability to survive unexpected system
crash/poweroff.
I digged a bit in the mailing list, and found that OpenLDAP with bdb
backend needs a special startup script to reco
Previously I was using OpenLDAP 2.1.x and 2.2.x with ldbm backend.
I never had problems with it.
As I've read on the list that ldbm support will be dropped in the next
major version of OpenLDAP, and bdb is the recommended backend, I decided
to deploy a couple of new OpenLDAP servers with bdb b
36 matches
Mail list logo