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 09-28-2006, 04:07 PM
New Member
 
Posts: 4
Default Fedora 4 LDAP FAILED 256 ERROR

I have been trying to get Zimbra running on my Fedora 4 box - but i haven't got that far - I keep receiving an error which states that LDAP has received an error I have tried installing it several times but i get the same error

Does anyone know if there are any logs I should check or are there some tests I can perform:-

This is the error ive been getting -

Save config in file: [/opt/zimbra/config.3957]
Saving config in /opt/zimbra/config.3957...Done
The system will be modified - continue? [No] y
Operations logged to /tmp/zmsetup.log.3957
Initializing ldap...FAILED (256)


Any help would be greatly appreciated thanks

Peter
Reply With Quote
  #2 (permalink)  
Old 09-28-2006, 08:34 PM
Former Zimbran
 
Posts: 5,606
Default

Hi Peter,
We would be glad to provide any help we can.

First of all, what do your install logs say?

Also, have you tried searching the forums? LDAP errors are covered a lot, but let us know. We're here to help.

john
Reply With Quote
  #3 (permalink)  
Old 09-29-2006, 03:06 AM
New Member
 
Posts: 4
Default

Thanks i will look at the logs and get back to you - I have searched the forum regarding the LDAP issues and have seen a few which look similar to my issue which i'm experiencing and reading the posts and me being a Linux Newbie i'm wondering if LDAP is setup correctly on my machine

thanks again
Reply With Quote
  #4 (permalink)  
Old 10-01-2006, 01:56 PM
Member
 
Posts: 12
Default FC5 Issue

I had the same error when installing on FC5. A quick look at the installation log revealled that we were missing SSL libraries.

If you don't have libssl.so.4, you can run:

"yum provides libssl.so.4"

which should show you which additional packages you may need to install.
Reply With Quote
  #5 (permalink)  
Old 10-02-2006, 09:43 PM
Intermediate Member
 
Posts: 19
Default

i have the same error which is at the last stage initialise ldap failed..

i wonder where can i view the installation log ...
Reply With Quote
  #6 (permalink)  
Old 10-03-2006, 07:00 AM
Member
 
Posts: 12
Default tmp

It should tell you during installation where the log file is kept. If I recall, ours was stored under /tmp
Reply With Quote
  #7 (permalink)  
Old 10-11-2006, 09:10 AM
Junior Member
 
Posts: 8
Default

I am having the same problem. I have had this problem with Fedora Core 5 and 4 and I had trouble with centOS (about the same point). My log in tmp shows it stopping at the slapd:

ERROR - Failed to start slapd

I am not sure how to fix this and I haven't found anything in the forum that helps me with the problem. Could it be that I don't have a DNS setup for it yet?

On a side note, can does anyone know how to set up a DNS using Bind and Fedora or CentOS?
Reply With Quote
  #8 (permalink)  
Old 10-11-2006, 09:12 AM
Former Zimbran
 
Posts: 5,606
Default

We need to know what the logs say.
/var/zimbra.log

If this is a fresh install, then the most likely cause is that you installed another instance of LDAP, and need to stop that service and disable it before installing.

centos:
service ldap stop
Reply With Quote
  #9 (permalink)  
Old 10-11-2006, 09:36 AM
Junior Member
 
Posts: 8
Default

I did the service ldap stop and it said "ldap: unrecognized service". Here is my install log and yes it was a fresh install.

Setting defaults...


DNS ERROR resolving MX for mailhost.test.com

It is suggested that the domain name have an MX record configured in DNS

Done

Checking for port conflicts

Port conflict detected: 25 (zimbra-mta)

Operations logged to /tmp/zmsetup.log.27268

Setting local config values...
Setting local config zimbra_server_hostname to mailhost.test.com

*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e zimbra_server_hostname=mailhost.test.com

Setting local config ldap_master_url to ldap://mailhost.test.com:389

*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e ldap_master_url=ldap://mailhost.test.com:389

Setting local config ldap_url to ldap://mailhost.test.com:389

*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e ldap_url=ldap://mailhost.test.com:389

Setting local config ldap_port to 389

*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e ldap_port=389

