Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 40

Thread: Error Valid backup file not found upgrading from 5.0.18 to 6

  1. #21
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    What files do you have under /opt/zimbra/data/ldap/config ?

  2. #22
    Join Date
    Jan 2007
    Location
    Germany
    Posts
    42
    Rep Power
    8

    Default

    Quote Originally Posted by uxbod View Post
    What files do you have under /opt/zimbra/data/ldap/config ?
    i have 2 files there..

    zimbra@server:~$ ls -l /opt/zimbra/data/ldap/config
    total 8
    drwxr-xr-x 3 zimbra zimbra 4096 Sep 4 11:56 cn=config
    -rw------- 1 zimbra zimbra 1073 Sep 4 11:56 cn=config.ldif

  3. #23
    Join Date
    Jan 2007
    Location
    Germany
    Posts
    42
    Rep Power
    8

    Default

    i missing my zimbra :-( Anyone have any idea?

  4. #24
    Join Date
    Jan 2007
    Location
    Germany
    Posts
    42
    Rep Power
    8

    Default

    Quote Originally Posted by mmorse View Post
    Goal is to create an /opt/zimbra/data/ldap/ldap.bak



    A way to generate a LDIF output is a slapcat:
    Code:
    openldap/sbin/slapcat -f /opt/zimbra/conf/slapd.conf -l /tmp/ldap.ldif
    so far i understand is, that this command ist exactly the same like

    /opt/zimbra/libexec/zmslapcat /opt/zimbra/data/ldap
    or like


    /opt/zimbra/openldap/sbin/slapcat -F /opt/zimbra/data/ldap/config -b "" -l /opt/zimbra/data/ldap/ldap.bak
    Is this correct? So, if this is true, die command
    openldap/sbin/slapcat -f /opt/zimbra/conf/slapd.conf -l /tmp/ldap.ldif
    generates an error:

    zimbra@server:~$ /opt/zimbra/openldap-2.4.17.8z/sbin/slapcat -f /opt/zimbra/conf/slapd.conf -l /tmp/ldap.ldif
    could not stat config file "/opt/zimbra/lib/conf/zimbra-ext.schema": No such file or directory (2)
    slapcat: bad configuration file!
    zimbra@server:~$
    The dir /opt/zimbra/lib/conf doesnt exists

    i hope this helps a little to get this error resolved - bad times without a running zimbra :-)
    Last edited by Nextasy; 09-06-2009 at 11:30 PM.

  5. #25
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Did you backup /opt/zimbra before you performed the upgrade ?

  6. #26
    Join Date
    Jan 2007
    Location
    Germany
    Posts
    42
    Rep Power
    8

    Default

    Quote Originally Posted by uxbod View Post
    Did you backup /opt/zimbra before you performed the upgrade ?
    not exactly before, but i made a tarball every night of the zimbra dir

  7. #27
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Okay, so what you could try is extracting your tarball somewhere else on the server. Switch into the zimbra user. Change to the directory where your extracted backup is and then run /opt/zimbra/openldap/sbin/slapcat -F /opt/zimbra/data/ldap/config -b "" -l /opt/zimbra/data/ldap/ldap.bak.

    You may wish to backup the ldap.bak first or even move it to a subdirectory out of the way. Hopefully this will generate a good LDAP backup using the V5 binaries.

    Once that is done, if it works, copy the ldap.bak to /opt/zimbra/data/ldap and try the upgrade again.

  8. #28
    Join Date
    Jan 2007
    Location
    Germany
    Posts
    42
    Rep Power
    8

    Default

    Quote Originally Posted by uxbod View Post
    Okay, so what you could try is extracting your tarball somewhere else on the server. Switch into the zimbra user. Change to the directory where your extracted backup is and then run /opt/zimbra/openldap/sbin/slapcat -F /opt/zimbra/data/ldap/config -b "" -l /opt/zimbra/data/ldap/ldap.bak.
    Hmm - slapcat generates an sharded lib error.

    Also, there is no opt/zimbra/data/ dir

    zimbra@server:/daten2/backup/zimbra/opt/zimbra/openldap-2.3.43.10z/sbin$ /daten2/backup/zimbra/opt/zimbra/openldap-2.3.43.10z/sbin/slapcat -F /daten2/backup/zimbra/opt/zimbra/data/ldap/config -b "" -l /daten2/backup/zimbra/opt/data/ldap/ldap.bak
    /daten2/backup/zimbra/opt/zimbra/openldap-2.3.43.10z/sbin/slapcat: error while loading shared libraries: libldap_r-2.3.so.0: cannot open shared object file: No such file or directory

  9. #29
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    Quote Originally Posted by Nextasy View Post
    Hmm - slapcat generates an sharded lib error.

    Also, there is no opt/zimbra/data/ dir
    There should be as that's the new data directory instead of /opt/zimbra/openldap-data, are you sure that the upgrade went OK did you check the log file?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  10. #30
    Join Date
    Jan 2007
    Location
    Germany
    Posts
    42
    Rep Power
    8

    Default

    Hi Phoenix

    the main error is, that on the installation process from 5.0.18 to 6, the script ended with an "no valid backup found" error - the debs are in version 6, but the zmsetup.pl script ended in this error. It seems, that the slapcat cannot make an valid backup of the ldap structure..dunno why. permissions are ok

Similar Threads

  1. bayes db..
    By osiris in forum Administrators
    Replies: 9
    Last Post: 06-15-2011, 11:14 AM
  2. Replies: 20
    Last Post: 03-18-2008, 05:37 AM
  3. i made a mess 4.5.6 -> 4.5.10 to a future 5.0 FOSS
    By innercy in forum Installation
    Replies: 7
    Last Post: 01-09-2008, 06:05 PM
  4. Zimbra Install Problem - getDirectContext
    By bsimzer in forum Installation
    Replies: 27
    Last Post: 07-19-2007, 10:12 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •