- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to install a software using swinstall
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
Discussions
Discussions
Discussions
Forums
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
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
тАО04-09-2009 03:36 AM
тАО04-09-2009 03:36 AM
I am new to HP-UX.
I want to install the file "cfg.depot".
what is the syntax.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2009 03:39 AM
тАО04-09-2009 03:39 AM
Re: How to install a software using swinstall
swinstall -s /tmp/cfg.depot
is enough to get the job done.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2009 03:48 AM
тАО04-09-2009 03:48 AM
Re: How to install a software using swinstall
Use swinstall command to install the softwars.
#swinstall -s
#swinstall -s /dir/cfg.depot
Only preview mode not to install..
#swinstall -p -s /dir/cfg.depot
To list the software available on the depot file.
#swlist -d @/dir/cfg.depot
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2009 03:52 AM
тАО04-09-2009 03:52 AM
Re: How to install a software using swinstall
#swinstall -s
You can also use swinstall in interactive mode.
#swinstall
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2009 03:55 AM
тАО04-09-2009 03:55 AM
Re: How to install a software using swinstall
To install depot files in HP/UX:
# swinstall -s /path/software.depot
Eg. # swinstall -s /tmp/samba.depot
Check the Man pages for swinstall
http://www.docs.hp.com/en/B2355-90692/swinstall.1M.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2009 04:04 AM
тАО04-09-2009 04:04 AM
Re: How to install a software using swinstall
As mentioned in above threads you can use the command:
# swinstall -s
For UI or command illustrations kindly check the below useful link "Installation with swinstall":
http://docstore.mik.ua/manuals/hp-ux/en/5992-4826/ch02s01.html
Hope this helps.
Regds,
R.K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2009 04:42 AM
тАО04-09-2009 04:42 AM
Re: How to install a software using swinstall
I am getting this error message
How to solve this.
lndsll03:/homeroot->swinstall -s /homeroot/cfg2html_hpux_3.66-20080709.depot
NOTE: The interactive UI was invoked, since no software was
specified.
Starting the terminal version of swinstall...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2009 04:58 AM
тАО04-09-2009 04:58 AM
Re: How to install a software using swinstall
If you know, for example, that your depot is /tmp/OpenSSL_A.00.09.07m.047_HP-UX_B.11.23_IA_PA.depot, and the software inside the depot is OpenSSL, you could specify your swinstall command such as:
swinstall -s /tmp/OpenSSL_A.00.09.07m.047_HP-UX_B.11.23_IA_PA.depot OpenSSL
swinstall then will become non-interactive and install exactly what you specified.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2009 05:03 AM
тАО04-09-2009 05:03 AM
Re: How to install a software using swinstall
swinstall -x auto-reboot=true -s /tmp/cfg.depot
to install non-interactively, though I've never looked into why it works!
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2009 05:03 AM
тАО04-09-2009 05:03 AM
Re: How to install a software using swinstall
This is NOT a error message.
Since you have not selected source and destination paths, so a TUI will be invoked wherein you will be asked to select softwares/fill blanks.
Wait for sometime and you will get the UI.
To start an install session via the command line, you must assemble any options (if needed), host and source names, and software selections into a command string. For example:
# swinstall -p -s softsource -f softlist @ myhost:/mydirectory
Regds,
R.K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2009 05:05 AM
тАО04-09-2009 05:05 AM
Re: How to install a software using swinstall
As noted, you will get an interactive SD session whenever you don't specify software to be installed.
For example, if a depot contained OpenSSL and you wanted to install that, you would do:
# swinstall -s /tmp/swdepot OpenSSL
If the depot contained multiple software elements then you could do:
# swinstall -s /tmp/swdepot \*
In this case, installation of everything would be attempted since the asterisk means "all". Note that you _MUST_ escape the asterisk character so that your shell does not interpret it and expand it into the filenames in your current directory.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2009 05:18 AM
тАО04-09-2009 05:18 AM
Re: How to install a software using swinstall
first you check for the s/w on the depot.
#swlist -d @/dir/cfg.depot
Or issue this command
lndsll03:/homeroot->swinstall -s /homeroot/cfg2html_hpux_3.66-20080709.depot cfg.depot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2009 05:24 AM
тАО04-09-2009 05:24 AM
Re: How to install a software using swinstall
http://docs.hp.com/en/SD/infolib.html
Find out what all you can do with SD!
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2009 05:34 AM
тАО04-09-2009 05:34 AM
Re: How to install a software using swinstall
As said by others, it is not an error message rather this is the way swinstall is designed to work.
If specified depot has multiple softwares, you need to specify which software you want to install from that depot.
Example:
#swinstall -s
If you haven't specified, swinstall suppose to ask which software you intend to install. For that reason it is opening the interactive session.
First find out the softwares available in that depot using this command.
#swlist -d @
Once you know the software inside the depot use this command,
#swinstall -s
Hope this hels...
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2009 06:01 AM
тАО04-09-2009 06:01 AM
Re: How to install a software using swinstall
I following commands but still i am not succeeded.
1) lndsll03:/homeroot->swlist -d @/homeroot/cfg2html_hpux_3.66-20080709.depot
# Initializing...
# Contacting target "lndsll03"...
#
# Target: lndsll03:/homeroot/cfg2html_hpux_3.66-20080709.depot
#
#
# Bundle(s):
#
CFG2HTML C.03.66.20080709 Config To HTML System Documentation Tool (cfg2html)
2) lndsll03:/homeroot->swinstall -s /homeroot/cfg2html_hpux_3.66-20080709.depot cfg2html
======= 04/09/09 09:58:42 EDT BEGIN swinstall SESSION
(non-interactive) (jobid=lndsll03-0074)
* Session started for user "root@lndsll03".
* Beginning Selection
* Target connection succeeded for "lndsll03:/".
* Source:
/homeroot/cfg2html_hpux_3.66-20080709.depot
* Targets: lndsll03:/
* Software selections:
cfg2html.cfg2html,r=C.03.66.20080709,a=HP-UX,v=HP
* Selection succeeded.
* Beginning Analysis and Execution
* Session selections have been saved in the file
"/homeroot/.sw/sessions/swinstall.last".
ERROR: "lndsll03:/": One or more filesystems that appear in the
filesystem table are not mounted and cannot be mounted.
* The analysis phase failed for "lndsll03:/".
* Analysis and Execution had errors.
NOTE: More information may be found in the agent logfile using the
command "swjob -a log lndsll03-0074 @ lndsll03:/".
======= 04/09/09 09:58:45 EDT END swinstall SESSION (non-interactive)
(jobid=lndsll03-0074)
pls help me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2009 06:05 AM
тАО04-09-2009 06:05 AM
Re: How to install a software using swinstall
You need to go into the swinstall options and turn off the "mount all file systems" option.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2009 06:06 AM
тАО04-09-2009 06:06 AM
Re: How to install a software using swinstall
Permission problem?
# mv /homeroot/cfg2html_hpux_3.66-20080709.depot /tmp
# swinstall -s /tmp/cfg2html_hpux_3.66-20080709.depot CFG2HTML
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2009 06:08 AM
тАО04-09-2009 06:08 AM
Solution> ERROR: "lndsll03:/": One or more filesystems that appear in the
filesystem table are not mounted and cannot be mounted.
I urge you to read some of the documentaion links that have been suggested --- the manpages for 'swinstall' too.
Either mount all of your server's file systems and re-run your 'swinstall' or add the '-x mount_all_filesystems=false' option to your 'swinstall' command:
# swinstall -x mount_all_filesystems=false -s
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2009 06:13 AM
тАО04-09-2009 06:13 AM
Re: How to install a software using swinstall
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2009 07:06 AM
тАО04-09-2009 07:06 AM
Re: How to install a software using swinstall
I have installed the software using this command
# swinstall -x mount_all_filesystems=false -s
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2009 07:28 AM
тАО04-09-2009 07:28 AM
Re: How to install a software using swinstall
You can however make swinstall/swremove/swverify/... be way more reasonable when you set that as default
# cd /var/adm/sw
# cat defaults
# File: /var/adm/sw/defaults
#
# Purpose: HP OpenView Software Distributor system-wide default options
#
# Header: $Header: defaults,v 5.1 95/03/04 05:05:07 hmgr Exp $
#
# Description: This file contains the customized, system-wide default
# options and behaviors for the HP OpenView Software
# Distributor (SD) commands.
#
# The file /usr/lib/sw/sys.defaults contains a complete list
# of current SD options (with their default values).
swinstall.mount_all_filesystems = false
swinstall.source_directory = /cdrom
swinstall.source_cdrom = /cdrom
swinstall.verbose = 0
swinstall.patch_save_files = false
#swmodify.patch_commit = true
swremove.mount_all_filesystems = false
swremove.verbose = 0
swremove.software_view = products
swconfig.mount_all_filesystems = false
#
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2009 08:05 PM
тАО04-09-2009 08:05 PM
Re: How to install a software using swinstall
>#swlist -d @/dir/cfg.depot
I would suggest you not fall into the SD trap of having N ways to do things. You should only use:
swlist -s /dir/cfg.depot
This way your swlist looks like your swinstall.