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

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 (1) Thread Tools Display Modes
  #1 (permalink)  
Old 10-01-2005, 04:30 PM
New Member
 
Posts: 4
Default Install Error on FC3

Hi,

i'm trying to install Zimbra on a freshly installed FC3 Box:
[root@abc tmp]# uname -a
Linux abc.xyz.ab 2.6.12-1.1378_FC3 #1 Wed Sep 14 04:24:31 EDT 2005 i686 i686 i386 GNU/Linux

During install i get:

Preparing packages for installation...
zimbra-core-3.0.M1_21.FC3-20050920155949_
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException localhost:389)

Preparing packages for installation...
zimbra-ldap-3.0.M1_21.FC3-20050920155949_
Preparing packages for installation...

Then:

Generating a 1024 bit RSA private key
......++++++
.........................++++++
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/CN=abc.xyz.ab
Getting Private key
** Importing CA

Certificate was added to keystore
keytool error: java.io.FileNotFoundException: /opt/zimbra/java/jre/lib/security/cacerts (Permission denied)

** Creating keystore

COMMAND: zmcertinstall mailbox
** Importing server cert
keytool error: java.lang.Exception: Failed to establish chain from reply


Subsequent starting of the zimbra-servers is failing....
(only errors listed)

from the log:
Oct 2 00:25:00 abc zimbramon[6440]: 6440:info: start app postfix
Oct 2 00:25:01 abc zimbramon[6440]: 6440:err: SMTP RESPONSE: FAILURE from localhost: problem connecting to "localhost", port 25: Connection ref

on the console:
[root@abc zcs]# /etc/init.d/zimbra start
Calling startup (abc.xyz.ab)
perl /opt/zimbra/bin/zmmon &
Soap call failed: 500 Can't connect to localhost:7777 (connect: Connection refused) at /opt/zimbra/bin/zmcontrol line 230

Any ideas whats wrong?
Thanks in advance for help!

Greets,
Chris
Reply With Quote
  #2 (permalink)  
Old 10-02-2005, 05:01 AM
Zimbra Employee
 
Posts: 4,784
Default

Have you ran the install more than once? Seems that some old processes may have been left over from a previous install. Do you have a different MTa (sendmail?) running on port 25 that prevents postfix from binding?
Reply With Quote
  #3 (permalink)  
Old 10-02-2005, 12:26 PM
New Member
 
Posts: 4
Default

Yep, after reading some threads here i uninstalled with:

./install.sh -u

i did: ps -ef | grep zibra (nothing was found)
i did: chkconfig sendmail off

reboot, then ./install.sh

the above is the output from the reinstall...

Greets,
Chris
Reply With Quote
  1 links from elsewhere to this Post. Click to view. #4 (permalink)  
Old 10-02-2005, 07:34 PM
Zimbra Employee
 
Posts: 4,784
Default

ldap is not starting up, for some reason. To find out why, try this:

su - zimbra
bash -x bin/ldap start

If no errors appear there, try the command that it runs to start ldap (all one line):

/opt/zimbra/openldap/libexec/slapd -4 -u zimbra -h ldap://:7389/ -f /opt/zimbra/conf/slapd.conf

If that gives you a "slapd.conf not found" error, then the ldap initialization script failed - try running that by hand:

/opt/zimbra/libexec/zmldapinit

and look for errors there.
Reply With Quote
  #5 (permalink)  
Old 10-03-2005, 03:58 AM
New Member
 
Posts: 4
Default

Hi,

ldap is running fine... (no errors on all your suggestions)

[zimbra@mailman ~]$ zmprov gas
abc.xyz.de

[zimbra@mailman ~]$ zmprov gs abc.xyz.de
# name abc.xyz.de
cn: abc.xyz.de
objectClass: zimbraServer
zimbraAdminPort: 7071
...
..
.(snipped)

i'll tried installing again and still getting these java errors:

ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException localhost:389)
keytool error: java.io.FileNotFoundException: /opt/zimbra/java/jre/lib/security/cacerts (Permission denied)
keytool error: java.lang.Exception: Failed to establish chain from reply


(complete install-log attached)
Attached Files
File Type: txt zimbra_install.txt (11.3 KB, 447 views)

