NetWorker: Removing Old PostgreSQL Versions From the NMC Server

Zusammenfassung: The NetWorker Management Console (NMC) server installation includes PostgreSQL for the NMC databases.

Dieser Artikel gilt für Dieser Artikel gilt nicht für Dieser Artikel ist nicht an ein bestimmtes Produkt gebunden. In diesem Artikel werden nicht alle Produktversionen aufgeführt.

Symptome

  • A security scanner identifies old versions of PostgreSQL installed on a NetWorker Management Console (NMC) server.

Linux: /opt/lgtonmc/postgres
Windows (Default): C:\Program Files\EMC NetWorker\Management\GST\postgres

  • The older versions are found in the postgres folder, for example: 9.2, 11.21, 12. 18. 
  • The NMC installation uses a postgres_latest symbolic link that maps to the latest version of PostgreSQL for the NetWorker version installed.
    Linux: ls -l /opt/lgtonmc | grep latest
    postgres latest on Linux 
    Windows (PowerShell): (Get-Item "C:\Program Files\EMC NetWorker\Management\GST\postgres_latest").Target

Windows postgres latest path 

NOTE: The above command shows the default install path. If you installed the NMC in another location, modify the command to your install path. The Windows command output shows 8dot3 short path format.

Ursache

Older versions of PostgreSQL have been retained on NetWorker due to backward compatibility requirements.

If the database is actively maintained, it is migrated to the latest version of PostgreSQL included with the NetWorker software during upgrades. The old versions are left in tact in the event that the database is not actively being maintained and an upgrade is performed.
For fresh installations, the older versions are included for backwards compatibility but are not used. 

Once the NMC database is migrated to a newer release, it cannot be managed by the older postgres executables.

Lösung

Code changes are expected in the NetWorker 19.15.0.0 release (tentative Q1 2027) that will automatically remove the older postgres versions if not needed.

Workaround:

The older PostgresSQL folders can be removed after validating the version of PostgreSQL used by the NMC:

  1. Validate that the NMC is functional; for example, you are able to login and perform operations.
  2. Perform a Server Protection -> NMC server backup
  3. On the NMC server, Validate which PostgreSQL version is used by the active NMC database (nmcdb)

Linux: ps -ef | grep nmcdb
Linux nmcdb postgres version 

Windows:

  1. Open Task Manager.
  2. Click the Details tab.
  3. Ensure that the Command Line column is selected and visible. 
  4. Look for the postgres.exe that corresponds with the nmcdb path.
    Windows NMC server postgres version
  1.  After validating the version of PostgreSQL used, the older (unused) folders can be deleted. NetWorker is not using these directories so the services do not need to be stopped or restarted.
NOTE: If the current NetWorker version is reinstalled, or NetWorker is upgraded to a release before 19.15.0.0, the older PostgreSQL folders are reinstalled.

Weitere Informationen

Betroffene Produkte

NetWorker, NetWorker Management Console

Produkte

NetWorker Family
Artikeleigenschaften
Artikelnummer: 000492265
Artikeltyp: Solution
Zuletzt geändert: 27 Juli 2026
Version:  1
Antworten auf Ihre Fragen erhalten Sie von anderen Dell NutzerInnen
Support Services
Prüfen Sie, ob Ihr Gerät durch Support Services abgedeckt ist.