After upgrading the NMC package to 19.4 the NMC's gstd service crashes with the following error seen in the ..\Program Files\EMC NetWorker\Management\GST\logs\gstd.raw
31581 5/7/2021 7:35:17 PM 2 0 0 7220 1116 0 NMC_SERVERNAME gstd NSR warning *** gstd starting at Fri May 07 19:35:17 2021
0 5/7/2021 7:35:17 PM 1 5 0 7220 1116 0 NMC_SERVERNAME gstd NSR notice @(#) Product: NetWorker
0 5/7/2021 7:35:17 PM 1 5 0 7220 1116 0 NMC_SERVERNAME gstd NSR notice @(#) Release: 19.4.0.1.Build.95
0 5/7/2021 7:35:17 PM 1 5 0 7220 1116 0 NMC_SERVERNAME gstd NSR notice @(#) Build number: 95
0 5/7/2021 7:35:17 PM 1 5 0 7220 1116 0 NMC_SERVERNAME gstd NSR notice @(#) Build date: Tue Feb 9 21:56:30 PST 2021
0 5/7/2021 7:35:17 PM 1 5 0 7220 1116 0 NMC_SERVERNAME gstd NSR notice Build arch.: ntx64
0 5/7/2021 7:35:17 PM 1 5 0 7220 1116 0 NMC_SERVERNAME gstd NSR notice @(#) Build info: DBG=0,OPT=
0 5/7/2021 7:36:31 PM 1 5 0 7220 1116 0 NMC_SERVERNAME gstd NSR notice 05/07/21 19:36:31.501576 D:/views/nw/19.4/gst/liblgodbc/odbc_lib.c(713): lgodbc_alloc_connection(): SQLConnect()
0 5/7/2021 7:36:31 PM 1 5 0 7220 1116 0 NMC_SERVERNAME gstd NSR notice 05/07/21 19:36:31.501576 ODBC environment handle:
0 5/7/2021 7:36:31 PM 1 5 0 7220 1116 0 NMC_SERVERNAME gstd NSR notice 05/07/21 19:36:31.501576 ODBC database connection handle:
0 5/7/2021 7:36:31 PM 1 5 0 7220 1116 0 NMC_SERVERNAME gstd NSR notice 05/07/21 19:36:31.501576 IM003: Specified driver could not be loaded due to system error 126: The specified module could not be found. (PostgreSQL ANSI(x64), C:\program files\emc networker\management\GST\postgres_latest\odbc\psqlodbc30a.dll).
0 5/7/2021 7:36:31 PM 1 5 0 7220 1116 0 NMC_SERVERNAME gstd NSR notice 05/07/21 19:36:31.501576 Internal error: could not get database handle.
0 5/7/2021 7:36:36 PM 1 5 0 7220 1116 0 NMC_SERVERNAME gstd NSR notice 05/07/21 19:36:36.519722 Internal error: could not get database handle.
0 5/7/2021 7:36:36 PM 1 5 0 7220 1116 0 NMC_SERVERNAME gstd NSR notice 05/07/21 19:36:36.519722 Please also see the log files in 'pg_log' directory inside the product's database directory for the database server's output messages
0 5/7/2021 7:36:36 PM 1 5 0 7220 1116 0 NMC_SERVERNAME gstd NSR notice 05/07/21 19:36:36.519722 Internal error: could not release database handle.
4690 5/7/2021 7:36:39 PM 2 0 0 7220 1116 0 NMC_SERVERNAME gstd NSR warning library error 22 os error 0
31582 5/7/2021 7:36:43 PM 2 0 0 7220 1116 0 NMC_SERVERNAME gstd NSR warning *** gstd stopping at Fri May 07 19:36:43 2021
postgres_latest Symbolic link is missing in NMC installed location (ex : C:\Program Files\EMC NetWorker\Management\GST)
post upgrade which is code defect.
Change : Upgrade of Networker Server from 19.3 to 19.4.
Recreate the postgres latest symbolic Link
- Locate the old postgres folder: <Install_Drive>:\Program Files\EMC NetWorker\Management\GST\postgres
- Open am administrative command prompt and run the following command:
Syntax : mklink /D "path_to_new_symbolic_link "path_to_old_folder”
Example :
C:\Program Files\EMC NetWorker\Management\GST>mklink /D "C:\Program Files\EMC NetWorker\Management\GST\postgres_latest" "C:\Program Files\EMC NetWorker\Management\GST\postgres\11.1"
symbolic link created for C:\Program Files\EMC NetWorker\Management\GST\postgres_latest <<===>> C:\Program Files\EMC NetWorker\Management\GST\postgres\11.1
- Restart gstd services: net stop gstd && net start gstd