Operating System - HP-UX
1752812 Members
6458 Online
108789 Solutions
New Discussion юеВ

Re: swinstall cannot connect to host..

 
SOLVED
Go to solution
H_16
Trusted Contributor

swinstall cannot connect to host..


I have install HPUX 11.23 the server is not on the network but I did specify a hostname during the installation

I have
127.0.0.1 localhost loopback
in my host file

but it is looking for the hostname I gave to the server on installation.

Is there a quick way round this issue so its not looking at the hostname??

Thanks
8 REPLIES 8
Torsten.
Acclaimed Contributor

Re: swinstall cannot connect to host..

The better solution is to configure the hostname into the hosts file and check if the name resolution is working.

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!   
H_16
Trusted Contributor

Re: swinstall cannot connect to host..

so what IP address to I put for my hostname?
Torsten.
Acclaimed Contributor

Re: swinstall cannot connect to host..

Did you already configure one?

If not, you should use

# set_parms initial

to configure your server.

Because all sw tools are client/server, they (normally) need the network, even locally.

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!   
H_16
Trusted Contributor

Re: swinstall cannot connect to host..

As i stated previously, when I was installing the 11.23 software I specified a hostname but at the moment it is not possible to put the server on the network.

that is why when I run swinstall it is looking for my hostname
Robert-Jan Goossens
Honored Contributor
Solution

Re: swinstall cannot connect to host..

Hi H,

Have a look at the comment made by RAC in this thread.

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=984076

Regards,
Robert-Jan
Torsten.
Acclaimed Contributor

Re: swinstall cannot connect to host..

swinstall needs network!

Meanwhile you may try to replace localhost by your hostname in /etc/hosts

# /usr/sbin/swagentd ├в r

Don't forget to reverse this change later!

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!   
Shahul
Esteemed Contributor

Re: swinstall cannot connect to host..

Hi,

I would try "set_parms hostname" and then check if it is updated in the /etc/hosts file.

Good luck
Shahul
Avinash20
Honored Contributor

Re: swinstall cannot connect to host..

Hi,

Please do the following

Mention any hostname temporarily

# hostname
# uname -S

# cp /etc/hosts /etc/hosts.org
# mv /etc/resolv.conf /etc/resolv.conf.org (move!)

vi the /etc/hosts and replace the localhost entry by the actual hostname:
127.0.0.1 hostname loopback

(Re-)start the swagentd:
# /usr/sbin/swagentd ├в r

Then use swinstall with the use_alternate_source=true option:
# swinstall ├в x use_alternate_source=true ...
Good luck! Don├В┬┤t forget to move the hosts.orig and resolv.conf.orig files back
"Light travels faster than sound. That's why some people appear bright until you hear them speak."