Operating System - HP-UX
1829012 Members
2375 Online
109986 Solutions
New Discussion

Installing a depot , giving some error

 
shashi kanth
Super Advisor

Installing a depot , giving some error

I am trying to install a depot in one HP-UX Itanium box, it is giving some errors.

# ps -ef | grep -i swagentd
root 2214 1 0 11:19:46 ? 0:00 swagentd -r
root 2379 2049 0 11:32:09 pts/ta 0:00 grep -i swagentd

# cat /etc/rc.config.d/swconfig | grep SW_ENABLE_SWAGENTD
# SW_ENABLE_SWAGENTD
SW_ENABLE_SWAGENTD=1



# swinstall -s /libiconv-1.12-ia64-11.23.depot libiconv

======= 06/10/08 11:21:05 IST BEGIN swinstall SESSION
(non-interactive) (jobid=yosemite-0013)

* Session started for user "root@yosemite".

* Beginning Selection
ERROR: Could not start a management session for "yosemite:/". The
system administrator for host "yosemite" may have disabled the
swagentd daemon or there may be a networking problem affecting
the operation. If the swagentd daemon has been disabled, it
can be enabled by the system administrator on "yosemite" by
setting the "SW_ENABLE_SWAGENTD" entry in
/etc/rc.config.d/swconfig to "1" and executing
"/usr/sbin/swagentd -r".
* Target connection failed for "yosemite:/".
ERROR: More information may be found in the daemon logfile on this
target (default location is
yosemite:/var/adm/sw/swagentd.log).
* Selection had errors.



======= 06/10/08 11:22:57 IST END swinstall SESSION (non-interactive)
(jobid=yosemite-0013)



Please anyone tell me what is the problem ?
6 REPLIES 6
Jeeshan
Honored Contributor

Re: Installing a depot , giving some error

post your /var/adm/sw/swagentd.log.
a warrior never quits
shashi kanth
Super Advisor

Re: Installing a depot , giving some error

I have attached the swagentd.log file.

Torsten.
Acclaimed Contributor

Re: Installing a depot , giving some error

Did you already check the name resolution and a restart of the swagent?

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!   
shashi kanth
Super Advisor

Re: Installing a depot , giving some error

OK, The problem is solved.

The IP address in /etc/hosts file is wrong.

So i corrected it, now everything is fine.
shashi kanth
Super Advisor

Re: Installing a depot , giving some error

Closing. Thank you all.
Jeeshan
Honored Contributor

Re: Installing a depot , giving some error

your log file shows errors like

Registered RPC protocol "ncacn_ip_tcp" with endpoint "2121".
* Registered RPC protocol "ncadg_ip_udp" with endpoint "2121".


please try like this

#mkdir /tmp/foo
# cd /tmp/foo
copy the libiconv depot here
#swinstall -s /tmp/foo/libiconv-1.12-ia64-11.23.depot
a warrior never quits