β05-19-2015 12:26 AM
Dear Forum,
I have a Solaris 11 master server which is on NBU 7.6.0.1.
I need to upgrade it to 7.6.1. When i start the installation i am getting following error message and the install script exits.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
root@ABCD# ./IDC/SW/NBU/NBUSRV_7.6.1/NetBackup_7.6.1_Solaris_Sparc64/install
Symantec Installation Script
Copyright 1993 - 2014 Symantec Corporation, All Rights Reserved.
Installing NetBackup Server Software
Please review the SYMANTEC SOFTWARE LICENSE AGREEMENT located on
the installation media before proceeding. The agreement includes
details on the NetBackup Product Improvement Program.
For NetBackup installation and upgrade information specific to your
platform and to find out if your installed EEBs or hot fixes are
contained in this release, check out the Symantec Operations Readiness
Tools (SORT) Installation and Upgrade Checklist and Hot fix and EEB
Release Auditor, respectively, at https://sort.symantec.com/netbackup.
! To help ensure a successful upgrade to NetBackup 7.6.1,
please visit the NetBackup 7.x Upgrade Portal:
http://www.symantec.com/docs/TECH74584.
you wish to continue? [y,n] (y)
NetBackup installs to the running root environment, by default.
Are you installing to the running root environment? [y,n] (y)
No NB/MM daemons appear to be running.
Please verify that any OpenStorage plugins located in
directory /usr/openv/lib/ost-plugins have been certified
for use with NetBackup 7.0 or later. Starting with
NetBackup 7.0, binaries are 64-bit; therefore, it is
required that any OpenStorage plugin also be 64-bit.
Warning for NetBackup 7.0 or later media servers:
if the OpenStorage plugin is not 64-bit, NetBackup will
not be able to access the OpenStorage device to perform
backups or restores.
Starting NetBackup Deduplication installer
testing: /tmp/pdde_pkg_dir_18480
Checking for SYMCpddea package...
Package SYMCpddea found.
NetBackup Deduplication software is installed.
NetBackup Deduplication is not yet configured.
NetBackup Deduplication preinstall check passed
Checking for required system conditions...
ok nbdb_ntfs_dir_symlink: inapplicable on solaris: skipping
ok remote_emm: No remote EMM is detected
Checking for recommended system conditions...
ok semaphore_limits: semaphore limits are high enough
ok ulimit_nofiles: nofiles ulimit is "unlimited"
ok nb_761_hotfix_auditor: No potential for regression of hotfixes or EEBs was detected.
NetBackup is currently at release level 7.6.0.3.
This package will install release level 7.6.1.
Checking for pre-existing SYMCnetbp package.
Installing SYMCnetbp package.
Processing package instance <SYMCnetbp> from </IDC/SW/NBU/NBUSRV_7.6.1/NetBackup_7.6.1_Solaris_Sparc64/solaris/anb/SYMCnetbp.pkg>
NetBackup and Media Manager(sparc) 7.6.1.0
pkgadd: ERROR: attempt to process datastream failed
- process </usr/bin/cpio -icdumD -C 512> failed, exit code 31
pkgadd: ERROR: unable to unpack datastream
Installation of <SYMCnetbp> failed (internal error).
No changes were made to the system.
ERROR: Failed to install SYMCnetbp on ABCD.
Cannot complete the install.
Aborting...
== Checking for pre-existing package ==
package SYMCnetbp is not installed
========= Installing package ==========
File /usr/openv/tmp/install_trace.18422 contains a trace of this install.
That file can be deleted after you are sure the install was successful.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Pls. suggest the steps/pre-requisities to complete the upgradation successfully.
Regards
Solved! Go to Solution.
β05-19-2015 10:19 PM
Pls. set following before proceeding for the installation.
check for umask...and ulimit
umask 022
ulimit -f unlimited
then proceed for the installation.
β05-19-2015 12:38 AM
Did you check the filesystem sizes(specially /usr or / or /tmp) before doing the installation, are there any errors in the /var/adm/messages after this error.
β05-19-2015 12:57 AM
β05-19-2015 12:59 AM
filesystem size is ok and also there is no other errors reported in the var/adm/messages.
β05-19-2015 01:02 AM
yes i did that too and it was showing ok.
β05-19-2015 01:16 AM
Does /usr/bin/cpio exist and is functional ?
process </usr/bin/cpio -icdumD -C 512> failed, exit code 31
β05-19-2015 01:42 AM
root@ABCD:/# ps -ef | grep cpio
root 19859 17275 0 14:08:33 pts/1 0:00 grep cpio
-------------------------------------------------------------------------------------------
cpio exists but how can we cross check whether it is working.
β05-19-2015 01:50 AM
All you did with that is grep your own command.
What do these show:
# find / -name cpio
# locate cpio
# ls -lash /usr/.../bin/cpio (i.e. adjust the path to where cpio is located)
# cpio -h
β05-19-2015 02:05 AM
root@ABCD:/usr/bin# find / -name cpio
/opt/VRTSvxfs/sbin/cpio
/opt/VRTS/bin/cpio
/usr/lib/fs/vxfs/bin/cpio
/usr/bin/cpio
--------------------------------------------------------------
root@ABCD:/# ls -lash /usr/bin/cpio
222 -r-xr-xr-x 1 root bin 110K Dec 23 2013 /usr/bin/cpio
----------------------------------------------------------------------------------------------------------
root@ABCD:/# cpio -h
cpio: illegal option -- h
cpio: One of -i, -o or -p must be specified.
USAGE:
cpio -i[bcdfkmrstuv@BSV6] [-C size] [-E file] [-H hdr] [-I file [-M msg]] [-R id] [patterns]
cpio -o[acv@ABLV0] [-C size] [-H hdr] [-O file [-M msg]]
cpio -p[adlmuv@LV0] [-R id] directory
-----------------------------------------------------------------
β05-19-2015 02:16 AM
Looks like Unix exit code 31 could be 'file size limit exceeded', from:
http://people.cs.pitt.edu/~alanjawi/cs449/code/shell/UnixSignals.htm
.
What version of tar are you running:
# tar --version
β05-19-2015 02:23 AM
...but then this, indicates that exit code 31 for pkgadd could be "Path given for -C option is invalid"
http://www.unix.com/tips-and-tutorials/32951-solaris-patch-exit-codes.html
β05-19-2015 04:06 AM
Can you replace /usr/bin/cpio with a dynaic link to /opt/VRTS/bin/cpio as a test ?
Remember to save /usr/bin/cpio.
β05-19-2015 11:20 AM
Hi (all)
I have the same problem, but in my case is a new instalation 7.6.0.1 (solaris 11), see
./install
Symantec Installation Script
Copyright 1993 - 2013 Symantec Corporation, All Rights Reserved.
Installing NetBackup Server Software
Please review the SYMANTEC SOFTWARE LICENSE AGREEMENT located on
the installation media before proceeding. The agreement includes
details on the NetBackup Product Improvement Program.
For NetBackup installation and upgrade information specific to your
platform and to find out if your installed EEBs or hot fixes are
contained in this release, check out the Symantec Operations Readiness
Tools (SORT) Installation and Upgrade Checklist and Hot fix and EEB
Release Auditor, respectively, at https://sort.symantec.com/netbackup.
ATTENTION! To help ensure a successful upgrade to NetBackup 7.6.0.1,
please visit the NetBackup 7.x Upgrade Portal:
http://www.symantec.com/docs/TECH74584.
Do you wish to continue? [y,n] (y) y
NetBackup installs to the running root environment, by default.
Are you installing to the running root environment? [y,n] (y) y
Running preinstall checker...
ok nbdb_maintenance_space: no NBDB maintenance required on new install: skipping
ok nbdb_ntfs_dir_symlink: inapplicable on solaris: skipping
ok nb_7601_hotfix_auditor: No potential for regression of hotfixes or EEBs was detected.
ok ulimit_nofiles: nofiles ulimit 8000 is high enough.
ok semaphore_limits: semaphore limits are high enough
This package will install release level 7.6.0.1.
Checking for pre-existing SYMCnetbp package.
Installing SYMCnetbp package.
Processing package instance <SYMCnetbp> from </binarios/NBU/7.6/Media-Server/7.6.0.1/brslp1pupbk02/NetBackup_7.6.0.1_Solaris_Sparc64/solaris/anb/SYMCnetbp.pkg>
NetBackup and Media Manager(sparc) 7.6.0.1
pkgadd: ERROR: attempt to process datastream failed
- process </usr/bin/cpio -icdumD -C 512> failed, exit code 31
pkgadd: ERROR: unable to unpack datastream
Installation of <SYMCnetbp> failed (internal error).
No changes were made to the system.
ERROR: Failed to install SYMCnetbp on xxxxxxxxxxx.
Cannot complete the install.
Aborting...
== Checking for pre-existing package ==
package SYMCnetbp is not installed
========= Installing package ==========
β05-19-2015 02:20 PM
βAnything additional in the trace file?
File /usr/openv/tmp/install_trace.99999 contains a trace of this install.
β05-19-2015 02:34 PM
Nothing, example....
more /usr/openv/tmp/install_trace.13090
Symantec Installation Script
Copyright 1993 - 2013 Symantec Corporation, All Rights Reserved.
Installing NetBackup Server Software
Please review the SYMANTEC SOFTWARE LICENSE AGREEMENT located on
the installation media before proceeding. The agreement includes
details on the NetBackup Product Improvement Program.
For NetBackup installation and upgrade information specific to your
platform and to find out if your installed EEBs or hot fixes are
contained in this release, check out the Symantec Operations Readiness
Tools (SORT) Installation and Upgrade Checklist and Hot fix and EEB
Release Auditor, respectively, at https://sort.symantec.com/netbackup.
ATTENTION! To help ensure a successful upgrade to NetBackup 7.6.0.1,
please visit the NetBackup 7.x Upgrade Portal:
http://www.symantec.com/docs/TECH74584.
Do you wish to continue? [y,n] (y) y
NetBackup installs to the running root environment, by default.
Are you installing to the running root environment? [y,n] (y) y
Running preinstall checker...
ok nbdb_maintenance_space: no NBDB maintenance required on new install: skipping
ok nbdb_ntfs_dir_symlink: inapplicable on solaris: skipping
ok nb_7601_hotfix_auditor: No potential for regression of hotfixes or EEBs was detected.
ok ulimit_nofiles: nofiles ulimit 8000 is high enough.
ok semaphore_limits: semaphore limits are high enough
This package will install release level 7.6.0.1.
Checking for pre-existing SYMCnetbp package.
Installing SYMCnetbp package.
Processing package instance <SYMCnetbp> from </tmp/NBU/NetBackup_7.6.0.1_Solaris_Sparc64/solaris/anb/SYMCnetbp.pkg>
NetBackup and Media Manager(sparc) 7.6.0.1
pkgadd: ERROR: attempt to process datastream failed
- process </usr/bin/cpio -icdumD -C 512> failed, exit code 31
pkgadd: ERROR: unable to unpack datastream
Installation of <SYMCnetbp> failed (internal error).
No changes were made to the system.
ERROR: Failed to install SYMCnetbp on xxxxxxxxxxxxx.
Cannot complete the install.
Aborting...
== Checking for pre-existing package ==
package SYMCnetbp is not installed
========= Installing package ==========
β05-19-2015 10:19 PM
Pls. set following before proceeding for the installation.
check for umask...and ulimit
umask 022
ulimit -f unlimited
then proceed for the installation.
β05-19-2015 10:22 PM
In my case, i was able to successfully complete the installation for 7.6.1 on solaris 11 after setting the ulimit to unlimited.
Thanks All for the suggestions.
β05-19-2015 11:55 PM