Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell NetWorker 19.9 Administration Guide

Changing the service port used by the NMC database on Linux

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

  1. Stop the NMC daemons, by typing the command below, based on the initialization system running on your Linux machine:
    • sysvinit—/etc/init.d/gst stop
    • systemd—systemctl stop gst
  2. Edit the /opt/lgtonmc/etc/gstd.conf file to add or change the following line:

    db_svc_port=port_number

    For example:

    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 postgresql.conf file to add or change the following line:
    port=port_number

    For example:

    port=2639

    NOTE:By default the postgresql.conf file is located in the /nsr/nmc/nmcdb/pgdata directory.
  5. Close the terminal or command prompt window.
  6. Start the NMC daemons, by typing the command below, based on the initialization system running on your Linux machine:
    • sysvinit—/etc/init.d/gst start
    • systemd—systemctl start gst

    This action also starts the postgres and httpd processes.

    NOTE:If /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

    Multiple Postgres processes appear. Two or more httpd processes appear. By default, these httpd processes run as nsrnmc.

  7. Confirm that the daemons have started, by typing the following command: ps -ef | grep lgtonmc.
    Output similar to the following appears when the daemons have started:

    nsrnmc 7190 1 0 Nov23 ? 00:00:06 /opt/lgtonmc/bin/gstd
    nsrnmc 7196 1 0 Nov23 ? 00:00:00 /opt/lgtonmc/apache/bin/httpd -f /opt/lgtonmc/apache/conf/httpd.conf
    nsrnmc 7197 7196 0 Nov23 ? 00:00:00 /opt/lgtonmc/apache/bin/httpd -f /opt/lgtonmc/apache/conf/httpd.conf
    nsrnmc 7212 1 0 Nov23 ? 00:00:00  /opt/lgtonmc/postgres/11.1/bin/postgres -D /nsr/nmc/nmcdb/pgdata
    root 18176 18141 0 02:47 pts/0 00:00:00 grep lgtonmc


Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\