And it keeps repeating that when I try to install Zimbra on my server... after the initial install, it already gave an error regarding LDAP.Code:Checking ldap status....not running.
Starting ldap...failed with exit code: 256.
And it keeps repeating that when I try to install Zimbra on my server... after the initial install, it already gave an error regarding LDAP.Code:Checking ldap status....not running.
Starting ldap...failed with exit code: 256.
Welcome to the forums :)
Did you also disable SELinux ?Code:cat /etc/hosts
cat /etc/resolv.conf
dig yourdomain mx
dig yourdomain any
host `hostname` <- note backticks and not single quotes
Hostnames and IP's have been replaced.Code:[root@dns2 zcs-6.0.4_GA_2038.RHEL5.20091214191028]#
[root@dns2 zcs-6.0.4_GA_2038.RHEL5.20091214191028]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
93.126.178.15 dns2.domain.nl dns2
127.0.0.1 localhost.localdomain localhost
81.23.228.150 budgetphone.nl
[root@dns2 zcs-6.0.4_GA_2038.RHEL5.20091214191028]# cat /etc/resolv.conf
search domain.local
nameserver 93.102.215.12
nameserver 93.126.180.180
nameserver 93.126.179.179
[root@dns2 zcs-6.0.4_GA_2038.RHEL5.20091214191028]# dig dns2.domain.nl mx
; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.1 <<>> dns2.domain.nl mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 37655
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
;; QUESTION SECTION:
;dns2.domain.nl. IN MX
;; ANSWER SECTION:
dns2.domain.nl. 14400 IN MX 10 dns2.domain.nl.
;; AUTHORITY SECTION:
domain.nl. 14400 IN NS dns2.domain.nl.
domain.nl. 14400 IN NS dns1.domain.nl.
;; ADDITIONAL SECTION:
dns2.domain.nl. 14400 IN A 93.126.178.15
dns1.domain.nl. 14400 IN A 93.102.215.7
;; Query time: 6 msec
;; SERVER: 93.102.215.12#53(93.102.215.12)
;; WHEN: Tue Jan 19 04:24:49 2010
;; MSG SIZE rcvd: 112
[root@dns2 zcs-6.0.4_GA_2038.RHEL5.20091214191028]# dig dns2.domain.nl any
; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.1 <<>> dns2.domain.nl any
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 26264
;; flags: qr aa rd; QUERY: 1, ANSWER: 2, AUTHORITY: 2, ADDITIONAL: 2
;; QUESTION SECTION:
;dns2.domain.nl. IN ANY
;; ANSWER SECTION:
dns2.domain.nl. 14400 IN MX 10 dns2.domain.nl.
dns2.domain.nl. 14400 IN A 93.126.178.15
;; AUTHORITY SECTION:
domain.nl. 14400 IN NS dns1.domain.nl.
domain.nl. 14400 IN NS dns2.domain.nl.
;; ADDITIONAL SECTION:
dns2.domain.nl. 14400 IN A 93.126.178.15
dns1.domain.nl. 14400 IN A 93.102.215.7
;; Query time: 6 msec
;; SERVER: 93.102.215.12#53(93.102.215.12)
;; WHEN: Tue Jan 19 04:24:49 2010
;; MSG SIZE rcvd: 128
[root@dns2 zcs-6.0.4_GA_2038.RHEL5.20091214191028]# host `hostname`
dns2.domain.nl has address 93.126.178.15
dns2.domain.nl mail is handled by 10 dns2.domain.nl.
[root@dns2 zcs-6.0.4_GA_2038.RHEL5.20091214191028]#
SELinux is disabled.
I did have problems saving the configuration after installing.(Just 8 lines)Code:[root@dns2 ~]# cat /opt/zimbra/conf/localconfig.xml
<?xml version="1.0" encoding="UTF-8"?>
<localconfig>
<key name="zimbra_java_home">
<value>/opt/zimbra/java</value>
</key>
</localconfig>
[root@dns2 ~]#
Installer:Code:[root@dns2 zcs-6.0.4_GA_2038.RHEL5.20091214191028]#
[root@dns2 zcs-6.0.4_GA_2038.RHEL5.20091214191028]# ./install.sh --platform-override
Operations logged to /tmp/install.log.7333
Checking for existing installation...
zimbra-ldap...NOT FOUND
zimbra-logger...NOT FOUND
zimbra-mta...NOT FOUND
zimbra-snmp...NOT FOUND
zimbra-store...NOT FOUND
zimbra-apache...NOT FOUND
zimbra-spell...NOT FOUND
zimbra-convertd...NOT FOUND
zimbra-memcached...NOT FOUND
zimbra-proxy...NOT FOUND
zimbra-archiving...NOT FOUND
zimbra-cluster...NOT FOUND
zimbra-core...NOT FOUND
PLEASE READ THIS AGREEMENT CAREFULLY BEFORE USING THE SOFTWARE.
ZIMBRA, INC. ("ZIMBRA") WILL ONLY LICENSE THIS SOFTWARE TO YOU IF YOU
FIRST ACCEPT THE TERMS OF THIS AGREEMENT. BY DOWNLOADING OR INSTALLING
THE SOFTWARE, OR USING THE PRODUCT, YOU ARE CONSENTING TO BE BOUND BY
THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE TERMS OF THIS
AGREEMENT, THEN DO NOT DOWNLOAD, INSTALL OR USE THE PRODUCT.
License Terms for the Zimbra Collaboration Suite:
http://www.zimbra.com/license/zimbra_public_eula_2.1.html
Press Return to continue
Checking for prerequisites...
FOUND: NPTL
FOUND: sudo-1.6.9p17-5
FOUND: libidn-0.6.5-1.1
FOUND: gmp-4.1.4-10
FOUND: compat-libstdc++-33-3.2.3-61
FOUND: /usr/lib/libstdc++.so.5
FOUND: /usr/lib/libstdc++.so.6
Checking for suggested prerequisites...
FOUND: perl-5.8.8
FOUND: sysstat
Prerequisite check complete.
Checking for installable packages
Found zimbra-core
Found zimbra-ldap
Found zimbra-logger
Found zimbra-mta
Found zimbra-snmp
Found zimbra-store
Found zimbra-apache
Found zimbra-spell
Found zimbra-memcached
Found zimbra-proxy
Select the packages to install
Install zimbra-ldap [Y]
Install zimbra-logger [Y]
Install zimbra-mta [Y]
Install zimbra-snmp [Y]
Install zimbra-store [Y]
Install zimbra-apache [Y]
Install zimbra-spell [Y]
Install zimbra-memcached [N]
Install zimbra-proxy [N]
Checking required space for zimbra-core
checking space for zimbra-store
Installing:
zimbra-core
zimbra-ldap
zimbra-logger
zimbra-mta
zimbra-snmp
zimbra-store
zimbra-apache
zimbra-spell
You appear to be installing packages on a platform different
than the platform for which they were built.
This platform is CentOS5
Packages found: RHEL5
This may or may not work.
Using packages for a platform in which they were not designed for
may result in an installation that is NOT usable. Your support
options may be limited if you choose to continue.
Install anyway? [N] Y
The system will be modified. Continue? [N] Y
Removing /opt/zimbra
Removing zimbra crontab entry...done.
done.
Cleaning up zimbra init scripts...done.
Cleaning up /etc/ld.so.conf...done.
Cleaning up /etc/prelink.conf...done.
Cleaning up /etc/logrotate.d/zimbra...done.
Cleaning up /etc/security/limits.conf...done.
Finished removing Zimbra Collaboration Suite.
Installing packages
zimbra-core......zimbra-core-6.0.4_GA_2038.RHEL5-20091214191028.i386.rpm...done
zimbra-ldap......zimbra-ldap-6.0.4_GA_2038.RHEL5-20091214191028.i386.rpm...done
zimbra-logger......zimbra-logger-6.0.4_GA_2038.RHEL5-20091214191028.i386.rpm...done
zimbra-mta......zimbra-mta-6.0.4_GA_2038.RHEL5-20091214191028.i386.rpm...done
zimbra-snmp......zimbra-snmp-6.0.4_GA_2038.RHEL5-20091214191028.i386.rpm...done
zimbra-store......zimbra-store-6.0.4_GA_2038.RHEL5-20091214191028.i386.rpm...done
zimbra-apache......zimbra-apache-6.0.4_GA_2038.RHEL5-20091214191028.i386.rpm...done
zimbra-spell......zimbra-spell-6.0.4_GA_2038.RHEL5-20091214191028.i386.rpm...done
Operations logged to /tmp/zmsetup.01192010-043754.log
Installing LDAP configuration database...done.
Setting defaults... MX: dns2.domain.nl ( )
Interface: 93.126.178.15
Interface: 127.0.0.1
93.126.178.15
done.
Checking for port conflicts
Main menu
1) Common Configuration:
2) zimbra-ldap: Enabled
3) zimbra-store: Enabled
+Create Admin User: yes
+Admin user to create: admin@dns2.domain.nl
******* +Admin Password UNSET
+Enable automated spam training: yes
+Spam training user: spam.abpug8rahf@dns2.domain.nl
+Non-spam(Ham) training user: ham.8rgy1tjpqe@dns2.domain.nl
+Global Documents Account: wiki@dns2.domain.nl
+SMTP host: dns2.domain.nl
+Web server HTTP port: 80
+Web server HTTPS port: 443
+Web server mode: http
+IMAP server port: 143
+IMAP server SSL port: 993
+POP server port: 110
+POP server SSL port: 995
+Use spell check server: yes
+Spell server URL: http://dns2.domain.nl:7780/aspell.php
+Configure for use with mail proxy: FALSE
+Configure for use with web proxy: FALSE
+Enable version update checks: TRUE
+Enable version update notifications: TRUE
+Version update notification email: admin@dns2.domain.nl
+Version update source email: admin@dns2.domain.nl
4) zimbra-mta: Enabled
5) zimbra-snmp: Enabled
6) zimbra-logger: Enabled
7) zimbra-spell: Enabled
8) Default Class of Service Configuration:
r) Start servers after configuration yes
s) Save config to file
x) Expand menu
q) Quit
Address unconfigured (**) items (? - help) s
Save config in file: [/opt/zimbra/config.14239]
Saving config in /opt/zimbra/config.14239...done.
Main menu
1) Common Configuration:
2) zimbra-ldap: Enabled
3) zimbra-store: Enabled
+Create Admin User: yes
+Admin user to create: admin@dns2.domain.nl
******* +Admin Password UNSET
+Enable automated spam training: yes
+Spam training user: spam.abpug8rahf@dns2.domain.nl
+Non-spam(Ham) training user: ham.8rgy1tjpqe@dns2.domain.nl
+Global Documents Account: wiki@dns2.domain.nl
+SMTP host: dns2.domain.nl
+Web server HTTP port: 80
+Web server HTTPS port: 443
+Web server mode: http
+IMAP server port: 143
+IMAP server SSL port: 993
+POP server port: 110
+POP server SSL port: 995
+Use spell check server: yes
+Spell server URL: http://dns2.domain.nl:7780/aspell.php
+Configure for use with mail proxy: FALSE
+Configure for use with web proxy: FALSE
+Enable version update checks: TRUE
+Enable version update notifications: TRUE
+Version update notification email: admin@dns2.domain.nl
+Version update source email: admin@dns2.domain.nl
4) zimbra-mta: Enabled
5) zimbra-snmp: Enabled
6) zimbra-logger: Enabled
7) zimbra-spell: Enabled
8) Default Class of Service Configuration:
r) Start servers after configuration yes
s) Save config to file
x) Expand menu
q) Quit
Address unconfigured (**) items (? - help) q
Quit without applying changes? [No] Yes
[root@dns2 zcs-6.0.4_GA_2038.RHEL5.20091214191028]#
Did you set the Admin password as in the screenshot it shows as not being set ?
Well, the howto I read did not say I should do that, but I have no idea how I should set the admin password.
And could it cause the LDAP error?
I guess my install was not completed, when I read the quick-start it seemed that I indeed to set the admin password and than save configurationt.
I am sorry for having wasted your and my time by not reading the documentation. :)