NetWorker: How to change the database service port used by the NetWorker Management Console (NMC)

Summary: This KB explain procedure how to change the TCP service port used by the NMC database on Linux and Windows

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

By default, the NetWorker Management Console database uses port 5432 for TCP/IP communications. It is recommended to use default ports to avoid potential connection issues. You must keep track of any non-default changes made to the ports used by NetWorker. 

NetWorker Processes and Ports

Perform the following steps to change the service port that is used by NMC.

Linux NMC Server

1. Stop the NMC service:

# /etc/init.d/gst stop
OR
# systemctl stop gst         

2. Edit the /opt/lgtonmc/etc/gstd.conf file to add or change the following line: 

int db_svc_port=5432

For Example:
int db_svc_port=2639

3. Run the /opt/lgtonmc/bin/gstconfig command to update the port value in the NetWorker NMC server configuration file.
 
4. Edit the /nsr/nmc/nmcdb/pgdata/postgresql.conf file to add or change the following line: 

port=5432

For Example

port=2639

 
5. Start the NMC service:
Linux:

# /etc/init.d/gst start
OR
# systemctl start gst

  • If the /etc/init.d/gst file is missing for sysvinit systems or gst file is not enabled for systemd systems, run the script:

/opt/lgtonmc/bin/nmc_config

  • Monitor the /opt/lgtonmc/logs/gstd.raw for service startup.
  • Multiple Postgres processes appear. Two or more httpd processes appear. By default, these httpd processes run as nsrnmc.
  • Confirm that the daemons have started, by typing the following command:

    ps -ef | grep -i lgtonmc

    Output similar to the following appears when the daemons have started:

    root      3064     1  0 10:03 ?        00:00:01 /opt/lgtonmc/bin/gstd
    dbuser    3329     1  0 10:04 ?        00:00:00 /opt/lgtonmc/postgres/bin/postgres -D /opt/lgtonmc/nmcdb/pgdata
    nsrnmc    3969     1  0 10:04 ?        00:00:00 /opt/lgtonmc/apache/bin/httpd -f /opt/lgtonmc/apache/conf/httpd.conf
    nsrnmc    3970  3969  0 10:04 ?        00:00:00 /opt/lgtonmc/apache/bin/httpd -f /opt/lgtonmc/apache/conf/httpd.conf

 

Windows NMC Server

1. Stop the GSTD Service service.

net stop gstd

2. Edit the C:\Program Files\EMC NetWorker\Management\GST\etc\gstd.conf file to change the following line:

int db_svc_port=5432

For example:
int db_svc_port=2639
3. Edit the C:\Program Files\EMC NetWorker\Management\nmcdb\pgdata\postgresql.conf file to change the following line:

port=5432

For example:

port=2639

4. Use the regedit to update the port number in the registry.

a. Browse to Computer\HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\lgto_gst_pgsql.
b. Edit the Port registry key.
c. In the Value Data field, specify the new port number.
d. Click OK.

image.png

5. Start the NMC Service.

# net start gstd

Article Properties
Article Number: 000158473
Article Type: How To
Last Modified: 02 Sep 2025
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.