1845820 Members
5334 Online
110250 Solutions
New Discussion

Re: swlist command error

 
mukkala
Advisor

swlist command error

i got this error please help me

root@xxx]# swlist

# Initializing...

# Contacting target "xxx"...

ERROR: The expected depot or root does not exist at "/".

ERROR: There is currently no installed software on host "xxx" at

location "/".


[root@xxx]# ps -ef | grep swagentd
6 REPLIES 6
Rajeev  Shukla
Honored Contributor

Re: swlist command error

stop and start the swagent
/sbin/init.d/swagentd stop
/sbin/init.d/swagentd start

and then try swlist. If still doesn't work check if you have /var/adm/sw or not and directories like products, patch and software
Arunvijai_4
Honored Contributor

Re: swlist command error

Try to restart swagent daemon by,

# swagentd -r
or
# /sbin/init.d/swagentd stop
# /sbin/init.d/swagentd start

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
mukkala
Advisor

Re: swlist command error

[root@xxx]# ps -ef | grep swagentd

root 2436 1 0 Jul 8 ? 6:04 /usr/sbin/swagentd -r

[root@xxx]# kill -9 2436



[root@xxx]# ps -ef | grep swagentd

[root@xxx]# ./swagentd start

[root@xxx]# swlist

# Initializing...

# Contacting target "xxx"...

ERROR: The expected depot or root does not exist at "/".

ERROR: There is currently no installed software on host "xxx" at

location "/".
RAC_1
Honored Contributor

Re: swlist command error

Did you check the hostname/ip_address??
Do you see any other errors?? Check syslog.log/dmesg
Also do you have /var/adm/sw dir in place and fine?
There is no substitute to HARDWORK
Arunvijai_4
Honored Contributor

Re: swlist command error

Hello,

Check your /etc/resolv.conf, /etc/nsswitch.conf and hostname, Also, check /var/adm/syslog/syslog.log for any details of swagentd.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Binu_5
Regular Advisor

Re: swlist command error

Hi

PLease check your /etc/hosts ...


Thanks
Binu