1831836 Members
3356 Online
110031 Solutions
New Discussion

swinstall error

 
SOLVED
Go to solution
Jeff Nyberg
Advisor

swinstall error

Hello-

When I start swinstall I'm getting the error:

"Could not contact host "ussi2". Make sure hostname is correct."

This is the correct hostname.
I restarted swagentd and even rebooted (not a systems critical machine) but the results are the same.
I am trying to install patches from a CD, which mounted fine and I can view the contents.

Anyone have an idea as to what I'm missing? Please let me know if you need more information.

Thanks in advance,

Jeff
14 REPLIES 14
Jeff Schussele
Honored Contributor

Re: swinstall error

Jeff,

What happens if you nslookup OR traceroute to the host. Also try to ping by name AND IP, if known.
Could be a DNS or network problem.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Clemens van Everdingen
Honored Contributor

Re: swinstall error

Hi,

Did you check your /etc/hosts file if the hostname is in there and spelled correctly ?
Any messages in /var/adm/sw/swagent.log and swagentd.log ?

C.
The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !
Francois Bariselle_3
Regular Advisor

Re: swinstall error

Hi,

Try to ping ussi2 to verify if the os is up.^
Verify if it's possible to resolve ussi2: nslookup ussi2

Check your /etc/resolv.conf, /etc/hosts and /etc/nsswitch.conf

Good luck.

Frank
Fais la ...
Jeff Nyberg
Advisor

Re: swinstall error

- I checked the /etc/hosts file and it is correct.

- I can get around the network fine so it
doesn't appear to be a network issue or DNS.

- 3 error messsages were present in /etc/swagentd.log:

1. "An unexpected internal error occured in SD in file s_getopt.c ($Revision: 5.2 $), at line 201. Please provide this information to your SD support representative.

2. "Could not obtain the callers authentication information from the RPC call received from 127.0.0.1. This is an internal SD error if SD "internal" authentication is in use, or a DCE configuration error if "dce_secret" authentication is in use.

3. "Access denied to list socs on host. No user authentication.

One other note: I was using swinstall last week and didn't come across anything like this.

Thanks again,

Jeff
Clemens van Everdingen
Honored Contributor

Re: swinstall error

Hi,

Is your output from uname -a regarding hostname still correct ?
What did you install latest ?

Any patches installed lately ?
If so:

Try: swlist -l fileset -a state | grep -i install

If no output it looks ok on first hand.

C.
The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !
Jeff Nyberg
Advisor

Re: swinstall error

Typing uname -a shows me ussi2 so that seems fine.
No patches or software have been loaded recently. That's part of the trick- I need to get this machine up to date for software testing purposes. I was trying to load Ignite last week, but ran into a problem. I checked the patch history and saw it was very far behind. That's what led me to today's fun. I downloaded a bunch of cumulative patches and burnt them to cd. The cd mounts no problem and I can read it, but swinstall won't let me get to the point of choosing it as a depot location. Hard to get it patched w/out swinstall.
Do the error messages from swagentd.log mean anything to anyone?

Jeff
Helen French
Honored Contributor

Re: swinstall error

Hi Jeff:

Which OS ?

Do you have the latest SD-UX patches installed ? If not install the latest patches, that may solve the issue.

HTH,
Shiju
Life is a promise, fulfill it!
Jeff Nyberg
Advisor

Re: swinstall error

Shiju- I'm runing 10.20. How can I go about installing the patches w/ out using swinstall. Is there a command other than swinstall to load patches with that I'm not aware of? If so you could be my hero.

Please let me know.....

Jeff
Clemens van Everdingen
Honored Contributor

Re: swinstall error

Hi,

Try this one first:

Kill the swagentd daemon
#/usr/sbin/swagentd -k

Start the daemon again
#/usr/sbin/swagentd

Before starting check if all swagent or swinstall processes are stopped.

C.
The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !
MANOJ SRIVASTAVA
Honored Contributor
Solution

Re: swinstall error

Hi Jeff


Do a nslookup < local hostname > and check how does it resolve . It looks that the nssswitch.conf points it to reslove by DNS whereas the /etc/resolv.conf is wither not tehre or pointing to wrong address . Easiest way is to mv /etc/resolv.conf to some other (if you cant the DNS figured out ) and then again doa nslookup , now it should be able to resolve the name using /etc/hosts .

Now stop adn start the swgentd from /sbin/init.d .


Manoj Srivastava
Helen French
Honored Contributor

Re: swinstall error

Hi Jeff,

Sorry ! there is no other commands. You have to use 'swinstall'. You can install through SAM, but that also using 'swinstall' while you trying to install something.

Did you try installing from command line ?

# swinstall -x autoreboot=true -x match_target=true -s /tmp/depot_name.depot

Any error in swagent.log file ? any error in syslog.log file ?

HTH,
Shiju
Life is a promise, fulfill it!
Helen French
Honored Contributor

Re: swinstall error

Hi Jeff:

Sorry, I didn't check you swagentd.log output =((. Check this thread if it helps:

http://us-support3.external.hp.com/cki/bin/doc.pl/sid=1db7aadb14477492f6/screen=ckiDisplayDocument?docId=200000024604748

HTH,
Shiju

Life is a promise, fulfill it!
Tracey
Trusted Contributor

Re: swinstall error

I had a similar message some time ago and although I checked the /etc/hosts file and it was correct, down further in the file was anohter entry for the same host with a different IP address. Once I removed the incorrect duplicate, I was fine.

Tracey
Jeff Nyberg
Advisor

Re: swinstall error

And the winner is.........Manoj!! It was trying to use DNS and when forced to use /etc/hosts it found it no problem. Everything is good to go now.

Thanks to everyone for trying to help me get this straightened out! This is a great forum!

Sincerely,

Jeff Nyberg