Ok, so we are going to purchase Zimbra any day now, but first I need to get a trial version installed so senior management can play with it and say "ok, that looks cool, go buy it".

I'm installing the network edition trial on CentOS 5. I've followed the directions in another post on this forum specific to CentOS 5 here: http://www.zimbra.com/forums/install...all-guide.html

I've also made sure that an mx record has been created for this server. When I run: dig mail.example.com mx

I get:

mail.example.com
mail2.example.com

returned. So I know from this servers perspective, it is set up in DNS to act as the default MX server. But for some reason the installation wizard says that it was unable to find an mx record for mail.example.com...would you like to continue?

so I choose yes...

Every time during the installation, I get the following error:
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

Now, registered for a trial license twice now, and both ZCSLicense.xml files given during installation result in this error. I've made sure that our firewall is letting this box "call home" to the zimbra servers during installation. I don't see any traffic being blocked.

After installation, Tomcat fails to start properly and listen on port 80:443 even though I see httpd listening on 7780.

Any ideas on what could be causing this? Here is the contents of my setup log:

Getting installed packages
checking isEnabled zimbra-core
zimbra-core not in enabled cache
enabled packages
Newinstall enabling all installed packages
Enabling zimbra-core
Enabling zimbra-ldap
Enabling zimbra-store
Enabling zimbra-mta
Enabling zimbra-snmp
Enabling zimbra-logger
Enabling zimbra-apache
Enabling zimbra-spell
Setting defaults...
Setting local config zimbra_java_home to /opt/zimbra/java
*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e zimbra_java_home='/opt/zimbra/java'
checking isEnabled zimbra-store
zimbra-store is enabled
checking isEnabled zimbra-ldap
zimbra-ldap is enabled
checking isEnabled zimbra-store
zimbra-store is enabled

DNS ERROR resolving MX for mail1a.den.*****.net
It is suggested that the domain name have an MX record configured in DNS
Done
checking isEnabled zimbra-ldap
zimbra-ldap is enabled
checking isEnabled zimbra-store
zimbra-store is enabled
checking isEnabled zimbra-mta
zimbra-mta is enabled
checking isEnabled zimbra-mta
zimbra-mta is enabled
checking isEnabled zimbra-spell
zimbra-spell is enabled
Checking for port conflicts
checking isEnabled zimbra-mta
zimbra-mta is enabled
Port conflict detected: 25 (zimbra-mta)
checking isEnabled zimbra-ldap
zimbra-ldap is enabled
checking isEnabled zimbra-store
zimbra-store is enabled
checking isEnabled zimbra-logger
zimbra-logger is enabled
checking isEnabled zimbra-mta
zimbra-mta is enabled
checking isEnabled zimbra-ldap
zimbra-ldap is enabled
checking isEnabled zimbra-store
zimbra-store is enabled
Global config attribute retrieved from ldap: zimbraSpamIsSpamAccount=
Global config attribute retrieved from ldap: zimbraSpamIsNotSpamAccount=
Global config attribute retrieved from ldap: zimbraNotebookAccount=
*** Running as zimbra user: zmlicense -c
Error: exception occurred: system failure: getDirectContext
checking isEnabled zimbra-mta
zimbra-mta is enabled
checking isEnabled zimbra-snmp
zimbra-snmp is enabled
checking isEnabled zimbra-spell
zimbra-spell is enabled
checking isEnabled zimbra-store
zimbra-store is enabled
*** Running as zimbra user: zmlicense -c
Error: exception occurred: system failure: getDirectContext
checking isEnabled zimbra-store
zimbra-store is enabled
*** Running as zimbra user: zmlicense -c
Error: exception occurred: system failure: getDirectContext
checking isEnabled zimbra-store
zimbra-store is enabled
checking isEnabled zimbra-store
zimbra-store is enabled
checking isEnabled zimbra-ldap
zimbra-ldap is enabled
checking isEnabled zimbra-store
zimbra-store is enabled
checking isEnabled zimbra-mta
zimbra-mta is enabled
checking isEnabled zimbra-snmp
zimbra-snmp is enabled
checking isEnabled zimbra-spell
zimbra-spell is enabled
Saving config in /opt/zimbra/config.3822...
Done