Last edited by eici : 10-03-2005 at 04:02 AM. Reason: Attachment was missing...
Reply With Quote
  #6 (permalink)  
Old 10-03-2005, 08:01 AM
Zimbra Employee
 
Posts: 2,073
Default keytool errors

The keytool errors are not serious, and can safely be ignored.
Reply With Quote
  #7 (permalink)  
Old 10-03-2005, 09:43 AM
New Member
 
Posts: 4
Default

Ok, thanks

i'll ignored all errs and got it up&running now... :-)

Greets,
Chris
Reply With Quote
  #8 (permalink)  
Old 10-13-2005, 05:07 PM
Junior Member
 
Posts: 9
Default

I'am getting the same error, however after several attempts at re-installing etc. I get an error when I use the command:

zmprov gas

ERROR: service.Failure (system failure: getDirectContext) (cause: javax:naming.CommunicationException mail.******.com:389)


thanks.

jh
Reply With Quote
  #9 (permalink)  
Old 10-13-2005, 05:34 PM
Zimbra Employee
 
Posts: 4,784
Default

Quote:
Originally Posted by jharrell
I'am getting the same error, however after several attempts at re-installing etc. I get an error when I use the command:

zmprov gas

ERROR: service.Failure (system failure: getDirectContext) (cause: javax:naming.CommunicationException mail.******.com:389)


thanks.

jh

When you re-install did you make sure LDAP was not running? (ie run 'ps -ef | grep slapd' before you tried the re-install)

If you did this please post your install log from /tmp/install.log.
Reply With Quote
  #10 (permalink)  
Old 10-14-2005, 11:29 AM
Junior Member
 
Posts: 9
Default

Last night I ran the uninstall script. (install.sh -u)
Then I searched for running processes- ps -ef | grep slapd
and killed any pids that matched...

then an the install... but when thu install finished and the services tried to run I got this error:

ERROR:

Starting servers...Calling GetServiceInfoRequest (mail.acmeco.com)

Soap call failed: 500 read timeout at /opt/zimbra/bin/zmcontrol line 230

done
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException mail.acmeco.com:389)



The install log is as follows (real company info replaced with acmeco amd logs reflecting timezones and the zmprov command help truncated):


Preparing packages for installation...
useradd: warning: the home directory already exists.
Not copying any file from skel directory into it.
zimbra-core-3.0.M1_21.FC3-20050920155949_

ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException localhost:389)

Preparing packages for installation...
zimbra-ldap-3.0.M1_21.FC3-20050920155949_
Preparing packages for installation...
zimbra-mta-3.0.M1_21.FC3-20050920155949_
Preparing packages for installation...
zimbra-snmp-3.0.M1_21.FC3-20050920155949_
Preparing packages for installation...
zimbra-store-3.0.M1_21.FC3-20050920155949_
COMMAND: /opt/zimbra/libexec/zmmyinit
* Creating required directories
* Generating mysql config /opt/zimbra/conf/my.cnf
* Creating database in /opt/zimbra/db/data
* Starting mysql server
* Loading schema /opt/zimbra/db/db.sql
* Loading version from /opt/zimbra/db/versions-init.sql
* Setting random password for mysql root user in zimbra local config
* Setting random password for mysql zimbra user in zimbra local config
* Changing mysql root user password
* Changing mysql zimbra user password
* Changed zimbra mysql user password
COMMAND: zmlocalconfig -e zimbra_server_hostname=mail.acmeco.com
COMMAND: zmlocalconfig -e ldap_host=mail.acmeco.com
COMMAND: zmlocalconfig -e ldap_port=389
COMMAND: /opt/zimbra/libexec/zmldapinit
Started slapd: pid 21649
adding new entry "cn=zimbra"
[...]

