- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: swremove not working
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2009 01:16 AM
тАО03-03-2009 01:16 AM
swremove not working
I have a package Tripwire in my server I have to remove But when I used swremove Tripwire its not working pls help me..
swlist | grep -i trip
# Initializing...
# Contacting target "chflbm23"...
#
# Target: chflbm23:/
#
# Tripwire 4.0 Tripwire for Servers (HP-UX 11.x)
Tripwire.FILES 4.0 Tripwire for Servers FILES (HP-UX 11.x)
This is the out put of swremove
======= 03/03/09 04:10:15 EST BEGIN swremove SESSION
(non-interactive) (jobid=chflbm23-0143)
* Session started for user "root@chflbm23".
* Beginning Selection
ERROR: RPC exception: "Communications failure (dce / rpc)" 03/03/09
04:10:51 EST
ERROR: A Remote Procedure Call to a daemon has failed. Could not
start a management session for "chflbm23:/". Make sure the
host is accessible from the network, and that its daemon,
swagentd, is running.
* Target connection failed for "chflbm23:/".
ERROR: More information may be found in the daemon logfile on this
target (default location is
chflbm23:/var/adm/sw/swagentd.log).
* Selection had errors.
======= 03/03/09 04:10:51 EST END swremove SESSION (non-interactive)
(jobid=chflbm23-0143)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2009 01:20 AM
тАО03-03-2009 01:20 AM
Re: swremove not working
# swagentd -r
and then check
Also check that the nslookup to the host works fine
# nslookup chflbm23
Also in /etc/nsswitch.conf file entry should be files first
hosts: files dns
If nsswitch.conf files does not exist, copy it from
# cp /etc/nsswitch.files /etc/nsswitch.conf
# swagentd -r
Please assign points
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2009 01:21 AM
тАО03-03-2009 01:21 AM
Re: swremove not working
swagentd -r
Also look in the mentioned log:
/var/adm/sw/swagentd.log
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2009 01:22 AM
тАО03-03-2009 01:22 AM
Re: swremove not working
Did you check the /etc/hosts entry of your server.
Try restarting the swagentd daemon and execute swremove again.
Thanks & Regards
Sridhar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2009 01:34 AM
тАО03-03-2009 01:34 AM
Re: swremove not working
Hi have restarted the deamon
#
Here is the output of /etc/nsswitch.conf file
# cat /etc/nsswitch.conf
hosts: files [NOTFOUND=continue UNAVAIL=continue TRYAGAIN=continue] dns [NOTFOUND=return UNAVAIL=continue TRYAGAIN=return]
However still I am unable to remove
#swremove Tripwire
# swremove Tripwire
======= 03/03/09 04:26:31 EST BEGIN swremove SESSION
(non-interactive) (jobid=chflbm23-0145)
* Session started for user "root@chflbm23".
* Beginning Selection
ERROR: RPC exception: "Communications failure (dce / rpc)" 03/03/09
04:27:06 EST
ERROR: A Remote Procedure Call to a daemon has failed. Could not
start a management session for "chflbm23:/". Make sure the
host is accessible from the network, and that its daemon,
swagentd, is running.
* Target connection failed for "chflbm23:/".
ERROR: More information may be found in the daemon logfile on this
target (default location is
chflbm23:/var/adm/sw/swagentd.log).
* Selection had errors.
======= 03/03/09 04:27:06 EST END swremove SESSION (non-interactive)
(jobid=chflbm23-0145)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2009 01:35 AM
тАО03-03-2009 01:35 AM
Re: swremove not working
153.6.112.16 chflbm23 ch-flor-bm23
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2009 01:39 AM
тАО03-03-2009 01:39 AM
Re: swremove not working
# netstat -in
Does chflbm23 resolve to the IP address
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2009 01:45 AM
тАО03-03-2009 01:45 AM
Re: swremove not working
nslookup
Using /etc/hosts on: chflbm23
looking up FILES
Name: chflbm23
Address: 153.6.112.16
Aliases: ch-flor-bm23
#netstat -in
# netstat -in
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
lan0 1500 153.6.112.0 153.6.112.16 4072271 0 624842 0 0
lo0 4136 127.0.0.0 127.0.0.1 10285 0 10285 0 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2009 01:45 AM
тАО03-03-2009 01:45 AM
Re: swremove not working
Please post the output of
# nslookup chflbm23
# nslookup
# hostname
# netstat -in
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2009 01:52 AM
тАО03-03-2009 01:52 AM
Re: swremove not working
# nslookup 153.6.112.16
Using /etc/hosts on: chflbm23
looking up FILES
Name: chflbm23
Address: 153.6.112.16
Aliases: ch-flor-bm23
# hostname
chflbm23