1832757 Members
3269 Online
110045 Solutions
New Discussion

Re: SDINSTALL

 
SOLVED
Go to solution
Mohd Syafid Abdullah
Regular Advisor

SDINSTALL

Hi Guru,
I have difficulty when trying to run swinstall.
I can't change source.It prompt "Could not contact host 'RECOVERY'.Make sure the host name is correct.
My host name is RECOVERY.
I want to change the source location into /tmp.
How can i do that?
Please help me GURU.
8 REPLIES 8
Joseph Loo
Honored Contributor

Re: SDINSTALL

hi,

check if swagent daemon running:
# ps -ef | grep swagentd

if started, stop it:
# /sbin/init.d/swagentd stop

to make sure swagent daemon is stop and start it again:
# ps -ef | grep swagentd
# /sbin/init.d/swagentd start

test out swinstall again:

# swinstall -s /tmp/abc.depot

regards.
what you do not see does not mean you should not believe
Mohd Syafid Abdullah
Regular Advisor

Re: SDINSTALL

Hi

After run the command, the problem is still there.

Please help.
Joseph Loo
Honored Contributor

Re: SDINSTALL

hi,

just like to check if the hostname resolution is working:

# nslookup RECOVERY

what does it returns, also, what is configure for /etc/nsswitch.conf?

regards.
what you do not see does not mean you should not believe
Mohd Syafid Abdullah
Regular Advisor

Re: SDINSTALL

Output for nslookup:
# nslookup RECOVERY
Name Server: prdcmcl06dir001.putrajaya.local
Address: 10.10.0.27

Trying DNS
*** prdcmcl06dir001.putrajaya.local can't find RECOVERY: Non-existent domain

I can't find /etc/nsswitch.conf.
What mistake that i've made.
Please guide.
Joseph Loo
Honored Contributor
Solution

Re: SDINSTALL

do u need DNS to resolve hostname or u have it in /etc/hosts?

try this:

# cp -p /etc/nsswitch.hp_defaults /etc/nsswitch.conf
for the hosts line, change according to the
action u want host resolution to function. for the default, dns will be search follow by nis and then files, i.e. /etc/hosts

man nsswitch.conf for more info.

regards.
what you do not see does not mean you should not believe
Mohd Syafid Abdullah
Regular Advisor

Re: SDINSTALL

Hi Guru,
Thanks for your solution.
It really help and i managed to install the software that i need
Thanks again.
Joseph Loo
Honored Contributor

Re: SDINSTALL

hi,

make sure that the setup in the nsswitch.conf works not just for this but also other functions that requires host resolution.

also, don't forget to assign points to the other questions.

remember to close the thread if it is solved.

regards.
what you do not see does not mean you should not believe
Mohd Syafid Abdullah
Regular Advisor

Re: SDINSTALL

Thanks guru

Yr solution really help.