将 NMC 软件包升级到 19.4 后,NMC 的 gstd 服务崩溃,并在 ..\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
提醒:NetWorker .raw 文件可以通过下列方式呈现:
nsr_render_log /path/to/log.raw > out_filename 2<&1
重新创建 postgres latest 符号链接
- 找到 postgres 11.1 文件夹: <Install_Drive>:\Program Files\EMC NetWorker\Management\GST\postgres
- 打开管理命令提示符并运行以下命令:
语法: mklink /D "path_to_new_symbolic_link "path_to_11.1_folder”
示例:
C:\Program Files\EMC NetWorker\Management\GST\logs>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
- 重新启动 gstd 服务:net stop gstd && net start gstd