Knowledge Center

Firewall for Linux service does not start automatically after a system reboot
Technical Articles ID:   KB89322
Last Modified:  6/30/2017


McAfee Agent 5.0.x
McAfee Firewall for Linux 8.0
McAfee Host Intrusion Prevention (Host IPS) 8.0

Red Hat Enterprise Linux


After you reboot the system, the Firewall for Linux service does not start automatically. You can manually start the Firewall for Linux service and then Firewall for Linux works as expected. This issue occurs only with McAfee Agent 5.0.x; the issue does not occur with McAfee Agent 4.8.x.


The McAfee Agent service macompatsvc is taking too long to start.


This issue is resolved in Firewall for Linux 8.0.2.

McAfee product software, upgrades, maintenance releases, and documentation are available from the Product Downloads site at: http://www.mcafee.com/us/downloads/downloads.aspx.

NOTE: You need a valid Grant Number for access. KB56057 provides additional information about the Product Downloads site, and alternate locations for some products.


Increase the time to wait for macompatsvc to start.
  1. Use the vi editor to modify the file /opt/McAfee/fmp/bin/prepfmp.sh. Type the following command and press ENTER:

     vi /opt/McAfee/fmp/bin/prepfmp.sh
  2. After line 59, add an entry for sleep 20 as shown below:
    if [ -n ${ UPSTARTENV } ]
         43 then
         44     echo "$(date) Checking status of MA Service"
         45     # Wait for 60*sleep interval = 600 seconds
         46     waitForcma=60
         47     cmaFailed=1
         48     while [ ${ WAITFORCMA } -ge 1 ]
         49     do
         50         //etc/init.d/cma status > /dev/null 2>&1
         51         if [ $? -ne 0 ]
         52         then
         53             sleep 10
         54             let waitForcma="$waitForcma-1"
         55         else
         56             waitForcma=0
         57             cmaFailed=0
         58         fi
         59     done
         60     sleep 20
  3. Save and close the file.
  4. If the issue still occurs, gradually increase the sleep 20 entry value to 40, 60, then 70 and retest. Do not try to increase the value to more than 70.

Rate this document

Beta Translate with

Select a desired language below to translate this page.


This article is available in the following languages:

English United States

Glossary of Technical Terms

 Highlight Glossary Terms

Please take a moment to browse our Glossary of Technical Terms.