Visit Our UNIX and Linux User Community


11.0 to 11.2 update failures


 
Thread Tools Search this Thread
Operating Systems Solaris 11.0 to 11.2 update failures
# 1  
Old 10-06-2014
11.0 to 11.2 update failures

Attempting to update an 11.0 server with many non-global zones installed. pkg publisher is pkg.oracle.com/solaris/support.

Code:
FMRI = pkg://solaris/entire@0.5.11,5.11-0.175.1.15.0.4.0:20131230T203500Z

When we run pkg update --accept the server contacts oracle, checks packages, finds about 700 updates, but when it gets to the stage where it's linking with the NGZs, it fails with this;

Code:
2014-10-06 16:17:44,783   InstallationLogger CRITICAL   Failed Checkpoints:
2014-10-06 16:17:44,834   InstallationLogger ERROR
2014-10-06 16:17:44,885   InstallationLogger ERROR      	target-selection
2014-10-06 16:17:44,937   InstallationLogger ERROR
2014-10-06 16:17:44,988   InstallationLogger ERROR      Checkpoint execution error:
2014-10-06 16:17:45,039   InstallationLogger ERROR
2014-10-06 16:17:45,091   InstallationLogger ERROR      	[Errno 11] Resource temporarily unavailable
2014-10-06 16:17:45,142   InstallationLogger ERROR
2014-10-06 16:17:45,194   InstallationLogger INFO       Automated Installation Failed.  See install log at /system/volatile/install.12566/install_log
2014-10-06 16:17:45,245   InstallationLogger DEBUG      Shutting down Progress Handler


Looking at that file, I see this as the last error;

Code:
2014-10-06 16:17:44,782   InstallationLogger DEBUG      Checkpoints Completed: DOC (xml_format):
<root>
  <ai_instance auto_reboot="false" name="zone_default">
    <target>
      <logical noswap="false" nodump="false">
        <zpool name="rpool" action="create" is_root="false">
          <filesystem name="export" action="create" mountpoint="/export" in_be="false"/>
          <filesystem name="export/home" action="create" in_be="false"/>
          <be name="solaris">
            <options>
              <option name="compression" value="on"/>
            </options>
          </be>
        </zpool>
      </logical>
    </target>
    <software name="generated-transfer-12566-1" type="IPS">
      <software_data>
        <name>pkg:/group/system/solaris-small-server</name>
        <name>pkg:///entire@0.5.11,5.11-0.175.1.15.0.4.0:20131230T203500Z</name>
      </software_data>
      <destination>
        <image img_root="/system/volatile/install.12566/a" action="create" index="False">
          <facet set="false">facet.locale.*</facet>
          <facet set="true">facet.locale.de</facet>
          <facet set="true">facet.locale.de_DE</facet>
          <facet set="true">facet.locale.en</facet>
          <facet set="true">facet.locale.en_US</facet>
          <facet set="true">facet.locale.es</facet>
          <facet set="true">facet.locale.es_ES</facet>
          <facet set="true">facet.locale.fr</facet>
          <facet set="true">facet.locale.fr_FR</facet>
          <facet set="true">facet.locale.it</facet>
          <facet set="true">facet.locale.it_IT</facet>
          <facet set="true">facet.locale.ja</facet>
          <facet set="true">facet.locale.ja_*</facet>
          <facet set="true">facet.locale.ko</facet>
          <facet set="true">facet.locale.ko_*</facet>
          <facet set="true">facet.locale.pt</facet>
          <facet set="true">facet.locale.pt_BR</facet>
          <facet set="true">facet.locale.zh</facet>
          <facet set="true">facet.locale.zh_CN</facet>
          <facet set="true">facet.locale.zh_TW</facet>
          <img_type completeness="full" zone="True"/>
        </image>
      </destination>
    </software>
  </ai_instance>
</root>


We have tried with both the release and support repos and still get this error. My thinking currently is to add pkg:/group/system/solaris-small-server to the global zone. Will this help with the errors? or is this not advised on a global zone? We have a dozen or so other Solaris servers and none of the global zones seem to have this.

Thanks for any input.

Last edited by CptCarrot; 10-06-2014 at 03:00 PM.. Reason: typo
# 2  
Old 10-08-2014
Errno 11 - resource unavailable on Sol 11

Did you have a solution for yuor problem ?
I am getting the same and have not found a workaround.
Thanks
# 3  
Old 10-08-2014
I've been combing the internets and I ain't found sh*t!

This is all too common with Solaris. Uninformative errors and no solutions. Please do let me know if you find anything, as shall I.

