8 Replies Latest reply on May 21, 2009 12:42 PM by 807573

    cannot initialize dsccsetup

    807573
      I installed the java system directory server enterprise edition 6.0 on a netra t1 solaris 9 machine. I ran installer to install the software from native pkg. The installation is succsessful. But when I ran 'dsccsetup initialize' I got the following errors:

      bash-2.05# /opt/SUNWdsee/dscc6/bin/dsccsetup initialize
      ***
      Registering DSCC Application in Sun Java(TM) Web Console
      This operation is going to stop Sun Java(TM) Web Console.
      Do you want to continue ? [y,n] y
      Stopping Sun Java(TM) Web Console...
      Registration is on-going. Please wait...
      DSCC is registered in Sun Java(TM) Web Console
      Restarting Sun Java(TM) Web Console
      Please wait : this may take several seconds...
      Sun Java(TM) Web Console restarted successfully
      ***
      Registering DSCC Agent in Cacao...
      Checking Cacao status...
      Starting Cacao...
      DSCC agent has been successfully registered in Cacao.
      ***
      Choose password for Directory Service Manager:
      Confirm password for Directory Service Manager:
      Creating DSCC registry...
      rc = 11
      /opt/SUNWdsee/ds6/bin/dsadm exited with unexpected error code 11
      com.sun.directory.common.slapx.AdmCmdErrorException: /opt/SUNWdsee/ds6/bin/dsadm create -p 3998 -P 3999 pwd-file /var/tmp/ads36623.tmp username noaccess --groupname other /var/opt/SUNWdsee/dscc6/dcc/ads
      at com.sun.directory.common.slapx.AdmCmd.run(AdmCmd.java:76)
      at com.sun.directory.common.slapx.AdmCmd.run(AdmCmd.java:47)
      at com.sun.directory.dcc.ads.ADSInstall.createADSInstance(ADSInstall.java:626)
      at com.sun.directory.dcc.ads.ADSInstall.create(ADSInstall.java:233)
      at com.sun.directory.dcc.cli.setup.CmdAdsCreate.performCreate(CmdAdsCreate.java:125)
      at com.sun.directory.dcc.cli.setup.CmdAdsCreate.perform(CmdAdsCreate.java:55)
      at com.sun.directory.dcc.cli.setup.CmdAdsCreate.perform(CmdAdsCreate.java:31)
      at com.sun.directory.dcc.cli.setup.CmdInitialize.perform(CmdInitialize.java:51)
      at com.sun.directory.clip.ClipSubcommand.execute(ClipSubcommand.java:84)
      at com.sun.directory.clip.ClipParser.execute(ClipParser.java:192)
      at com.sun.directory.dcc.cli.setup.SetupMain.main(SetupMain.java:12)
      Sofware installation is probably incomplete or corrupted
      ***


      THen I did 'dsccsetup dismantle' then 'dsccsetup initialize', but still no luck with same error. I ran 'dsccsetup status'. Below is the status output:

      bash-2.05# /opt/SUNWdsee/dscc6/bin/dsccsetup status
      ***
      DSCC Application is registered in Sun Java (TM) Web Console
      ***
      DSCC Agent is registered in Cacao
      ***
      DSCC Registry has not been created yet
      ***


      What am I missing here?

      thanks,

      --xinhuan                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
        • 1. Re: cannot initialize dsccsetup
          807573
          Xinhuan,

          the error code 11 is weird because it means "bad argument value".
          I looked at your command line and it seems fine. The only thing I can think of would be that your password file is malformed.
          It should contain only the password on a single line.

          let me know if this gets you going.

          -=arnaud=-
          • 2. Re: cannot initialize dsccsetup
            807573
            The password file is a temporary file created by dsccsetup. I have no way to check it when the process exits. Also, it says 'Software installation incomplete or corrupted'. I worried about the software installation did not complete even if the installer says it is succuessful.

            Thanks,

            --xinhuan                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
            • 3. Re: cannot initialize dsccsetup
              807573
              have you tried to issue the same command manually ?
              you can
              echo password > /tmp/pwd.txt
              and then issue the same command replacing --pwd-file by
              /opt/SUNWdsee/ds6/bin/dsadm create -p 3998 -P 3999 --pwd-file /tmp/pwd.txt --username noaccess --groupname other /var/opt/SUNWdsee/dscc6/dcc/ads
              and go from there.
              • 4. Re: cannot initialize dsccsetup
                807817
                I also met this problem and it seems like you can't use any kind of password
                when asked for the Directory Service Manager password.
                For example, I've tried admin6 and got the unexpected error 11.

                Then, I used another password, without number, but 8 characters longs, which worked fine ..

                Hope this helps ..
                • 5. Re: cannot initialize dsccsetup
                  807573
                  You are right. Using 8 characters password did solve the problem. Thanks very much!

                  --xinhuan                                                                                                                                                                                           
                  • 6. Re: cannot initialize dsccsetup
                    807573
                    I had the same error just now and using an 8 character password worked for me too!

                    Thank god (and you guys) this forum exists :-)
                    • 7. Re: cannot initialize dsccsetup
                      807573
                      Same error I was completly stumped untill I found this. I even did a complete reinstall from the OS on up.

                      using an eight character password(no mumbers, control characters or caps) work.

                      Dang, who would have thought.
                      • 8. Re: cannot initialize dsccsetup
                        807573
                        I was also getting the same error and thought it was related to installation into a sparse zone or even my non-default install path. I never would have thought it was a password length issue.

                        Thank you for posting the information, hopefully someone will create useful error messages at some point.

                        ...
                        root@z_ittss_v445_1_ldap # /appbin/SUNWdsee/dscc6/bin/dsccsetup initialize
                        ***
                        DSCC Application is already registered
                        ***
                        DSCC Agent is already registered
                        ***
                        Choose password for Directory Service Manager:
                        Confirm password for Directory Service Manager:
                        Creating DSCC registry...
                        rc = 11
                        /appbin/SUNWdsee/ds6/bin/dsadm exited with unexpected error code 11
                        com.sun.directory.common.slapx.AdmCmdErrorException: /appbin/SUNWdsee/ds6/bin/dsadm create -p 3998 -P 3999 pwd-file /var/tmp/ads45721002841912535.tmp username noaccess --groupname root /var/opt/SUNWdsee/dscc6/dcc/ads
                        at com.sun.directory.common.slapx.AdmCmd.run(AdmCmd.java:84)
                        at com.sun.directory.common.slapx.AdmCmd.run(AdmCmd.java:51)
                        at com.sun.directory.dcc.ads.ADSInstall.createADSInstance(ADSInstall.java:628)
                        at com.sun.directory.dcc.ads.ADSInstall.create(ADSInstall.java:249)
                        at com.sun.directory.dcc.cli.setup.CmdAdsCreate.performCreate(CmdAdsCreate.java:129)
                        at com.sun.directory.dcc.cli.setup.CmdAdsCreate.perform(CmdAdsCreate.java:59)
                        at com.sun.directory.dcc.cli.setup.CmdAdsCreate.perform(CmdAdsCreate.java:35)
                        at com.sun.directory.dcc.cli.setup.CmdInitialize.perform(CmdInitialize.java:55)
                        at com.sun.directory.clip.ClipSubcommand.execute(ClipSubcommand.java:89)
                        at com.sun.directory.clip.FriendlySubcommand.execute(FriendlySubcommand.java:55)
                        at com.sun.directory.clip.ClipParser.execute(ClipParser.java:196)
                        at com.sun.directory.dcc.cli.setup.SetupMain.main(SetupMain.java:30)
                        Sofware installation is probably incomplete or corrupted
                        ***