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

# sk109359 - Stability fix for CPUSE build 839

| Property | Value |
|----------|-------|
| Solution ID | sk109359 |
| Date Created | 2016-01-13 |
| Last Modified | 2017-09-25 |
| Technical Level | General |
| Products | Security Gateway, Security Management Server, Multi-Domain Security Management Server |
| Versions | R82.10, R82, R81.20, R82.20 |
| OS | Gaia |

## Solution

CPUSE build 839 requires a stability fix for *online* self-update to the next CPUSE build.

Relevant fix (shell script) was downloaded to Gaia machines running CPUSE build 839 that are connected to Internet, if the following option was enabled (by default, it is enabled) in SmartDashboard: "`Automatically download Contracts and other important data`" (go to "Policy" menu - click on "Global Properties" - go to "Security Management Access").

**Important Note:** During the download of this shell script, no process is stopped/restarted on Gaia machine.

Notes:

* This shell script will be executed in the next CPUSE online self-update to prevent the stability issue.
* Manual offline update of CPUSE Agent per [sk92449](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk92449#Latest build of CPUSE and What's New) from build 839 to a next build is not affected.
* CPUSE builds other than 839 are not affected.

The downloaded shell script */opt/CPda/bin/DAClient*:
>
> ```
> OLD_DACLIENT=/opt/CPda/bin/bck_DAClient
> DBGET=/bin/dbget
> ECHO=/bin/echo
> if [ "X$1" == "Xself_update" ]
>   then
>     for pkg in `$DBGET installer:packages -ic`
>     do
>       status=`$DBGET installer:packages:$pkg`
>       type=`$DBGET installer:packages:$pkg:pkg_type`
>       if [ "X$type" == "X3" -a "X$status" == "X4" ]
>         then
>           new_DA_filename=$pkg
>           new_DA_pkgkey=`$DBGET installer:packages:$pkg:pkgkey`
>       fi
>     done
>     if [ "X$new_DA_filename" == "X" -o "X$new_DA_pkgkey" == "X" ]
>       then
>         $ECHO "Error: Could not find currently installing DA"
>         exit 1
>     fi
>     rpm_name=/opt/CPda/repository/$new_DA_pkgkey/CPda-00-00.i386.rpm
>     file_name=/opt/CPda/repository/$new_DA_pkgkey/$new_DA_filename
>     /opt/CPda/bin/su_script $rpm_name $file_name &
> fi
> $OLD_DACLIENT "$@"
> ```

**Related solutions:**

* [sk92449: CPUSE - Gaia Software Updates (including Gaia Software Updates Agent)](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk92449)
* [sk109939: "Deployment Agent is not running" message in Gaia Portal and Gaia Clish when working with CPUSE build 839](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk109939)

---

# 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
