Operating System - HP-UX
1847203 Members
3563 Online
110263 Solutions
New Discussion

a problem about swinstall

 
SOLVED
Go to solution
Ryan Gu
Frequent Advisor

a problem about swinstall

ENV: HP-UX v11.00 L1000
Desc: a software depot in /tmp/depot

When I use swlist,it display these:
hostA# swlist -s /tmp/depot
# Initializing...
# Contacting target "hostA"...
#
# Target: hostA:/tmp/depot
#

#
# Bundle(s):
#

SNMPAgntHP11man B.11.01.00 Emanate SNMP simple Agent Man Pages
SNMPAgntHPUX11x B.11.01.00 Emanate SNMP Agent

But when I use swinstall,it seems not work correctly.
l === SD Install - Target Selection (hostA) (1) k
xFile View Options Actions Help x
x Press CTRL-K for keyboard help. x
xHighlight targets on which to install software. x
xThen choose the 'Mark For Install' item in the Actions menu. x
xqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqx
xTargets 0 of 1 selectedx
xqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqx
x Marked? Hostname Type Path Hardware Operating System x
xlqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk x
xx hostA Root ^

What's the reason?How could I resolve this problem?
Ryan Gu
10 REPLIES 10
Norman_21
Honored Contributor

Re: a problem about swinstall

Hello,

Are you trying to install,

Here is how to select the bundle with the swinstall:

swinstall -s \*

I hope I understood your question.

Good luck.
"Attitudes are contagious, is yours worth catching"/ My first point was given by SEP on January 31, 2003
Ravi_8
Honored Contributor

Re: a problem about swinstall

Hi

#swinstall -s /tmp/depot
is the command to install.

can you post the error if any.
never give up
T G Manikandan
Honored Contributor

Re: a problem about swinstall

check /var/adm/sw/swagentd.log file for any problems with the swinstall session


Gopa
New Member

Re: a problem about swinstall

hi,

It looks like your system is not resolving the hostname properly hence it is asking for the target.

Check for hostname,resolv.conf ,/etc/hosts


regds
GK
Balaji N
Honored Contributor

Re: a problem about swinstall

hi,
what is the exact error you are getting. could you please be a bit more specific.

is the swinstall window appearing properly. or is that the problem. is your display set.
-(a confused)balaji
Its Always Important To Know, What People Think Of You. Then, Of Course, You Surprise Them By Giving More.
Ryan Gu
Frequent Advisor

Re: a problem about swinstall

/var/adm/sw/swinstall.log shows that:
======= 03/19/03 13:56:42 EAT BEGIN swinstall SESSION (interactive)
(jobid=gs6-0045)

NOTE: The interactive UI was invoked, since no software was
specified.

* Session started for user "root@gs6".

* Beginning Selection

======= 03/19/03 13:56:47 EAT END swinstall SESSION (interactive)
(jobid=gs6-0045)

I found another way to use it.And it seems work well but the interactive UI will not come out.
The first article I paste include the screen of swinstall UI.It only show the target selection UI but not interactive UI.

Another thing,syslog say that "sendmail[16200]: unable to qualify my own domain name (hostA) -- using short name"
Ryan Gu
Ryan Gu
Frequent Advisor

Re: a problem about swinstall

I have no nsswitch.conf file.And my hosts file has no wrong enteries.
Ryan Gu
SGUX
Valued Contributor
Solution

Re: a problem about swinstall

Jason,

to solve the message about sendmail in the syslog place an alias at the line where your localhostname is with the "localhostname." (the dot is the important part here) in /etc/hosts like;
IP hostname hostname.

After this the message should not appear in the syslog anymore
Norman_21
Honored Contributor

Re: a problem about swinstall

Hello again,

In regard of your swinstall issue. If you issued the following command to avoid the interactive mode.
#swinstall -s \*

Or when you go to the interactive mode you should select the software by hiting the space bar to highlight the bundle you want to install :
#swinstall -s
then click on Space Bar to highlight the bundle, then
Actions Menu>Install

It sould work.
Good luck.
"Attitudes are contagious, is yours worth catching"/ My first point was given by SEP on January 31, 2003
Ryan Gu
Frequent Advisor

Re: a problem about swinstall

Thanks all.
Ryan Gu