Results 1 to 6 of 6

Thread: Yet another get.DirectContext issue

  1. #1
    dccpark is offline New Member
    Join Date
    Mar 2006
    Posts
    3
    Rep Power
    9

    Default Yet another get.DirectContext issue

    I know you all will probably hate me...but I CANNOT get this working. My intent was to setup a test zimbra install so that we could showcase it to faculty and staff and get their thoughts on things. We do not run our own DNS server, but use Zoneedit. The test server that we want zimbra to run on is test.example.edu. We've set test.example.edu as an mx record for example.edu (with ZoneEdit) and we can ping it from various workstations (ping test.example.edu) When I attempt to setup Zimbra I get,

    *** CONFIGURATION COMPLETE - press 'a' to apply
    Select from menu, or press 'a' to apply config (? - help) a
    Save configuration data to a file? [Yes]
    Save config in file: [/opt/zimbra/config.14212]
    Saving config in /opt/zimbra/config.14212...Done
    The system will be modified - continue? [No] Y
    Operations logged to /tmp/zmsetup.log.14212
    Adding test.davisny.edu to zimbraMailHostPool in default COS...ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException test.davisny.edu:389)
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException test.davisny.edu:389)
    Done
    Setting up zimbra crontab...Done

    You have the option of notifying Zimbra of your installation.
    This helps us to track the uptake of the Zimbra Collaboration Suite.
    The only information that will be transmitted is:
    The VERSION of zcs installed (3.0.0_GA_156_CentOS4)
    The ADMIN EMAIL ADDRESS created (admin@test.davisny.edu)

    Notify Zimbra of your installation? [Yes] n
    Notification skipped
    Starting servers...Done.


    Operations logged to /tmp/zmsetup.log.14212


    Configuration complete - press return to exit


    ------

    The last entry in /tmp/zmsetup.log.14212 is:


    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException test.davisny.edu:389)
    Error: key trial_expiration_date is not set
    Host test.davisny.edu

    -----

    I've searched the forums extensively. I've made sure /etc/hosts is configured correctly. I've looked at the wiki page for the getDirectContext error and done everything that it recommends, but still no dice.

    I just noticed this,

    [root@test data]# host test.davisny.edu
    test.davisny.edu has address 192.168.0.8
    [root@test data]# host 192.168.0.8
    8.0.168.192.in-addr.arpa domain name pointer 66-194-51-29.gen.twtelecom.net.

    Could this be the issue? If so, anyone have anything else to offer me in the way of help here? Thanks in advance.

    -Calvin

  2. #2
    KevinH's Avatar
    KevinH is offline Expert Member
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    Quote Originally Posted by dccpark
    I just noticed this,

    [root@test data]# host test.davisny.edu
    test.davisny.edu has address 192.168.0.8
    [root@test data]# host 192.168.0.8
    8.0.168.192.in-addr.arpa domain name pointer 66-194-51-29.gen.twtelecom.net.

    Could this be the issue? If so, anyone have anything else to offer me in the way of help here? Thanks in advance.
    Looks like your DNS is returning your internal IP which should be ok assuming you can get to your IP(no SElinux or firewall).

    Can you post your /tmp/install.log? Or the rest of zmsetup.log? What OS are you using?
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  3. #3
    dccpark is offline New Member
    Join Date
    Mar 2006
    Posts
    3
    Rep Power
    9

    Default

    There is no firewall running on this box (I turned IPTABLES off), and didn't even install SELinux. I'm running CentOS4.2, and using the Zimbra binaries for RHEL4.

    I verified that Iptables was off, and did an ./install.sh -u and then a fresh install. Same error. Here is the zmsetup.log:

    ** 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/CN=test.davisny.edu
    Getting Private key
    unable to write 'random state'
    ** 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: 2 (0x2)
    Validity
    Not Before: Mar 8 17:43:41 2006 GMT
    Not After : Mar 8 17:43:41 2007 GMT
    Subject:
    countryName = US
    stateOrProvinceName = N/A
    organizationName = Zimbra Collaboration Suite
    commonName = test.davisny.edu
    X509v3 extensions:
    X509v3 Basic Constraints:
    CA:FALSE
    Netscape Comment:
    OpenSSL Generated Certificate
    X509v3 Subject Key Identifier:
    8F:54:BF:E7:7F:F3:61:36:73A:12:F0:37:1B:21:EF:15:AF:1F:28
    X509v3 Authority Key Identifier:
    DirName:/C=US/ST=N/A/L=N/A/O=Zimbra Collaboration Suite/CN=test.davisny.edu
    serial:00

    Certificate is to be certified until Mar 8 17:43:41 2007 GMT (365 days)

    Write out database with 1 new entries
    Data Base Updated
    unable to write 'random state'
    Signature ok
    subject=/C=US/ST=NA/L=NA/O=Zimbra/OU=Zimbra/CN=test.davisny.edu
    Getting CA Private Key
    unable to write 'random state'
    Started slapd: pid 22925
    adding new entry "cn=zimbra"

    adding new entry "cn=admins,cn=zimbra"

    adding new entry "uid=zimbra,cn=admins,cn=zimbra"

    adding new entry "cn=config,cn=zimbra"

    adding new entry "cn=zimlets,cn=zimbra"

    adding new entry "cn=cos,cn=zimbra"

    adding new entry "cn=default,cn=cos,cn=zimbra"

    adding new entry "cn=servers,cn=zimbra"

    adding new entry "cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT-12.00) International Date Line West,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT-11.00) Midway Island / Samoa,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT-10.00) Hawaii,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT-09.00) Alaska,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT-08.00) Pacific Time (US & Canada) / Tijuana,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT-07.00) Arizona,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT-07.00) Chihuahua / La Paz / Mazatlan,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT-07.00) Mountain Time (US & Canada),cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT-06.00) Central America,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT-06.00) Central Time (US & Canada),cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT-06.00) Guadalajara / Mexico City / Monterrey,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT-06.00) Saskatchewan,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT-05.00) Bogota / Lima / Quito,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT-05.00) Eastern Time (US & Canada),cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT-05.00) Indiana (East),cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT-04.00) Atlantic Time (Canada),cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT-04.00) Caracas / La Paz,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT-04.00) Santiago,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT-03.30) Newfoundland,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT-03.00) Brasilia,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT-03.00) Buenos Aires / Georgetown,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT-03.00) Greenland,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT-02.00) Mid-Atlantic,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT-01.00) Azores,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT-01.00) Cape Verde Is.,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT) Casablanca / Monrovia,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT) Greenwich Mean Time - Dublin / Edinburgh / Lisbon / London,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT\+01.00) Amsterdam / Berlin / Bern / Rome / Stockholm / Vienna,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT\+01.00) Belgrade / Bratislava / Budapest / Ljubljana / Prague,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT\+01.00) Brussels / Copenhagen / Madrid / Paris,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT\+01.00) Sarajevo / Skopje / Warsaw / Zagreb,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT\+01.00) West Central Africa,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT\+02.00) Athens / Beirut / Istanbul / Minsk,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT\+02.00) Bucharest,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT\+02.00) Cairo,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT\+02.00) Harare / Pretoria,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT\+02.00) Helsinki / Kyiv / Riga / Sofia / Tallinn / Vilnius,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT\+02.00) Jerusalem,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT\+03.00) Baghdad,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT\+03.00) Kuwait / Riyadh,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT\+03.00) Moscow / St. Petersburg / Volgograd,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT\+03.00) Nairobi,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT\+03.30) Tehran,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT\+04.00) Abu Dhabi / Muscat,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT\+04.00) Baku / Tbilisi / Yerevan,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT\+04.30) Kabul,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT\+05.00) Ekaterinburg,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT\+05.00) Islamabad / Karachi / Tashkent,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT\+05.30) Chennai / Kolkata / Mumbai / New Delhi,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT\+05.45) Kathmandu,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT\+06.00) Almaty / Novosibirsk,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT\+06.00) Astana / Dhaka,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT\+06.00) Sri Jayawardenepura,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT\+06.30) Rangoon,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT\+07.00) Bangkok / Hanoi / Jakarta,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT\+07.00) Krasnoyarsk,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT\+08.00) Beijing / Chongqing / Hong Kong / Urumqi,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT\+08.00) Irkutsk / Ulaan Bataar,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT\+08.00) Kuala Lumpur / Singapore,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT\+08.00) Perth,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT\+08.00) Taipei,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT\+09.00) Osaka / Sapporo / Tokyo,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT\+09.00) Seoul,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT\+09.00) Yakutsk,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT\+09.30) Adelaide,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT\+09.30) Darwin,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT\+10.00) Brisbane,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT\+10.00) Canberra / Melbourne / Sydney,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT\+10.00) Guam / Port Moresby,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT\+10.00) Hobart,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT\+10.00) Vladivostok,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT\+11.00) Magadan / Solomon Is. / New Calenodia,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT\+12.00) Auckland / Wellington,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT\+12.00) Fiji / Kamchatka / Marshall Is.,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=(GMT\+13.00) Nuku'alofa,cn=timezones,cn=config,cn=zimbra"

    adding new entry "cn=mime,cn=config,cn=zimbra"

    adding new entry "cn=message/rfc822,cn=mime,cn=config,cn=zimbra"

    adding new entry "cn=text/html,cn=mime,cn=config,cn=zimbra"

    adding new entry "cn=text/plain,cn=mime,cn=config,cn=zimbra"

    adding new entry "cn=text/calendar,cn=mime,cn=config,cn=zimbra"

    adding new entry "cn=all,cn=mime,cn=config,cn=zimbra"

    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException test.davisny.edu:389)
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException test.davisny.edu:389)
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException test.davisny.edu:389)
    ** Importing server cert

    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException test.davisny.edu:389)
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException test.davisny.edu:389)
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException test.davisny.edu: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...]]
    GenerateDomainPreAuthKey(gdpak) {domain|id}
    GenerateDomainPreAuth(gdpa) {domain|id} {name} {name|id|foreignPrincipal} {timestamp|0} {expires|0}

    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}
    ModifyDistributionList(mdl) {list@domain|id} attr1 value1 [attr2 value2...]
    DeleteDistributionList(ddl) {list@domain|id}
    AddDistributionListMember(adlm) {list@domain|id} {member@domain}
    RemoveDistributionListMember(rdlm) {list@domain|id} {member@domain}
    AddDistributionListAlias(adla) {list@domain|id} {alias@domain}
    RemoveDistributionListAlias(rdla) {list@domain|id} {alias@domain}
    RenameDistributionList(rdl) {list@domain|id} {newName@domain}

    exit (quit)
    help (?)

    [] INFO: Deploying Zimlet com_zimbra_ymaps in LDAP.
    Error: Cannot create Zimlet com_zimbra_ymaps: test.davisny.edu:389
    [] INFO: Deploying Zimlet com_zimbra_url in LDAP.
    Error: Cannot create Zimlet com_zimbra_url: test.davisny.edu:389
    [] INFO: Deploying Zimlet com_zimbra_amzn in LDAP.
    Error: Cannot create Zimlet com_zimbra_amzn: test.davisny.edu:389
    [] INFO: Deploying Zimlet com_zimbra_wikipedia in LDAP.
    Error: Cannot create Zimlet com_zimbra_wikipedia: test.davisny.edu:389
    [] INFO: Deploying Zimlet com_zimbra_tracking in LDAP.
    Error: Cannot create Zimlet com_zimbra_tracking: test.davisny.edu:389
    [] INFO: Deploying Zimlet com_zimbra_phone in LDAP.
    Error: Cannot create Zimlet com_zimbra_phone: test.davisny.edu:389
    [] INFO: Deploying Zimlet com_zimbra_xslt in LDAP.
    Error: Cannot create Zimlet com_zimbra_xslt: test.davisny.edu:389
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException test.davisny.edu:389)
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException test.davisny.edu:389)
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException test.davisny.edu:389)
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException test.davisny.edu:389)
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException test.davisny.edu:389)
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException test.davisny.edu:389)
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException test.davisny.edu:389)
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException test.davisny.edu:389)
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException test.davisny.edu:389)
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException test.davisny.edu:389)
    * 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 passwd for mysql root user in zimbra localconfig
    * Setting random passwd for mysql zimbra user in zimbra localconfig
    * Changing mysql root user password
    * Changing mysql zimbra user password
    * Changed zimbra mysql user password
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException test.davisny.edu:389)
    * Creating required directories
    * Creating database in /opt/zimbra/logger/db/data
    * Starting logger_mysql server
    * Loading schema /opt/zimbra/db/loggerdb.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
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException test.davisny.edu:389)
    creating /opt/zimbra/conf/swatchrc
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException test.davisny.edu:389)
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException test.davisny.edu:389)
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException test.davisny.edu:389)
    Error: key trial_expiration_date is not set
    Host test.davisny.edu
    Generating public/private dsa key pair.
    Your identification has been saved in /opt/zimbra/.ssh/zimbra_identity.
    Your public key has been saved in /opt/zimbra/.ssh/zimbra_identity.pub.
    The key fingerprint is:
    ee:d2:7c:c3:a9:e5:9c:d4:0b:ce:48:43:64:85:b4:9c test.davisny.edu
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException test.davisny.edu:389)
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException test.davisny.edu:389)
    Updating /opt/zimbra/.ssh/authorized_keys

    -------

    Here is the /tmp/install.log :

    Preparing packages for installation...
    zimbra-core-3.0.1_GA_160.RHEL4-20060216172310
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException localhost:389)
    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 0x90c70000 ... done.
    Moving common symbols to shared space at 0x90fea520 ... done.
    Moving remaining symbols to shared space at 0x91115640 ... done.
    Moving string char arrays to shared space at 0x911160d0 ... done.
    Moving additional symbols to shared space at 0x91197728 ... done.
    Read-only space ends at 0x911eb5e8, 5748200 bytes.
    Moving read-write objects to shared space at 0x91470000 ... done.
    Moving String objects to shared space at 0x919e9ec0 ... done.
    Read-write space ends at 0x91a29dc0, 6004160 bytes.
    Updating references to shared objects ... done.

    Preparing packages for installation...
    zimbra-ldap-3.0.1_GA_160.RHEL4-20060216172310
    Preparing packages for installation...
    zimbra-logger-3.0.1_GA_160.RHEL4-20060216172310
    Preparing packages for installation...
    zimbra-mta-3.0.1_GA_160.RHEL4-20060216172310
    umount2: No such file or directory
    umount: /opt/zimbra/amavisd/tmp: not found
    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.1_GA_160.RHEL4-20060216172310
    Preparing packages for installation...
    zimbra-store-3.0.1_GA_160.RHEL4-20060216172310
    Preparing packages for installation...
    zimbra-apache-3.0.1_GA_160.RHEL4-20060216172310
    Preparing packages for installation...
    zimbra-spell-3.0.1_GA_160.RHEL4-20060216172310

    -----

    Thanks again.

  4. #4
    KevinH's Avatar
    KevinH is offline Expert Member
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    So very clear here that LDAP never came up. You should try to start it in debug mode. There is a how-to here:

    http://wiki.zimbra.com/index.php?title=LDAP
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  5. #5
    dccpark is offline New Member
    Join Date
    Mar 2006
    Posts
    3
    Rep Power
    9

    Default

    Okay, so I took a look at that link and ran the following commands:

    [root@test tmp]# ps auxww | grep zimbra | grep slapd
    zimbra 22925 0.0 0.9 55324 2428 ? Ssl 12:43 0:00 /opt/zimbra/openldap/libexec/slapd -l LOCAL0 -4 -u zimbra -h ldaps:// ldap://:389/ -f /opt/zimbra/conf/slapd.conf
    [root@test tmp]# su - zimbra
    [zimbra@test ~]$ ldap status
    slapd running pid: 22925

    So, the wiki doesn't really say what to do if ldap status actually returns something. So, I pretended that I didn't see a pid and instead just pkilled the process and tried the following:

    [zimbra@test ~]$ sh -x bin/ldap start
    + PID=
    + PIDFILE=/opt/zimbra/openldap/var/run/slapd.pid
    + mkdir -p /opt/zimbra/openldap/var/run/
    + case "$1" in
    + start
    + checkrunning
    + getpid
    + '[' -f /opt/zimbra/openldap/var/run/slapd.pid ']'
    + '[' x = x ']'
    + RUNNING=0
    + '[' 0 = 0 ']'
    + '[' -x /opt/zimbra/sleepycat/bin/db_recover ']'
    + /opt/zimbra/sleepycat/bin/db_recover -h /opt/zimbra/openldap-data -v
    db_recover: Finding last valid log LSN: file: 1 offset 902288
    db_recover: Recovery starting from [1][902147]
    db_recover: Recovery complete at Wed Mar 8 15:05:33 2006
    db_recover: Maximum transaction ID 800000c1 Recovery checkpoint [1][902288]
    + sudo /opt/zimbra/openldap/libexec/slapd -l LOCAL0 -4 -u zimbra -h 'ldaps:// ldap://:389/' -f /opt/zimbra/conf/slapd.conf
    + sleep 2
    + getpid
    + '[' -f /opt/zimbra/openldap/var/run/slapd.pid ']'
    ++ cat /opt/zimbra/openldap/var/run/slapd.pid
    + PID=1739
    + '[' x1739 = x ']'
    + echo 'Started slapd: pid 1739'
    Started slapd: pid 1739

    ----

    So...that started. I killed the pid again and tried (as zimbra user) zmcontrol start, and got:

    [zimbra@test ~]$ zmcontrol start
    Host test.davisny.edu
    Starting ldap...Done.

    But still can't get to the admin interface listed in the quick start install guide. It tells me the connection is refused. Any additional logs I can post? Any other ideas of what I should try?

  6. #6
    marcmac is offline Expert Member
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    13

    Default

    Sounds like the hostname (returned by zmhostname) isn't configured in ldap, as if the install failed and needs to be redone.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 23
    Last Post: 01-24-2013, 03:44 PM
  2. duplicate email issue
    By kollross in forum Administrators
    Replies: 29
    Last Post: 01-31-2010, 06:43 PM
  3. Issue with Print Size in Zimbra Web Client
    By soxfan in forum Administrators
    Replies: 0
    Last Post: 05-11-2007, 12:59 PM
  4. dns issue with suse 10.2 and issue with bind
    By zjustin in forum Installation
    Replies: 11
    Last Post: 05-06-2007, 11:18 AM
  5. Intermittent issue (issue# 5852) ?
    By nick20 in forum Installation
    Replies: 1
    Last Post: 02-08-2006, 02:47 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
  •