Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: Installation hangs on SLES9 with zcs-3.0.0_M3_381.SuSEES9.tgz

Hybrid View

  1. #1
    Join Date
    Jan 2006
    Posts
    18
    Rep Power
    9

    Default Installation hangs on SLES9 with zcs-3.0.0_M3_381.SuSEES9.tgz

    Hello,

    on a sles9 with sp2, the installation hangs on

    Setting defaults...

    That's it.

    No ports ex. ssh is open, postfix, openldap and cyrus are down.

    Seems, that it hangs with the script zmsetup.pl (shown in a "ps -ef").

    Any ideas? How can i see, in which step the installation hangs?
    Here the two logs of my server:

    COMMAND: zmlocalconfig -s | sed -e "s/ = \(.*\)/=\'\1\'/" > /opt/zimbra/.saveconfig/config.save
    -su: line 1: zmlocalconfig: command not found
    COMMAND: zmcontrol shutdown
    -su: line 1: zmcontrol: command not found
    Preparing packages for installation...
    zimbra-core-3.0.0_M3_381.SuSEES9-20051228233358
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException localhost:389)
    zimbra 0:off 1:off 2:off 3:on 4:off 5:on 6:off
    Loading classes to share ... done.
    Rewriting and unlinking classes ... done.
    Calculating hash values for String objects .. done.
    Calculating fingerprints ... done.
    Removing unshareable information ... done.
    Moving most read-only objects to shared space at 0x6d8f0000 ... done.
    Moving common symbols to shared space at 0x6dc6a520 ... done.
    Moving remaining symbols to shared space at 0x6dd95640 ... done.
    Moving string char arrays to shared space at 0x6dd960d0 ... done.
    Moving additional symbols to shared space at 0x6de17728 ... done.
    Read-only space ends at 0x6de6b5e8, 5748200 bytes.
    Moving read-write objects to shared space at 0x6e0f0000 ... done.
    Moving String objects to shared space at 0x6e669ec0 ... done.
    Read-write space ends at 0x6e6a9dc0, 6004160 bytes.
    Updating references to shared objects ... done.

    Preparing packages for installation...
    zimbra-ldap-3.0.0_M3_381.SuSEES9-20051228233358
    Preparing packages for installation...
    zimbra-logger-3.0.0_M3_381.SuSEES9-20051228233358
    Preparing packages for installation...
    zimbra-mta-3.0.0_M3_381.SuSEES9-20051228233358
    umount2: No such file or directory
    umount: /opt/zimbra/amavisd/tmp: not mounted
    mv: cannot stat `/opt/zimbra/amavisd': No such file or directory
    chown: cannot access `/opt/zimbra/perdition-1.17': No such file or directory
    Preparing packages for installation...
    zimbra-snmp-3.0.0_M3_381.SuSEES9-20051228233358
    Preparing packages for installation...
    zimbra-store-3.0.0_M3_381.SuSEES9-20051228233358
    Preparing packages for installation...
    zimbra-apache-3.0.0_M3_381.SuSEES9-20051228233358
    Preparing packages for installation...
    zimbra-spell-3.0.0_M3_381.SuSEES9-20051228233358

    In the other log-file:

    Setting defaults...

    cu chris

  2. #2
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    14

    Default run by hand?

    Does the same thing happen when you run /opt/zimbra/libexec/zmsetup.pl by hand (as root?)

    Did you pre-create the zimbra user? WHat is the zimbra user's home directory set to?

  3. #3
    Join Date
    Jan 2006
    Posts
    18
    Rep Power
    9

    Default

    Quote Originally Posted by marcmac
    Does the same thing happen when you run /opt/zimbra/libexec/zmsetup.pl by hand (as root?)
    yes
    Quote Originally Posted by marcmac
    Did you pre-create the zimbra user? WHat is the zimbra user's home directory set to?
    no, the installation did it (as a local user with no pw), home ist /opt/zimbra

    Did i need more packages? I installed the server as a mailserver with ldap (minimum installation without x).

    More hints? ;-)

    Thanks for your help!

    cu chris

  4. #4
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    14

    Default upgrade or fresh install?

    This appears to be a fresh install - is that correct?

    Can you post the contents of /opt/zimbra/.install_history

    Run this command, as root, and tell me what (if anything) it returns:

    /opt/zimbra/bin/zmjava com.zimbra.cs.util.RandomPassword 8 10

    What does this return?

    rpm -q zimbra-store

    What's the return value?

    rpm -q zimbra-store
    echo $?

  5. #5
    Join Date
    Jan 2006
    Posts
    18
    Rep Power
    9

    Default

    Quote Originally Posted by marcmac
    This appears to be a fresh install - is that correct?
    yes
    Quote Originally Posted by marcmac
    Can you post the contents of /opt/zimbra/.install_history
    1136284212: INSTALL SESSION START
    1136284230: INSTALLED zimbra-core-3.0.0_M3_381.SuSEES9-20051228233358.i386.rpm
    1136284232: INSTALLED zimbra-ldap-3.0.0_M3_381.SuSEES9-20051228233358.i386.rpm
    1136284242: INSTALLED zimbra-logger-3.0.0_M3_381.SuSEES9-20051228233358.i386.rpm
    1136284251: INSTALLED zimbra-mta-3.0.0_M3_381.SuSEES9-20051228233358.i386.rpm
    1136284254: INSTALLED zimbra-snmp-3.0.0_M3_381.SuSEES9-20051228233358.i386.rpm
    1136284266: INSTALLED zimbra-store-3.0.0_M3_381.SuSEES9-20051228233358.i386.rpm
    1136284272: INSTALLED zimbra-apache-3.0.0_M3_381.SuSEES9-20051228233358.i386.rpm
    1136284274: INSTALLED zimbra-spell-3.0.0_M3_381.SuSEES9-20051228233358.i386.rpm
    1136284274: INSTALL SESSION COMPLETE
    Quote Originally Posted by marcmac
    Run this command, as root, and tell me what (if anything) it returns:

    /opt/zimbra/bin/zmjava com.zimbra.cs.util.RandomPassword 8 10

    What does this return?
    Nothing. It "hangs" without return......

    Quote Originally Posted by marcmac
    rpm -q zimbra-store

    What's the return value?

    rpm -q zimbra-store
    zimbra-store-3.0.0_M3_381.SuSEES9-20051228233358
    Quote Originally Posted by marcmac
    echo $?
    0

  6. #6
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    14

    Default problem identified

    Ok, for some reason the genRandomPassword utility is hanging. Not sure why - it works on my suse9 box (which probably isn't up to date).

    Try this:
    sh -x /opt/zimbra/bin/zmjava com.zimbra.cs.util.RandomPassword 8 10

    And tell me what it outputs (lots of stuff, should be).

    Does /opt/zimbra/java/bin/java exist? What do you get from
    /opt/zimbra/java/bin/java -version

  7. #7
    Join Date
    Jan 2006
    Posts
    18
    Rep Power
    9

    Default

    Quote Originally Posted by marcmac
    Ok, for some reason the genRandomPassword utility is hanging. Not sure why - it works on my suse9 box (which probably isn't up to date).

    Try this:
    sh -x /opt/zimbra/bin/zmjava com.zimbra.cs.util.RandomPassword 8 10

    And tell me what it outputs (lots of stuff, should be).
    ++ dirname /opt/zimbra/bin/zmjava
    + source /opt/zimbra/bin/zmshutil
    + zmsetvars zimbra_home zimbra_java_home
    + '[' xzimbra_home = x-f ']'
    + '[' x = xtrue ']'
    + zmlocalconfig=/opt/zimbra/bin/zmlocalconfig
    + '[' '!' -x /opt/zimbra/bin/zmlocalconfig ']'
    ++ /opt/zimbra/bin/zmlocalconfig -q -m export
    + eval export 'ldap_connect_pool_debug='\''false'\'';' export 'ldap_connect_pool_initsize='\''1'\'';' export 'ldap_connect_pool_maxsize='\''25'\'';' export 'ldap_connect_pool_prefsize='\''25'\'';' export 'ldap_connect_pool_timeout='\''120000'\'';' export 'ldap_connect_timeout='\''10000'\'';' export 'ldap_host='\'''\'';' export 'ldap_is_master='\''false'\'';' export 'ldap_master_url='\'''\'';' export 'ldap_port='\'''\'';' export 'ldap_root_password='\''zimbra'\'';' export 'ldap_url='\'''\'';' export 'logger_mysql_bind_address='\''localhost'\'';' export 'logger_mysql_data_directory='\''/opt/zimbra/logger/db/data'\'';' export 'logger_mysql_directory='\''/opt/zimbra/logger/mysql'\'';' export 'logger_mysql_mycnf='\''/opt/zimbra/conf/my.logger.cnf'\'';' export 'logger_mysql_pidfile='\''/opt/zimbra/logger/db/mysql.pid'\'';' export 'logger_mysql_port='\''7307'\'';' export 'logger_mysql_socket='\''/opt/zimbra/logger/db/mysql.sock'\'';' export 'mysql_bind_address='\''localhost'\'';' export 'mysql_data_directory='\''/opt/zimbra/db/data'\'';' export 'mysql_directory='\''/opt/zimbra/mysql'\'';' export 'mysql_innodb_log_buffer_size='\''8388608'\'';' export 'mysql_innodb_log_file_size='\''104857600'\'';' export 'mysql_memory_percent='\''40'\'';' export 'mysql_mycnf='\''/opt/zimbra/conf/my.cnf'\'';' export 'mysql_pidfile='\''/opt/zimbra/db/mysql.pid'\'';' export 'mysql_port='\''7306'\'';' export 'mysql_read_buffer_size='\''1048576'\'';' export 'mysql_root_password='\''zimbra'\'';' export 'mysql_socket='\''/opt/zimbra/db/mysql.sock'\'';' export 'mysql_sort_buffer_size='\''1048576'\'';' export 'mysql_table_cache='\''500'\'';' export 'ssl_allow_untrusted_certs='\''false'\'';' export 'stats_img_folder='\''/opt/zimbra/zimbramon/rrdtool/work'\'';' export 'tomcat_directory='\''/opt/zimbra/tomcat'\'';' export 'tomcat_java_heap_memory_percent='\''30'\'';' export 'tomcat_java_home='\''/opt/zimbra/java'\'';' export 'tomcat_java_options='\''-client' '-XX:NewRatio=2'\'';' export 'tomcat_keystore='\''/opt/zimbra/tomcat/conf/keystore'\'';' export 'tomcat_pidfile='\''/opt/zimbra/log/tomcat.pid'\'';' export 'wiki_enabled='\''false'\'';' export 'wiki_user='\''wiki'\'';' export 'zimbra_db_directory='\''/opt/zimbra/db'\'';' export 'zimbra_extension_directory='\''/opt/zimbra/lib/ext'\'';' export 'zimbra_gid='\''-1'\'';' export 'zimbra_home='\''/opt/zimbra'\'';' export 'zimbra_index_directory='\''/opt/zimbra/index'\'';' export 'zimbra_index_idle_flush_time='\''600'\'';' export 'zimbra_index_lru_size='\''100'\'';' export 'zimbra_index_max_uncommitted_operations='\''200'\ '';' export 'zimbra_java_home='\''/opt/zimbra/java'\'';' export 'zimbra_ldap_password='\''zimbra'\'';' export 'zimbra_ldap_userdn='\''uid=zimbra,cn=admins,cn=zi mbra'\'';' export 'zimbra_log4j_properties='\''/opt/zimbra/conf/log4j.properties'\'';' export 'zimbra_log_directory='\''/opt/zimbra/log'\'';' export 'zimbra_logger_mysql_password='\''zimbra'\'';' export 'zimbra_mysql_password='\''zimbra'\'';' export 'zimbra_mysql_user='\''zimbra'\'';' export 'zimbra_server_hostname='\'CANCELED'\'';' export 'zimbra_store_directory='\''/opt/zimbra/store'\'';' export 'zimbra_uid='\''-1'\'';' export 'zimbra_user='\''zimbra'\'';' export 'zimlet_directory='\''/opt/zimbra/tomcat/webapps/service/zimlet'\'';'
    ++ export ldap_connect_pool_debug=false
    ++ ldap_connect_pool_debug=false
    ++ export ldap_connect_pool_initsize=1
    ++ ldap_connect_pool_initsize=1
    ++ export ldap_connect_pool_maxsize=25
    ++ ldap_connect_pool_maxsize=25
    ++ export ldap_connect_pool_prefsize=25
    ++ ldap_connect_pool_prefsize=25
    ++ export ldap_connect_pool_timeout=120000
    ++ ldap_connect_pool_timeout=120000
    ++ export ldap_connect_timeout=10000
    ++ ldap_connect_timeout=10000
    ++ export ldap_host=
    ++ ldap_host=
    ++ export ldap_is_master=false
    ++ ldap_is_master=false
    ++ export ldap_master_url=
    ++ ldap_master_url=
    ++ export ldap_port=
    ++ ldap_port=
    ++ export ldap_root_password=zimbra
    ++ ldap_root_password=zimbra
    ++ export ldap_url=
    ++ ldap_url=
    ++ export logger_mysql_bind_address=localhost
    ++ logger_mysql_bind_address=localhost
    ++ export logger_mysql_data_directory=/opt/zimbra/logger/db/data
    ++ logger_mysql_data_directory=/opt/zimbra/logger/db/data
    ++ export logger_mysql_directory=/opt/zimbra/logger/mysql
    ++ logger_mysql_directory=/opt/zimbra/logger/mysql
    ++ export logger_mysql_mycnf=/opt/zimbra/conf/my.logger.cnf
    ++ logger_mysql_mycnf=/opt/zimbra/conf/my.logger.cnf
    ++ export logger_mysql_pidfile=/opt/zimbra/logger/db/mysql.pid
    ++ logger_mysql_pidfile=/opt/zimbra/logger/db/mysql.pid
    ++ export logger_mysql_port=7307
    ++ logger_mysql_port=7307
    ++ export logger_mysql_socket=/opt/zimbra/logger/db/mysql.sock
    ++ logger_mysql_socket=/opt/zimbra/logger/db/mysql.sock
    ++ export mysql_bind_address=localhost
    ++ mysql_bind_address=localhost
    ++ export mysql_data_directory=/opt/zimbra/db/data
    ++ mysql_data_directory=/opt/zimbra/db/data
    ++ export mysql_directory=/opt/zimbra/mysql
    ++ mysql_directory=/opt/zimbra/mysql
    ++ export mysql_innodb_log_buffer_size=8388608
    ++ mysql_innodb_log_buffer_size=8388608
    ++ export mysql_innodb_log_file_size=104857600
    ++ mysql_innodb_log_file_size=104857600
    ++ export mysql_memory_percent=40
    ++ mysql_memory_percent=40
    ++ export mysql_mycnf=/opt/zimbra/conf/my.cnf
    ++ mysql_mycnf=/opt/zimbra/conf/my.cnf
    ++ export mysql_pidfile=/opt/zimbra/db/mysql.pid
    ++ mysql_pidfile=/opt/zimbra/db/mysql.pid
    ++ export mysql_port=7306
    ++ mysql_port=7306
    ++ export mysql_read_buffer_size=1048576
    ++ mysql_read_buffer_size=1048576
    ++ export mysql_root_password=zimbra
    ++ mysql_root_password=zimbra
    ++ export mysql_socket=/opt/zimbra/db/mysql.sock
    ++ mysql_socket=/opt/zimbra/db/mysql.sock
    ++ export mysql_sort_buffer_size=1048576
    ++ mysql_sort_buffer_size=1048576
    ++ export mysql_table_cache=500
    ++ mysql_table_cache=500
    ++ export ssl_allow_untrusted_certs=false
    ++ ssl_allow_untrusted_certs=false
    ++ export stats_img_folder=/opt/zimbra/zimbramon/rrdtool/work
    ++ stats_img_folder=/opt/zimbra/zimbramon/rrdtool/work
    ++ export tomcat_directory=/opt/zimbra/tomcat
    ++ tomcat_directory=/opt/zimbra/tomcat
    ++ export tomcat_java_heap_memory_percent=30
    ++ tomcat_java_heap_memory_percent=30
    ++ export tomcat_java_home=/opt/zimbra/java
    ++ tomcat_java_home=/opt/zimbra/java
    ++ export 'tomcat_java_options=-client -XX:NewRatio=2'
    ++ tomcat_java_options=-client -XX:NewRatio=2
    ++ export tomcat_keystore=/opt/zimbra/tomcat/conf/keystore
    ++ tomcat_keystore=/opt/zimbra/tomcat/conf/keystore
    ++ export tomcat_pidfile=/opt/zimbra/log/tomcat.pid
    ++ tomcat_pidfile=/opt/zimbra/log/tomcat.pid
    ++ export wiki_enabled=false
    ++ wiki_enabled=false
    ++ export wiki_user=wiki
    ++ wiki_user=wiki
    ++ export zimbra_db_directory=/opt/zimbra/db
    ++ zimbra_db_directory=/opt/zimbra/db
    ++ export zimbra_extension_directory=/opt/zimbra/lib/ext
    ++ zimbra_extension_directory=/opt/zimbra/lib/ext
    ++ export zimbra_gid=-1
    ++ zimbra_gid=-1
    ++ export zimbra_home=/opt/zimbra
    ++ zimbra_home=/opt/zimbra
    ++ export zimbra_index_directory=/opt/zimbra/index
    ++ zimbra_index_directory=/opt/zimbra/index
    ++ export zimbra_index_idle_flush_time=600
    ++ zimbra_index_idle_flush_time=600
    ++ export zimbra_index_lru_size=100
    ++ zimbra_index_lru_size=100
    ++ export zimbra_index_max_uncommitted_operations=200
    ++ zimbra_index_max_uncommitted_operations=200
    ++ export zimbra_java_home=/opt/zimbra/java
    ++ zimbra_java_home=/opt/zimbra/java
    ++ export zimbra_ldap_password=zimbra
    ++ zimbra_ldap_password=zimbra
    ++ export zimbra_ldap_userdn=uid=zimbra,cn=admins,cn=zimbra
    ++ zimbra_ldap_userdn=uid=zimbra,cn=admins,cn=zimbra
    ++ export zimbra_log4j_properties=/opt/zimbra/conf/log4j.properties
    ++ zimbra_log4j_properties=/opt/zimbra/conf/log4j.properties
    ++ export zimbra_log_directory=/opt/zimbra/log
    ++ zimbra_log_directory=/opt/zimbra/log
    ++ export zimbra_logger_mysql_password=zimbra
    ++ zimbra_logger_mysql_password=zimbra
    ++ export zimbra_mysql_password=zimbra
    ++ zimbra_mysql_password=zimbra
    ++ export zimbra_mysql_user=zimbra
    ++ zimbra_mysql_user=zimbra
    ++ export zimbra_server_hostname=CANCELED
    ++ zimbra_server_hostname=CANCELED
    ++ export zimbra_store_directory=/opt/zimbra/store
    ++ zimbra_store_directory=/opt/zimbra/store
    ++ export zimbra_uid=-1
    ++ zimbra_uid=-1
    ++ export zimbra_user=zimbra
    ++ zimbra_user=zimbra
    ++ export zimlet_directory=/opt/zimbra/tomcat/webapps/service/zimlet
    ++ zimlet_directory=/opt/zimbra/tomcat/webapps/service/zimlet
    + export zmsetvars=true
    + zmsetvars=true
    + '[' -d /opt/zimbra/java/jre ']'
    + JRE_EXT_DIR=/opt/zimbra/java/jre/lib/ext
    + zmassert -d /opt/zimbra/java/jre/lib/ext
    + '[' -d /opt/zimbra/java/jre/lib/ext ']'
    + return
    + exec /opt/zimbra/java/bin/java -client -Dzimbra.home=/opt/zimbra -Djava.library.path=/opt/zimbra/lib -Djava.ext.dirs=/opt/zimbra/java/jre/lib/ext:/opt/zimbra/lib com.zimbra.cs.util.RandomPassword 8 10

    I put in place of my hostname "CANCELED" ;-)
    The hostname is correct and a fqdn

    Quote Originally Posted by marcmac
    Does /opt/zimbra/java/bin/java exist? What do you get from
    /opt/zimbra/java/bin/java -version
    yes, output is
    java version "1.5.0_05"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-b05)
    Java HotSpot(TM) Client VM (build 1.5.0_05-b05, mixed mode, sharing)

    Seems to be okay, or? ;-)

    Do you have another class-file for the password? Should we try this?

    cu chris

  8. #8
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    14

    Default Base command

    All on one line - try this as root (which has been hanging) and then run it as the zimbra user, see if there's a difference.

    /opt/zimbra/java/bin/java -client -Dzimbra.home=/opt/zimbra -Djava.library.path=/opt/zimbra/lib -Djava.ext.dirs=/opt/zimbra/java/jre/lib/ext:/opt/zimbra/lib com.zimbra.cs.util.RandomPassword 8 10

  9. #9
    Join Date
    Jan 2006
    Posts
    18
    Rep Power
    9

    Default

    Quote Originally Posted by marcmac
    All on one line - try this as root (which has been hanging) and then run it as the zimbra user, see if there's a difference.

    /opt/zimbra/java/bin/java -client -Dzimbra.home=/opt/zimbra -Djava.library.path=/opt/zimbra/lib -Djava.ext.dirs=/opt/zimbra/java/jre/lib/ext:/opt/zimbra/lib com.zimbra.cs.util.RandomPassword 8 10
    There are no difference

    cu chris

  10. #10
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    14

    Default Works on my box :)

    I just re-verified this build on my SuSE box, and it seems to work fine.

    Can you check /var/log/messages and /var/log/localmessages for any errors?

    Is this a real host, or a virtual environment?

    Is SELinux enabled?

Similar Threads

  1. Trouble Sending mail - All Messages deferred!
    By SiteDiscovery in forum Administrators
    Replies: 7
    Last Post: 09-03-2009, 05:52 AM
  2. Installation Failed
    By freit5 in forum Installation
    Replies: 2
    Last Post: 08-18-2006, 12:38 AM
  3. ZCS 3.2 Beta Available
    By KevinH in forum Announcements
    Replies: 31
    Last Post: 07-07-2006, 04:46 PM
  4. Starting ZCS in SuSE SLES9 - NO UI - NO TOMCAT
    By VictorMedina in forum Administrators
    Replies: 1
    Last Post: 05-13-2006, 11:59 PM
  5. Installation problem
    By sywong70 in forum Installation
    Replies: 5
    Last Post: 11-07-2005, 09:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •