Quantcast
Channel: LANDESK User Community : Document List - All Communities
Viewing all articles
Browse latest Browse all 6338

How to manually remove the Linux/Unix agent

$
0
0

Description: Under normal circumstances linuxuninstall.sh should be able to remove the agent without any problems. However, if odd problems are happening with a particular device then it may be a good idea to check and manually clean off the Linux/Unix agent.

 

Overview: This document is separated into two sections. One for the 32-bit agent and one for the 64-bit agent. The two agents are not the same and will have slightly different steps for removal.

 

Note: This won't remove dependant packages such as sysstat etc just LANDesk files.

Note: Any Linux commands referenced will be written for the general Linux distributions. In some cases Unix command equivalents will need to be researched that can accomplish the same task.

Note: The commands below with "rm -rf" will remove all files and sub-directories under the directory specified. Use with caution.

 

Instructions:

 

64-bit Agent:

1- "/etc/init.d/map-scheduler stop"

2- "rm /var/run/map-scheduler.pid"

3- "rm /etc/init.d/map-scheduler"

4- "rm /etc/init.d/map-scraper"

5- "rm -rf /opt/landesk"

6- "rm -rf /usr/LANDesk"

7- Run "top" to make sure that map-scheduler and map-scraper (or any other map's) are no longer in memory. If they are then use the "kill" command to close them.

 

32-bit Agent:

1- If necessary remove any references to ldiscan and vulscan from cron tasks.

2- "rm /etc/ldappl.conf"

3- "rm /etc/ldiscnux.conf"

4- "rm -rf /opt/landesk"

5- "rm -rf /usr/LANDesk"

 

HPUX Information:

1- Run through the previously mentioned steps however slight modifications to the commands may be needed.

2- Run "swlist". Look at the "Products not contained in a Bundle" section and look for cba8, vulscan, lddeppkg, and ldiscan

3- If any of them are present then uninstall them with "swremove cba8" or whatever package you would like to remove.

4- Upon agent reinstallation it should reinstall the previously removed packages.

 

UPDATE: Attached are removal scripts for 9.0 SP4 and 9.5. These scripts will be included in the next release of Management Suite however they can be used to remove the agent from CentOS, Red Hat, and SLES machines today. The scripts are broken up into 32-bit and 64-bit versions.

 

Note: Added a removal script for HPUX.

 

Note: The error "insserv: warning: script 'map-scheduler' or 'map-scraper' missing LSB tags and overrides" may appear when running the script. The lines refer to something added in the next version of the agent and may not be present in older versions.


Viewing all articles
Browse latest Browse all 6338

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>