> Source: [sk144694](https://support.checkpoint.com/results/sk/sk144694)

# sk144694 - Anti-Virus update periodically fails with message "Update failed. Script failure"

| Property | Value |
|----------|-------|
| Solution ID | sk144694 |
| Date Created | 2019-01-16 |
| Last Modified | 2019-01-17 |
| Technical Level | Advanced |
| Products | Security Gateway |
| Versions | R82.10, R82, R81.20 |
| OS | Gaia |

## Symptoms

- * Following error is seen in SmartConsole:  
  "Anti-Virus Update failed. Script failure"

  ![](https://sc1.checkpoint.com/sc//SolutionsStatics/NEW_SK_NOID1547565655532/DashBoard_error1901150745.png)
* Following error can is seen in the output of 'cpstat' command:  

  ```
  
  # cpstat antimalware -f update_status
  
  AB Update status: up-to-date
  AB Update description: Gateway is up to date. Database version: 1803251525. Package date: [DATE TIME]
  .
  AB Next update description: The next update will be run as scheduled.
  AB DB version: 1803251525
  AV Update status: failed
  AV Update description: Update failed. Script failure
  AV Next update description: The next try will be within one hour.
  AV DB version: 1803261235
  ```

## Cause

When both Anti-Virus and ThreatEmulation are enabled, each run its own "update.sh" script:

* /opt/KAV/update.sh
* /var/log/vendors/kav/update.sh

The Script in both directories writes the output to the same file:

"/tmp/update.pid".

This causes the script to fail.

## Solution

This solution requires authentication. Please log in to view the full solution.

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
