Operating System - HP-UX
1752802 Members
5459 Online
108789 Solutions
New Discussion юеВ

Re: How to install a software using swinstall

 
SOLVED
Go to solution
James R. Ferguson
Acclaimed Contributor

Re: How to install a software using swinstall

Hi :

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...
Bijeesh
Respected Contributor

Re: How to install a software using swinstall

Hi
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
Torsten.
Acclaimed Contributor

Re: How to install a software using swinstall

I don't want to repeat the same swinstall blabla line a hundred time, but how about some RTFM?

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!   
Ganesan R
Honored Contributor

Re: How to install a software using swinstall

Hi,

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...
Best wishes,

Ganesh.
senthil_kumar_1
Super Advisor

Re: How to install a software using swinstall

Hi

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.
Pete Randall
Outstanding Contributor

Re: How to install a software using swinstall

> ERROR: "lndsll03:/": One or more filesystems that appear in the filesystem table are not mounted and cannot be mounted.

You need to go into the swinstall options and turn off the "mount all file systems" option.


Pete

Pete
Robert-Jan Goossens
Honored Contributor

Re: How to install a software using swinstall

Hi,

Permission problem?

# mv /homeroot/cfg2html_hpux_3.66-20080709.depot /tmp
# swinstall -s /tmp/cfg2html_hpux_3.66-20080709.depot CFG2HTML

Regards,
Robert-Jan
James R. Ferguson
Acclaimed Contributor
Solution

Re: How to install a software using swinstall

Hi:

> 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...

Pete Randall
Outstanding Contributor

Re: How to install a software using swinstall

As James points out, reading the documentation and man pages would be a tremendous help, but, at the very least, try reading the error message.


Pete

Pete
senthil_kumar_1
Super Advisor

Re: How to install a software using swinstall

Hi

I have installed the software using this command

# swinstall -x mount_all_filesystems=false -s ...