Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-28-2009, 08:35 AM
Member
 
Posts: 12
Default [SOLVED] Could not find an LDAP entry for server

ZCS-5.0.10 GA - running on Ubuntu Linux

I was attempting to set up a temporary server to migrate to. I installed Zimbra on the new hardware and in the process I attempted to change the hostname by using the zmsetservername command on the new machine. Well, I'm not sure how but this has messed up the production server. I cannot get the mailbox service started. I'm seeing the following error in mailbox.log.

Could not find an LDAP entry for server 'hostname.domain.com'

I did not do a new backup as I had no clue that Zimbra on a completely different machine could modify something on my production server. I do have a backup from a couple of weeks ago. Nothing as far as user accounts has changed since that backup.

Also, I should not that I'm seeing the "NO SUCH SERVER" error in zimbra.log

May 28 11:33:20 mail4 zimbramon[10849]: 10849:info: zmmtaconfig: gs:hostname.domain.com ERROR: account.NO_SUCH_SERVER (no such server: hostname.domain.com)

Thanks for any help.
Reply With Quote
  #2 (permalink)  
Old 05-29-2009, 12:11 AM
Moderator
 
Posts: 7,929
Default

Code:
cat /etc/hosts
cat /etc/resolv.conf
dig yourdomain mx
dig yourdomain any
host `hostname` <- note backticks and not single quotes
su - zimbra
zmhostname
__________________
Reply With Quote
  #3 (permalink)  
Old 05-29-2009, 02:09 PM
Member
 
Posts: 12
Default

Thanks for replying. I found that I hadn't read the instructions for zmsetservername well enough. I missed the fact that if you run the command on a server with the same name as a production server that it would apply the changes to the production server as well. I ended up installing ZCS over the broken production install and got things up and running again. I did make a backup copy of the broken install before re-installing, just to make sure I didn't make things worse. I've learned my lesson and did learn a couple of things about Zimbra, which is good.
Reply With Quote
  #4 (permalink)  
Old 10-11-2011, 01:49 PM
Starter Member
 
Posts: 1
Default

I know this thread has been closed for quite a while. But I did this exact same thing and your thread saved my bacon. Thanks for posting your solution.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.