- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: problem when installing on alternate root usin...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2005 09:52 PM
10-20-2005 09:52 PM
problem when installing on alternate root using swinstall
I am having swinstall problems when i am trying to install my self made package at alternate location other than root.
The details of the error as it comes in swagent.log file is given below. The package get's installed properly if i use the default root directory as target.
Basically,
If you see the swagent.log file which i had sent to you, there you can see that the analyasis phase succeeds. Than it carries out the initial install step, where it estimates the disk space, goes to my control script to and set's the SET_ROOT_DIRECTORY to /temp. Than it also loads the entire software to 100%. The problem occurs when it executes install clean, which uses /usr/lbin/install_clean. This script
exits when the SW_ROOT_DIRECTORY is not equal to shared or private root ( the old days of NFS Diskless machines ) by giving the warnings in transitional links. The main problem is later it does not go ahead with configure step
I AM WONDERING IT SHOULD ALLOW me to do because i am using GUE method of swinstall.
Also let me know if we want to do installation at alternate target say /temp do we need to generate response file for alternate target ( /temp )
swask -s /var/tmp.depot Product @ /temp
or will it do if swask is created for /.
Any thoughts ...
Details of swagent.log file
-----------------------------------------------
* Reading source for file information.
NOTE: SW_ROOT_DIRECTORY is set to /temp
NOTE: Location of alternate root /temp
* Executing preDSA command.
NOTE: The used disk space on filesystem "/temp" is estimated to
increase by 165708 Kbytes.
This will leave 21724587 Kbytes of available user disk space
after the installation.
* Summary of Analysis Phase:
* 1 of 1 filesets had no Errors or Warnings.
* The Analysis Phase succeeded.
* Beginning the Install Execution Phase.
* Filesets: 1
* Files: 3048
* Kbytes: 157186
* Installing fileset "PatrolAgent.Patrol-RUN,r=1.0_A0" (1 of 1).
* Running install clean command /usr/lbin/sw/install_clean.
WARNING: Transition links are not created for the filesets installed
at the target. After booting up from the system using
the alternate root at the target, run tlinstall command to
create transition links.
WARNING: The command "/usr/lbin/sw/install_clean" had warnings. The
installation will continue. Check the above output for
details about the warnings.
* Building the software file "/temp/var/adm/sw/needs_config" to
be used for post-reboot "swconfig" execution. The information
in this file will be used as input to "swconfig" after the
system reboots.
* Summary of Execution Phase:
* 1 of 1 filesets had no Errors or Warnings.
WARNING: The Execution Phase had warnings. See the above output for
details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2005 10:00 PM
10-20-2005 10:00 PM
Re: problem when installing on alternate root using swinstall
# swinstall -s
Example:
Install an incompatible version of HP Omniback into the directory
/exports:
swinstall -x allow_incompatible=true -s/products Omniback,a=arch \
@ /exports
Refer: man 5 sd for "Alternate Root Directory and Depot Directory"
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2005 10:24 PM
10-20-2005 10:24 PM
Re: problem when installing on alternate root using swinstall
I am giving the same command when installing from the command line.
And it fails with the errors.
Also it fails when i exclusively use swintall GUE. It leaves me wondering because through GUE it should be able to take care of SW_ROOT_DIRECTORY stuff automatically ...
My software package is not incomaptible because it gets installed properly when target installation directory is /.
With warm regards,
Vijay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2005 10:29 PM
10-20-2005 10:29 PM
Re: problem when installing on alternate root using swinstall
# swinstall -x enforce_locatable=false -s
See man 5 sd
enforce_locatable=true
When set to the default value of true, this option
generates an error if a command tries to relocate a
non-relocatable fileset. (Relocatable filesets are
packaged with the is_relocatable attribute set to
true). When set to false, the usual error handling
process is overridden, and SD permits the command to
relocate the fileset.
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2005 10:31 PM
10-20-2005 10:31 PM
Re: problem when installing on alternate root using swinstall
http://docs.hp.com/en/B2355-90789/ch11s04.html
[Software Distributor Administration Guide for HP-UX 11i v2 > Chapter 11. Using Control Scripts -->Using Environment Variables ]
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2005 11:07 PM
10-20-2005 11:07 PM
Re: problem when installing on alternate root using swinstall
I tried the option, but unfortunately it gives the same error.
With regards,
Vijay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2005 11:09 PM
10-20-2005 11:09 PM
Re: problem when installing on alternate root using swinstall
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2005 11:09 PM
10-20-2005 11:09 PM
Re: problem when installing on alternate root using swinstall
Just paste your try.
# swinstall -x enforce_locatable=false -s
what you are getting with this.
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2005 11:19 PM
10-20-2005 11:19 PM
Re: problem when installing on alternate root using swinstall
# mv /etc/mnttab /etc/mnttab.old
# sleep 5
# bdf
It will be generated or reboot machine.
Refer this:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=190662
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2005 11:20 PM
10-20-2005 11:20 PM
Re: problem when installing on alternate root using swinstall
--------------------------------------------
# swinstall -x enforce_locatable=false -s /var/PA.depot Product @ /temp
======= 10/21/05 19:03:59 SST BEGIN swinstall SESSION
(non-interactive) (jobid=hptest01-0241)
* Session started for user "root@hptest01".
* Beginning Selection
* "hptest01:/temp": This target does not exist and will be
created.
* Source connection succeeded for "hptest01:/var/PA.depot".
* Source: /var/PA.depot
* Targets: hptest01:/temp
* Software selections:
PatrolAgent.Patrol-RUN,r=1.0_A0,a=HP-UX_B.1X.XX_32/64
* Selection succeeded.
* Beginning Analysis and Execution
* Session selections have been saved in the file
"/.sw/sessions/swinstall.last".
* The analysis phase succeeded for "hptest01:/temp".
WARNING: "hptest01:/temp": 1 postinstall or postremove scripts had
warnings.
* Analysis and Execution succeeded.
NOTE: More information may be found in the agent logfile using the
command "swjob -a log hptest01-0241 @ hptest01:/temp".
======= 10/21/05 19:04:14 SST END swinstall SESSION (non-interactive)
(jobid=hptest01-0241)
# swjob -a log hptest01-0241 @ hptest01:/temp
======= 10/21/05 19:03:59 SST BEGIN install AGENT SESSION (pid=28857)
(jobid=hptest01-0241)
* Agent session started for user "root@hptest01". (pid=28857)
* Beginning Analysis Phase.
* Source: hptest01:/var/PA.depot
* Target: hptest01:/temp
* Target logfile: hptest01:/temp/var/adm/sw/swagent.log
* Reading source for product information.
* Reading source for file information.
NOTE: SW_ROOT_DIRECTORY is set to /temp
NOTE: Location of alternate root /temp
* Executing preDSA command.
NOTE: The used disk space on filesystem "/temp" is estimated to
increase by 165704 Kbytes.
This will leave 21737963 Kbytes of available user disk space
after the installation.
* Summary of Analysis Phase:
* 1 of 1 filesets had no Errors or Warnings.
* The Analysis Phase succeeded.
* Beginning the Install Execution Phase.
* Filesets: 1
* Files: 3048
* Kbytes: 157186
* Installing fileset "PatrolAgent.Patrol-RUN,r=1.0_A0" (1 of 1).
* Running install clean command /usr/lbin/sw/install_clean.
WARNING: Transition links are not created for the filesets installed
at the target. After booting up from the system using
the alternate root at the target, run tlinstall command to
create transition links.
WARNING: The command "/usr/lbin/sw/install_clean" had warnings. The
installation will continue. Check the above output for
details about the warnings.
* Building the software file "/temp/var/adm/sw/needs_config" to
be used for post-reboot "swconfig" execution. The information
in this file will be used as input to "swconfig" after the
system reboots.
* Summary of Execution Phase:
* 1 of 1 filesets had no Errors or Warnings.
WARNING: The Execution Phase had warnings. See the above output for
details.
======= 10/21/05 19:04:14 SST END install AGENT SESSION (pid=28857)
(jobid=hptest01-0241)
I have included in my .psf file is_locatable value to be true, but i have not done at fileset level, but with this option it should work i suppose
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2005 11:22 PM
10-20-2005 11:22 PM
Re: problem when installing on alternate root using swinstall
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2005 11:28 PM
10-20-2005 11:28 PM
Re: problem when installing on alternate root using swinstall
# tlinstall -r /temp
may resolve your problem.
see man tlinstall page fully.
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2005 11:30 PM
10-20-2005 11:30 PM
Re: problem when installing on alternate root using swinstall
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2005 11:32 PM
10-20-2005 11:32 PM
Re: problem when installing on alternate root using swinstall
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2005 11:35 PM
10-20-2005 11:35 PM
Re: problem when installing on alternate root using swinstall
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2005 11:37 PM
10-20-2005 11:37 PM
Re: problem when installing on alternate root using swinstall
what it is saying?
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2005 11:40 PM
10-20-2005 11:40 PM
Re: problem when installing on alternate root using swinstall
you may be right, if everything fails than i will rewrite the entire application package.
Muthu,
# tlinstall -l
NOTE: tlinstall is searching filesystem - please be patient
NOTE: Successfully completed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2005 11:41 PM
10-20-2005 11:41 PM
Re: problem when installing on alternate root using swinstall
To list all transition links on the system that have been accessed
within the last 5 minutes:
# tllist -t 5
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2005 11:42 PM
10-20-2005 11:42 PM
Re: problem when installing on alternate root using swinstall
hv a good week-end. Assign 0 points.
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2005 11:43 PM
10-20-2005 11:43 PM
Re: problem when installing on alternate root using swinstall
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2005 12:07 AM
10-21-2005 12:07 AM
Re: problem when installing on alternate root using swinstall
this may help. I dont have time right now to look this document..
-Arun