Operating System - HP-UX
1753861 Members
7380 Online
108809 Solutions
New Discussion юеВ

swremove have error "This target agent cannot access the source"

 
Weerayut
Occasional Contributor

swremove have error "This target agent cannot access the source"

I would like to uninstall software package, t We have found the error messages after run "swremove NetWorker", Please suggestion to solve this error. Thank you.



lepus4:root:[/]$ swremove NetWorker

======= 01/20/10 12:37:02 TST BEGIN swremove SESSION
(non-interactive) (jobid=lepus4-0307)

* Session started for user "root@lepus4".

* Beginning Selection
* Target connection succeeded for "lepus4:/".
* Software selections:
NetWorker.nwr-cbin,l=/,r=7.4.2,a=HP-UX_11.XX_64
NetWorker.nwr-man,l=/,r=7.4.2,a=HP-UX_11.XX_64
* Selection succeeded.


* Beginning Analysis
* Session selections have been saved in the file
"/.sw/sessions/swremove.last".
ERROR: "lepus4:/": This target agent cannot access the source. Make
sure the source depot is registered if it is remote from the
target or if you are non-superuser. Also ensure you have read
permission for the products on the source, the source is not
being updated, and swagentd is running on the source host.
The target agent logfile will contain precise failure
information; it is referenced below.
* The analysis phase failed for "lepus4:/".
* Analysis had errors.


NOTE: More information may be found in the agent logfile using the
command "swjob -a log lepus4-0307 @ lepus4:/".

======= 01/20/10 12:37:05 TST END swremove SESSION (non-interactive)
(jobid=lepus4-0307)
7 REPLIES 7
Johnson Punniyalingam
Honored Contributor

Re: swremove have error "This target agent cannot access the source"

take a look another way,

can you run swremove only and there will appear a screen from which you can select the product which you wish remove from the server

# swremove
Problems are common to all, but attitude makes the difference
AVV
Super Advisor

Re: swremove have error "This target agent cannot access the source"

Hi,

Can you give us the output of

#swlist -l product | grep -i NetWorker

and

#swlist | grep -i NetWorker


OR

You can go ahead as said by Johnson by

#swremove and select the product from there -->remove
TARUN SHARMA_1
Advisor

Re: swremove have error "This target agent cannot access the source"

try restarting swagentd and if it doesnt solve the problem then you may need to reboot the box.
Sr Tech Lead
Tech Mahindra
Data Canter Tubli Bahrain
Weerayut
Occasional Contributor

Re: swremove have error "This target agent cannot access the source"

I have followed your instruction but there is an error

======= 01/20/10 13:14:07 TST BEGIN remove AGENT SESSION (pid=23158) x

x x x

x x * Agent session started for user "root@lepus4". (pid=23158) x

x x ERROR: File "/var/adm/sw/products/NetWorker/pfiles/INFO" does not x

x x exist. x

x x ERROR: File "/var/adm/sw/products/NetWorker/pfiles/INFO" does not x

x x exist. x

x x ERROR: File "/var/adm/sw/products/NetWorker/pfiles/INFO" does not x

x x exist. x

x x ERROR: File "/var/adm/sw/products/NetWorker/pfiles/INFO" does not x

x x exist.



* Beginning Analysis Phase. ^x

x x * Target: lepus4:/ x

x x * Target logfile: lepus4:/var/adm/sw/swagent.log x

x x * Reading source for file information. x

x x ERROR: File "/var/adm/sw/products/NetWorker/pfiles/INFO" does not x

x x exist. x

x x ERROR: The catalog files for product "NetWorker,l=/,r=7.4.2" failed x

x x to load. Check the above output for details. x

x x ERROR: Cannot continue the Analysis Phase until the previous errors x

x x are corrected. x

x x ERROR: Internal Error. Illegal state transition attempted by this x

x x Remote Procedure Call.

Weerayut
Occasional Contributor

Re: swremove have error "This target agent cannot access the source"

I can uninstall it by copy file "/var/adm/sw/products/NetWorker/pfiles/INFO├в

from another computer which familiar with lepus 4 and put it stead then I can remove it. *-*
Arunkumar.B
Trusted Contributor

Re: swremove have error "This target agent cannot access the source"

Check Any networker daemon is running. If so kill those and try ..
Necessity breaks iron
Dennis Handly
Acclaimed Contributor

Re: swremove have error "This target agent cannot access the source"

>I can uninstall it by copy file "/var/adm/sw/products/NetWorker/pfiles/INFO"

Do you know how that file was missing?
Was it removed manually?