Secondary or Reporting Secondary server upgrade fails when replication reset is tried after the Primary server is upgraded
Last Modified: 2023-05-19 12:00:01 Etc/GMT
Affected Products
Languages:
This article is available in the following languages:
Trellix CEO, Bryan Palma, explains the critical need for security that’s always learning.
As per Gartner, "XDR is an emerging technology that can offer improved threat prevention, detection and response."
Trellix announced the establishment of the Trellix Advanced Research Center to advance global threat intelligence.
Trellix Advanced Research Center analyzes threat data on ransomware, nation-states, sectors, vectors, LotL, MITRE ATT&CK techniques, and emails.
After December 1, 2024, please log in to the Thrive Portal for support, knowledge articles, tools, and downloads. For information about using the Thrive Portal, view the Trellix Thrive Portal User Guide.
Secondary or Reporting Secondary server upgrade fails when replication reset is tried after the Primary server is upgraded
Technical Articles ID:
KB92096
Last Modified: 2023-05-19 12:00:01 Etc/GMT Environment
Threat Intelligence Exchange (TIE) Server 3.0.0
Problem
The TIE Server package upgrade fails on the Secondary or reporting Secondary servers if Secondary servers aren't upgraded after the upgrade of the Primary or write-only Primary server. If the Primary server is upgraded but the Secondary or Reporting Secondary server upgrade fails, you might see some of the following errors in Updating replication configuration file failed with code 1. error: %pre(tieserver-3.0.0-460.mlos2.x86_64) scriptlet failed, exit status 255 error: install: %pre scriptlet failed (2), skipping tieserver-3.0.0-460.mlos2 OR sed: can't read /data/tieserver_pg/pg_hba.conf: No such file or directory sed: can't read /data/tieserver_pg/pg_hba.conf: No such file or directory sed: can't read /data/tieserver_pg/pg_hba.conf: No such file or directory sed: can't read /data/tieserver_pg/pg_hba.conf: No such file or directory sed: can't read /data/tieserver_pg/pg_hba.conf: No such file or directory sed: can't read /data/tieserver_pg/pg_hba.conf: No such file or directory sed: can't read /data/tieserver_pg/pg_hba.conf: No such file or directory sed: can't read /data/tieserver_pg/pg_hba.conf: No such file or directory sed: can't read /data/tieserver_pg/pg_hba.conf: No such file or directory grep: /data/tieserver_pg/pg_hba.conf: No such file or directory grep: /data/tieserver_pg/pg_ident.conf: No such file or directory Signaling PostgreSQL to reload configuration files grep: /data/tieserver_pg/postgresql.conf: No such file or directory sed: can't read /data/tieserver_pg/postgresql.conf: No such file or directory Attempting to start PostgreSQL service ... Secondary detected... Calling updateRecoveryConf... Updating replication configuration file failed with code 1. error: %pre(tieserver-3.0.0-460.mlos2.x86_64) scriptlet failed, exit status 255 error: install: %pre scriptlet failed (2), skipping tieserver-3.0.0-460.mlos2 OR grep: /data/tieserver_pg/postgresql.conf: No such file or directory sed: can't read /data/tieserver_pg/postgresql.conf: No such file or directory OR The Trying to sync the database with primary. Attempt: 1 Cleaning data directory on secondary Syncing the database with primary Trying to sync the database with primary. Attempt: 2 Cleaning data directory on secondary Syncing the database with primary Trying to sync the database with primary. Attempt: 3 Cleaning data directory on secondary Syncing the database with primary Trying to sync the database with primary. Attempt: 4 Cleaning data directory on secondary Syncing the database with primary Trying to sync the database with primary. Attempt: 5 Cleaning data directory on secondary Syncing the database with primary The database sync failed with exit code 1 Cause
An environment where TIE Servers have different versions isn't supported. When you plan for a TIE Server upgrade, allocate enough time to complete the process on all servers as part of the same effort. A major Solution
The issue is resolved in TIE 3.0.0 Hotfix 1.
WorkaroundTo upgrade the failing Secondary and Reporting Secondary servers, perform the following steps as root:
NOTE: Make sure that the upgrade is performed on one server at a time.
Affected ProductsLanguages:This article is available in the following languages: |
|