This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Accept
Reject

NetWitness Community

  • Home
  • Products
    • NetWitness Platform
      • Advisories
      • Documentation
        • Platform Documentation
        • Known Issues
        • Security Fixes
        • Hardware Documentation
        • Threat Content
        • Unified Data Model
        • Videos
      • Downloads
      • Integrations
      • Knowledge Base
    • NetWitness Cloud SIEM
      • Advisories
      • Documentation
      • Knowledge Base
    • NetWitness Detect AI
      • Advisories
      • Documentation
      • Knowledge Base
    • NetWitness Investigator
    • NetWitness Orchestrator
      • Advisories
      • Documentation
      • Knowledge Base
      • Legacy NetWitness Orchestrator
        • Advisories
        • Documentation
  • Community
    • Blog
    • Discussions
    • Events
    • Idea Exchange
  • Support
    • Case Portal
      • Create New Case
      • View My Cases
      • View My Team's Cases
    • Community Support
      • Getting Started
      • News & Announcements
      • Community Support Forum
      • Community Support Articles
    • Product Life Cycle
    • Support Information
    • General Security Advisories
  • Training
    • Blog
    • Certification Program
    • Course Catalog
    • New Product Readiness
    • On-Demand Subscriptions
    • Student Resources
    • Upcoming Events
  • Technology Partners
  • Trust Center
Sign InRegister Now
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Search instead for 
Did you mean: 
NetWitness Knowledge Base Archive
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Search instead for 
Did you mean: 
  • NetWitness Community
  • NetWitness Knowledge Base Archive
  • RSA Security Analytics UI is not available after upgrade from 10.4.x to 10.5.0.0 due to mongoDBMigra...
  • Options
    • Subscribe to RSS Feed
    • Bookmark
    • Subscribe
    • Email to a Friend
    • Printer Friendly Page
    • Report Inappropriate Content

RSA Security Analytics UI is not available after upgrade from 10.4.x to 10.5.0.0 due to mongoDBMigration failure

Article Number

000031638

Applies To

RSA Product Set: Security Analytics
RSA Product/Service Type: Security Analytics UI, Security Analytics Server
RSA Version/Condition: 10.5.0.0
 

Issue

When SA server is upgraded from 10.4.x to 10.5.0.0, the UI does not come online and shows the error below in the browser.
 
Error Description:

Security Analytics server is unable to start. Please make sure all services are running and restart the Security Analytics server.

View Error
Stack Backtrace

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mongoDBMigration': Invocation of init method failed; nested exception is java.lang.NullPointerException

