How to disable ADLagent features in Linux clients

book

Article ID: 179758

calendar_today

Updated On:

Products

Deployment Solution

Issue/Introduction

 

Resolution

Question
How to stop aldagent processes from running on a production Linux client

Answer

Any daemon in linux can be turned off by changing the permissions of the executable to "000" and then restarting the service.

adl_trace
  1. open the adlagent.conf and set any metion of trace logging to false.
  2. change permissions of the adl_trace to 000  (see change permissions section)
  3. restart the adlagent service (see restart services section)

CHANGE PERMISSIONS

The command to change permissions is: (% represents the command console in linux)

%chmod 000 /opt/altiris/deployment/adlagent/bin/adl_trace

NOTE: disabling the adl_trace will remove any client to commincation trace logging to the server. This will not disable any other logging. There maybe some warnings messages in the /var/log/messages, this is because the adl_trace is trying to be started and cannot be due to the changes above. These are just warning messages and can be ignored. If you want to remove the warning messages you can configure the linux logging from recording those messages to the /var/log/messages.

RESTART SERVICES

to change the permissions in linux depends on the flavor on linux that is running (i.e. redhat, suse, or debian)

in redhat and sles you can run the following command:

%service adlagent restart (this command takes the commands "start, stop, restart")

in debian you can run the following ( this includes all debian based linux i.e. ubuntu)

/etc/init.d/aldagent restart