1844032 Members
3473 Online
110226 Solutions
New Discussion

Swlist Warnings on HP-UX

 
Rajeev Andrews
Advisor

Swlist Warnings on HP-UX

Greetings,

When I am executing the swlist command as normal user out will be displayed after showing the below warnings.

WARNING: An attempt to get the network host entry for "spain" failed.This may result in denial of access to users and agents at
this host. Check the spelling of this name, then your "/etc/hosts" file, or your "/etc/resolv.conf" file and DNS
resolver configuration.The nslookup program may be helpful in isolating this problem.
WARNING: The ACL stored in file "/var/adm/sw/products/ifiles/_ACL"
contains hostname(s) which could not be resolved
WARNING: An attempt to get the network host entry for "spain" failed.
This may result in denial of access to users and agents at this host. Check the spelling of this name, then your "/etc/hosts" file, or your "/etc/resolv.conf" file and DNS
resolver configuration. The nslookup program may be helpful in isolating this problem.
WARNING: The ACL stored in file "/var/adm/sw/products/ifiles/_OWNER"
contains hostname(s) which could not be resolved.

Not getting this warning message while execute as root.

/etc/hosts
10.x.x.54 denmark

/var/adm/sw/products/ifiles/_ACL

# default_realm=spain
user_obj:rwict
any_other:r----

/var/adm/sw/products/ifiles/_OWNER

#default_realm=spain
num_entries=2
user:root:00
group:sys:00

Intially we have given the hostname as spain later on change the name to denmark.Can we change the entry spain to denmark in both the files.

OS HP-UX B11.11
Model 9000/800/rp3440

Please advice to remove this warnings.

Thanks
Rajeev Andrews
1 REPLY 1
Ivan Krastev
Honored Contributor

Re: Swlist Warnings on HP-UX

Try to restart swagent daemon:

/usr/sbin/swagentd -r


regards,
ivan