3 Replies Latest reply: Jan 8, 2013 2:59 AM by HartmutStreppel RSS

    Zone installation failed on Solaris 11

    982858
      Hi,
      i am trying to Create the zone on Solaris 11. I configured the zone.
      While installing the zone i got following error:

      root@sol208:~# zoneadm -z testzone install
      A ZFS file system has been created for this zone.
      Progress being logged to /var/log/zones/zoneadm.20130104T063732Z.testzone.install
      Image: Preparing at /zones/testzone/root.

      Install Log: /system/volatile/install.3104/install_log
      AI Manifest: /tmp/manifest.xml.yXa4bg
      SC Profile: /usr/share/auto_install/sc_profiles/enable_sci.xml
      Zonename: testzone
      Installation: Starting ...

      Creating IPS image
      Installing packages from:
      Image zone:testzone Creating Plan Error occurred during execution of 'generated-transfer-3104-1' checkpoint.
      Failed Checkpoints:

      generated-transfer-3104-1

      Checkpoint execution error:

      The following pattern(s) did not match any allowable packages. Try
      using a different matching pattern, or refreshing publisher information:

      pkg:/group/system/solaris-small-server
      pkg:///entire@0.5.11,5.11-0.175.0.0.0.2.0:20111020T143822Z

      Installation: Failed. See install log at /system/volatile/install.3104/install_log
      ERROR: auto-install failed.
      root@sol208:~#

      Following is the package information:

      root@sol208:~# pkg publisher
      PUBLISHER TYPE STATUS URI
      solaris (disabled) origin online http://172.26.4.174:80/
      root@sol208:~#

      root@sol208:~# pkg list -avf entire
      FMRI IFO
      pkg://solaris/entire@0.5.11,5.11-0.175.0.0.0.2.0:20111020T143822Z i--
      root@sol208:~#


      Please let me know which package needs to install.
      Please provide steps for package installation.

      Thanks
      Girish
        • 1. Re: Zone installation failed on Solaris 11
          HartmutStreppel
          Hi,
          this:
          root@sol208:~# pkg publisher
          PUBLISHER TYPE STATUS URI
          solaris (disabled) origin online http://172.26.4.174:80/
          ............^^^^^^
          seems to be your problem. Try to enable this publisher.

          I am a bit confused about the error message though. In any case: if you try to install a zone, the publisher being used, must provide the same version of Solaris that is currently installed in the global zone.

          Regards
          Hartmut
          • 2. Re: Zone installation failed on Solaris 11
            982858
            Thanks for your Reply!

            I tried to enable the publisher. But i get the following error

            root@sol208:~# pkg set-publisher -e solaris
            pkg set-publisher: Could not refresh the catalog for solaris

            Unable to contact valid package repository
            Encountered the following error(s):
            Unable to contact any configured publishers.
            This is likely a network configuration problem.
            Framework error: code: 7 reason: Failed connect to 172.26.4.174:80; Connection refused
            URL: 'http://172.26.4.174:80'. (happened 4 times)

            root@sol208:~#

            Please help to resolve this.

            Thanks,
            Girish
            • 3. Re: Zone installation failed on Solaris 11
              HartmutStreppel
              Obviously, the repository service on 172.26.4.174 is not working correctly. What does svcs -xv" or better "svcs svc:/application/pkg/server:default", which very probably is your pkg service. You should check, whether it is running, and if not, why it is not running.

              svcs -xv .... gives you more information and the name of the service's logfile.