Results 1 to 5 of 5

Thread: Build Zimbra: ldap_bind: Invalid credentials (49)

  1. #1
    eshernandez is offline Beginner Member
    Join Date
    Apr 2014
    Posts
    1
    Rep Power
    1

    Unhappy Build Zimbra: ldap_bind: Invalid credentials (49)

    Hi there!

    I'm trying to build the Zimbra source code from the open source edition on Windows using Eclipse. I'm following this tutorial:

    Zimbra Development with Eclipse

    But I had some troubles with the SVN code, so I used code from:

    https://github.com/Grynn/zimbra-mirror

    When I run reset-the-world, I got the following error:

    Code:
    [exec] ldap_bind: Invalid credentials (49)
    And the output looks like this:

    Code:
    ..........
    stop-jetty-java:
         [java] java.net.ConnectException: Connection refused: connect
         [java] 	at java.net.DualStackPlainSocketImpl.connect0(Native Method)
         [java] 	at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79)
         [java] 	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
         [java] 	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
         [java] 	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
         [java] 	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
         [java] 	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
         [java] 	at java.net.Socket.connect(Socket.java:579)
         [java] 	at java.net.Socket.connect(Socket.java:528)
         [java] 	at java.net.Socket.<init>(Socket.java:425)
         [java] 	at java.net.Socket.<init>(Socket.java:241)
         [java] 	at org.eclipse.jetty.start.Main.stop(Main.java:758)
         [java] 	at org.eclipse.jetty.start.Main.stop(Main.java:737)
         [java] 	at org.eclipse.jetty.start.Main.start(Main.java:648)
         [java] 	at org.eclipse.jetty.start.Main.main(Main.java:103)
         [java] Usage: java -jar start.jar [options] [properties] [configs]
         [java]        java -jar start.jar --help  # for more information
         [java] Java Result: -4
    stop-jetty-unix:
    stop-jetty:
         [echo] Waiting for jetty to stop
    stop-ldap-windows:
         [exec] The service name is invalid.
         [exec] More help is available by typing NET HELPMSG 2185.
         [exec] Result: 2
    stop-ldap-unix:
    stop-ldap:
    stop-servers:
    dir-init:
         [echo] If the following deletes fail, wait for your web server
         [echo] to stop (or stop jetty manually)
         [echo] and try again later.
    .......
       [delete] Deleting directory C:\opt\zimbra\data
    dir-init-jetty:
       [delete] Deleting: C:\opt\zimbra\jetty\webapps\service.war
        ...........
        [mkdir] Created dir: C:\opt\zimbra\zimlets-deployed
    make-dirs:
         [echo] Creating dirs under C:\opt\zimbra
        ..............
        [mkdir] Created dir: C:\opt\zimbra\lib\jars
    build-init:
       ......
    make-dirs:
         [echo] Creating dirs under C:\Users\______\workspaceEclipse\ZimbraSRC\zimbra-mirror-master\ZimbraServer\build\dist
       ........
        [mkdir] Created dir: C:\Users\______\workspaceEclipse\ZimbraSRC\zimbra-mirror-master\ZimbraServer\build\dist\libexec
    generate-buildinfo:
        [mkdir] Created dir: C:\Users\______\workspaceEclipse\ZimbraSRC\zimbra-mirror-master\ZimbraServer\build\buildinfo\com\zimbra\cs\util
        [javac] Compiling 1 source file to C:\Users\______\workspaceEclipse\ZimbraSRC\zimbra-mirror-master\ZimbraServer\build\classes
    compile:
    compile-dependencies:
    compile:
        [mkdir] Created dir: C:\Users\______\workspaceEclipse\ZimbraSRC\zimbra-mirror-master\ZimbraCommon\build\classes
        [javac] Compiling 256 source files to C:\Users\______\workspaceEclipse\ZimbraSRC\zimbra-mirror-master\ZimbraCommon\build\classes
        [javac] C:\Users\______\workspaceEclipse\ZimbraSRC\zimbra-mirror-master\ZimbraCommon\src\java\com\zimbra\common\net\CustomHostnameVerifier.java:19: warning: HostnameChecker is internal proprietary API and may be removed in a future release
       ........
        [javac] Note: Some input files use or override a deprecated API.
        [javac] Note: Recompile with -Xlint:deprecation for details.
        [javac] Note: Some input files use unchecked or unsafe operations.
        [javac] Note: Recompile with -Xlint:unchecked for details.
        [javac] 4 warnings
    jar:
    generate-jar-version:
        [mkdir] Created dir: C:\Users\______\workspaceEclipse\ZimbraSRC\zimbra-mirror-master\ZimbraCommon\build\buildinfo\com\zimbra\buildinfo
        [javac] Compiling 1 source file to C:\Users\______\workspaceEclipse\ZimbraSRC\zimbra-mirror-master\ZimbraCommon\build\classes
    zimbra-jar:
          [jar] Building jar: C:\Users\______\workspaceEclipse\ZimbraSRC\zimbra-mirror-master\ZimbraCommon\build\zimbracommon.jar
    build-init:
        [mkdir] Created dir: C:\Users\______\workspaceEclipse\ZimbraSRC\zimbra-mirror-master\ZimbraSoap\build\classes
    compile:
    compile:
    jar:
    generate-jar-version:
    zimbra-jar:
        [javac] Compiling 1787 source files to C:\Users\______\workspaceEclipse\ZimbraSRC\zimbra-mirror-master\ZimbraSoap\build\classes
        [javac] Note: Some input files use or override a deprecated API.
        [javac] Note: Recompile with -Xlint:deprecation for details.
    check-schema-done:
    generate-schema:
    ..............
    ........
    [schemagen] Note: Recompile with -Xlint:deprecation for details.
    wsdl-file:
    jar:
    generate-jar-version:
        [mkdir] Created dir: C:\Users\______\workspaceEclipse\ZimbraSRC\zimbra-mirror-master\ZimbraSoap\build\buildinfo\com\zimbra\buildinfo
        [javac] Compiling 1 source file to C:\Users\______\workspaceEclipse\ZimbraSRC\zimbra-mirror-master\ZimbraSoap\build\classes
    zimbra-jar:
          [jar] Building jar: C:\Users\______\workspaceEclipse\ZimbraSRC\zimbra-mirror-master\ZimbraSoap\build\zimbrasoap.jar
    compile:
        [mkdir] Created dir: C:\Users\______\workspaceEclipse\ZimbraSRC\zimbra-mirror-master\ZimbraClient\build\classes
        [javac] Compiling 101 source files to C:\Users\______\workspaceEclipse\ZimbraSRC\zimbra-mirror-master\ZimbraClient\build\classes
        [javac] Note: Some input files use or override a deprecated API.
        [javac] Note: Recompile with -Xlint:deprecation for details.
        [javac] Note: C:\Users\______\workspaceEclipse\ZimbraSRC\zimbra-mirror-master\ZimbraClient\src\java\com\zimbra\client\ZMailbox.java uses unchecked or unsafe operations.
        [javac] Note: Recompile with -Xlint:unchecked for details.
    jar:
    generate-jar-version:
      ........
        [javac] Note: Some input files use or override a deprecated API.
        [javac] Note: Recompile with -Xlint:deprecation for details.
        [javac] Note: Some input files use unchecked or unsafe operations.
        [javac] Note: Recompile with -Xlint:unchecked for details.
        [javac] 12 warnings
    mysql-versions-init:
    sqlite-versions-init:
    db-versions-init:
    jar:
    generate-jar-version:
        [mkdir] Created dir: C:\Users\______\workspaceEclipse\ZimbraSRC\zimbra-mirror-master\ZimbraServer\build\buildinfo\com\zimbra\buildinfo
        [javac] Compiling 1 source file to C:\Users\______\workspaceEclipse\ZimbraSRC\zimbra-mirror-master\ZimbraServer\build\classes
    zimbra-jar:
          [jar] Building jar: C:\Users\______\workspaceEclipse\ZimbraSRC\zimbra-mirror-master\ZimbraServer\build\zimbrastore.jar
    war:
          [war] Building war: C:\Users\______\workspaceEclipse\ZimbraSRC\zimbra-mirror-master\ZimbraServer\build\service.war
    dev-dist-unix:
    dev-dist-jetty:
         .....
    choose-db-schema:
         [echo] Using database schema in src/db/mysql
    generate-ldap-config:
        [mkdir] Created dir: C:\Users\______\workspaceEclipse\ZimbraSRC\zimbra-mirror-master\ZimbraServer\build\attrs
    ..........
         [java] [] ERROR: fillTemplate(): could not find key 'ACCOUNT_DISPLAY_NAME'
         [java] [] ERROR: fillTemplate(): could not find key 'ACCOUNT_ADDRESS'
         [java] [] ERROR: fillTemplate(): could not find key 'ACCOUNT_DISPLAY_NAME'
         [java] [] ERROR: fillTemplate(): could not find key 'ACCOUNT_ADDRESS'
         [java] [] ERROR: fillTemplate(): could not find key 'zimbra.server.hostname'
         [copy] Copying 1 file to C:\Users\______\workspaceEclipse\ZimbraSRC\zimbra-mirror-master\ZimbraServer\build\ldap-config
        ............
    dev-dist:
         [echo] Version: 9.0.0_BETA1_1111 Date: 20140422-1133
         .........
    mysql-versions-init:
    sqlite-versions-init:
    db-versions-init:
         [copy] Copying 5 files to C:\Users\______\workspaceEclipse\ZimbraSRC\zimbra-mirror-master\ZimbraServer\build\dist\db
    localhost-ssl-cert:
       [genkey] Generating Key for jetty
       [genkey] Generating Key for jetty-dsa
    init-opt-zimbra:
         [copy] Copying 450 files to C:\opt\zimbra
    mysql-init:
          [sql] Executing resource: C:\Users\______\workspaceEclipse\ZimbraSRC\zimbra-mirror-master\ZimbraServer\src\db\mysql\dropdb.sql
          [sql] 201 of 201 SQL statements executed successfully
          [sql] Executing resource: C:\Users\______\workspaceEclipse\ZimbraSRC\zimbra-mirror-master\ZimbraServer\src\db\mysql\db.sql
          [sql] 29 of 29 SQL statements executed successfully
          [sql] Executing resource: C:\Users\______\workspaceEclipse\ZimbraSRC\zimbra-mirror-master\ZimbraServer\build\versions-init.sql
          [sql] 3 of 3 SQL statements executed successfully
    sqlite-init:
    db-init:
    start-ldap-windows:
         [exec] The service name is invalid.
         [exec] More help is available by typing NET HELPMSG 2185.
         [exec] Result: 2
    start-ldap-unix:
    start-ldap:
    ldap-load:
    ldap-add:
         [echo] Loading C:\Users\______\workspaceEclipse\ZimbraSRC\zimbra-mirror-master\ZimbraServer\build\dist/openldap/etc/zimbra.ldif
         [exec] ldap_bind: Invalid credentials (49)
    
    BUILD FAILED
    C:\Users\______\workspaceEclipse\ZimbraSRC\zimbra-mirror-master\ZimbraServer\build.xml:1183: The following error occurred while executing this line:
    C:\Users\______\workspaceEclipse\ZimbraSRC\zimbra-mirror-master\ZimbraServer\build.xml:1505: The following error occurred while executing this line:
    C:\Users\______\workspaceEclipse\ZimbraSRC\zimbra-mirror-master\ZimbraServer\build.xml:1484: exec returned: 49
    
    Total time: 8 minutes 6 seconds
    As I see, it's a configuration problem with the openDLAP on Windows.
    I'm using windows 7, 64 bits, Java 1.7

    Any suggestions to solve this problem?

    Thanks in advance!

  2. #2
    jhon is offline Senior Member
    Join Date
    Sep 2012
    Location
    jhoncarter2030@gmail.com
    Posts
    55
    Rep Power
    2

    Default

    Hi,
    I've compiled it with CentOS, RHEL and Ubuntu. But haven't tried it with Windows. Why don't you prefer open source platform to build open source product.
    jhoncarter2030@gmail.com

    Zimbra Customization, Administration, Developments.

  3. #3
    quanah is offline Zimbra Employee
    Join Date
    May 2007
    Location
    Zimbra
    Posts
    1,270
    Rep Power
    10

    Default

    There is no SVN for Zimbra, you must be using something years old?
    Quanah Gibson-Mount
    Server Architect
    Zimbra, Inc
    --------------------
    Zimbra :: the leader in open source messaging and collaboration

  4. #4
    metux is offline Senior Member
    Join Date
    Feb 2012
    Posts
    72
    Rep Power
    3

    Default

    Zimbra 6 is _REALLY_ ancient, I dont think somebody will support it anymore.

    And newer Zimbra (at least since 7.x) won't work on Windows (at least not w/o rewriting huge parts).

  5. #5
    quanah is offline Zimbra Employee
    Join Date
    May 2007
    Location
    Zimbra
    Posts
    1,270
    Rep Power
    10

    Default

    There is some limited support for doing development on the web client using windows, but that's about it. There's never been support for running the full ZCS environment in Windows.
    Quanah Gibson-Mount
    Server Architect
    Zimbra, Inc
    --------------------
    Zimbra :: the leader in open source messaging and collaboration

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. LDAP Invalid credentials
    By biscayne in forum Administrators
    Replies: 1
    Last Post: 07-23-2012, 06:37 AM
  2. invalid credentials
    By kostres in forum Administrators
    Replies: 1
    Last Post: 09-01-2010, 01:53 PM
  3. Replies: 3
    Last Post: 07-02-2008, 06:50 AM
  4. Invalid Credentials - 5.0 RC2 to 5.0.1
    By scottp in forum Installation
    Replies: 2
    Last Post: 01-19-2008, 08:29 PM

Tags for this Thread

Posting Permissions

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