COMMAND: zmprov cs mail.acmeco.com
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException mail.acmeco.com:389)
COMMAND: zmprov cd mail.acmeco.com
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException mail.acmeco.com:389)
COMMAND: zmprov mcf zimbraDefaultDomainName mail.acmeco.com
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException mail.acmeco.com:389)
COMMAND: zmprov ca admin@mail.acmeco.com *password* zimbraIsAdminAccount TRUE
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException mail.acmeco.com:389)
COMMAND: zmprov aaa admin@mail.acmeco.com postmaster@mail.acmeco.com
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException mail.acmeco.com:389)
COMMAND: id=`zmprov gs mail.acmeco.com | grep zimbraId | awk '{print $2}'`; for i in `zmprov gc default | grep zimbraMailHostPool | sed 's/zimbraMailHostPool: //'`; do host="$host zimbraMailHostPool $i"; done; zmprov mc default $host zimbraMailHostPool $id
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException mail.acmeco.com:389)
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException mail.acmeco.com:389)
zmprov [cmd] [args ...]

CreateAccount(ca) {name@domain} {password} [attr1 value1 [attr2 value2...]]
DeleteAccount(da) {name@domain|id}
GetAccount(ga) {name@domain|id}
GetAllAccounts(gaa) [-v] [{domain}]
[...]

exit (quit)
help (?)

COMMAND: /opt/zimbra/libexec/zmmtainit mail.acmeco.com
COMMAND: zmlocalconfig -e av_notify_user=notify@mail.acmeco.com
COMMAND: zmlocalconfig -e av_notify_domain=mail.acmeco.com
COMMAND: zmlocalconfig -e snmp_notify=0
COMMAND: zmlocalconfig -e smtp_notify=0
COMMAND: zmlocalconfig -e snmp_trap_host=mail.acmeco.com
COMMAND: zmlocalconfig -e smtp_source=none
COMMAND: zmlocalconfig -e smtp_destination=none
COMMAND: zmsnmpinit
creating /opt/zimbra/conf/swatchrc
COMMAND: zmprov ms mail.acmeco.com zimbraServiceInstalled ldap zimbraServiceInstalled mailbox zimbraServiceInstalled mta zimbraServiceInstalled antivirus zimbraServiceInstalled antispam zimbraServiceInstalled snmp
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException mail.acmeco.com:389)
COMMAND: zmprov ms mail.acmeco.com zimbraServiceEnabled ldap zimbraServiceEnabled mailbox zimbraServiceEnabled mta zimbraServiceEnabled antivirus zimbraServiceEnabled antispam zimbraServiceEnabled snmp
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException mail.acmeco.com:389)
COMMAND: zmlocalconfig -e zimbra_services="ldap mailbox mta antivirus antispam snmp"
COMMAND: zmcreatecert
** Creating CA private key

Generating a 1024 bit RSA private key
......++++++
.....................++++++
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/CN=mail.acmeco.com
Getting Private key
** Importing CA

Certificate was added to keystore
keytool error: java.io.FileNotFoundException: /opt/zimbra/java/jre/lib/security/cacerts (Permission denied)

** Creating keystore
** Creating server cert request
** Signing cert request

Signature ok
subject=/C=US/ST=NA/L=NA/O=Zimbra/OU=Zimbra/CN=mail.acmeco.com
Getting CA Private Key
Signature ok
subject=/C=US/ST=NA/L=NA/O=Zimbra/OU=Zimbra/CN=mail.acmeco.com
Getting Private key
COMMAND: zmcertinstall mailbox
** Importing server cert

keytool error: java.lang.Exception: Failed to establish chain from reply
COMMAND: zmtlsctl http
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException mail.acmeco.com:389)
COMMAND: zmcertinstall mta /opt/zimbra/ssl/ssl/server/smtpd.crt /opt/zimbra/ssl/ssl/ca/ca.key
** Importing server cert

COMMAND: zmlocalconfig -e ssl_allow_untrusted_certs=true
COMMAND: zmcontrol startup
Calling startup (mail.acmeco.com)

perl /opt/zimbra/bin/zmmon &

Soap call failed: 500 read timeout at /opt/zimbra/bin/zmcontrol line 230

COMMAND: zmlocalconfig -s > .localconfig.save.19931
COMMAND: zmprov gs mail.acmeco.com > .zmprov.mail.acmeco.com.save.19931
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException mail.acmeco.com:389)
COMMAND: zmprov gacf mail.acmeco.com > .zmprov.gacf.save.19931
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException mail.acmeco.com:389)



Thanks.
jh

Last edited by jharrell : 10-14-2005 at 11:31 AM. Reason: privacy info
Reply With Quote
Reply


Thread Tools
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.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0