β04-22-2011 11:49 PM
Dear All,
I am Facing below mentioned errors wole upgrading SRT in my Solaris machine. Please help me :(
I am pasing the logs and I marked the errors in bold letters.
****************************************************************************************************************
bash-3.00# ./bmrsrtadm
Select one of the following options:
1. Create a new Shared Resource Tree.
2. Create a new CD image based Shared Resource Tree.
3. Copy an existing Shared Resource Tree to a new location.
4. Import a Shared Resource Tree.
5. Modify an existing Shared Resource Tree.
6. Delete an existing Shared Resource Tree.
7. List Shared Resource Trees available on this server.
8. Quit.
Enter your selection (1-8) [1] : 5
Enter the name of an existing SRT : SRTsolu4
------------------------------------------------------------------------------
SRT name: SRTsolu4
Location: /opt/SRTsolu4
Description: srt for solaris u4
Exclusive use: (none)
------------------------------------------------------------------------------
You may make modifications to this SRT.
Select one of the following options:
1. Install Veritas NetBackup Maintenance Pack.
2. Install Veritas Volume Manager and Veritas File System.
3. Update Veritas Volume Manager and Veritas File System.
4. Install Veritas Security Services.
5. Install additional packages or patches.
6. Change SRT description.
7. Change client exclusive use of this SRT.
8. Quit.
Enter your selection (1-8) [8] : 1
This SRT does not contain the prerequisite software that allows
the installation of NetBackup Client Maintenance Pack into the SRT.
Please install the SUNWgzip package into the SRT, and then retry
the installation of NetBackup Client Maintenance Pack.
A problem occurred while installing the NetBackup Maintenance Pack
You may make modifications to this SRT.
Select one of the following options:
1. Install Veritas NetBackup Maintenance Pack.
2. Install Veritas Volume Manager and Veritas File System.
3. Update Veritas Volume Manager and Veritas File System.
4. Install Veritas Security Services.
5. Install additional packages or patches.
6. Change SRT description.
7. Change client exclusive use of this SRT.
8. Quit.
Enter your selection (1-8) [8] : 5
Enter the package/fileset/patch to be added in SRT or blank to return : SUNWgzip
Enter a [hostname:]/pathname containing the SUNWgzip package image [/SRT/] : /
Found and installing SUNWgzip package.
This may take time...
Processing package instance <SUNWgzip> from </tmp/sol8fix>
The GNU Zip (gzip) compression utility(sparc) 11.10.0,REV=2005.01.08.05.16
Copyright (C) 1992-1993 Jean-loup Gailly
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
This appears to be an attempt to install the same architecture and
version of a package which is already installed. This installation
will attempt to overwrite this package.
Using </fakeroot> as the package base directory.
## Processing package information.
## Processing system information.
7 package pathnames are already properly installed.
Installing The GNU Zip (gzip) compression utility as <SUNWgzip>
## Installing part 1 of 1.
NAME=i.none
FILELIST=/var/sadm/pkg/SUNWgzip/save/filelist
BD=/fakeroot
is_an_archive=0
is_a_filelist=0
list_empty=1
local_install=0
Spcl_init=0
Rm_alt_sav=0
Tmp_xpath=/usr/tmp4806dir
MV_xpath=/usr/bin
MV_cmd=/usr/bin/mv
CPIO_xpath=/usr/bin
CPIO_cmd=/usr/bin/cpio
UNZIP_xpath=/usr/bin
UNZIP_cmd=/usr/bin/unzip
BZCAT_xpath=/usr/bin
BZCAT_cmd=/usr/bin/bzcat
P7ZIP_xpath=/usr/bin
P7ZIP_cmd=/usr/bin/7za
ZCAT_xpath=/usr/bin
ZCAT_cmd=/usr/bin/zcat
LN_xpath=/usr/bin
LN_cmd=/usr/bin/ln
NAWK_xpath=/usr/bin
NAWK_cmd=/usr/bin/nawk
RM_xpath=/usr/bin
RM_cmd=/usr/bin/rm
+ eval_pkg
+ read path
+ [ /tmp/sol8fix/SUNWgzip != NULL ]
PKGSRC=/tmp/sol8fix/SUNWgzip
+ [ -r /tmp/sol8fix/SUNWgzip/archive/none -o -r /tmp/sol8fix/SUNWgzip/archive/none.Z -o -r /tmp/sol8fix/SUNWgzip/archive/none.7z -o -r /tmp/sol8fix/SUNWgzip/archive/none.bz2 ]
is_an_archive=1
+ [ 1 -eq 0 ]
Reloc_Arch=/tmp/sol8fix/SUNWgzip/archive/none
+ [ ! -d /var/sadm/pkg/SUNWgzip/save ]
+ [ -f /var/sadm/pkg/SUNWgzip/save/filelist ]
+ rm /var/sadm/pkg/SUNWgzip/save/filelist
+ cd /fakeroot
+ [ null = null ]
is_a_filelist=1
+ read path
+ echo usr/bin/gzdiff
list_empty=0
+ read path
+ echo usr/bin/gzexe
list_empty=0
+ read path
+ echo usr/bin/gzforce
list_empty=0
+ read path
+ echo usr/bin/gzgrep
list_empty=0
+ read path
+ echo usr/bin/gzip
list_empty=0
+ read path
+ echo usr/bin/gzless
list_empty=0
+ read path
+ echo usr/bin/gzmore
list_empty=0
+ read path
+ echo usr/bin/gznew
list_empty=0
+ read path
+ [ ! -x /usr/bin/7za ]
+ echo Cannot find required executable /usr/bin/7za
Cannot find required executable /usr/bin/7za
+ exit 1
pkgadd: ERROR: class action script did not complete successfully
Installation of <SUNWgzip> failed.
Enter the package/fileset/patch to be added in SRT or blank to return :
-------------------------------------------------------------------------------------------------------------------------------------------
Boot server OS Detalis:
bash-3.00# more /etc/release
Solaris 10 8/07 s10s_u4wos_12b SPARC
Copyright 2007 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 16 August 2007
Thanks & Regards,
Soorj
β04-23-2011 01:07 AM
As directed by bmrsrtadm, SUNWgzip package is missing in the SRT.
Ideally SUNWgzip package installation should have worked but looks like solaris-pkdadd here given some failure. You can try using pkgadd in chroot <srt_path> environment rather than using bmrsrtadm interface here.
Another workaround you can try:
Copy boot server /usr/bin/gunzip as SRT_FOLDER_PATH/usr/bin/gunzip. Make sure gunzip dependencies (lib files) are also there in your SRT if do not exist.
Fire ldd /usr/bin/gunzip to know its dependecies. I consider your Boot server OS is of similar version as your SRT OS because we are going to copy gunzip binary on BS to SRT OS.
If this does not work for you then please provide all version details in your setup:
Like,
BMR BS OS and NBU version?
SRT OS and NBU client version?
NBU Patch version you are trying install into SRT?
Thanks.
-Mandar
β04-25-2011 12:35 AM
Hi Mandar,
Thanks for your Support. The second way is working.
Now i am facing an another issue.
Its not taking the update pakages, its showing the below error.
Logs:
Select one of the following options:
1. Install Veritas NetBackup Maintenance Pack.
2. Install Veritas Volume Manager and Veritas File System.
3. Update Veritas Volume Manager and Veritas File System.
4. Install Veritas Security Services.
5. Install additional packages or patches.
6. Change SRT description.
7. Change client exclusive use of this SRT.
8. Quit.
Enter your selection (1-8) [8] : 1
Ready to load the Veritas NetBackup Maintenance Pack (MP) software.
Enter the location ([hostname:]/pathname) of the software, or "none" to
return to the menu : /Vertaszip
/Vertaszip does not contain the Veritas NetBackup Maintenance Pack (MP) for Solaris.
Enter the location ([hostname:]/pathname) of the software, or "none" to
return to the menu :
--------------------------------------------------------------------
bash-3.00# cd /Vertaszip/
bash-3.00# ls -l
total 6527322
-rw-r--r-- 1 root root 44620800 Apr 18 12:23 NB_BBS_6.5.6_351565.tar
-rw-r--r-- 1 root root 1500410880 Apr 18 14:36 NB_CLT_6.5.6_351567.tar
-rw-r--r-- 1 root root 96578560 Apr 18 12:35 NB_JAV_6.5.6_351572.tar
-rw-r--r-- 1 root root 28509184 Apr 18 12:37 NB_ORA_6.5.6_351582.tar
-rwxr-xr-x 1 root bin 110174 Apr 25 2010 NB_update.install
-rw-r--r-- 1 root bin 4695 Apr 25 2010 VrtsNB_BBS_6.5.6.README
-rwxr-xr-x 1 root bin 5514574 Apr 25 2010 VrtsNB_BBS_6.5.6.hp_ux.tar.Z
-rwxr-xr-x 1 root bin 8058241 Apr 25 2010 VrtsNB_BBS_6.5.6.linux.tar.Z
-rwxr-xr-x 1 root bin 5348069 Apr 25 2010 VrtsNB_BBS_6.5.6.linuxR_x86.tar.Z
-rwxr-xr-x 1 root bin 3770168 Apr 25 2010 VrtsNB_BBS_6.5.6.linuxS_x86.tar.Z
-rwxr-xr-x 1 root bin 1412 Apr 25 2010 VrtsNB_BBS_6.5.6.postinstall
-rwxr-xr-x 1 root bin 1412 Apr 25 2010 VrtsNB_BBS_6.5.6.postuninstall
-rwxr-xr-x 1 root bin 9127653 Apr 25 2010 VrtsNB_BBS_6.5.6.rs6000.tar.Z
-rwxr-xr-x 1 root bin 5632933 Apr 25 2010 VrtsNB_BBS_6.5.6.solaris.tar.Z
-rwxr-xr-x 1 root bin 7042408 Apr 25 2010 VrtsNB_BBS_6.5.6.solaris_x86.tar.Z
-rwxr-xr-x 1 root bin 68502921 Apr 25 2010 VrtsNB_CLT_6.5.6.ALPHA.tar.Z
-rwxr-xr-x 1 root bin 200635542 Apr 25 2010 VrtsNB_CLT_6.5.6.HP-UX-IA64.tar.Z
-rwxr-xr-x 1 root bin 222439470 Apr 25 2010 VrtsNB_CLT_6.5.6.HP9000-800.tar.Z
-rwxr-xr-x 1 root bin 4405582 Apr 25 2010 VrtsNB_CLT_6.5.6.INTEL.tar.Z
-rwxr-xr-x 1 root bin 154932732 Apr 25 2010 VrtsNB_CLT_6.5.6.Linux-IA64.tar.Z
-rwxr-xr-x 1 root bin 273845062 Apr 25 2010 VrtsNB_CLT_6.5.6.Linux.tar.Z
-rwxr-xr-x 1 root bin 13825495 Apr 25 2010 VrtsNB_CLT_6.5.6.MACINTOSH.tar.Z
-rw-r--r-- 1 root bin 12201 Apr 28 2010 VrtsNB_CLT_6.5.6.README
-rwxr-xr-x 1 root bin 191207273 Apr 25 2010 VrtsNB_CLT_6.5.6.RS6000.tar.Z
-rwxr-xr-x 1 root bin 27138593 Apr 25 2010 VrtsNB_CLT_6.5.6.SGI.tar.Z
-rwxr-xr-x 1 root bin 343282769 Apr 28 2010 VrtsNB_CLT_6.5.6.Solaris.tar.Z
-rwxr-xr-x 1 root bin 20249 Apr 28 2010 VrtsNB_CLT_6.5.6.postinstall
-rwxr-xr-x 1 root bin 20249 Apr 28 2010 VrtsNB_CLT_6.5.6.postuninstall
-rwxr-xr-x 1 root bin 20249 Apr 28 2010 VrtsNB_CLT_6.5.6.preinstall
-rw-r--r-- 1 root bin 3474 Apr 25 2010 VrtsNB_JAV_6.5.6.README
-rwxr-xr-x 1 root bin 1947 Apr 25 2010 VrtsNB_JAV_6.5.6.postinstall
-rwxr-xr-x 1 root bin 1947 Apr 25 2010 VrtsNB_JAV_6.5.6.postuninstall
-rwxr-xr-x 1 root bin 96456385 Apr 25 2010 VrtsNB_JAV_6.5.6.tar.Z
-rwxr-xr-x 1 root bin 2012387 Apr 25 2010 VrtsNB_ORA_6.5.6.OEBU.alpha_5.tar.Z
-rwxr-xr-x 1 root bin 2557204 Apr 25 2010 VrtsNB_ORA_6.5.6.OEBU.hp11.00.tar.Z
-rwxr-xr-x 1 root bin 3086178 Apr 25 2010 VrtsNB_ORA_6.5.6.OEBU.hpia64.tar.Z
-rwxr-xr-x 1 root bin 1634213 Apr 25 2010 VrtsNB_ORA_6.5.6.OEBU.linux2.4.tar.Z
-rwxr-xr-x 1 root bin 1610196 Apr 25 2010 VrtsNB_ORA_6.5.6.OEBU.linux64.tar.Z
-rwxr-xr-x 1 root bin 1520450 Apr 25 2010 VrtsNB_ORA_6.5.6.OEBU.linuxR_ia64_2.6.tar.Z
-rwxr-xr-x 1 root bin 1721573 Apr 25 2010 VrtsNB_ORA_6.5.6.OEBU.linuxR_x86_2.6.tar.Z
-rwxr-xr-x 1 root bin 1542113 Apr 25 2010 VrtsNB_ORA_6.5.6.OEBU.linuxS_ia64_2.6.tar.Z
-rwxr-xr-x 1 root bin 1736982 Apr 25 2010 VrtsNB_ORA_6.5.6.OEBU.linuxS_x86_2.6.tar.Z
-rwxr-xr-x 1 root bin 1232845 Apr 25 2010 VrtsNB_ORA_6.5.6.OEBU.plinuxR_2.6.tar.Z
-rwxr-xr-x 1 root bin 1292921 Apr 25 2010 VrtsNB_ORA_6.5.6.OEBU.plinuxS_2.6.tar.Z
-rwxr-xr-x 1 root bin 2583099 Apr 25 2010 VrtsNB_ORA_6.5.6.OEBU.rs6000_51.tar.Z
-rwxr-xr-x 1 root bin 1917635 Apr 25 2010 VrtsNB_ORA_6.5.6.OEBU.sgi65.tar.Z
-rwxr-xr-x 1 root bin 2589847 Apr 25 2010 VrtsNB_ORA_6.5.6.OEBU.solaris8.tar.Z
-rwxr-xr-x 1 root bin 1335623 Apr 25 2010 VrtsNB_ORA_6.5.6.OEBU.solaris_x86_10_64.tar.Z
-rw-r--r-- 1 root bin 6099 Apr 25 2010 VrtsNB_ORA_6.5.6.README
-rwxr-xr-x 1 root bin 2060 Apr 25 2010 VrtsNB_ORA_6.5.6.postinstall
-rwxr-xr-x 1 root bin 2060 Apr 25 2010 VrtsNB_ORA_6.5.6.postuninstall
bash-3.00#
Thanks & Regards,
Sooraj.
β04-25-2011 10:24 PM
Is your NB_update.install has executable permission set?
Thanks.
-Mandar