7 Replies Latest reply on Mar 2, 2008 8:09 PM by 807573

    DSEE and non-global zone

    807573
      Hello all

      Can someone point me a document which explains how to install DSEE in a non-global zone AND how to apply the java_es_5_accumulated_solaris10_sparc?

      The first stage, installing the packages in a non-global zone, seems to work.

      The next stage, to apply the patch is not possible bcz the install_cluster script states that the patches should be installed only in the global zone.

      Appreciate any help

      Cheers
        • 1. Re: DSEE and non-global zone
          807573
          Hi.

          The installation of DSEE 6.0 in Solaris zone is described in the "Installation in Solaris Zones" section of install guide http://docs.sun.com/app/docs/doc/819-0993/6n3co69ji?a=view

          Concerning JavaES cluster patch, I don't think there is a doc for that. If you are in a full local zone, you can probably edit the install_cluster script and remove the check that fails. If you are in a sparse zone, don't use this script. In any case, you can follow DSEE 6.2 install guide:
          * for shared component: http://docs.sun.com/app/docs/doc/820-2489/6ne3bkc4e?a=view#upgrade-shared-comps
          * for DSEE itself: http://docs.sun.com/app/docs/doc/820-2489/6ne3bkc4i?a=view#upgrade-dsee-native

          Regards,
          Carole.
          • 2. Re: DSEE and non-global zone
            807573
            Hello

            After applying the DSEE patch, DSEE is not working anymore...
            # /opt/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...
            ld.so.1: dsadm: fatal: libsasl.so: version `SUNWprivate1.1' not found (required by file /usr/lib/mps/libldap60.so)
            ld.so.1: dsadm: fatal: libsasl.so: open failed: No such file or directory
            rc = 9
            /opt/SUNWdsee/ds6/bin/dsadm exited with unexpected error code 9
            com.sun.directory.common.slapx.AdmCmdErrorException: /opt/SUNWdsee/ds6/bin/dsadm create -p 3998 -P 3999 --pwd-file /var/tmp/ads42581.tmp --username noaccess --groupname root /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:642)
                    at com.sun.directory.dcc.ads.ADSInstall.create(ADSInstall.java:245)
                    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:26)
            Sofware installation is probably incomplete or corrupted
            ***
            Cheers
            Andreas
            • 3. Re: DSEE and non-global zone
              807573
              Hi.

              It seems that you have an LD_LIBRARY_PATH defined. It probably contains /usr/lib. Unset it before using any DSEE command line.

              Carole.
              • 4. Re: DSEE and non-global zone
                807573
                Hello

                I follow the following steps:

                1. All DS zones destroyed
                2. All DS zones created (whole zone)
                3. jes 5u1 shared componentes installed into global zone
                4. jes 5u1 ds componentes installed into zone
                5. LD_LIBRARY_PATH unset
                6. Tryied to initialzie dscc
                # echo $LD_LIBRARY_PATH
                :/opt/fsw4sun/lib:/usr/local/ssl/lib:/usr/lib:/lib:/lib/secure:/usr/lib/secure:/opt/fsw4sun/lib:/usr/local/ssl/lib
                # unset LD_LIBRARY_PATH
                # /opt/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
                /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/ads54348.tmp --username noaccess --groupname root /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:642)
                        at com.sun.directory.dcc.ads.ADSInstall.create(ADSInstall.java:245)
                        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:26)
                Sofware installation is probably incomplete or corrupted
                ***
                Cheers,

                Andreas
                • 5. Re: DSEE and non-global zone
                  807573
                  After removing the offending directory:
                  # rmdir /var/opt/SUNWdsee/dscc6/dcc
                  # /opt/SUNWdsee/dscc6/bin/dsccsetup  initialize -v
                  ***
                  Registering DSCC Application in Sun Java(TM) Web Console
                  ## /usr/sbin/smreg is present
                  ## /usr/sbin/smcwebserver is present
                  ## /opt/SUNWdsee/dscc6/dccapp is present
                  ## /opt/SUNWjdmk/5.1/lib/jmx.jar is present
                  ## /opt/SUNWjdmk/5.1/lib/jmxremote.jar is present
                  ## /opt/SUNWjdmk/5.1/lib/jmxremote_optional.jar is present
                  ## /opt/SUNWjdmk/5.1/lib/sasl.jar is present
                  ## /opt/SUNWjdmk/5.1/lib/sunsasl.jar is present
                  ## /opt/SUNWdsee/dscc6/lib/jar/dcc.jar is present
                  ## /opt/SUNWdsee/dscc6/lib/jar/nquickclient.jar is present
                  ## /opt/SUNWdsee/dscc6/lib/jar/nquickapi.jar is present
                  ## /opt/SUNWdsee/ds6/lib/slapy.jar is present
                  ## /opt/SUNWdsee/dps6/lib/dpcfg.jar is present
                  ## /opt/SUNWdsee/dsee6/lib/clip.jar is present
                  ## /opt/SUNWdsee/dsee6/lib/jar/common.jar is present
                  ## /usr/lib/cacao/lib/cacao_cacao.jar is present
                  ## All required files are present.
                  ## Running /usr/sbin/smcwebserver status --parseable
                  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...
                  ## Running /usr/sbin/smcwebserver stop
                  ## Running /usr/sbin/smreg list -a
                  ## Running /usr/sbin/smreg list -l
                  Registration is on-going. Please wait...
                  Created /var/opt/SUNWdsee/dscc6/dcc
                  Set owner/group of /var/opt/SUNWdsee/dscc6/dcc with noaccess:root
                  ## Running /usr/sbin/smreg add -a /opt/SUNWdsee/dscc6/dccapp
                  ## jmx.jar/dccModule_1.0 is *NOT* displayed
                  ## Running /usr/sbin/smreg add -l -s dccModule_1.0 /opt/SUNWjdmk/5.1/lib/jmx.jar
                  ## jmxremote.jar/dccModule_1.0 is *NOT* displayed
                  ## Running /usr/sbin/smreg add -l -s dccModule_1.0 /opt/SUNWjdmk/5.1/lib/jmxremote.jar
                  ## jmxremote_optional.jar/dccModule_1.0 is *NOT* displayed
                  ## Running /usr/sbin/smreg add -l -s dccModule_1.0 /opt/SUNWjdmk/5.1/lib/jmxremote_optional.jar
                  ## sasl.jar/dccModule_1.0 is *NOT* displayed
                  ## Running /usr/sbin/smreg add -l -s dccModule_1.0 /opt/SUNWjdmk/5.1/lib/sasl.jar
                  ## sunsasl.jar/dccModule_1.0 is *NOT* displayed
                  ## Running /usr/sbin/smreg add -l -s dccModule_1.0 /opt/SUNWjdmk/5.1/lib/sunsasl.jar
                  ## dcc.jar/dccModule_1.0 is *NOT* displayed
                  ## Running /usr/sbin/smreg add -l -s dccModule_1.0 /opt/SUNWdsee/dscc6/lib/jar/dcc.jar
                  ## nquickclient.jar/dccModule_1.0 is *NOT* displayed
                  ## Running /usr/sbin/smreg add -l -s dccModule_1.0 /opt/SUNWdsee/dscc6/lib/jar/nquickclient.jar
                  ## nquickapi.jar/dccModule_1.0 is *NOT* displayed
                  ## Running /usr/sbin/smreg add -l -s dccModule_1.0 /opt/SUNWdsee/dscc6/lib/jar/nquickapi.jar
                  ## slapy.jar/dccModule_1.0 is *NOT* displayed
                  ## Running /usr/sbin/smreg add -l -s dccModule_1.0 /opt/SUNWdsee/ds6/lib/slapy.jar
                  ## dpcfg.jar/dccModule_1.0 is *NOT* displayed
                  ## Running /usr/sbin/smreg add -l -s dccModule_1.0 /opt/SUNWdsee/dps6/lib/dpcfg.jar
                  ## clip.jar/dccModule_1.0 is *NOT* displayed
                  ## Running /usr/sbin/smreg add -l -s dccModule_1.0 /opt/SUNWdsee/dsee6/lib/clip.jar
                  ## common.jar/dccModule_1.0 is *NOT* displayed
                  ## Running /usr/sbin/smreg add -l -s dccModule_1.0 /opt/SUNWdsee/dsee6/lib/jar/common.jar
                  ## cacao_cacao.jar/dccModule_1.0 is *NOT* displayed
                  ## Running /usr/sbin/smreg add -l -s dccModule_1.0 /usr/lib/cacao/lib/cacao_cacao.jar
                  ## Running /usr/sbin/smreg add -p sun.directory.dcc.path.slapx=/opt/SUNWdsee/ds6/bin/dsadm
                  ## Running /usr/sbin/smreg add -p sun.directory.dcc.path.var=/var/opt/SUNWdsee/dscc6
                  ## Running /usr/sbin/smreg add -p sun.directory.dcc.path.sample.ldif=/opt/SUNWdsee/ds6/ldif/Example.ldif
                  DSCC is registered in Sun Java(TM) Web Console
                  Restarting Sun Java(TM) Web Console
                  Please wait : this may take several seconds...
                  ## Running /usr/sbin/smcwebserver restart
                  Sun Java(TM) Web Console restarted successfully
                  ***
                  Registering DSCC Agent in Cacao...
                  ## Running /usr/sbin/cacaoadm register-module /var/tmp/-711538953/com.sun.directory.nquick.xml
                  Checking Cacao status...
                  ## Running /usr/sbin/cacaoadm status
                  ## Running /usr/sbin/cacaoadm get-param network-bind-address
                  ## Running /usr/sbin/cacaoadm list-modules
                  Deploying DSCC agent in Cacao...
                  ## Running /usr/sbin/cacaoadm deploy /var/tmp/-711538953/com.sun.directory.nquick.xml
                  DSCC agent has been successfully registered in Cacao.
                  ***
                  Choose password for Directory Service Manager:
                  Confirm password for Directory Service Manager:
                  Creating DSCC registry...
                  /var/opt/SUNWdsee/dscc6/dcc already exists
                  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/ads24197.tmp --username noaccess --groupname root /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:642)
                          at com.sun.directory.dcc.ads.ADSInstall.create(ADSInstall.java:245)
                          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:26)
                  Sofware installation is probably incomplete or corrupted
                  ***
                  Cheers,
                  Andreas
                  • 6. Re: DSEE and non-global zone
                    807573
                    Did you try to run manually:
                    /opt/SUNWdsee/ds6/bin/dsadm create -p 3998 -P 3999 --pwd-file <pwd_file> --username noaccess --groupname root /var/opt/SUNWdsee/dscc6/dcc/ads
                    where <pwd_file> must contain the DSCC registry password ?

                    You should have a more explicit error message. FYI, error code 11 is "bad argument value".

                    Carole.
                    • 7. Re: DSEE and non-global zone
                      807573
                      Thanks Carole,
                      The given password doesn't contain 8 characters
                      Cheers,
                      Andreas