Will be looking at this again early next week.
# 4  
Old 10-09-2014
Would you rather be dealing with trying to Google "yum failed" and wading through the 3.2 MILLION hits?

Have you thought about what EAGAIN means? "Resource temporarily unavailable"? How much disk space is available while you're running your upgrade? How much memory?
# 5  
Old 10-09-2014
Yeah, that would suck too. I think I was just feeling a little extra cranky, as the word resource has a large number of applications.

In this situation, it beginning to look like the specific resource is space on the physical drive. I tried stepping though all of the incremental SRU upgrades and it flat out failed when I got to anything from the Solaris 11.2 tree.

So we ran
Code:
# pkg update --accept entire@0.5.11-0.175.1.21.0.4.1

and things were going well. Until we received this:

Code:
Linked progress: /
pkg: An unexpected error happened while preparing for update:
pkg: Linked image exception(s):

A 'sync-linked' operation failed for child 'zone:non-global-zone0' with an unexpected return value of 1 and generated the following output:
pkg: Insufficent disk space available (1.17 GB)for estimated need (1.38 GB) for Root filesystem


This we can fix.

I hope. Smilie

Thanks for your help!

Previous Thread | Next Thread
Test Your Knowledge in Computers #255
Difficulty: Easy
The consumer version of Mac OS X was launched in 2001 with Mac OS X 10.0.
True or False?

10 More Discussions You Might Find Interesting

1. Solaris

Pkgadd failures with Solaris 11

I have some simple package installations that have worked in previous versions of Solaris just fine. I can install the packages, then install newer versions right over the top without error. In previous versions I had to specify the -G option during the installation in order for this to work. ... (0 Replies)
Discussion started by: moondog25
0 Replies

2. Solaris

Solaris 10 svcs failures

I have a solaris 10 machine that was working fine until the system crashed after a power failure. Now, after the system boots up, several services go into maintenance mode. offline 8:54:59 svc:/milestone/multi-user-server:default offline 8:54:59... (15 Replies)
Discussion started by: krishani3831
15 Replies

3. Shell Programming and Scripting

Need to Capture Sql Failures

Hi guys, I am inserting and updating records in Oracle database using shell Script based on business logic. Now Whenever the insert or Update fails, i want to capture it. i tried to capture the return code ($?), but it is not reflecting it.... (3 Replies)
Discussion started by: mac4rfree
3 Replies

4. Shell Programming and Scripting

Capture linking failures

Hi all, I have a script file that has numerous linking commands (ln -s) and currently there is no checking to see if the linking is successful or not and I need to implement something that checks if any of the linking failed and report a failure. The method I can think of is a small function... (3 Replies)
Discussion started by: zmfcat1
3 Replies

5. Solaris

Solaris 10 svcs failures

upon rebooting the solaris 10 system, all the services went offilne or uninitialised. If I break the SVM mirror and reboot the system with the raw device, all services are up. Once I recreate a fresh mirror(metadevices) and reboot, it goes offline again. Needed to do svcadm clear <service> to bring... (16 Replies)
Discussion started by: incredible
16 Replies

6. Solaris

Prediction of failures

Any diagnostic tool to do predictive check on all the SUN hard disks before it fails, as a preventive measure? Meaning, is there any tool that can really check for hdd which are failing/or "will fail soon" for Sun servers? (12 Replies)
Discussion started by: incredible
12 Replies

7. Shell Programming and Scripting

Display login failures

How to display failled login in a file. i.e when there occurs a login failure,the login failed date and time should be printed in that file.. (0 Replies)
Discussion started by: aravind007
0 Replies

8. UNIX for Dummies Questions & Answers

Restarting jobs after failures

Hi, I have a script which has a for loop in it. In that for loop are names of files that are going to be processed. For example, for file in file1 file2 file3 file4 do (something) done Let's say that this script gets executed and it fails at 'file2'. Is there a way that I can actually... (10 Replies)
Discussion started by: hern14
10 Replies

9. HP-UX

Communication Failures

HI ALL, I have been trying to install a particular software using remote linux server. some thing like this: rsh <host ID> /usr/sbin/swinstall -x autoreboot=true -s /tmp/<software> <Product name>. The problem is whenever I try to install the product through a shell script the installation... (1 Reply)
Discussion started by: barun agarwal
1 Replies

10. Solaris

Core dump failures

Does anyone have a list of error codes when core dumps fail? What is error 4? I also have another box that does error-2 occasionally. if anyone has a list of these error codes, it would be appreciated, thanks! I have the error below: NOTICE: core_log: ns-admin core dump failed,... (2 Replies)
Discussion started by: BG_JrAdmin
2 Replies

Featured Tech Videos