Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Sep 2009 13:38:00 -0700
From:      Doug Barton <dougb@FreeBSD.org>
To:        Olivier Nicole <Olivier.Nicole@cs.ait.ac.th>
Cc:        freebsd-current@freebsd.org, ohartman@zedat.fu-berlin.de, freebsd-questions@freebsd.org
Subject:   Re: LDAP server gone -> impossible to login locally!
Message-ID:  <4ABBD8A8.2030904@FreeBSD.org>
In-Reply-To: <200909230856.n8N8u2hp062395@banyan.cs.ait.ac.th>
References:  <4AB8BAA9.1060100@zedat.fu-berlin.de>	<200909222248.16475.doconnor@gsoft.com.au>	<4AB93614.2080106@locolomo.org>	<200909231104.39234.doconnor@gsoft.com.au>	<4AB9DDD8.2020700@zedat.fu-berlin.de> <200909230856.n8N8u2hp062395@banyan.cs.ait.ac.th>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Olivier Nicole wrote:
> Last June, we had to shutdown our openldap server every night, I
> noticed that a simple halt(8) would leave the bdb backend database in
> a corrupted state.

As mentioned in the man page, halt(8) should not be used for regular
shutting down of the system. shutdown(8) is preferred for several
reasons, not the least of which is that it will call /etc/rc.shutdown
which will (among other things) run through your rc.d scripts in
reverse order with the 'stop' argument so that those services get
clean shutdowns. If you want to turn the power off as well the -p
option exists for this purpose.


hth,

Doug

-- 

    This .signature sanitized for your protection




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?4ABBD8A8.2030904>