Operations logged to /tmp/zmsetup.log.3822
Setting local config values...
Setting local config zimbra_server_hostname to mail1a.den.giac.net
*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e zimbra_server_hostname='mail1a.den.****.net'
Setting local config ldap_master_url to ldap://mail1a.den.*****.net:389
*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e ldap_master_url='ldap://mail1a.den.****.net:389'
Setting local config ldap_url to ldap://mail1a.den.*****.net:389
*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e ldap_url='ldap://mail1a.den.*****.net:389'
Setting local config ldap_port to 389
*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e ldap_port='389'
Setting local config ldap_host to mail1a.den.giac.net
*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e ldap_host='mail1a.den.*****.net'
Setting local config zimbra_uid to 506
*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e zimbra_uid='506'
Setting local config zimbra_gid to 500
*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e zimbra_gid='500'
Setting local config zimbra_user to zimbra
*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e zimbra_user='zimbra'
Setting local config av_notify_user to admin@mail1a.den.*****.net
*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e av_notify_user='admin@mail1a.den.*****.net'
Setting local config ssl_allow_untrusted_certs to TRUE
*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e ssl_allow_untrusted_certs='TRUE'
Setting local config mysql_memory_percent to 62
*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e mysql_memory_percent='62'
Setting local config tomcat_java_heap_memory_percent to 62
*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e tomcat_java_heap_memory_percent='62'
Done

Setting up CA...
*** Running as zimbra user: cd /opt/zimbra; zmcreateca
** Creating CA private key

Generating a 1024 bit RSA private key
...............++++++
.++++++
unable to write 'random state'
writing new private key to '/opt/zimbra/ssl/ssl/ca/ca.key'
-----
** Creating CA cert

Signature ok
subject=/C=US/ST=N/A/L=N/A/O=Zimbra Collaboration Suite
Getting Private key
unable to write 'random state'
Done
checking isEnabled zimbra-ldap
zimbra-ldap is enabled
Creating SSL certificate...
*** Running as zimbra user: cd /opt/zimbra; zmcreatecert
** Importing CA

Certificate was added to keystore
** Creating keystore

** Creating server cert request

Generating a 1024 bit RSA private key
............++++++
.....++++++
unable to write 'random state'
writing new private key to '/opt/zimbra/ssl/ssl/server/server.key'
-----
** Signing cert request

Using configuration from /opt/zimbra/ssl/ssl/zmssl.cnf
Check that the request matches the signature
Signature ok
Certificate Details:
Serial Number:
11:89:15:97:01
Validity
Not Before: Sep 7 10:08:23 2007 GMT
Not After : Sep 6 10:08:23 2008 GMT
Subject:
countryName = US
stateOrProvinceName = N/A
organizationName = Zimbra Collaboration Suite
commonName = mail1a.den.****.net
X509v3 extensions:
X509v3 Basic Constraints:
CA:FALSE
Netscape Comment:
OpenSSL Generated Certificate
X509v3 Subject Key Identifier:
04:37:CB:50:99:B6:9B:A9:6B:50:00:AF:00:414:1C:09:AA:6E:C3
X509v3 Authority Key Identifier:
DirName:/C=US/ST=N/A/L=N/A/O=Zimbra Collaboration Suite
serial:B3:CF:E8F:1D:C5B:FA

X509v3 Key Usage:
Digital Signature, Non Repudiation, Key Encipherment
Certificate is to be certified until Sep 6 10:08:23 2008 GMT (365 days)




There are LOTS more logs.

later on I see some errors like this:

*** Running as zimbra user: /opt/zimbra/bin/zmprov mc default zimbraFeatureNotebookEnabled TRUE
[] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
[] INFO: Retrying request
[] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
[] INFO: Retrying request
[] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused


SELinux has been completely disabled.