I have searched the fourms, but can not find the best solution.
My Machine
Operating System: Fedora Core 4
Zimbra Version: 3.1.2 for FC4
I have two machines, and the settings are the same.
A PC: for testing
B PC: for using
Two backup files
A files: Backup from A PC.
B files: Backup from B PC.
My first testing on A PC:
1. Uninstall the zimbra
2. Install a clean zimbra
3. Stop zimbra and kill all related process and reboot
4. Check the process and kill(include slapd)
5. Remove the /opt/zimbra
6. Copy the backup zimbra folder(A files) to /opt
7. Run the install script "./install.sh"
8. When restore the zimbra, the error appears.
Code:
Restoring existing configuration file from /opt/zimbra/.saveconfig/config.save...done
Operations logged to /tmp/zmsetup.log.9702
Setting defaults...Setting defaults from existing config...Done
Checking for port conflicts
Starting ldap...Done
Setting defaults from ldap...ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.AuthenticationException [LDAP: error code 49 - Invalid Credentials])
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.AuthenticationException [LDAP: error code 49 - Invalid Credentials])
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.AuthenticationException [LDAP: error code 49 - Invalid Credentials])
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.AuthenticationException [LDAP: error code 49 - Invalid Credentials])
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.AuthenticationException [LDAP: error code 49 - Invalid Credentials])
Done
Checking ldap on localhost:389...FAILED ( ldap_bind: Invalid credentials (49) )
Checking ldap on localhost:389...FAILED ( ldap_bind: Invalid credentials (49) )
Main menu
1) Hostname: mydomain
2) Ldap master host: mydomain
3) Ldap port: 389
4) Ldap password: set
5) zimbra-ldap: Enabled
6) zimbra-store: Enabled
+Create Admin User: no
+SMTP host: mydomain
******* +Web server HTTP port: UNSET
******* +Web server HTTPS port: UNSET
+Web server mode: mixed
+Enable POP/IMAP proxy: no
+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://mydomain:7780/aspell.php
7) zimbra-mta: Enabled
8) zimbra-snmp: Enabled
9) zimbra-logger: Enabled
10) zimbra-spell: Enabled
r) Start servers after configuration yes
s) Save config to file
x) Expand menu
q) Quit
Address unconfigured (**) items or correct ldap configuration (? - help) zmsetup.log
Code:
Started slapd: pid 10101
slapd already running: pid 10101
ldap_bind: Invalid credentials (49)
ldap_bind: Invalid credentials (49)
ldap_bind: Invalid credentials (49)
ls: /opt/zimbra/lib/conf/*ldif: No such file or directory
After that, I pressed "Ctrl+C" to stop the installation. Then I run the install script again.
Code:
Restoring existing configuration file from /opt/zimbra/.saveconfig/config.save...done
Operations logged to /tmp/zmsetup.log.18008
Setting defaults...Setting defaults from existing config...Done
Checking for port conflicts
Starting ldap...Done
Setting defaults from ldap...Done
Checking ldap on localhost:389...Success
Checking ldap on localhost:389...Success
Saving config in /opt/zimbra/config.18008...Done
Operations logged to /tmp/zmsetup.log.18008
Setting local config values...Done
Creating SSL certificate...Done
Starting ldap...Done
Saving CA in ldap...Done
Installing SSL certificate...Done
Creating server entry for mydomain...Done
Setting spell check URL...Done
Setting service ports on mydomain...Done
Adding mydomain to zimbraMailHostPool in default COS...Done
Installing zimlets... com_zimbra_ymaps... com_zimbra_xslt... com_zimbra_url... com_zimbra_amzn... com_zimbra_wikipedia... com_zimbra_tracking... com_zimbra_phone... Done
Setting MTA auth host...Done
Initializing mta config...Done
Configuring SNMP...Done
Setting services on mydomain...Done
Setting up zimbra crontab...Done
You have the option of notifying Zimbra of your installation.
This helps us to track the uptake of the Zimbra Collaboration Suite.
The only information that will be transmitted is:
The VERSION of zcs installed (3.1.2_GA_445_FC4)
The ADMIN EMAIL ADDRESS created (admin@mydomain)
Notify Zimbra of your installation? [Yes] N
Notification skipped
Starting servers...
Done.
Operations logged to /tmp/zmsetup.log.18008
Configuration complete - press return to exit The installation is successfully. (Checking ldap on localhost:389...Success)However, when I check the zimbra status, the other error appears.
Code:
[zimbra@mail zcs_3.1.2]$ zmcontrol status
Host mydomain
antispam Running
antivirus Stopped
zmclamdctl is not running
ldap Running
logger Stopped
logmysql.server is not running
zmlogswatchctl is not running
mailbox Stopped
mysql.server is not running
tomcat is not running
mta Running
snmp Running
spell Running Some posts in fourms said that the slapd.conf have problems. However, I test on other way.
My second testing on A PC:
1. Uninstall the zimbra
2. Install a clean zimbra
3. Stop zimbra and kill all related process and reboot
4. Check the process and kill(include slapd)
5. Remove the /opt/zimbra
6. Copy the backup zimbra folder(B files) to /opt
7. Run the install script "./install.sh"
8. No errors and installation is successfully.
No errors on this testing. I don't really understand what problem on it.
My third testing on A PC:
1. Uninstall the zimbra
2. Install a clean zimbra
3. Stop zimbra and kill all related process and reboot
4. Check the process and kill(include slapd)
5. Run the install script "./install.sh"
6. Error appears!
Code:
Checking for port conflicts
Starting ldap...Done
Setting defaults from ldap...ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.AuthenticationException [LDAP: error code 49 - Invalid Credentials])
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.AuthenticationException [LDAP: error code 49 - Invalid Credentials])
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.AuthenticationException [LDAP: error code 49 - Invalid Credentials])
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.AuthenticationException [LDAP: error code 49 - Invalid Credentials])
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.AuthenticationException [LDAP: error code 49 - Invalid Credentials])
Done
Checking ldap on localhost:389...FAILED ( ldap_bind: Invalid credentials (49) )
Checking ldap on localhost:389...FAILED ( ldap_bind: Invalid credentials (49) )
Main menu
1) Hostname: mydomain
2) Ldap master host: mydomain
3) Ldap port: 389
4) Ldap password: set
5) zimbra-ldap: Enabled
6) zimbra-store: Enabled
+Create Admin User: no
+SMTP host: mydomain
******* +Web server HTTP port: UNSET
******* +Web server HTTPS port: UNSET
+Web server mode: mixed
+Enable POP/IMAP proxy: no
+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://mydomain:7780/aspell.php
7) zimbra-mta: Enabled
8) zimbra-snmp: Enabled
9) zimbra-logger: Enabled
10) zimbra-spell: Enabled
r) Start servers after configuration yes
s) Save config to file
x) Expand menu
q) Quit
Address unconfigured (**) items or correct ldap configuration (? - help) New Version 3.1.4 have the same result.
Anyone have idea on those of problems?