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 10-24-2006, 07:07 AM
Junior Member
 
Posts: 5
Default Ldap not starting, Debian testing

Hi everybody.
I've passed some weeks trying to install ZCS on a Debian Testing but with no results.
Well, in think is not the DNS:

Code:
$ dig domine.local MX
;; ANSWER SECTION:
domine.local.        86400   IN      MX      10 server.domine.local.

$ host server.domine.local
server.domimne.local has address 192.168.1.100 (i.e. the right ip)
The install process is ok till it try to start up ldap. First:

Code:
Shutting down zimbra mail

Backing up ldap

could not stat config file "/opt/zimbra/conf/slapd.conf": No such file or directory (2)
slapcat: bad configuration file!
And then, after the manual config:
Code:
Setting local config values...Done
Setting up CA...Done
Fetching CA from ldap...ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException server.domine.local:389)
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException server.domine.local:389)
Done
Creating server entry for server.domine.local...Done
Setting services on server.domine.local...Done
Setting up zimbra crontab...Done
Setting up syslog.conf...ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException server.domine.local:389)
Done
Looking in the wiki I've found it's a common problem with ldap, but I don't know how to solve this problem:
Code:
zimbra@server:~$ sh -x bin/ldap start
CUT...
+ my_url=ldap://server.domine.local:389
+ /opt/zimbra/libexec/zmconfigure /opt/zimbra/conf/slapd.conf.in /opt/zimbra/conf/slapd.conf
Error: /opt/zimbra/conf/slapd.conf.in does not exist
I cannot find any slapd.conf.in in the /opt/zimbra subdirectories... Ah, the INPUT policy in the filter table is ACCEPT and no rules while I'm tryin to install. Some ideas?

Thanks a lot!
Reply With Quote
  #2 (permalink)  
Old 10-26-2006, 03:18 AM
Junior Member
 
Posts: 5
Default Error: /opt/zimbra/conf/slapd.conf.in does not exist

Plese someone can give me a copy of this file?
Thanks!
Reply With Quote
  #3 (permalink)  
Old 10-28-2006, 09:37 AM
jfm jfm is offline
Starter Member
 
Posts: 2
Default No slapd.conf.in file in Debian packages?

I have the same problem (on Debian 3.1 testing/unstable and zcs-4.0.3_GA_406.DEBIAN3.1.tgz package).

If I execute (with zimbra user):
sh -x bin/ldap start
appears this error:
...
Error: /opt/zimbra/conf/slapd.conf.in does not exist
...
I checked my debian packages repository with:
dpkg -L zimbra-XXXXX | grep "\.in$"
for all packages returned by:
dpkg -l | grep zimbra
and I can't find slapd.conf.in file.

There is a problem with latest debian packages?

Regards,
Jose

Last edited by jfm; 10-28-2006 at 10:03 AM.. Reason: Change formating
Reply With Quote
  #4 (permalink)  
Old 10-29-2006, 02:52 AM
OpenSource Builder & Moderator
 
Posts: 1,166
Default

dpkg -L `dpkg -l |grep zimbra |awk {'print $2'}` | grep "\.in$"

returns lots of .in files for me, and i'm running debian testing but this is an old install thats been upgraded lots of times, not a new install. however, slapd.conf.in isn't one of them - this is generated by the install script I believe. run the install script again, check the log very carefully for any errors and try to correct them. i had to do a few bodges initially to get it to work but i filed the bugs and i think most of them have been fixed.
Reply With Quote
  #5 (permalink)  
Old 10-30-2006, 03:58 AM
jfm jfm is offline
Starter Member
 
Posts: 2
Default Without error info in log file (I think)

Quote:
Originally Posted by dijichi2
dpkg -L `dpkg -l |grep zimbra |awk {'print $2'}` | grep "\.in$"

returns lots of .in files for me, and i'm running debian testing but this is an old install thats been upgraded lots of times, not a new install. however, slapd.conf.in isn't one of them - this is generated by the install script I believe. run the install script again, check the log very carefully for any errors and try to correct them. i had to do a few bodges initially to get it to work but i filed the bugs and i think most of them have been fixed.
Hi dijichi2,

What log file refers you? I checked /tmp/zmsetup.log.XXX and only found 1-2 errors:
Code:
unable to write 'random state'
writing new private key to '/opt/zimbra/ssl/ssl/ca/ca.key'
and
Code:
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException myhost.mydomain.com:389)
By the way I checked /var/log/zimbra.log but not have any error messages. Only includes a lot of postfix messages and this one:
Code:
Oct 30 12:40:03 myhost zimbramon[2671]: 2671:info: 2006-10-30 12:40:01, STATUS: : Cannot: determine
Do you have more hints?

Thank you,
Jose
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.