Operating System - HP-UX
1833431 Members
3259 Online
110052 Solutions
New Discussion

Re: stm: error connecting to hostname

 
Sharon Hanrahan
Occasional Contributor

stm: error connecting to hostname

I'm not too familiar with the stm tool, but on a particular machine when I start up cstm I get the error: An unexpected error has been encountered while attempting to connect to
hostname.
I check the ui activity log and it says:
The connection to the Unit Under Test (UUT) was not successfully made. Refer to the system activity log on the UUT for more information.

When I try the system activity log it says it's currently disabled.
I've checked the documentation on stm but haven't managed to locate an answer to my problem. Is there something I'm missing?
5 REPLIES 5
melvyn burnard
Honored Contributor

Re: stm: error connecting to hostname

sounds like there is something wrong with your hostname/ip address resolution.
check that nslookup can resolve both ways the hostname/ip address pair.

One other idea, strange though it may seem, but I have seen this where the loopback 127.0.0.1 address is NOT the first entry in the /etc/hosts file.
HTH
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Sharon Hanrahan
Occasional Contributor

Re: stm: error connecting to hostname

The loopback entry is the first entry in /etc/hosts and nslookup of the hostname and IP address is ok.
Rita C Workman
Honored Contributor

Re: stm: error connecting to hostname

Well here's a thought ( and I don't know that it would help, but it certainly won't hurt..)
Your hostname exists in a few necessary files, it is possible one of these has become corrupted somehow.
Just to rule this possiblity out....try running set_parms and reset your hostname.

Like I said, just a thought,
Rita
Robin Wakefield
Honored Contributor

Re: stm: error connecting to hostname

Sharon,

What's the hosts lookup order in nsswitch.conf ? Just wondering if your nslookup is returning the FQDN as the primary name, therefore not matching your hostname.

Robin
Sharon Hanrahan
Occasional Contributor

Re: stm: error connecting to hostname

Thanks for all the replies. I actually did an stmshutdown and stmstartup and it works ok now. I'm not sure why though. I think there have been some changes made to the hosts file recently, because of other issues, whether this means stm needs to be shut down and restarted? There was also a HP patch put on PHSS_24044 recently, whether that had anything to do with it. I'm just guessing about this stuff. Anyway it's working now so that's the main thing!