Backup/restore process
Alain Spineux
aspineux at gmail.com
Wed May 14 10:38:04 CEST 2008
On Tue, May 13, 2008 at 6:43 PM, Paul Douglas Franklin <pdf at yugm.org> wrote:
> Alain Spineux wrote:
>
> On Mon, May 12, 2008 at 11:10 PM, Paul Douglas Franklin <pdf at yugm.org>
> wrote:
>
>
> Friday evening I attempted the backup and restore process at
> http://wiki.kolab.org/index.php/Backups_for_kolab2
> and ran into several problems. I have diagnosed (but not tested) one of
> those as a permissions problem because the new system gave kolab-r a
> different UID. But here are others:
> #1
> When I ran
>
> rm -rf /kolab/var/openldap/openldap-data/*
> /kolab/sbin/slapadd -l backup/ldap/kolab-ldap.ldif
>
> it gave me the following:
>
> Warning: no DB_CONFIG file found in directory: /kolab/var/openldap.
>
>
> This is only a warning ! Is it blocking ?
>
>
> There was a further warning that the performance would be bad,
Yes it will use the default value.
> and when I
> tried to log in to the admin page, it said that it couldn't do so. I did
> not record the exact message, but I believe it said something about being
> unable to connect to the ldap database.
Normaly DB_CONFIG file is not mandatory when you create a new database.
Anyway, when it exist, it's part of the DB and cannot be removed or
modified despite
that is a text file. Their is rules.
>
> DB_CONFIG contains the DB configuration of the Berkeley DB backend for LDAP
> .
> Here is my.
>
>
> [root at eg01 ~]# ll /kolab/var/openldap/openldap-data/DB_CONFIG
> -rw-r----- 1 kolab kolab-r 838 May 6 15:33
> /kolab/var/openldap/openldap-data/DB_CONFIG
> [root at eg01 ~]# cat /kolab/var/openldap/openldap-data/DB_CONFIG
> # (c) 2005 Klaraelvdalens Datakonsult AB
> # Written by Steffen Hansen <steffen at klaralvdalens-datakonsult.se>
> #
> # This program is Free Software under the GNU General Public License (>=v2).
> # Read the file COPYING that comes with this packages for details.
>
> # this file is automatically written by the Kolab config backend
>
>
> I'm planning to try again this weekend. My first plan is to re-run the
> Kolab config. I know I made a couple of mistakes in my decisions there.
> --Paul
>
> --
> Paul Douglas Franklin
> Computer Manager, Union Gospel Mission of Yakima, Washington
> Husband of Danette
> Father of Laurene, Miriam, Tycko, Timothy, Sarabeth, Marie, Dawnita, Anna
> Leah, Alexander, and Caleb
--
Alain Spineux
aspineux gmail com
May the sources be with you
More information about the users
mailing list