Setting local config ldap_host to mailhost.test.com

*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e ldap_host=mailhost.test.com

Setting local config zimbra_uid to 501

*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e zimbra_uid=501

Setting local config zimbra_gid to 501

*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e zimbra_gid=501

Setting local config zimbra_user to zimbra

*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e zimbra_user=zimbra

Setting local config av_notify_user to admin@mailhost.test.com

*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e av_notify_user=admin@mailhost.test.com

Setting local config ssl_allow_untrusted_certs to TRUE

*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e ssl_allow_untrusted_certs=TRUE

Done

Setting up CA...
*** Running as zimbra user: cd /opt/zimbra; zmcreateca

** Creating CA private key

Generating a 1024 bit RSA private key
..............++++++
......................++++++
unable to write 'random state'
writing new private key to '/opt/zimbra/ssl/ssl/ca/ca.key'
-----
** Creating CA cert

Signature ok
subject=/C=US/ST=N/A/L=N/A/O=Zimbra Collaboration Suite
Getting Private key
unable to write 'random state'
Done

Creating SSL certificate...
chmod: cannot access `/jre/lib/security/cacerts': No such file or directory
*** Running as zimbra user: cd /opt/zimbra; zmcreatecert

** Importing CA

Certificate was added to keystore
keytool error: java.io.FileNotFoundException: /opt/zimbra/java/jre/lib/security/cacerts (Permission denied)
** Creating keystore

** Creating server cert request

Generating a 1024 bit RSA private key
.....++++++
.................................................. .....................++++++
unable to write 'random state'
writing new private key to '/opt/zimbra/ssl/ssl/server/server.key'
-----
** Signing cert request

Using configuration from /opt/zimbra/ssl/ssl/zmssl.cnf
Check that the request matches the signature
Signature ok
Certificate Details:
Serial Number: 2 (0x2)
Validity
Not Before: Oct 11 20:12:07 2006 GMT
Not After : Oct 11 20:12:07 2007 GMT
Subject:
countryName = US
stateOrProvinceName = N/A
organizationName = Zimbra Collaboration Suite
commonName = mailhost.test.com
X509v3 extensions:
X509v3 Basic Constraints:
CA:FALSE
Netscape Comment:
OpenSSL Generated Certificate
X509v3 Subject Key Identifier:
77:39:C2:76:C0:87:39:FC:41:5F:4B:6B:56:45:5C:90:8B :F9:9B:7B
X509v3 Authority Key Identifier:
DirName:/C=US/ST=N/A/L=N/A/O=Zimbra Collaboration Suite
serial:86:C4:2A:99:A0E:3C:C0

X509v3 Key Usage:
Digital Signature, Non Repudiation, Key Encipherment
Certificate is to be certified until Oct 11 20:12:07 2007 GMT (365 days)

Write out database with 1 new entries
Data Base Updated
unable to write 'random state'
Signature ok
subject=/C=US/ST=NA/L=NA/O=Zimbra/OU=Zimbra/CN=mailhost.test.com
Getting CA Private Key
unable to write 'random state'
chmod: cannot access `/jre/lib/security/cacerts': No such file or directory
Done

Initializing ldap...
*** Running as zimbra user: /opt/zimbra/libexec/zmldapinit

ERROR - failed to start slapd

FAILED (256)



ERROR




Configuration failed


Please address the error and re-run /opt/zimbra/libexec/zmsetup.pl to

complete the configuration
Reply With Quote
  #10 (permalink)  
Old 10-12-2006, 04:53 AM
OpenSource Builder & Moderator
 
Posts: 1,166
Default

Quote:
I did the service ldap stop and it said "ldap: unrecognized service". Here is my install log and yes it was a fresh install.
i think it's usually called slapd on most distros - try service slapd stop

Quote:
DNS ERROR resolving MX for mailhost.test.com
It is suggested that the domain name have an MX record configured in DNS
make sure you have mx record set for the domain test.com

Quote:
Checking for port conflicts
Port conflict detected: 25 (zimbra-mta)
you've already got a conflicting mta running - try shutting down existing sendmail/qmail/exim/postfix instances. ditto for existing openldap, cyrus/courier etc
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.