Operating System - HP-UX
1753857 Members
7221 Online
108809 Solutions
New Discussion юеВ

How to remove secure shell software in hpux 11.00

 
Sreer
Valued Contributor

How to remove secure shell software in hpux 11.00

Hi,
Gurus,

Iam getting errors while removing the ssh.
Could you pls help me?

# swremove Secure_Shell

======= 02/21/10 13:02:20 EST BEGIN swremove SESSION
(non-interactive)

* Session started for user "root@hp371-10".

* Beginning Selection
* Target connection succeeded for "hp371-10:/".
* Software selections:
Secure_Shell.SECURE_SHELL,l=/opt/ssh,r=A.05.30.007,a=HP-UX_B.11.11_32/64,v=HP,fa=HP-UX_B.11.11_32/64
* Selection succeeded.


* Beginning Analysis
* Session selections have been saved in the file
"/.sw/sessions/swremove.last".
* The analysis phase succeeded for "hp371-10:/".
* Analysis succeeded.


NOTE: More information may be found in the agent logfile (location
is hp371-10:/var/adm/sw/swagent.log).

======= 02/21/10 13:02:31 EST END swremove SESSION (non-interactive)

[hp371-10]/tmp
# swlist -l product | grep -i secure
Secure_Shell A.05.30.007 HP-UX Secure Shell
[hp371-10]/tmp
#


The removal process ended with out errors.
But still swlist is showing that the software still exists!

Thanks in advance for your answers.

Rgds
Sreekumar
4 REPLIES 4
Steven Schweda
Honored Contributor

Re: How to remove secure shell software in hpux 11.00

I normally use SAM to run swremove, so I know
nothing, but ...

> * Analysis succeeded.

If that's the last thing it did, then I would
not be amazed that the stuff is still
installed.

> NOTE: More information may be found [...]

Did you look?

man swremove

Look for "EXTERNAL INFLUENCES". Many things
are possible.

Personally, I'd still use SAM, but in any
case, you may need to look at the log file to
see what happened, and why.
smatador
Honored Contributor

Re: How to remove secure shell software in hpux 11.00

Hi,
What is the output of the swagent.log?
You could also check for process sshd and I suggest to restart the swagentd with swagentd -r.
HTH
Sreer
Valued Contributor

Re: How to remove secure shell software in hpux 11.00

Hi,
Pls see the output of swagent.log

======= 02/21/10 14:08:32 EST BEGIN remove AGENT SESSION (pid=2056)
(jobid=hp371-10-0062)

* Agent session started for user "root@hp371-10.usa.hp.com".
(pid=2056)

* Beginning Analysis Phase.
* Target: hp371-10:/
* Target logfile: hp371-10:/var/adm/sw/swagent.log
* Reading source for file information.

* Summary of Analysis Phase:
* The Analysis Phase succeeded.


======= 02/21/10 14:08:40 EST END remove AGENT SESSION (Cancelled)
(pid=2056) (jobid=hp371-10-0062)


[hp371-10]/
# date
Sun Feb 21 14:10:08 EST 2010


I need to remove using swremove option only.Its just for test environment.
thanks and rgds
Sree
Dennis Handly
Acclaimed Contributor

Re: How to remove secure shell software in HP-UX 11.00

I don't see any -p (preview) option. What's in /.sw/sessions/swremove.last?

>END remove AGENT SESSION (Cancelled)

Was it aborted? Have you looked at the swagentd.log?