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

Thread: [SOLVED] zcs installation error in ldap.

  1. #1
    nishith's Avatar
    nishith is offline Special Member
    Join Date
    Jun 2008
    Location
    india
    Posts
    125
    Rep Power
    7

    Smile [SOLVED] zcs installation error in ldap.

    Hi To All.

    I tried to install zcs(open source edition) on my Fedora Core 7 , x86 OS. Everytime,I got same error message that belongs to ldap.

    I don't know what exactly is happenning. My Server Hardware is High End ( XEON Processor) with Newely installed Fedora Core 7.

    I have disable below services to install ZIMBRA.

    Sendmail.
    Postfix
    mysql
    httpd(apache)

    Below is my error regarding ldap. Please help me out.

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

    Adding renovau.co.in to zimbraMailHostPool in default COS...ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException renovau.co.in:389)
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException renovau.co.in:389)
    done.


    prov> ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException renovau.co.in:389

    Setting up syslog.conf...ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException renovau.co.in:389)

    Initializing Documents...ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException renovau.co.in:389)
    failed to initialize documents...see logfile for details.
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException renovau.co.in:389)
    Restarting mailboxd...done.



    Please help to sort out this error.

    -Nishith Vyas.(india)

  2. #2
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,585
    Rep Power
    57

    Default

    Did you try this first? Do you also have valid DNS A & MX records plus a correct /etc/hosts file? Did you also search the forums for that error? It's been answered many times.
    Last edited by phoenix; 06-01-2008 at 06:00 AM.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    nishith's Avatar
    nishith is offline Special Member
    Join Date
    Jun 2008
    Location
    india
    Posts
    125
    Rep Power
    7

    Default

    I have tried this also. But,finally no such result.

    visudo

    Comment out requiretty so the line looks like the following:
    #Defaults requiretty


    The above file hash is not working.

    Tell me else please.

    Nishith N.Vyas.

  4. #4
    nishith's Avatar
    nishith is offline Special Member
    Join Date
    Jun 2008
    Location
    india
    Posts
    125
    Rep Power
    7

    Default

    Dear Sir,
    I am using Fedora Core 7 Linux & below is my default entries in

    /etc/hosts file.

    127.0.0.1 localhost.localdomain localhost
    192.168.1.52 renovau.co.in renovau.co.in
    ::1 localhost6.localdomain6 localhost6


    MX record entry in DNS Service. The location is /var/named/renovau.co.in.zone

    The entry is as give below.

    $TTL 86400
    @ IN SOA renovau.co.in. root.renovau.co.in. (
    42 ; serial (d. adams)
    3H ; refresh
    15M ; retry
    1W ; expiry
    1D ) ; minimum
    IN NS renovau.co.in.
    IN MX 10 webmail.renovau.co.in.; Primary Mail Server
    IN TXT "Renovau Telecom Pvt.Ltd"
    renovau.co.in. IN A 192.168.1.52
    localhost IN A 127.0.0.1
    ftp IN CNAME renovau.co.in.


    The dns is working fine by executing follwoing commands.

    dig -x
    dig
    host

    Please repsond.

    Nishith.

  5. #5
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,585
    Rep Power
    57

    Default

    Your DNS & /etc/hosts file are both wrong, you need to use the FQDN of your server in the hosts file. Check the documentation for the correct hosts file format and the instructions in this post for correcting the DNS.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  6. #6
    nishith's Avatar
    nishith is offline Special Member
    Join Date
    Jun 2008
    Location
    india
    Posts
    125
    Rep Power
    7

    Default

    Dear Bill,

    Below is my /etc/hosts file entry. Please check it & tell me is it correct?

    127.0.0.1 localhost.localdomain localhost
    ::1 localhost6.localdomain6 localhost6
    58.68.123.55 webmail.renovau.co.in webmail
    192.168.1.52 webmail.renovau.co.in webmail

    Here,webmail is a local computer's host name & renovau.co.in is my dns name.


    Please help me out to sort out my dns problem. If u have any demo dns file entry,please send me on nvblue@gmail.com.

    Waiting,
    Nishith N.Vyas.

  7. #7
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,585
    Rep Power
    57

    Default

    You need to remove this line:

    Code:
    58.68.123.55 webmail.renovau.co.in webmail
    from the hosts file. I guess that's your external IP address? You will also need external DNS records (I mean external to your DNS server on the LAN) so mail can be delivered correctly. The link I posted to the DNS in a Nutshell article is the correct format for the DNS records on your LAN DNS server.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  8. #8
    nishith's Avatar
    nishith is offline Special Member
    Join Date
    Jun 2008
    Location
    india
    Posts
    125
    Rep Power
    7

    Default

    Now,i have modified /etc/hosts file. See Below.

    My server WAN ip is 58.68.123.55
    My server LAn ip is 192.168.1.52


    The /etc/hosts file entry is :-

    127.0.0.1 localhost.localdomain localhost
    ::1 localhost6.localdomain6 localhost6
    58.68.123.55 webmail.renovau.co.in webmail


    Also check my dns file name entry.
    ---------------------------------------------------------
    Forward entry.

    $TTL 86400
    @ IN SOA renovau.co.in. root.renovau.co.in. (
    42 ; serial (d. adams)
    3H ; refresh
    15M ; retry
    1W ; expiry
    1D ) ; minimum
    IN NS webmail.renovau.co.in.
    IN MX 10 webmail.renovau.co.in.; Primary Mail Server
    IN TXT "Renovau Telecom Pvt.Ltd"
    webmail.renovau.co.in. IN A 58.68.123.55
    localhost IN A 127.0.0.1
    webmail.renovau.co.in. IN A 58.68.123.55
    ftp IN CNAME renovau.co.in.

    ---------------------------------------------------------
    Reverse Entry.

    $TTL 86400
    @ IN SOA renovau.co.in. root.renovau.co.in. (
    1997022700 ; Serial
    28800 ; Refresh
    14400 ; Retry
    3600000 ; Expire
    86400 ) ; Minimum
    IN NS webmail.renovau.co.in.
    55 IN PTR webmail.renovau.co.in.

    Now,please tell me further.


  9. #9
    nishith's Avatar
    nishith is offline Special Member
    Join Date
    Jun 2008
    Location
    india
    Posts
    125
    Rep Power
    7

    Default

    the nutshell link is strange. ( Unknown language format ) Please check it.

    By clicking it,I am getting this web page.
    J Dahec,dictionnaire de la marine,de la mer, architecture et construction navale.

    What to do?


  10. #10
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,585
    Rep Power
    57

    Default

    Quote Originally Posted by nishith View Post
    the nutshell link is strange. ( Unknown language format )
    It's not an unknown language, it's French. The link I gave you was incorrect, sorry, this is the correct link.

    You've also taken the wrong line out of your hosts file, you want to remove the one for the external IP an put the one for your LAN IP back in there.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Trouble Sending mail - All Messages deferred!
    By SiteDiscovery in forum Administrators
    Replies: 7
    Last Post: 09-03-2009, 04:52 AM
  2. upgrading from 5.0.4 to 5.0.5 opensource
    By smoke in forum Installation
    Replies: 4
    Last Post: 10-19-2008, 10:38 AM
  3. Replies: 41
    Last Post: 10-29-2007, 02:36 PM
  4. Zimbra Install Problem - getDirectContext
    By bsimzer in forum Installation
    Replies: 27
    Last Post: 07-19-2007, 10:12 AM
  5. 3 testing: LDAP: 389 Failed when restore zimbra
    By victorLeong in forum Administrators
    Replies: 15
    Last Post: 05-24-2007, 06:45 AM

Posting Permissions

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