• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

The Geek Diary

CONCEPTS | BASICS | HOWTO

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • Linux Services
    • VCS
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
    • Data Guard
  • DevOps
    • Docker
    • Shell Scripting
  • Interview Questions
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

Solaris Zone Install Fails With Cpio Error

By admin

The Problem

Error when trying to install full root zone

ERROR: cannot install zone: cannot access [/usr/bin/cpio] (exec failure)

NOTE: Sparse root install was successful.

The Solution

1. Check the permissions of the cpio executable on the problematic system first.

# ls -al /usr/bin/cpio
-rwxrwxrwx 1 root bin 85924 Sept 9 2018 /usr/bin/cpio

Correct permissions should be:

# ls -al /usr/bin/cpio
-r-xr-xr-x 1 root bin 85856 Sept 9 2018 /usr/bin/cpio

2. Also many errors during pkgchk -n:

ERROR: /dev/dsk
  group name expected actual

The permissions and groups are wrong on many files/directories. Incorrect permissions on executable and incorrect group settings can cause this issue and many others.

3. In order to resolve this issue use the “pkgcheck -fv” command

# pkgchk -fv

4. Verify the fix using the “pkgcheck -n” command which checks the integrity of the package.:

# pkgchk -n

This should run without any errors. Also check creating and installing a full root zone.

Filed Under: Solaris, Zones

Some more articles you might also be interested in …

  1. Script for finding the process using a specific port in Solaris
  2. Understanding Special Permissions (setuid, setgid, sticky bit) in Solaris
  3. How to Disable IPv6 in solaris 8,9,10
  4. Solaris (SPARC) : How to create OBP boot device alias at ok prompt
  5. Troubleshooting Solaris IPMP
  6. How to set up cron for automatic data collection from the system activity reporter (SAR) in Solaris 10 and 11
  7. Understanding the sysconfig utility in Solaris 11
  8. Managing boot environments in Solaris 11
  9. How to Set the TimeZone in Solaris 10,11
  10. How to enable Solaris multipathing (MPxIO or STMS) for EMC Symmetrix LUNs

You May Also Like

Primary Sidebar

Recent Posts

  • How to disable ACPI in CentOS/RHEL 7
  • How to Use real-time query to access data on a physical standby database
  • CentOS/RHEL 8: “ACPI MEMORY OR I/O RESET_REG” Server Hung after reboot
  • How to Create a Physical Standby Database by Using SQL and RMAN Commands
  • Archives
  • Contact Us
  • Copyright

© 2021 · The Geek Diary