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 11-07-2005, 08:11 AM
New Member
 
Posts: 4
Unhappy Installation fault - getDirectContext fails

Hi folks,
Installation log below - can't get this to work properly on FC3 (fresh install). After install, get the getDirectContext error and running zmcontrol as user zimbra gives the following
-----------------
zmcontrol status
Calling GetServiceInfoRequest (id19tmp2.esrf.fr)

RESPONSE: (Zimbra::Mon::serviceInfo)
host
ip 160.103.39.52
name id19tmp2.esrf.fr
------------------

Anyone got any ideas? I tried a reinstall (install.sh -u first) and ensuring slapd wasn't running, as seen in another thread. Still no joy

Thanks,
greg


Log output
---------------
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...
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=id19tmp2.esrf.fr
COMMAND: zmlocalconfig -e ldap_host=id19tmp2.esrf.fr
COMMAND: zmlocalconfig -e ldap_port=389
COMMAND: /opt/zimbra/libexec/zmldapinit
/opt/zimbra/openldap/sbin/slappasswd: error while loading shared libraries: libssl.so.4: cannot open shared object file: No such file or directory
/opt/zimbra/openldap/sbin/slappasswd: error while loading shared libraries: libssl.so.4: cannot open shared object file: No such file or directory
/opt/zimbra/openldap/libexec/slapd: error while loading shared libraries: libssl.so.4: cannot open shared object file: No such file or directory
Started slapd: pid
/opt/zimbra/openldap/bin/ldapmodify: error while loading shared libraries: libssl.so.4: cannot open shared object file: No such file or directory
/opt/zimbra/openldap/bin/ldapmodify: error while loading shared libraries: libssl.so.4: cannot open shared object file: No such file or directory
COMMAND: zmprov cs id19tmp2.esrf.fr
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException id19tmp2.esrf.fr:389)
COMMAND: id=`zmprov gs id19tmp2.esrf.fr | 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 id19tmp2.esrf.fr:389)
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException id19tmp2.esrf.fr: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}]
GetAllAdminAccounts(gaaa) [-v]
ModifyAccount(ma) {name@domain|id} [attr1 value1 [attr2 value2...]]
SetPassword(sp) {name@domain|id} {password}
AddAccountAlias(aaa) {name@domain|id} {alias@domain}
RemoveAccountAlias(raa) {name@domain|id} {alias@domain}
SetAccountCos(sac) {name@domain|id} {cos-name|cos-id}
SearchAccounts(sa) [-v] {ldap-query} [limit {limit}] [offset {offset}] [sortBy {attr}] [attrs {a1,a2...}] [sortAscending 0|1*] [applyCos [0|1*] [domain {domain}]
SearchGal(sg) {domain} {name}
RenameAccount(ra) {name@domain|id} {newName@domain}

CreateDomain(cd) {domain} [attr1 value1 [attr2 value2...]]
DeleteDomain(dd) {domain|id}
GetDomain(gd) {domain|id}
GetAllDomains(gad) [-v]
ModifyDomain(md) {domain|id} [attr1 value1 [attr2 value2...]]

CreateCos(cc) {name} [attr1 value1 [attr2 value2...]]
DeleteCos(dc) {name|id}
GetCos(gc) {name|id}
GetAllCos(gac) [-v]
ModifyCos(mc) {name|id} [attr1 value1 [attr2 value2...]]
RenameCos(rc) {name|id} {newName}

CreateServer(cs) {name} [attr1 value1 [attr2 value2...]]
DeleteServer(ds) {name|id}
GetServer(gs) {name|id}
GetAllServers(gas) [-v]
ModifyServer(ms) {name|id} [attr1 value1 [attr2 value2...]]

GetAllConfig(gacf)
GetConfig(gcf) {name}
ModifyConfig(mcf) attr1 value1 [attr2 value2...]

CreateDistributionList(cdl) {list@domain}
GetAllDistributionLists(gadl) [-v]
GetDistributionList(gdl) {list@domain|id}
DeleteDistributionList(ddl) {list@domain|id}
AddDistributionListMember(adlm) {list@domain|id} {member@domain}
RemoveDistributionListMember(rdlm) {list@domain|id} {member@domain}

exit (quit)
help (?)

COMMAND: /opt/zimbra/libexec/zmmtainit id19tmp2.esrf.fr
COMMAND: zmlocalconfig -e av_notify_user=
COMMAND: zmlocalconfig -e av_notify_domain=esrf.fr
COMMAND: zmlocalconfig -e snmp_notify=0
COMMAND: zmlocalconfig -e smtp_notify=0
COMMAND: zmlocalconfig -e snmp_trap_host=id19tmp2.esrf.fr
COMMAND: zmlocalconfig -e smtp_source=none
COMMAND: zmlocalconfig -e smtp_destination=none
COMMAND: zmsnmpinit
creating /opt/zimbra/conf/swatchrc
COMMAND: zmprov ms id19tmp2.esrf.fr zimbraServiceInstalled ldap zimbraServiceInstalled mailbox zimbraServiceInstalled mta zimbraServiceInstalled antivirus zimbraServiceInstalled antispam zimbraServiceInstalled snmp
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException id19tmp2.esrf.fr:389)
COMMAND: zmprov ms id19tmp2.esrf.fr zimbraServiceEnabled ldap zimbraServiceEnabled mailbox zimbraServiceEnabled mta zimbraServiceEnabled antivirus zimbraServiceEnabled antispam zimbraServiceEnabled snmp
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException id19tmp2.esrf.fr: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=id19tmp2.esrf.fr
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=id19tmp2.esrf.fr
Getting CA Private Key
Signature ok
subject=/C=US/ST=NA/L=NA/O=Zimbra/OU=Zimbra/CN=id19tmp2.esrf.fr
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 id19tmp2.esrf.fr: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 (id19tmp2.esrf.fr)

perl /opt/zimbra/bin/zmmon &

RESPONSE: (Zimbra::Mon::serviceInfo)
host
ip 160.103.39.52
name id19tmp2.esrf.fr
COMMAND: zmlocalconfig -s > .localconfig.save.14328
COMMAND: zmprov gs id19tmp2.esrf.fr > .zmprov.id19tmp2.esrf.fr.save.14328
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException id19tmp2.esrf.fr:389)
COMMAND: zmprov gacf id19tmp2.esrf.fr > .zmprov.gacf.save.14328
ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException id19tmp2.esrf.fr:389)
[root@id19tmp2 zcs]#

Last edited by gregjohnson1024; 11-07-2005 at 01:55 PM..
Reply With Quote
  #2 (permalink)  
Old 11-07-2005, 09:52 AM
Zimbra Employee
 
Posts: 4,792
Default

Quote:
Originally Posted by gregjohnson1024
Hi folks,
Installation log below - can't get this to work properly on FC3 (fresh install).

...

/opt/zimbra/openldap/sbin/slappasswd: error while loading shared libraries: libssl.so.4: cannot open shared object file: No such file or directory
Are you sure your using FC3? The ssl link errors look like what you get when you install on FC4.
Reply With Quote
  #3 (permalink)  
Old 11-07-2005, 01:55 PM
New Member
 
Posts: 4
Default

Indeed you are correct. I downloaded the only FC I could find at Redhat, so goofed up. I'll try and find an old copy of FC3.

Thanks!
greg
Reply With Quote
  #4 (permalink)  
Old 11-07-2005, 03:28 PM
Zimbra Employee
 
Posts: 1,434
Default FC4 will work...

Just follow the instructions in this thread to install on FC4.
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.