[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: losing entries after restarting server

On Mon, Feb 05, 2001 at 04:28:47PM -0800, Julie Mather wrote:
> I checked the slapd.conf file and my directory is in /var/run/ not /var/tmp.

Well, /var/tmp should not be cleared on a reboot (its purpose is to store
temporary data that should survive a reboot, such as editor backup files
etc.). It is often cleaned on a regular manner (say weekly) however.

/var/run is normally cleared on a reboot, so it was quite a bad idea to
store your database there...

I suggest to put the database under /var/lib/openldap. I also suggest you
reading the Filesystem Hierarchy Standard at
http://www.pathname.com/fhs/2.1/fhs-toc.html. If you try to conform to
FHS when building your system, it will be easier to manage it in the future.


Gabor Gombas                                       Eotvos Lorand University
E-mail: gombasg@inf.elte.hu                        Hungary