Threat Report: Exposing Malware in Linux-Based Multi-Cloud Environments | Download Now

Cb Response: postgresql93 failed after upgrading to 6.2.4

Cb Response: postgresql93 failed after upgrading to 6.2.4

Environment

  • Carbon Black Response Server: 6.2.4 and above

 

Symptoms

The following error messages are seen during the /usr/share/cb/cbupgrade process

 
The cb-enterprise postgresql93 dependencies are required for this upgrade.
Please ensure postgresql93, postgresql93-libs, and postgresql93-server are installed, and try again.

--------------------------------------------------------------------------------
UPGRADE ABORTED
--------------------------------------------------------------------------------
'rpm -q postgresql93 postgresql93-libs postgresql93-server' failed(2)

 

Cause

clean_requirements_on_remove is enabled in /etc/yum.conf

Resolution

 
  1. In the terminal/ssh session navigate to /etc/yum.repo.d/CarbonBlack.repo
  2. Add the baseurl for 6.2.3, comment out the stable line
    #baseurl=https://yum.distro.carbonblack.io/enterprise/stable/$releasever/$basearch/
    baseurl=https://yum.distro.carbonblack.io/enterprise/6.2.3-1/x86_64/
  3. Save and exit. Run "yum clean all"
  4. Download the postgresql93 package
    yum install postgresql93 postgresql93-server postgresql93-libs postgresql93-contrib
  5. Complete the upgrade process
    /usr/share/cb/cbupgrade
  6. After service have started successfully, remove postgresql93 to clean up
    yum remove postgresql93*
  7. Remove the 6.2.3 line from /etc/yum.repos.d/CarbonBlack.repo and uncomment the stable line for next upgrade

Additional Notes

https://community.carbonblack.com/t5/Documentation-Downloads/Cb-Response-6-2-4-Server-Release-Notes/...

Labels (2)
Was this article helpful? Yes No
100% helpful (2/2)
Article Information
Author:
Creation Date:
‎11-16-2018
Views:
585
Contributors