系統管理
取消
顯示結果 
搜尋替代 
您的意思是: 

Can't run the swinstall & swlist command

Can't run the swinstall & swlist command

Hi:



I got the error messages when I try to run the command "swinstall or swlist" , the error meassages is :



======= 12/15/05 14:28:19 EAT BEGIN swinstall SESSION

(non-interactive) (jobid=DNS61-0027)



* Session started for user "root@DNS61".



* Beginning Selection

ERROR: Could not contact host "DNS61". Make sure the hostname is

correct and an absolute pathname is specified (beginning with

"/").

* Target connection failed for "DNS61:/".

ERROR: More information may be found in the daemon logfile on this

target (default location is DNS61:/var/adm/sw/swagentd.log).

* Selection had errors.







======= 12/15/05 14:28:19 EAT END swinstall SESSION (non-interactive)

(jobid=DNS61-0027)



Any

The OS version is HP-UX11.11



#hostname

DNS61



Any ideas and observations are welcome.



Thanks for your help in advance.



Br,



Mel

1 回覆

Can't run the swinstall & swlist command

Hi Mel :



1. Make sure the host name resolving work by

nslookup,

assume DNS61 is 192.6.1.1

# nslookup DNS61

# nslookup 192.6.1.1



2. Restart swagentd by

#ps -ef | grep swagentd

root 2050 1 0 Dec 14 ? 0:03 /usr/sbin/swagentd -r

root 14259 14244 0 15:55:24 pts/te 0:00 grep swagentd

#kill -9 2050

#

#/usr/sbin/swagentd

#ps -ef | grep swagentd

root 14264 1 0 15:55:38 ? 0:00 /usr/sbin/swagentd



# issue swlist to check it

# swlist

.

.



Hope this is help.



.

..