View Single Post
  #15 (permalink)  
Old 01-11-2006, 08:52 AM
rjedge rjedge is offline
Intermediate Member
 
Posts: 18
Default Upgrade from m2 to m3

Quote:
Originally Posted by marcmac
Exactly which version of M1? This may not work smoothly - it looks like you've lost the ldap password - you'll want to set that and re-run zmsetup.pl

I ran into the same thing when upgrading from M2 to M3 but I don't recall the M2 installation asking for or setting an ldap password. Anyway, I performed the steps you suggested and although the installation says it succeeded when I run zmcontrol start I get the following:

[zimbra@zimbra root]$ zmcontrol start
Host zimbra.twu.ca
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException zimbra.twu.ca:389)

Now when you said the ldap password needed to be set is this though zmldappasswd or with the --root option?

I forgot to add the setup log out put. Here it is:


[zimbra@zimbra root]$ zmsetup.pl
bash: zmsetup.pl: command not found
[zimbra@zimbra root]$ perl zmsetup.pl
Can't open perl script "zmsetup.pl": Permission denied.
Use -S to search $PATH for it.
[zimbra@zimbra root]$ cd ..
[zimbra@zimbra /]$ perl zmsetup.pl
Can't open perl script "zmsetup.pl": No such file or directory.
Use -S to search $PATH for it.
[zimbra@zimbra /]$ exit
exit
[root@zimbra ~]# perl zmsetup.pl
Can't open perl script "zmsetup.pl": No such file or directory.
Use -S to search $PATH for it.
[root@zimbra ~]# locate zmsetup.pl
warning: locate: warning: database /var/lib/slocate/slocate.db' is more than 8 days old
/opt/zimbra/libexec/zmsetup.pl
[root@zimbra ~]# /opt/zimbra/libexec/zmsetup.pl
Operations logged to /tmp/zmsetup.log.21507
Setting defaults...Setting defaults from existing config...Warning: null valued key 'mysql_logger_root_password'
Done
Checking for port conflicts
Starting ldap...Done
Setting defaults from ldap...Done
Checking ldap on localhost:389...Success

Main menu

1) Hostname: zimbra.twu.ca
2) Ldap master host: zimbra.twu.ca
3) Ldap port: 389
4) Ldap password: set
5) zimbra-ldap: Enabled
6) zimbra-store: Enabled
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

*** CONFIGURATION COMPLETE - press 'a' to apply
Select from menu, or press 'a' to apply config (? - help) s^Ha
Invalid selection! - press any key to continue


Checking ldap on localhost:389...Success

Main menu

1) Hostname: zimbra.twu.ca
2) Ldap master host: zimbra.twu.ca
3) Ldap port: 389
4) Ldap password: set
5) zimbra-ldap: Enabled
6) zimbra-store: Enabled
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

*** CONFIGURATION COMPLETE - press 'a' to apply
Select from menu, or press 'a' to apply config (? - help) a
Save configuration data to a file? [Yes]
Save config in file: [/opt/zimbra/config.21507]
Saving config in /opt/zimbra/config.21507...Done
The system will be modified - continue? [No] Yes
Operations logged to /tmp/zmsetup.log.21507
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 zimbra.twu.ca...Done
Setting spell check URL...Done
Setting service ports on zimbra.twu.ca...Done
Adding zimbra.twu.ca to zimbraMailHostPool in default COS...Done
Installing zimlets... com_zimbra_bugz... com_zimbra_sforce... com_zimbra_domainadmin... com_zimbra_phone... com_zimbra_po... com_zimbra_amzn... com_zimbra_url... com_zimbra_ymaps... com_zimbra_tracking... Done
Setting MTA auth host...Done
Initializing mta config...Done
Configuring SNMP...Done
Setting services on zimbra.twu.ca...Done
Setting up zimbra crontab...cron/zimbra: Permission denied
ERROR: Backup cron corrupted - rebuilding

Done
Warning: null valued key 'trial_expiration_date'
Starting servers...Done.


Operations logged to /tmp/zmsetup.log.21507


Configuration complete - press return to exit


[root@zimbra ~]# less /tmp/zmsetup.log.21507
Setting defaults...Setting defaults from existing config...Getting local config
zimbra_server_hostname
Getting local config ldap_url
Getting local config ldap_port
Getting local config ldap_host
Getting local config ldap_root_password
Getting local config mysql_root_password
Getting local config mysql_logger_root_password
Getting local config zimbra_mysql_password
Getting local config zimbra_logger_mysql_password
Done
Checking for port conflicts
Starting ldap...*** Running as zimbra user: /opt/zimbra/openldap/sbin/slapindex
-f /opt/zimbra/conf/slapd.conf
*** Running as zimbra user: ldap start
*** Running as zimbra user: zmldapapplyldif
Done
Setting defaults from ldap...Done
Checking ldap on localhost:389...Success
Checking ldap on localhost:389...Success
Saving config in /opt/zimbra/config.21507...Done
Operations logged to /tmp/zmsetup.log.21507
Setting local config values...Setting local config zimbra_server_hostname to zim
/tmp/zmsetup.log.21507

Last edited by rjedge; 01-11-2006 at 08:56 AM.. Reason: Log file addition
Reply With Quote