1829415 Members
2559 Online
109991 Solutions
New Discussion

command swlist error

 
John Ferro
Regular Advisor

command swlist error

Hi Gentlmen,

I have problem on HP-UX rp2470 B.11.11 U 9000/800. when i type command swlist i got output as follows:

ERROR: Could not contact host "rttsapp". Make sure the hostname is
correct and an absolute pathname is specified (beginning with
"/").
ERROR: More information may be found in the daemon logfile on this
target (default location is rttsapp:/var/adm/sw/swagentd.log)

Regards,
Faisal M.
7 REPLIES 7
Torsten.
Acclaimed Contributor

Re: command swlist error

First steps you should do
- check name resolution
(# hostname
# nslookup (result of hostname)

- restart swagentd
# /usr/sbin/swagentd -r

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!   
whiteknight
Honored Contributor

Re: command swlist error

Faisal,

check this also.
# more /etc/nsswitch.conf
hosts: files [NOTFOUND=continue] dns


WK
Problem never ends, you must know how to fix it
John Ferro
Regular Advisor

Re: command swlist error

Good day,

Still my problem has not been solved.
I tried all solutions provided in response to my questions.


Regards,
Hasan  Atasoy
Honored Contributor

Re: command swlist error

hi faisall ;
your hostname is rttsapp

look at /etc/fstab , it should contain rttsapp entry with correct ip address.

Hasan
Srimalik
Valued Contributor

Re: command swlist error

>>>ook at /etc/fstab , it should contain rttsapp entry with correct ip address.


Do you mean /etc/hosts..

/etc/fstab has nothing to do with hostnames.
abandon all hope, ye who enter here..
Hasan  Atasoy
Honored Contributor

Re: command swlist error

ooopps

sory
ofcourse /etc/hosts.

Hasan.
F Verschuren
Esteemed Contributor

Re: command swlist error

this error is caused that the rttsapp and corospondening IP adress is not corectly in the hostfile ore that the network is down.

please post:
grep rttsapp /etc/hosts
netstat -in
lanscan
so we can check the network.


ps workarount is ad the folowing line in top of the hosts file:
127.0.0.1 localhost loopback rttsapp