Results 1 to 6 of 6

Thread: Restoring all /opt/zimbra

  1. #1
    xtasls is offline Junior Member
    Join Date
    Apr 2009
    Posts
    6
    Rep Power
    6

    Default Restoring all /opt/zimbra

    Hello all!
    Iīve changed the zimbra server, and in the new server I have installed zimbra open source and pasted the old /opt/zimbra.

    I execute the zmfixperms and when I start zimbra i have this message:

    /opt/zimbra/bin/zmlocalconfig: line 53: exec: java: not found
    Host
    Unable to determine enabled services from ldap.
    Unable to determine enabled services. Cache is out of date or doesn't exist.

    The new installations startīs well, I try to copy the zmlocalconfig of the new installation to the /opt/zimbra/bin/ restored and i have the same message.
    Any idea for whatīs happens?
    Thx!

  2. #2
    raj's Avatar
    raj
    raj is offline Moderator
    Join Date
    Oct 2005
    Location
    USA, Canada and India
    Posts
    777
    Rep Power
    10

    Default

    did you follow these instructions..
    if not then please do.
    Moving ZCS to Another Server ŧ Zimbra :: Blog

    Raj
    i2k2 Networks
    Dedicated & Shared Zimbra Hosting Provider

  3. #3
    xtasls is offline Junior Member
    Join Date
    Apr 2009
    Posts
    6
    Rep Power
    6

    Default

    thx raj!
    I follow the steps...

    - I made the backup with cp -r /opt/zimbra not with rsync. And I canīt do with rsync because the old server dont exist now

    - I have installed zimbra with option -s, restore the old zimbra folder and install zimbra without the -s option.

    and i have some problems...

    At the installation without -s option i have this errors,

    Restoring existing configuration file from /opt/zimbra/.saveconfig/config.save.. .done
    Operations logged to /tmp/zmsetup.06112009-230859.log
    ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: javax.naming. CommunicationException localhost:389)
    ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: javax.naming. CommunicationException localhost:389)
    Setting defaults...ERROR: service.FAILURE (system failure: ZimbraLdapContext) (c ause: javax.naming.CommunicationException localhost:389)
    done.
    Upgrading from to 5.0.16_GA_2921
    Stopping zimbra services
    Verifying /opt/zimbra/conf/my.cnf
    Starting mysql
    UPGRADE FAILED - exiting

    When I start zimbra I have this erros:

    Unable to determine enabled services from ldap.
    Unable to determine enabled services. Cache is out of date or doesn't exist.

    the system canīt connect to ldap because the date is wrong? or is a java error? iīm searching in the folders of ldap but I donīt found the problem.

  4. #4
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,485
    Rep Power
    56

    Default

    Quote Originally Posted by xtasls View Post
    When I start zimbra I have this erros:

    Unable to determine enabled services from ldap.
    Unable to determine enabled services. Cache is out of date or doesn't exist.

    the system canīt connect to ldap because the date is wrong? or is a java error? iīm searching in the folders of ldap but I donīt found the problem.
    This usually indicates an error with your DNS records, do you have valid A & MX records pointing to the server? Have you also set the same hostname in your /etc/hosts file as you had on the old server?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    Klug's Avatar
    Klug is offline Moderator
    Join Date
    Mar 2006
    Location
    Beaucaire, France
    Posts
    2,316
    Rep Power
    13

    Default

    I think "cp -r" doesn't copy the symlinks correctly (neither the permissions)...

  6. #6
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Correct Klug ... You should use
    Code:
    cp -a <source> <target>
    so that symlinks and permissions and honoured.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 27
    Last Post: 05-15-2012, 01:30 AM
  2. restoring single account from /opt/zimbra
    By telnet25 in forum Administrators
    Replies: 0
    Last Post: 10-08-2008, 12:52 AM
  3. Restoring mails, folders and calendars
    By iain in forum Administrators
    Replies: 3
    Last Post: 03-17-2008, 10:14 AM
  4. Replies: 3
    Last Post: 01-21-2008, 03:47 PM
  5. Find the version of zimbra from /opt/zimbra
    By jonnyRo in forum Administrators
    Replies: 3
    Last Post: 05-08-2007, 11:30 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
  •