MA

How to Install & Troubleshoot MA on a MAC

Installing McAfee Agent on a MAC can be a bit challenging,  if the agent deployment is failing to install via ePO, the next option is to install it manually.  This option helps eliminate the issue with permission, and will help troubleshoot the if there is an installation issue. On this guide will show you how to do the following:

How to install McAfee Agent on a MAC (Steps taking from PD26439 page 36)

  1. From ePO download the “agentpackage”.zip for MAC.
  2. Once the file has been download, open a terminal window on the MAC system and change directory to the location where file is. Then run the following command:
    unzip agentpackage.zip”.
  3. Once the file has been uncompressed, a file name install.sh will be in the same directory. Now lets give permission to this file by running the following command:
    sudo chmod +x install.sh“.
  4. You will be prompt for root password, enter root password then “Enter
  5. Next we are going to install the package by running the following command:
    “sudo ./install.sh -i”.

How to verify if McAfee Agent is running (Steps taking from KB52707)

  1. To verify if MA is running change to the following directory:
    cd /Library/McAfee/Agent/scripts”
  2. Inside this directory execute the following command:
    sudo ./ma status
  3. If you are asked for a password, provide the root password and click the “Enter” key. You should see all 3 McAfee Services running.
  4. To stop services or start the following commands can be use:
    sudo ./ma start
    sudo ./ma stop
    Note: For more options please see KB52707).
  5. If any of the 3 services are not starting, remove MA and reinstall it again. To remove go to: “cd /Library/McAfee/Agent/scripts“.
  6. Then run the following command:
    sudo ./uninstall.sh

How to check if there is communication between MA and ePO

  1. Open a terminal window and go to the following path (Window 1):
    cd /Library/McAfee/Agent/bin”
  2. On a second terminal window go to the following path (Window 2):
    cd /var/McAfee/Agent/logs
  3. Line up terminal Window 1 and Window 2 next to each other.
  4. On Window 2 run the following command:
    tail -f masvc_.log“.
    Note: For this example we are using tail -f masvc_iMac-01.log. This file will be updated every time MA is communication with ePO.
  5. On Window 1 run the following command to collect and send props:
    sudo ./cmdagent -p“.
  6. You should see data been updated on Window 2, while MA communicates with ePO.

Look for any error in this log, to see if there are any communication issues.

Leave a Reply

Your email address will not be published. Required fields are marked *