3 Replies Latest reply: Aug 27, 2014 8:50 AM by jose.de.mattos RSS

    ODS 11.1.1.7.0 + dsadm error 164

    jose.de.mattos

      Hi...

       

      I use sun dsee 7 ( ) and I want to migrate to ods 11.1.1.7.0...

      But qhen I try to register a instance in dscc I getting the following error code without description:

       

      $ /opt/dsee7/bin/dsccreg add-server -h <server> --description "maximatt DS" /home/dsee70/instances/dsee70-maximatt/

      Enter DSCC administrator's password: *********

      /opt/dsee7/bin/dsadm exited with error 164

      /opt/dsee7/bin/dpadm exited with error 164

       

      somebody knows what could be happening here?

       

      Thanks in advance!

        • 1. Re: ODS 11.1.1.7.0 + dsadm error 164
          jose.de.mattos

          well... I getting some advance in the solution...

           

          First for all, I set the instance in the "original" place (not under "instances"), and verbose the execution.. so I getting now:

           

          $ /opt/dsee7/bin/dsccreg  add-server -h <server> -v  --description "maximatt DS" /home/dsee70/dsee70-maximatt/

          Enter DSCC administrator's password:

          DSCC Administrator password is OK

          Trusted cert creation

          KeyStore File creation OK; try to connect ...

          /home/dsee70/dsee70-maximatt/ is an instance of DS

          Flag cert-pwd-prompt is set to on

          cert-pwd-prompt must be set to off first using the following command:

            /opt/dsee7/bin/dsadm set-flags /home/dsee70/dsee70-maximatt/ cert-pwd-prompt=off

           

          So... I do it

          $ /opt/dsee7/bin/dsadm set-flags /home/dsee70/dsee70-maximatt/ cert-pwd-prompt=off

          :

          :

          $ /opt/dsee7/bin/dsccreg  add-server -h <server> -v --description "maximatt DS" /home/dsee70/dsee70-maximatt/

          Enter DSCC administrator's password:

          DSCC Administrator password is OK

          Trusted cert creation

          KeyStore File creation OK; try to connect ...

          /home/dsee70/dsee70-maximatt/ is an instance of DS

          DSCC Administrator password is OK

          Trusted cert creation

          KeyStore File creation OK; try to connect ...

          No DSCC agent found

          /home/dsee70/dsee70-maximatt/ has not been registered in DSCC on <server>

           

          but...

          $ /opt/dsee7/bin/dsccagent info -v

          shows info

           

          mmmmm... I have some intuition about this issue....

           

          bye!

          • 2. Re: ODS 11.1.1.7.0 + dsadm error 164
            jose.de.mattos

            ok... Now I don't know how to resolve:

             

            $ /opt/dsee7/bin/dsccreg  add-server -h <server> --agent-port 3997 -v --description "maximatt DS" /home/dsee70/dsee70-maximatt/

              Enter DSCC administrator's password:

              DSCC Administrator password is OK

              Trusted cert creation

              KeyStore File creation OK; try to connect ...

              /home/dsee70/dsee70-maximatt/ is an instance of DS

              DSCC Administrator password is OK

              Trusted cert creation

              KeyStore File creation OK; try to connect ...

              The registration will use DSCC agent on port: 3997

              Enter password of "cn=Directory Manager" for /home/dsee70/dsee70-maximatt/:

              This operation will restart /home/dsee70/dsee70-maximatt/.

              Do you want to continue ? (y/n) y

              Starting /home/dsee70/dsee70-maximatt

              Failed to start /home/dsee70/dsee70-maximatt

              Check /home/dsee70/dsee70-maximatt/logs/errors

              /home/dsee70/dsee70-maximatt/ has not been registered in DSCC on <server>

             

            If I try to register from dscc, I get the following error:

             

            Iniciando el servidor <server>:389. Logs del servidor:

             

               El comando /opt/dsee7/lib/ns-slapd no existe

               Fallo al iniciar la instancia del servidor de directorios /home/dsee70/dsee70-maximatt/.

               Error al ejecutar la operación. El código de error es 43.

            Some ideas about this?

            • 3. Re: ODS 11.1.1.7.0 + dsadm error 164
              jose.de.mattos

              The problem was:

                  - ods in 64b

                  - sun dsee7 instance in 32b

               

              To fix:

                 # cd /opt/dsee7/lib

                 # ln -s /opt/dsee7/lib64/ns-slapd ns-slapd