Hi All
Thanks Phoenix,
I have noticed that the processes don’t always stop right away. If I get brave I am going to break out my pearl book and come up with a small script to stop all processes returned by ps –ax |grep zimbra >tobekilled.txt. A regular expression should do it, gather all the process #’s put them in a string, make a single bash command kill $string or something like that. Anyone reading this that s actually GOOD at pearl and regular expershions please feal free to post a script. Actually, I think I will read through the back up posts, this sounds too useful for the unattended back up of the open source addition. Its probably in there some where…
Thanks Brian,
I am not sure how I missed that one. I vi edited the config.save file and added the two missing arguments… I think. Here is the file
av_notify_user='admin@office.xxMyDoMaInxx.com'
ldap_cache_account_maxage='15'
ldap_cache_account_maxsize='5000'
ldap_cache_cos_maxage='15'
ldap_cache_cos_maxsize='100'
ldap_cache_domain_maxage='15'
ldap_cache_domain_maxsize='100'
ldap_cache_server_maxage='15'
ldap_cache_server_maxsize='100'
ldap_cache_timezone_maxsize='100'
ldap_cache_zimlet_maxage='15'
ldap_cache_zimlet_maxsize='100'
ldap_connect_pool_debug='false'
ldap_connect_pool_initsize='1'
ldap_connect_pool_maxsize='25'
ldap_connect_pool_prefsize='0'
ldap_connect_pool_timeout='120000'
ldap_connect_timeout='10000'
ldap_host='office.xxMyDoMaInxx.com'
ldap_is_master='true'
ldap_log_level='0'
ldap_master_url='ldap://office.xxMyDoMaInxx.com:389'
ldap_port='389'
ldap_root_password='Xc2GhtWtfE'
ldap_url='ldap://office.xxMyDoMaInxx.com'
localized_msgs_directory='${zimbra_home}/conf/msgs'
My first attempt (today) failed, after I noticed the changes I did in the config file had reverted. So on the second try I noticed that the file was written to by install.sh I opened up a second terminal, re-edited the file putting back in the host and port info. Continued the install, below is what I got….
[root@office zcs.4.0.3]# ./install.sh
Operations logged to /tmp/install.log.24487
Checking for existing installation...
zimbra-ldap...FOUND zimbra-ldap-4.0.3_GA_406
zimbra-logger...FOUND zimbra-logger-4.0.3_GA_406
zimbra-mta...FOUND zimbra-mta-4.0.3_GA_406
zimbra-snmp...FOUND zimbra-snmp-4.0.3_GA_406
zimbra-store...FOUND zimbra-store-4.0.3_GA_406
zimbra-apache...FOUND zimbra-apache-4.0.3_GA_406
zimbra-spell...FOUND zimbra-spell-4.0.3_GA_406
zimbra-core...FOUND zimbra-core-4.0.3_GA_406
Saving existing configuration file to /opt/zimbra/.saveconfig
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/collab...cense_1.0.html
Press Return to continue
Checking for prerequisites...
NPTL...FOUND
sudo...FOUND sudo-1.6.8p8-1
libidn...FOUND libidn-0.5.15-1
curl...FOUND curl-7.13.1-3
fetchmail...FOUND fetchmail-6.2.5-7
gmp...FOUND gmp-4.1.4-6
/usr/lib/libstdc++.so.5...FOUND
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
The Zimbra Collaboration Suite appears already to be installed.
It can be upgraded with no effect on existing accounts,
or the current installation can be completely removed prior
to installation for a clean install.
Do you wish to upgrade? [Y] y
Select the packages to install
Upgrading zimbra-core
Upgrading zimbra-ldap
Upgrading zimbra-logger
Upgrading zimbra-mta
Upgrading zimbra-snmp
Upgrading zimbra-store
Upgrading zimbra-apache
Upgrading zimbra-spell
Installing:
zimbra-core
zimbra-ldap
zimbra-logger
zimbra-mta
zimbra-snmp
zimbra-store
zimbra-apache
zimbra-spell
The system will be modified. Continue? [N] y
Shutting down zimbra mail
Backing up ldap
Removing existing packages
zimbra-ldap...done
zimbra-logger...done
zimbra-mta...done
zimbra-snmp...done
zimbra-store...done
zimbra-spell...done
zimbra-apache...done
zimbra-core...done
Removing deployed webapp directories
Installing packages
zimbra-core......zimbra-core-4.0.3_GA_406.FC4-20061016134043.i386.rpm...done
zimbra-ldap......zimbra-ldap-4.0.3_GA_406.FC4-20061016134043.i386.rpm...done
zimbra-logger......zimbra-logger-4.0.3_GA_406.FC4-20061016134043.i386.rpm...done
zimbra-mta......zimbra-mta-4.0.3_GA_406.FC4-20061016134043.i386.rpm...done
zimbra-snmp......zimbra-snmp-4.0.3_GA_406.FC4-20061016134043.i386.rpm...done
zimbra-store......zimbra-store-4.0.3_GA_406.FC4-20061016134043.i386.rpm...done
zimbra-apache......zimbra-apache-4.0.3_GA_406.FC4-20061016134043.i386.rpm...done
zimbra-spell......zimbra-spell-4.0.3_GA_406.FC4-20061016134043.i386.rpm...done
Setting defaults from saved config in /opt/zimbra/.saveconfig/config.save
HOSTNAME=office.xxMyDoMaInxx.com
LDAPHOST=office.xxMyDoMaInxx.com
LDAPPORT=389
SNMPTRAPHOST=office.xxMyDoMaInxx.com
SMTPSOURCE=admin@office.xxMyDoMaInxx.com
SMTPDEST=admin@office.xxMyDoMaInxx.com
SNMPNOTIFY=yes
SMTPNOTIFY=yes
LDAPROOTPW=Xc2GhtWtfE
LDAPZIMBRAPW=Xc2GhtWtfE
Restoring existing configuration file from /opt/zimbra/.saveconfig/config.save...done
Operations logged to /tmp/zmsetup.log.1175
Setting defaults...Setting defaults from existing config...Done
Upgrading from 3.1.4_GA_518 to 4.0.3_GA_406
Sun Nov 12 11:30:53 2006: Stopping zimbra services
Sun Nov 12 11:31:04 2006: Starting mysql
Sun Nov 12 11:31:11 2006: Checking logger mysql status
Sun Nov 12 11:31:13 2006: Starting logger mysql
Sun Nov 12 11:31:15 2006: SELECT value FROM config WHERE name = 'db.version'
This appears to be 3.1.4_GA
Sun Nov 12 11:31:18 2006: Stopping mysql
Sun Nov 12 11:31:28 2006: Stopping logger mysql
Sun Nov 12 11:31:32 2006: Migrating ldap data
Sun Nov 12 11:31:36 2006: Checking ldap status
Sun Nov 12 11:31:38 2006: Starting ldap
Sun Nov 12 11:31:49 2006: ldap startup failed with exit code 1
UPGRADE FAILED – exiting
Also :
Checked the config then did the following from /opt/zimbra/libexec
./zmfixperms
Then zmsetup.pl
[root@office libexec]# ./zmsetup.pl
Operations logged to /tmp/zmsetup.log.6565
Setting defaults...Setting defaults from existing config...Done
Upgrading from 3.1.4_GA_518 to 4.0.3_GA_406
Sun Nov 12 11:55:54 2006: Stopping zimbra services
Sun Nov 12 11:56:05 2006: Starting mysql
Sun Nov 12 11:56:12 2006: Checking logger mysql status
Sun Nov 12 11:56:14 2006: Starting logger mysql
Sun Nov 12 11:56:16 2006: SELECT value FROM config WHERE name = 'db.version'
This appears to be 3.1.4_GA
Sun Nov 12 11:56:18 2006: Stopping mysql
Sun Nov 12 11:56:26 2006: Stopping logger mysql
Sun Nov 12 11:56:32 2006: Checking ldap status
Sun Nov 12 11:56:34 2006: Starting ldap
Sun Nov 12 11:56:46 2006: ldap startup failed with exit code 1
UPGRADE FAILED - exiting
[root@office libexec]#
The current .save~ folder has
[root@office .saveconfig]# l
total 84K
4.0K drwxrwxrwx 2 root root 4.0K Nov 12 11:44 .
4.0K drwxr-xr-x 45 root root 4.0K Nov 12 11:31 ..
32K -rwxr-xr-x 1 root root 30K Nov 12 11:22 cacerts
4.0K -rwx------ 1 root root 887 Nov 12 11:22 ca.key
4.0K -rwx------ 1 root root 903 Nov 12 11:22 ca.pem
8.0K -rw-rw-r-- 1 zimbra zimbra 5.3K Nov 12 11:25 config.save
4.0K -rw-r--r-- 1 root root 1.4K Nov 12 11:22 keystore
4.0K -rw-r--r-- 1 root root 887 Nov 12 11:22 perdition.key
4.0K -rw-r--r-- 1 root root 1.2K Nov 12 11:22 perdition.pem
4.0K -rw-r--r-- 1 root root 1.2K Nov 12 11:22 slapd.crt
4.0K -rw-r--r-- 1 root root 887 Nov 12 11:22 slapd.key
4.0K -rwx------ 1 root root 1.2K Nov 12 11:22 smtpd.crt
4.0K -rwx------ 1 root root 887 Nov 12 11:22 smtpd.key
Config.save is
av_notify_user='admin@office.xxMyDoMaInxx.com'
ldap_cache_account_maxage='15'
ldap_cache_account_maxsize='5000'
ldap_cache_cos_maxage='15'
ldap_cache_cos_maxsize='100'
ldap_cache_domain_maxage='15'
ldap_cache_domain_maxsize='100'
ldap_cache_server_maxage='15'
ldap_cache_server_maxsize='100'
ldap_cache_timezone_maxsize='100'
ldap_cache_zimlet_maxage='15'
ldap_cache_zimlet_maxsize='100'
ldap_connect_pool_debug='false'
ldap_connect_pool_initsize='1'
ldap_connect_pool_maxsize='25'
ldap_connect_pool_prefsize='0'
ldap_connect_pool_timeout='120000'
ldap_connect_timeout='10000'
ldap_host='office.xxMyDoMaInxx.com'
ldap_is_master='true'
ldap_log_level='0'
ldap_master_url='ldap://office.xxMyDoMaInxx.com:389'
ldap_port='389'
ldap_root_password='Xc2GhtWtfE'
ldap_url='ldap://office.xxMyDoMaInxx.com'
localized_msgs_directory='${zimbra_home}/conf/msgs'
logger_mysql_bind_address='localhost'
logger_mysql_data_directory='${zimbra_home}/logger/db/data'
logger_mysql_directory='${zimbra_home}/logger/mysql'
logger_mysql_mycnf='${zimbra_home}/conf/my.logger.cnf'
logger_mysql_pidfile='${zimbra_home}/logger/db/mysql.pid'
logger_mysql_port='7307'
logger_mysql_socket='${zimbra_home}/logger/db/mysql.sock'
mysql_bind_address='localhost'
mysql_data_directory='${zimbra_db_directory}/data'
mysql_directory='${zimbra_home}/mysql'
mysql_innodb_log_buffer_size='8388608'
mysql_innodb_log_file_size='104857600'
mysql_logger_root_password='Xw4_fInji8_GPbg4rEPYjm lUUV'
mysql_memory_percent='40'
mysql_mycnf='${zimbra_home}/conf/my.cnf'
mysql_pidfile='${zimbra_db_directory}/mysql.pid'
mysql_port='7306'
mysql_read_buffer_size='1048576'
mysql_root_password='yvivwHWw1fodGzbiBC7PfPsSblf_'
mysql_socket='${zimbra_db_directory}/mysql.sock'
mysql_sort_buffer_size='1048576'
mysql_table_cache='500'
nio_imap_enable='false'
nio_imap_log_buffers='false'
nio_imap_write_queue_max_size='10240000'
nio_imap_write_queue_max_size_unauth='20480'
nio_write_buffer_compaction_percent='50'
postfix_alias_maps='hash:/etc/aliases'
postfix_broken_sasl_auth_clients='yes'
postfix_command_directory='/opt/zimbra/postfix-${postfix_version}/sbin'
postfix_daemon_directory='/opt/zimbra/postfix-${postfix_version}/libexec'
postfix_header_checks='pcre:/opt/zimbra/conf/postfix_header_checks'
postfix_mailq_path='/opt/zimbra/postfix-${postfix_version}/sbin/mailq'
postfix_manpage_directory='/opt/zimbra/postfix-${postfix_version}/man'
postfix_newaliases_path='/opt/zimbra/postfix-${postfix_version}/sbin/newaliases'
postfix_queue_directory='/opt/zimbra/postfix-${postfix_version}/spool'
postfix_sender_canonical_maps='ldap:/opt/zimbra/conf/ldap-scm.cf'
postfix_sendmail_path='/opt/zimbra/postfix-${postfix_version}/sbin/sendmail'
postfix_smtpd_client_restrictions='reject_unauth_p ipelining'
postfix_smtpd_data_restrictions='reject_unauth_pip elining'
postfix_smtpd_helo_required='yes'
postfix_smtpd_tls_cert_file='${zimbra_home}/conf/smtpd.crt'
postfix_smtpd_tls_key_file='${zimbra_home}/conf/smtpd.key'
postfix_smtpd_tls_loglevel='3'
postfix_transport_maps='ldap:/opt/zimbra/conf/ldap-transport.cf'
postfix_version='2.2.9'
postfix_virtual_alias_domains='ldap://opt/zimbra/conf/ldap-vad.cf'
postfix_virtual_alias_maps='ldap:/opt/zimbra/conf/ldap-vam.cf'
postfix_virtual_mailbox_domains='ldap:/opt/zimbra/conf/ldap-vmd.cf'
postfix_virtual_mailbox_maps='ldap:/opt/zimbra/conf/ldap-vmm.cf'
postfix_virtual_transport='error'
smtp_destination='admin@office.xxMyDoMaInxx.com'
smtp_notify='yes'
smtp_source='admin@office.xxMyDoMaInxx.com'
snmp_notify='yes'
snmp_trap_host='office.xxMyDoMaInxx.com'
ssl_allow_untrusted_certs='TRUE'
stats_img_folder='${zimbra_home}/zimbramon/rrdtool/work'
tomcat_directory='${zimbra_home}/tomcat'
tomcat_java_heap_memory_percent='30'
tomcat_java_home='${zimbra_java_home}'
tomcat_java_options='-client -XX:NewRatio=2'
tomcat_keystore='${tomcat_directory}/conf/keystore'
tomcat_pidfile='${zimbra_log_directory}/tomcat.pid'
wiki_enabled='false'
wiki_user='wiki'
zimbra_admin_service_port='7071'
zimbra_attrs_directory='${zimbra_home}/conf/attrs'
zimbra_auth_always_send_refer='false'
zimbra_db_directory='${zimbra_home}/db'
zimbra_extension_common_directory='${zimbra_home}/lib/ext-common'
zimbra_extension_directory='${zimbra_home}/lib/ext'
zimbra_gid='502'
zimbra_home='/opt/zimbra'
zimbra_index_directory='${zimbra_home}/index'
zimbra_index_idle_flush_time='600'
zimbra_index_lru_size='100'
zimbra_index_max_uncommitted_operations='200'
zimbra_java_home='${zimbra_home}/java'
zimbra_ldap_password='Xc2GhtWtfE'
zimbra_ldap_user='zimbra'
zimbra_ldap_userdn='uid=zimbra,cn=admins,cn=zimbra '
zimbra_log4j_properties='${zimbra_home}/conf/log4j.properties'
zimbra_log_directory='${zimbra_home}/log'
zimbra_logger_mysql_password='UYZQAPNKdOOMlYv5RBow bL7ov.5x18'
zimbra_mtareport_max_recipients='50'
zimbra_mtareport_max_senders='50'
zimbra_mysql_connector_maxActive='16'
zimbra_mysql_password='RYe5UYrm1qgOKSuELsrgTHpsT2'
zimbra_mysql_user='zimbra'
zimbra_server_hostname='office.xxMyDoMaInxx.com'
zimbra_spam_report_queue_size='100'
zimbra_store_directory='${zimbra_home}/store'
zimbra_store_sweeper_max_age='480'
zimbra_throttle_op_concurrency='1000,1000,1000,100 0,1000'
zimbra_tmp_directory='/tmp/zimbra'
zimbra_uid='502'
zimbra_user='zimbra'
zimbra_zmprov_default_soap_server='localhost'
zimbra_zmprov_default_to_ldap='false'
zimlet_directory='${tomcat_directory}/webapps/service/zimlet'
Of cource xxMyDoMaInxx is a “mask” the domain name in use is a real registered .com
Although I am behind a firewall and I do get the request to rename the domain each install attempt.
Cheers.