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 MA on MAC
- How to verify MA services are running
- How to check MA logs for communication issues
How to install McAfee Agent on a MAC (Steps taking from PD26439 page 36)
- From ePO download the “agentpackage”.zip for MAC.
- 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:
- 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“.
- You will be prompt for root password, enter root password then “Enter”
- 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)
- To verify if MA is running change to the following directory:
- Inside this directory execute the following command:
“sudo ./ma status“
- If you are asked for a password, provide the root password and click the “Enter” key. You should see all 3 McAfee Services running.
- To stop services or start the following commands can be use:
“sudo ./ma start”
“sudo ./ma stop”
Note: For more options please see KB52707).
- If any of the 3 services are not starting, remove MA and reinstall it again. To remove go to: “cd /Library/McAfee/Agent/scripts“.
- Then run the following command:
How to check if there is communication between MA and ePO
- Open a terminal window and go to the following path (Window 1):
- On a second terminal window go to the following path (Window 2):
- Line up terminal Window 1 and Window 2 next to each other.
- 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.
- On Window 1 run the following command to collect and send props:
“sudo ./cmdagent -p“.
- 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.