View Single Post
  #30 (permalink)  
Old 03-12-2007, 02:41 AM
dealt dealt is offline
Active Member
 
Posts: 36
Default

Quote:
Originally Posted by jholder View Post
Should be
slapadd -l dump.ldiff
or
slapadd -v -l dump.ldiff


Goin to bed now. Phoenix or Klug should be online soon if you need help tonight.

-john
Here's what I did:

After the upgrade, tried importing the ldif file via "slapadd -v -l dump.ldif" as zimbra but failed because of an error in configuration file, pointing to line 105. Checked /opt/zimbra/openldap-x.x.x.x/etc/openldap/slapd.conf and found the "loglevel" entry set with "@@some_variable_here@@". Changed it to zero

Tried "slapadd -v -l dump.ldif" again, encountered another error about the database being open. Stopped ldap, ran slapadd again, encountered another error because "cn=zimbra" (and other) entries already exist, "slapadd -v -c -l dump.ldif" to continue parsing the dump file, read and imported the user accounts.

Tried starting zimbra services, "zmcontrol start", but it only starts the ldap (since upgrading doesnt properly configured the other services) Tried upgrading again (install.sh). Ended up with the same errors.

Restoring backup again...
Reply With Quote