Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

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 12-08-2009, 03:46 PM
Elite Member
 
Posts: 296
Default how to fix Hostname into multiserver installation

during a migration from 5.0.18 to 6.0.3, ldap master migrated without issues, mailsotore no.
After meny meny hours i was able to get Main menu, but imissed to chenge field 1: Hostename

Instead of to be like in:
Multiple-Server Installation

Code:
 
1) Common Configuration:
+Hostname: mailstore-1.example.com
******* +Ldap master host: UNSET
+Ldap port: 389
******* +Ldap Admin password: UNSET
+Require secure interprocess communications: yes
+TimeZone: (GMT-08.00) Pacific Time (US & Canada)
it is:
Code:
Main menu

   1) Common Configuration:                                                  
        +Hostname:                             localhost                     
        +Ldap master host:                     zimbra.xxxxxxx.it       
        +Ldap port:                            389                           
******* +Ldap Admin password:                  Not Verified                  
        +LDAP Base DN:                         cn=zimbra                     
        +Secure interprocess communications:   yes                           
        +TimeZone:                             Europe/Berlin
then i setted Ldap Admin password, missing to change :
Code:
+Hostname:                             localhost
after some steps i get:
Code:
Setting spam training accounts...done.                                                   
Configuring SNMP...done.                                                                 
Checking for default IM conference room...already initialized.                           
Setting up syslog.conf...ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: javax.naming.CommunicationException localhost:389)
updateSyslog: Updating /etc/syslog.conf....done.                                                                                              
done.                                                                                                                                         
Looking for valid license to install...failed to install license.                                                                             

*******ERROR

Failed to install a license - this will prevent your server from functioning properly
Please contact Zimbra to obtain a license                                            
Press RETURN to continue 
   Starting servers...Unable to determine enabled services from ldap.
Enabled services read from cache. Service list may be inaccurate.
done.
Checking for deprecated zimlets...done.
Installing common zimlets...
        com_zimbra_bulkprovision...failed. This may impact system functionality.
        com_zimbra_cert_manager...failed. This may impact system functionality.
        com_zimbra_local...failed. This may impact system functionality.
        com_zimbra_phone...failed. This may impact system functionality.
        com_zimbra_ymemoticons...failed. This may impact system functionality.
        com_zimbra_adminversioncheck...failed. This may impact system functionality.
        com_zimbra_email...failed. This may impact system functionality.
        com_zimbra_url...failed. This may impact system functionality.
        com_zimbra_date...failed. This may impact system functionality.
Finished installing common zimlets.
Installing network zimlets...
        com_zimbra_delegatedadmin...failed. This may impact system functionality.
        com_zimbra_hsm...failed. This may impact system functionality.
        com_zimbra_license...failed. This may impact system functionality.
        com_zimbra_mobilesync...failed. This may impact system functionality.
        com_zimbra_convertd...failed. This may impact system functionality.
        com_zimbra_backuprestore...failed. This may impact system functionality.
Finished installing network zimlets.
Getting list of all zimlets...done.
Updating non-standard zimlets...
Finished updating non-standard zimlets.
Upgrading Document templates...failed.
Restarting mailboxd...done.
Setting up zimbra crontab...done.


Moving /tmp/zmsetup.12092009-000618.log to /opt/zimbra/log


Configuration complete - press return to exit

Now, how can i fix it?

tia
Reply With Quote
  #2 (permalink)  
Old 12-08-2009, 09:21 PM
Outstanding Member
 
Posts: 594
Default

For changing hostname you can use: -

ZmSetServerName - Zimbra :: Wiki

you can rerun /opt/zimbra/libexec/zmsetup.pl once again
Reply With Quote
  #3 (permalink)  
Old 12-09-2009, 01:33 AM
Elite Member
 
Posts: 296
Default

10x Veronica, this solved my issue:

Code:
su - zimbra
zmcontrol stop
/opt/zimbra/libexec/zmsetservername -n NEW_HOSTNAME
zmlocalconfig -e ldap_url=ldap://zimbra.company.com:389
zmcontrol start
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.