1847590 Members
4051 Online
110265 Solutions
New Discussion

Re: swinstall

 
SOLVED
Go to solution
trystan macdonald
Occasional Advisor

swinstall

I am trying to upgrade a standalone HP-UX 11.0 machine to HP-UX 11i with hostname "labtest1".

Firstly, following the procedures from the HP-UX 11i installation and update guide, I have mounted the CD under /cdrom, inserted the HP-UX 11i CD 1 and entered the following command:

swinstall -s /cdrom SW-DIST.SD-UPDATE \@ /var/adm/sw/update-ux.root 2> /dev/null

I now get an error message:

ERROR: could not contact host "labtest1". Make sure hostname is correct.

Can anyone help?

Thanks in advance,
Trystan
8 REPLIES 8
harry d brown jr
Honored Contributor
Solution

Re: swinstall

You need to have swagentd running.

Before you begin, PLEASE make TWO make_tape_recovery tapes!!


BTW, you really aren't going to UPGRADE from 11.00 to 11i are you? It's really not recommended.

A cold install of 11i is really the safest thing to do.

live free or die
harry
Live Free or Die
trystan macdonald
Occasional Advisor

Re: swinstall

I have /usr/sbin/swagentd -r running but I still get the same error as before:
could not contact host "labtest1". Make sure hostname is correct.


Mateja Bezjak
Respected Contributor

Re: swinstall

Hi Trystan,

What is the nslookup output? Make sure it contains also the domain name.

Regards,
Mateja
Trond Haugen
Honored Contributor

Re: swinstall

Also try a nslookup of the IPaddress that 'nslookup labtest1' returns.
You may also want to ry restarting swagentd (swagentd -r).

Regards,
Trond
Regards,
Trond Haugen
LinkedIn
trystan macdonald
Occasional Advisor

Re: swinstall

have tried nslookup - nothing, however this machine is not on a network at the moment
Mateja Bezjak
Respected Contributor

Re: swinstall

Hi again,

This might be the problem. For SD to function properly, the machine has to be on the network. SD is built that way that it depends on DNS.

Regards,
Mateja
Trond Haugen
Honored Contributor

Re: swinstall

If not on a network you could edit /etc/hosts to have "labtest1" as an ailias to IPaddress 127.0.0.1.

Regards,
Trond
Regards,
Trond Haugen
LinkedIn
Martin Johnson
Honored Contributor

Re: swinstall

Put an entry for labtest1 into /etc/hosts and make sure /etc/nsswitch.conf is set up to use files.

hosts: files [NOTFOUND=continue] dns

HTH
Marty