05-03-2015 05:03 PM
Hi All,
Solaris 7.6.0.1 install keeps failing I had a similar issue some time ago, however it was not SYMCnbclt.
Installing SYMCnbclt package.
./cp_to_client: pkgadd: not found
ERROR: Failed to install SYMCnbclt on testussm01.
Cannot complete the install.
Aborting...
See below
$ /usr/local/bin/sudo chmod +x SolarisSPARCtar
$ /usr/local/bin/sudo gunzip NetBackup-Client-7.6.0.1-Solaris.tar.gz
$ /usr/local/bin/sudo ./SolarisSPARCtar -xvf NetBackup-Client-7.6.0.1-Solaris.tar
./NetBackup_7.6.0.1_CLIENTS1/
./NetBackup_7.6.0.1_CLIENTS1/install
./NetBackup_7.6.0.1_CLIENTS1/VSM_README
./NetBackup_7.6.0.1_CLIENTS1/Doc/
./NetBackup_7.6.0.1_CLIENTS1/Doc/NetBackup_Documentation.pdf
./NetBackup_7.6.0.1_CLIENTS1/LICENSE
./NetBackup_7.6.0.1_CLIENTS1/NBClients/
./NetBackup_7.6.0.1_CLIENTS1/NBClients/catalog/
./NetBackup_7.6.0.1_CLIENTS1/NBClients/catalog/anb/
./NetBackup_7.6.0.1_CLIENTS1/NBClients/catalog/anb/client.inst
./NetBackup_7.6.0.1_CLIENTS1/NBClients/anb/
./NetBackup_7.6.0.1_CLIENTS1/NBClients/anb/Clients/
./NetBackup_7.6.0.1_CLIENTS1/NBClients/anb/Clients/usr/
./NetBackup_7.6.0.1_CLIENTS1/NBClients/anb/Clients/usr/openv/
./NetBackup_7.6.0.1_CLIENTS1/NBClients/anb/Clients/usr/openv/netbackup/
./NetBackup_7.6.0.1_CLIENTS1/NBClients/anb/Clients/usr/openv/netbackup/client/
./NetBackup_7.6.0.1_CLIENTS1/NBClients/anb/Clients/usr/openv/netbackup/client/Solaris/
./NetBackup_7.6.0.1_CLIENTS1/NBClients/anb/Clients/usr/openv/netbackup/client/Solaris/Solaris10/
./NetBackup_7.6.0.1_CLIENTS1/NBClients/anb/Clients/usr/openv/netbackup/client/Solaris/Solaris10/extract_java
./NetBackup_7.6.0.1_CLIENTS1/NBClients/anb/Clients/usr/openv/netbackup/client/Solaris/Solaris10/client_config
./NetBackup_7.6.0.1_CLIENTS1/NBClients/anb/Clients/usr/openv/netbackup/client/Solaris/Solaris10/tar
./NetBackup_7.6.0.1_CLIENTS1/NBClients/anb/Clients/usr/openv/netbackup/client/Solaris/Solaris10/ssh_to_client
./NetBackup_7.6.0.1_CLIENTS1/NBClients/anb/Clients/usr/openv/netbackup/client/Solaris/Solaris10/.sizes
./NetBackup_7.6.0.1_CLIENTS1/NBClients/anb/Clients/usr/openv/netbackup/client/Solaris/Solaris10/client_bin.tar.gz
./NetBackup_7.6.0.1_CLIENTS1/NBClients/anb/Clients/usr/openv/netbackup/client/Solaris/Solaris10/JRE.tar.gz
./NetBackup_7.6.0.1_CLIENTS1/NBClients/anb/Clients/usr/openv/netbackup/client/Solaris/Solaris10/ftp_to_client
./NetBackup_7.6.0.1_CLIENTS1/NBClients/anb/Clients/usr/openv/netbackup/client/Solaris/Solaris10/sftp_to_client
./NetBackup_7.6.0.1_CLIENTS1/NBClients/anb/Clients/usr/openv/netbackup/client/Solaris/Solaris10/install_client
./NetBackup_7.6.0.1_CLIENTS1/NBClients/anb/Clients/usr/openv/netbackup/client/Solaris/Solaris10/cp_to_client
./NetBackup_7.6.0.1_CLIENTS1/NBClients/anb/Clients/usr/openv/netbackup/client/Solaris/Solaris10/nbj.conf
./NetBackup_7.6.0.1_CLIENTS1/NBClients/anb/Clients/usr/openv/netbackup/client/Solaris/Solaris10/NB-Java.tar.gz
./NetBackup_7.6.0.1_CLIENTS1/NBClients/anb/Clients/usr/openv/netbackup/client/Solaris/Solaris10/nbcheck
./NetBackup_7.6.0.1_CLIENTS1/NBClients/anb/Clients/usr/openv/netbackup/client/Solaris/Solaris10/.sizes_JRE
./NetBackup_7.6.0.1_CLIENTS1/NBClients/anb/Clients/usr/openv/netbackup/client/Solaris/Solaris10/PBX.tar.gz
./NetBackup_7.6.0.1_CLIENTS1/NBClients/anb/Clients/usr/openv/netbackup/client/Solaris/Solaris10/pddeagent.tar.gz
./NetBackup_7.6.0.1_CLIENTS1/NBClients/anb/Clients/usr/openv/netbackup/client/Solaris/Solaris10/.sizes_client_bin
./NetBackup_7.6.0.1_CLIENTS1/NBClients/anb/Clients/usr/openv/netbackup/client/Solaris/Solaris10/pdinstall
./NetBackup_7.6.0.1_CLIENTS1/NBClients/anb/Clients/usr/openv/netbackup/client/Solaris/Solaris10/installpbx
./NetBackup_7.6.0.1_CLIENTS1/NBClients/anb/Clients/usr/openv/netbackup/client/Solaris/Solaris10/.sizes_NB-Java
./NetBackup_7.6.0.1_CLIENTS1/NBClients/anb/Clients/usr/openv/netbackup/client/Solaris/Solaris10/version
./NetBackup_7.6.0.1_CLIENTS1/NBClients/anb/Clients/usr/openv/netbackup/client/Solaris/Solaris_x86_10_64/
./NetBackup_7.6.0.1_CLIENTS1/NBClients/anb/Clients/usr/openv/netbackup/client/Solaris/Solaris_x86_10_64/extract_java
./NetBackup_7.6.0.1_CLIENTS1/NBClients/anb/Clients/usr/openv/netbackup/client/Solaris/Solaris_x86_10_64/client_config
./NetBackup_7.6.0.1_CLIENTS1/NBClients/anb/Clients/usr/openv/netbackup/client/Solaris/Solaris_x86_10_64/tar
./NetBackup_7.6.0.1_CLIENTS1/NBClients/anb/Clients/usr/openv/netbackup/client/Solaris/Solaris_x86_10_64/ssh_to_client
./NetBackup_7.6.0.1_CLIENTS1/NBClients/anb/Clients/usr/openv/netbackup/client/Solaris/Solaris_x86_10_64/.sizes
./NetBackup_7.6.0.1_CLIENTS1/NBClients/anb/Clients/usr/openv/netbackup/client/Solaris/Solaris_x86_10_64/client_bin.tar.gz
./NetBackup_7.6.0.1_CLIENTS1/NBClients/anb/Clients/usr/openv/netbackup/client/Solaris/Solaris_x86_10_64/JRE.tar.gz
./NetBackup_7.6.0.1_CLIENTS1/NBClients/anb/Clients/usr/openv/netbackup/client/Solaris/Solaris_x86_10_64/ftp_to_client
./NetBackup_7.6.0.1_CLIENTS1/NBClients/anb/Clients/usr/openv/netbackup/client/Solaris/Solaris_x86_10_64/sftp_to_client
./NetBackup_7.6.0.1_CLIENTS1/NBClients/anb/Clients/usr/openv/netbackup/client/Solaris/Solaris_x86_10_64/install_client
./NetBackup_7.6.0.1_CLIENTS1/NBClients/anb/Clients/usr/openv/netbackup/client/Solaris/Solaris_x86_10_64/cp_to_client
./NetBackup_7.6.0.1_CLIENTS1/NBClients/anb/Clients/usr/openv/netbackup/client/Solaris/Solaris_x86_10_64/nbj.conf
./NetBackup_7.6.0.1_CLIENTS1/NBClients/anb/Clients/usr/openv/netbackup/client/Solaris/Solaris_x86_10_64/NB-Java.tar.gz
./NetBackup_7.6.0.1_CLIENTS1/NBClients/anb/Clients/usr/openv/netbackup/client/Solaris/Solaris_x86_10_64/nbcheck
./NetBackup_7.6.0.1_CLIENTS1/NBClients/anb/Clients/usr/openv/netbackup/client/Solaris/Solaris_x86_10_64/.sizes_JRE
./NetBackup_7.6.0.1_CLIENTS1/NBClients/anb/Clients/usr/openv/netbackup/client/Solaris/Solaris_x86_10_64/PBX.tar.gz
./NetBackup_7.6.0.1_CLIENTS1/NBClients/anb/Clients/usr/openv/netbackup/client/Solaris/Solaris_x86_10_64/.sizes_client_bin
./NetBackup_7.6.0.1_CLIENTS1/NBClients/anb/Clients/usr/openv/netbackup/client/Solaris/Solaris_x86_10_64/installpbx
./NetBackup_7.6.0.1_CLIENTS1/NBClients/anb/Clients/usr/openv/netbackup/client/Solaris/Solaris_x86_10_64/.sizes_NB-Java
./NetBackup_7.6.0.1_CLIENTS1/NBClients/anb/Clients/usr/openv/netbackup/client/Solaris/Solaris_x86_10_64/version
$ /usr/local/bin/sudo cd NetBackup_7.6.0.1_CLIENTS1
$ ls
NetBackup_7.6.0.1_CLIENTS1 NetBackup-Client-7.6.0.1-Solaris.tar SolarisSPARCtar sun_exclude
$ cd NetBackup_7.6.0.1_CLIENTS1
$ ls
Doc install LICENSE NBClients VSM_README
$ /usr/local/sudo ./install
Symantec Installation Script
Copyright 1993 - 2013 Symantec Corporation, All Rights Reserved.
Installing NetBackup Client 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.
Do you wish to continue? [y,n] (y) y
Running preinstall checker...
ok nb_7601_hotfix_auditor: No potential for regression of hotfixes or EEBs was detected.
Do you want to install the NetBackup client software for this client? [y,n] (y) y
This package will install Solaris/Solaris10 client.
This package will install NetBackup client 7.6.0.1.
Enter the name of the NetBackup master server : nbucoreb.my.company.com
Would you like to use "testussm01" as the configured
name of the NetBackup client? [y,n] (y) n
Enter the name of this NetBackup client : testussm01.mycompany.com
Client binaries are located in /var/strg/NetBackup_7.6.0.1_CLIENTS1/NBClients/anb/Clients/usr/openv/netbackup/client/Solaris/Solaris10.
Saving client binaries for Solaris/Solaris10.
Installing PBX...
Same version is already installed. Nothing to upgrade for package VRTSpbx
Installation log located here: /var/tmp/installpbx-14906-050115141400.log
Unpacking SYMCnbclt package.
Checking for pre-existing SYMCnbclt package.
Installing SYMCnbclt package.
./cp_to_client: pkgadd: not found
ERROR: Failed to install SYMCnbclt on testussm01.
Cannot complete the install.
Aborting...
========== Unpacking package ==========
x SYMCnbclt.pkg, 509976064 bytes, 996047 tape blocks
x .pkg_defaults, 160 bytes, 1 tape blocks
== Checking for pre-existing package ==
package SYMCnbclt is not installed
========= Installing package ==========
ERROR: A failure was detected running
/var/strg/NetBackup_7.6.0.1_CLIENTS1/NBClients/anb/Clients/usr/openv/net
backup/client/Solaris/Solaris10/cp_to_client nbucoreb.my.company.com testussm01
.mycompany.com /tmp/install_trace.14661
File /usr/openv/tmp/install_trace.14661 contains a trace of this install.
That file can be deleted after you are sure the install was successful.
This is the install_trace
$ more install_trace.9946
Symantec Installation Script
Copyright 1993 - 2013 Symantec Corporation, All Rights Reserved.
Installing NetBackup Client 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.
Do you wish to continue? [y,n] (y) y
Running preinstall checker...
ok nb_7601_hotfix_auditor: No potential for regression of hotfixes or EEBs was detected.
Do you want to install the NetBackup client software for this client? [y,n] (y) y
This package will install Solaris/Solaris10 client.
This package will install NetBackup client 7.6.0.1.
Enter the name of the NetBackup master server : nbucoreb.my.company.com
Would you like to use "testussm01" as the configured
name of the NetBackup client? [y,n] (y) n
Enter the name of this NetBackup client : testussm01.mycompany.com
Client binaries are located in /dev/strg/NetBackup_7.6.0.1_CLIENTS1/NBClients/anb/Clients/usr/openv/netbackup/client/Solaris/Solaris10.
Saving client binaries for Solaris/Solaris10.
Installing PBX...
Same version is already installed. Nothing to upgrade for package VRTSpbx
Installation log located here: /var/tmp/installpbx-10209-042815181429.log
Unpacking SYMCnbclt package.
Checking for pre-existing SYMCnbclt package.
Installing SYMCnbclt package.
./cp_to_client: pkgadd: not found
ERROR: Failed to install SYMCnbclt on testussm01.
Cannot complete the install.
Aborting...
========== Unpacking package ==========
x SYMCnbclt.pkg, 509976064 bytes, 996047 tape blocks
x .pkg_defaults, 160 bytes, 1 tape blocks
== Checking for pre-existing package ==
package SYMCnbclt is not installed
========= Installing package ==========
ERROR: A failure was detected running
/dev/strg/NetBackup_7.6.0.1_CLIENTS1/NBClients/anb/Clients/usr/openv/net
backup/client/Solaris/Solaris10/cp_to_client nbucoreb.my.company.com testussm01
.my.company.com /tmp/install_trace.9946
_____________________------------------------------------
Here is the client server info
$ uname -a
SunOS tesussm01 5.10 Generic_147440-01 sun4v sparc sun4v
$ uname
SunOS
$ uname -r
5.10
$ df -h
Filesystem size used avail capacity Mounted on
rpool/ROOT/s10s_u10wos_17b
133G 6.7G 68G 9% /
/devices 0K 0K 0K 0% /devices
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
swap 14G 1.9M 14G 1% /etc/svc/volatile
objfs 0K 0K 0K 0% /system/object
sharefs 0K 0K 0K 0% /etc/dfs/sharetab
fd 0K 0K 0K 0% /dev/fd
rpool/ROOT/s10s_u10wos_17b/var
133G 38G 68G 37% /var
swap 14G 688K 14G 1% /tmp
swap 14G 80K 14G 1% /var/run
rpool/export 133G 32K 68G 1% /export
rpool/export/home 133G 2.5G 68G 4% /export/home
rpool 133G 106K 68G 1% /rpool
$ /usr/local/bin/sudo ls -ld /var
drwxr-xr-x 51 root sys 52 May 1 13:55 /var
$ /usr/local/bin/sudo df -h /var
Filesystem size used avail capacity Mounted on
rpool/ROOT/s10s_u10wos_17b/var
133G 38G 68G 37% /var
I tried the following command also same results
/usr/sfw/bin/gtar -xvf <NBU.TAR> to extract the tar file...
$ /usr/local/bin/sudo chmod +x SolarisSPARCtar
$ ls
NetBackup-Client-7.6.0.1-Solaris.tar.gz
SolarisSPARCtar
sun_exclude
$ /usr/local/bin/sudo gunzip NetBackup-Client-7.6.0.1-Solaris.tar.gz
$ ls
NetBackup-Client-7.6.0.1-Solaris.tar sun_exclude
SolarisSPARCtar
$ /usr/local/bin/sudo /usr/sfw/bin/gtar -xvf NetBackup-Client-7.6.0.1-Solaris.tar r
./NetBackup_7.6.0.1_CLIENTS1/
./NetBackup_7.6.0.1_CLIENTS1/install
./NetBackup_7.6.0.1_CLIENTS1/VSM_README
./NetBackup_7.6.0.1_CLIENTS1/Doc/
$ ls
NetBackup_7.6.0.1_CLIENTS1 NetBackup-Client-7.6.0.1-Solaris.tar SolarisSPARCtar sun_exclude
$ cd NetBackup_7.6.0.1_CLIENTS1
$ ls
Doc install LICENSE NBClients VSM_README
$ /usr/local/bin/sudo ./install
Symantec Installation Script
Copyright 1993 - 2013 Symantec Corporation, All Rights Reserved.
Installing NetBackup Client 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.
Do you wish to continue? [y,n] (y) y
Running preinstall checker...
ok nb_7601_hotfix_auditor: No potential for regression of hotfixes or EEBs was detected.
Do you want to install the NetBackup client software for this client? [y,n] (y) y
This package will install Solaris/Solaris10 client.
This package will install NetBackup client 7.6.0.1.
Enter the name of the NetBackup master server : nbucoreb.my.company.com
Would you like to use "testuiiam01" as the configured
name of the NetBackup client? [y,n] (y) n
Enter the name of this NetBackup client : testussm01.my.company.com
Client binaries are located in /var/strg/NetBackup_7.6.0.1_CLIENTS1/NBClients/anb/Clients/usr/openv/netbackup/client/Solaris/Solaris10.
Saving client binaries for Solaris/Solaris10.
Installing PBX...
Same version is already installed. Nothing to upgrade for package VRTSpbx
Installation log located here: /var/tmp/installpbx-19260-050115150653.log
Unpacking SYMCnbclt package.
Checking for pre-existing SYMCnbclt package.
Installing SYMCnbclt package.
./cp_to_client: pkgadd: not found
ERROR: Failed to install SYMCnbclt on testuiiam01.
Cannot complete the install.
Aborting...
========== Unpacking package ==========
x SYMCnbclt.pkg, 509976064 bytes, 996047 tape blocks
x .pkg_defaults, 160 bytes, 1 tape blocks
== Checking for pre-existing package ==
package SYMCnbclt is not installed
========= Installing package ==========
ERROR: A failure was detected running
/var/strg/NetBackup_7.6.0.1_CLIENTS1/NBClients/anb/Clients/usr/openv/net
backup/client/Solaris/Solaris10/cp_to_client nbucore2.oit.state.nj.us testuiiam01
.dol.state.nj.us /tmp/install_trace.18906
File /usr/openv/tmp/install_trace.18906 contains a trace of this install.
That file can be deleted after you are sure the install was successful.
Solved! Go to Solution.
05-13-2015 07:31 AM
Thanks, Jamie, Marianne and Jim for your responses.
The sys admin is looking in our sudo rights again. they initially said that we had sudo rights and we did at one point because I have done a coulple of other solaris installs and they worked however that was a while ago.
Jim, yes that is true, it was better when there was a simpler way to sudo such as sudo su -
For some reason they changed it to /usr/local/bin/sudo and that has to be put before every command.
I will update again soon.
Regards
05-13-2015 07:43 AM
... they changed it to /usr/local/bin/sudo and that has to be put before every command.
That is exactly where the problem is.
The NBU install script calls various other commands that need root access.
05-03-2015 08:55 PM
05-04-2015 08:17 AM
Hi Marianne,
Thanks for your reply, The solaris system admins for this (and other solaris systems they administer) setup root access using this type of command >> /usr/local/bin/sudo we have to use it every time.
example below
/usr/local/bin/sudo ./install
even when root it doesn't show the #
Best Regards
05-04-2015 08:26 AM
05-05-2015 07:21 AM
To determine access to the 'pkadd' command, try this:
/usr/local/bin/sudo which pkgadd
During the install process, the file is either not present on the server, not found in the working path variable, or the user does not have execute permission for the file. On a Solaris 10 sparc server I have access to, I get this:
% which pkgadd
/usr/sbin/pkgadd
% ls -l /usr/sbin/pkgadd
-r-xr-xr-x 2 root sys 241092 Aug 25 2009 /usr/sbin/pkgadd
Note that I was not root when I ran the commands. It may be that in your working environment, modifications were made to secure some commands and/or processes.
To help verify presence of the pkgadd command while running the install script, I would try out this. The "install" file used for this is just a shell script. Temporarily modify the script and find a good place to add these lines:
echo "---------------------------------"
echo "Verifying presence of the pkgadd command on server."
echo "The shell's PATH variable setting is:"
echo $PATH
echo " "
which pkgadd
echo "---------------------------------"
sleep 5
Where to add these lines is up to you but I would make it fairly early in the install process so as to not waste time if you are going to get a failure farther downstream anyway. Remember to remove this modification when diagnostic work is completed.
05-09-2015 04:23 PM
Thanks Marianne, Jaime,
Looks like you are correct the pkgadd is not on the server. I am not sure why? i am going to try a different client package.
$ /usr/local/bin/sudo /usr/sbin/pkgadd
pkgadd: ERROR: no packages were found in </var/spool/pkg>
$
Thanks again for your replies i will update soon.
05-09-2015 10:54 PM
05-10-2015 08:23 PM
I am not sure youi understood the instructions sent.
The command you used " /usr/local/bin/sudo /usr/sbin/pkgadd" invoked the pkgadd command with no options. The output you saw was not an error for pkgadd, but rather created by pkgadd.
In my last posting I showed a mall code snipprt tht yo could use in the 'install' script itself to see if the running shell it is working under has visibility to the packadd command.
You might also try:
/usr/local/bin/sudo which /usr/sbin/pkgadd
But the more reliable method, as noted already, is to actually change to a root authority id and execute the install script that way.
05-13-2015 03:31 AM
You can spend (waste) a lot of time chasing down rights for doing installs, so I guess if you want to do it all using sudo thats your choice and you can chase it down (and again when it changes in later releases), otherwise I'm with MvdB, it is a couple of minutes effort.JIm.
05-13-2015 07:31 AM
Thanks, Jamie, Marianne and Jim for your responses.
The sys admin is looking in our sudo rights again. they initially said that we had sudo rights and we did at one point because I have done a coulple of other solaris installs and they worked however that was a while ago.
Jim, yes that is true, it was better when there was a simpler way to sudo such as sudo su -
For some reason they changed it to /usr/local/bin/sudo and that has to be put before every command.
I will update again soon.
Regards
05-13-2015 07:43 AM
... they changed it to /usr/local/bin/sudo and that has to be put before every command.
That is exactly where the problem is.
The NBU install script calls various other commands that need root access.