at InitDestroyAnnotationBeanPostProcessor postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:133)
at AbstractAutowireCapableBeanFactory applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:396)
at AbstractAutowireCapableBeanFactory initializeBean(AbstractAutowireCapableBeanFactory.java:1,507)
at AbstractAutowireCapableBeanFactory doCreateBean(AbstractAutowireCapableBeanFactory.java:521)
at AbstractAutowireCapableBeanFactory createBean(AbstractAutowireCapableBeanFactory.java:458)
at AbstractBeanFactory$1 getObject(AbstractBeanFactory.java:293)
at DefaultSingletonBeanRegistry getSingleton(DefaultSingletonBeanRegistry.java:223)
at AbstractBeanFactory doGetBean(AbstractBeanFactory.java:290)
at AbstractBeanFactory getBean(AbstractBeanFactory.java:191)
at DefaultListableBeanFactory preInstantiateSingletons(DefaultListableBeanFactory.java:636)
at AbstractApplicationContext finishBeanFactoryInitialization(AbstractApplicationContext.java:934)
at AbstractApplicationContext refresh(AbstractApplicationContext.java:479)
at ContextLoader configureAndRefreshWebApplicationContext(ContextLoader.java:410)
at ContextLoader initWebApplicationContext(ContextLoader.java:306)
at ContextLoaderListener contextInitialized(ContextLoaderListener.java:112)
at SafeModeContextListener contextInitialized(SafeModeContextListener.java:37)
at ContextHandler callContextInitialized(ContextHandler.java:788)
at ServletContextHandler callContextInitialized(ServletContextHandler.java:434)
at ContextHandler startContext(ContextHandler.java:780)
at ServletContextHandler startContext(ServletContextHandler.java:284)
at WebAppContext startContext(WebAppContext.java:1,322)
at ContextHandler doStart(ContextHandler.java:732)
at WebAppContext doStart(WebAppContext.java:490)
at AbstractLifeCycle start(AbstractLifeCycle.java:69)
at ContainerLifeCycle start(ContainerLifeCycle.java:118)
at ContainerLifeCycle addBean(ContainerLifeCycle.java:282)
at ContainerLifeCycle addBean(ContainerLifeCycle.java:214)
at ContainerLifeCycle updateBeans(ContainerLifeCycle.java:764)
at HandlerCollection setHandlers(HandlerCollection.java:89)
at ContextHandlerCollection setHandlers(ContextHandlerCollection.java:145)
at HandlerCollection addHandler(HandlerCollection.java:155)
at StandardDeployer processBinding(StandardDeployer.java:41)
at AppLifeCycle runBindings(AppLifeCycle.java:186)
at DeploymentManager requestAppGoal(DeploymentManager.java:495)
at DeploymentManager addApp(DeploymentManager.java:146)
at ScanningAppProvider fileAdded(ScanningAppProvider.java:175)
at ScanningAppProvider$1 fileAdded(ScanningAppProvider.java:64)
at Scanner reportAddition(Scanner.java:605)
at Scanner reportDifferences(Scanner.java:528)
at Scanner scan(Scanner.java:391)
at Scanner doStart(Scanner.java:313)
at AbstractLifeCycle start(AbstractLifeCycle.java:69)
at ScanningAppProvider doStart(ScanningAppProvider.java:145)
at AbstractLifeCycle start(AbstractLifeCycle.java:69)
at DeploymentManager startAppProvider(DeploymentManager.java:557)
at DeploymentManager doStart(DeploymentManager.java:232)
at AbstractLifeCycle start(AbstractLifeCycle.java:69)
at ContainerLifeCycle start(ContainerLifeCycle.java:118)
at Server start(Server.java:342)
at ContainerLifeCycle doStart(ContainerLifeCycle.java:100)
at AbstractHandler doStart(AbstractHandler.java:60)
at Server doStart(Server.java:290)
at AbstractLifeCycle start(AbstractLifeCycle.java:69)
at XmlConfiguration$1 run(XmlConfiguration.java:1,250)
at AccessController doPrivileged(AccessController.java:-2)
at XmlConfiguration main(XmlConfiguration.java:1,174)
at NativeMethodAccessorImpl invoke0(NativeMethodAccessorImpl.java:-2)
at NativeMethodAccessorImpl invoke(NativeMethodAccessorImpl.java:62)
at DelegatingMethodAccessorImpl invoke(DelegatingMethodAccessorImpl.java:43)
at Method invoke(Method.java:483)
at Main invokeMain(Main.java:509)
at Main start(Main.java:651)
at Main main(Main.java:99

Cause

This issue is due to inconsistent rules in ESA. If ESA rule deleted from rule library without first deleting in ESA synchronization,
Would cause the orphan reference to the ESA rule which fails MongoDB migration during upgrade. The failure of MongoDB migration would cause the GUI offline.

Resolution

The ESA rule inconsistency can fixed by using javascript file: FixEsaRecords.js which is available in this article.

1. Upload FixEsaRecords.js file into SA server using WinSCP tool.
2. Login to SA server using ssh with admin credentials.
3. Change the permissions to the file using below command.

chmod +x FixEsaRecords.js

3. Run below command remove orphan rules from MongoDB.

mongo localhost:27017/sa<FixEsaRecords.js

Sample reference which can show the removal of rule.

Image descriptionImage description

4.Reboot the SA server.
5. Verify GUI access by launching with browser.

Notes

This workaround would not remove any Existing ESA rules. Those rules which have been removed from rule library and still stayed in Synchronization would be deleted.
Tags (37)
  • Appliance
  • Broker
  • Broker Appliance
  • Core Appliance
  • Customer Support Article
  • ESA
  • ESA Appliance
  • ESA Service
  • Event Stream Analysis
  • Head Unit
  • HeadUnit
  • KB Article
  • Knowledge Article
  • Knowledge Base
  • NetWitness
  • NetWitness Appliance
  • NetWitness Broker
  • NetWitness Head Unit
  • NetWitness Platform
  • NetWitness Server
  • NetWitness UI
  • NW
  • NW Appliance
  • NwBroker
  • RSA NetWitness
  • RSA NetWitness Platform
  • RSA NetWitness UI
  • RSA Security Analytics
  • RSA Security Analytics UI
  • Security Analytics
  • Security Analytics Server
  • Security Analytics UI
  • SIEM
  • UI
  • UI Server
  • User Interface
  • Web Interface
0 Likes
Was this article helpful? Yes No
Share
No ratings

In this article

Version history
Last update:
‎2021-02-17 03:01 PM
Updated by:
Administrator RSA-KB-Sync Administrator

Related Content

Powered by Khoros
  • Blog
  • Events
  • Discussions
  • Idea Exchange
  • Knowledge Base
  • Case Portal
  • Community Support
  • Product Life Cycle
  • Support Information
  • About the Community
  • Terms & Conditions
  • Privacy Statement
  • Acceptable Use Policy
  • Employee Login
© 2022 RSA Security LLC or its affiliates. All rights reserved.