---
title: Netwitness ESA secondary upgrade fails due to installed mongo packages
description: "Issue\nNetwitness ESA secondary upgrade fails with the below error.chef-solo.log:\n[2021-11-02T19:47:15+00:00] INFO: Starting Chef Infra Client Run for"
---

[Skip to content](https://mydev.netwitness.com/knowledge-base/netwitness-esa-secondary-upgrade-fails-due-to-installed-mongo-packages#main-content)

![NW Logo](https://mydev.netwitness.com/hs-fs/hubfs/Portal-Partner%20Program/AssetFiles/NW%20Logo%20(2).png?width=180&height=32&name=NW%20Logo%20(2).png)

- [Home](https://mydev.netwitness.com/home)
- Integrations
  
  Show submenu for Integrations

    - [Netwitness Platform Integrations](https://mydev.netwitness.com/netwitnessplatformintegrations)
    - [Third Party Integrations](https://mydev.netwitness.com/thirdpartyintegrations)
- [Knowledge Center](https://mydev.netwitness.com/knowledge-base)
- Community
  
  Show submenu for Community

    - [Blogs](https://mydev.netwitness.com/netwitness-security-llc-blog)
    - Discussions
- Customers
  
  Show submenu for Customers

    - [Manage Products and Licenses](https://mydev.netwitness.com/nwportal)
    - Downloads
- Partners
  
  Show submenu for Partners

    - [Partner Program](https://mydev.netwitness.com/partner)
    - [Partner Resources](https://mydev.netwitness.com/partnerresources)
    - [Submit a New Deal Registration](https://mydev.netwitness.com/dealregistration)
    - [Become a Partner](https://mydev.netwitness.com/becomeapartner)
    - [Update Your Partner Locator Profile](https://www.netwitness.com/partner-locator/?utm_source=pardotnewsletter&utm_medium=email&utm_campaign=partner_march)
    - [NetWitness LinkedIn Partner Hub](https://linkedin.com/showcase/netwitnesspartners/)
- Education
  
  Show submenu for Education

    - [Instructor Led Training Schedule](https://mydev.netwitness.com/instructorledtrainingschedule)
    - [NetWitness Training Catalog](https://mydev.netwitness.com/netwitnesstrainingcatalog)
    - [Security Awareness Training](https://mydev.netwitness.com/securityawarenesstraining)
    - [New Product Readiness](https://mydev.netwitness.com/newproductreadiness)
    - [On-Demand Virtual Labs](https://mydev.netwitness.com/ondemandvirtuallabs)
    - [Additional Training Information](https://mydev.netwitness.com/additionaltraininginformation)
    - [Frequently Asked Questions](https://mydev.netwitness.com/educationfaq)
    - [Contact NetWitness Education Team](https://mydev.netwitness.com/contact-netwitness-education-team)
- Support
  
  Show submenu for Support

    - [Contact Support](https://mydev.netwitness.com/contact-support)
    - [Create a New Case](https://mydev.netwitness.com/create-support-case)
    - [View My Cases](https://mydev.netwitness.com/viewmycase)
    - [Product Version Life Cycle](https://mydev.netwitness.com/product-version-life-cycle)
    - [Warranty & Replacement Parts](https://mydev.netwitness.com/warranty-and-replacement-parts)
    - [Community Support Forum](https://mydev.netwitness.com/community-support-forum)
    - [Technical Support Guide](https://mydev.netwitness.com/technical-support-guide)

Open main navigation

Close main navigation

- [Home](https://mydev.netwitness.com/home)
- Integrations
  
  Show submenu for Integrations

    - [Netwitness Platform Integrations](https://mydev.netwitness.com/netwitnessplatformintegrations)
    - [Third Party Integrations](https://mydev.netwitness.com/thirdpartyintegrations)
- [Knowledge Center](https://mydev.netwitness.com/knowledge-base)
- Community
  
  Show submenu for Community

    - [Blogs](https://mydev.netwitness.com/netwitness-security-llc-blog)
    - Discussions
- Customers
  
  Show submenu for Customers

    - [Manage Products and Licenses](https://mydev.netwitness.com/nwportal)
    - Downloads
- Partners
  
  Show submenu for Partners

    - [Partner Program](https://mydev.netwitness.com/partner)
    - [Partner Resources](https://mydev.netwitness.com/partnerresources)
    - [Submit a New Deal Registration](https://mydev.netwitness.com/dealregistration)
    - [Become a Partner](https://mydev.netwitness.com/becomeapartner)
    - [Update Your Partner Locator Profile](https://www.netwitness.com/partner-locator/?utm_source=pardotnewsletter&utm_medium=email&utm_campaign=partner_march)
    - [NetWitness LinkedIn Partner Hub](https://linkedin.com/showcase/netwitnesspartners/)
- Education
  
  Show submenu for Education

    - [Instructor Led Training Schedule](https://mydev.netwitness.com/instructorledtrainingschedule)
    - [NetWitness Training Catalog](https://mydev.netwitness.com/netwitnesstrainingcatalog)
    - [Security Awareness Training](https://mydev.netwitness.com/securityawarenesstraining)
    - [New Product Readiness](https://mydev.netwitness.com/newproductreadiness)
    - [On-Demand Virtual Labs](https://mydev.netwitness.com/ondemandvirtuallabs)
    - [Additional Training Information](https://mydev.netwitness.com/additionaltraininginformation)
    - [Frequently Asked Questions](https://mydev.netwitness.com/educationfaq)
    - [Contact NetWitness Education Team](https://mydev.netwitness.com/contact-netwitness-education-team)
- Support
  
  Show submenu for Support

    - [Contact Support](https://mydev.netwitness.com/contact-support)
    - [Create a New Case](https://mydev.netwitness.com/create-support-case)
    - [View My Cases](https://mydev.netwitness.com/viewmycase)
    - [Product Version Life Cycle](https://mydev.netwitness.com/product-version-life-cycle)
    - [Warranty & Replacement Parts](https://mydev.netwitness.com/warranty-and-replacement-parts)
    - [Community Support Forum](https://mydev.netwitness.com/community-support-forum)
    - [Technical Support Guide](https://mydev.netwitness.com/technical-support-guide)

 How can we help you?

- There are no suggestions because the search field is empty.

1. [NetWitness Knowledge Base](https://mydev.netwitness.com/knowledge-base?hsLang=en)
2. [Break Fix](https://mydev.netwitness.com/knowledge-base/break-fix?hsLang=en)

April 30, 2026

# Netwitness ESA secondary upgrade fails due to installed mongo packages

#### Issue

 Netwitness ESA secondary upgrade fails with the below error.

**chef-solo.log:**

 \[2021-11-02T19:47:15+00:00\] INFO: Starting Chef Infra Client Run for ITSUSRASDDCESA01   
\[2021-11-02T19:47:15+00:00\] INFO: Running start handlers   
\[2021-11-02T19:47:15+00:00\] INFO: Start handlers complete.   
\[2021-11-02T19:47:17+00:00\] INFO: Loading cookbooks \[nw-repositories@0.7.7, nw-pre-install@0.5.1, nw-firewall@0.3.3, nw-ntp@0.6.2, nw-dns-client@0.2.8, nw-pki@0.3.8, nw-hwrpm@0.1.0, nw-java@0.4.2, rsa-audit@0.1.1, rsa-sms-runtime@0.1.4, nw-rabbitmq@1.1.0, rsa-collectd@0.1.0, nw-rng@0.1.0, ssh@0.1.7, auditd-wrapper@0.1.1, nw-base@0.5.4, rsa-correlation-server@0.1.3, rsa-esa-analytics-server@0.2.0, metricbeat@0.2.4, rsa-node-infra-server@0.1.1, nw-event-stream-analysis@0.4.1, nw-post-install@0.4.2, systemd@3.2.4, nw-mongo@1.2.0, salt-master@0.3.9, line@2.9.0, auditd@2.3.4, selinux\_policy@2.4.3\]   
\[2021-11-02T19:47:19+00:00\] ERROR: Running exception handlers   
\[2021-11-02T19:47:19+00:00\] ERROR: Exception handlers complete   
\[2021-11-02T19:47:19+00:00\] FATAL: Stacktrace dumped to /var/lib/netwitness/config-management/cache/chef-stacktrace.out   
\[2021-11-02T19:47:19+00:00\] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report   
\[2021-11-02T19:47:19+00:00\] FATAL: Chef::Exceptions::ValidationFailed: database is a required property

#### Cause

 This issue is due to the below installed mongo packages. Mongo database is only available in ESA Primary.

\# rpm -qa|grep -i mongo

 mongodb-org-mongos-4.0.19-1.el7.x86\_64   
mongodb-org-server-4.0.19-1.el7.x86\_64   
mongodb-org-tools-4.0.19-1.el7.x86\_64   
mongodb-org-4.0.19-1.el7.x86\_64   
mongodb-org-shell-4.0.19-1.el7.x86\_64

#### Resolution

 Please follow the below steps to uninstall packages.

- Login to putty of the ESA secondary where mongo packages are installed.
- Uninstall mongo packages using the below command.

 yum remove mongodb\*   
 

- Then verify packages removed using the below command. It should give empty output as packages are removed.

 rpm -qa|grep -i mongo   
 

- The Rerun upgrade command to update successfully.

#### Product Details

**RSA Product Set:** NetWitness Logs & Network   
**RSA Product/Service Type:** ESA Secondary   
**RSA Version/Condition:** 11.5.X   
**Platform:** CentOS   
**O/S Version:** 7

#### Summary

This document outlines the procedure to uninstall mongo packages for completing the upgrade.

#### Approval Reviewer Queue

Technical approval queue

[![Netwitness Logo](https://mydev.netwitness.com/hs-fs/hubfs/Quote%20Template%20-%20NW%20Logo/Netwitness%20Logo.png?width=158&height=42&name=Netwitness%20Logo.png "Netwitness Logo")](https://mydev.netwitness.com/?hsLang=en)

<https://www.linkedin.com/company/netwitness-platform/> <https://www.youtube.com/@netwitness>

Copyright © 2026, NetWitness LLC. All rights reserved.

[NetWitness Platform](https://www.netwitness.com/)

[Acceptable Use Policy](https://www.netwitness.com/wp-content/uploads/Acceptable-Use-Policy-092022.pdf) [Privacy Statement](https://www.netwitness.com/wp-content/uploads/NetWitness-Privacy-Statement-07292024.pdf)

![NetWitness Logo](https://mydev.netwitness.com/hubfs/Portal-Partner%20Program/netwitness-logo-RGB-white%201.png)

[![LinkedIn](https://mydev.netwitness.com/hubfs/Portal-Partner%20Program/linkedin.png)](https://www.linkedin.com/company/netwitness-platform/) [![YouTube](https://mydev.netwitness.com/hubfs/Portal-Partner%20Program/Youtube.jpg)](https://www.youtube.com/@netwitness)

© 2026 NetWitness LLC. All rights reserved.