数据库设置参数时报错ERROR at elog.cpp : 359

opengauss6.0.1版本,数据库设置参数时,报错如下,之前是可以设置的,突然就发现设置不了了,尝试其它的一些参数设置也是一样

[omm@db1 dn_6001]$ gs_guc reload -Z datanode -N all -I all -c “max_connections=1300”
The gs_guc run with the following arguments: [gs_guc -Z datanode -N all -I all -c max_connections=1300 reload ].
ERROR at elog.cpp : 359 : The parameter destMax is too small or parameter count is larger than macro parameter SECUREC_STRING_MAX_LEN. Th
e second case only occures in functions strncat_s/strncpy_s. 请教下这是什么问题呀,该如何处理?

是如下这个问题:

可以到$GAUSSLOG/bin/gs_guc目录下看下日志文件名称,由于日志名称不符合预期,执行失败,可以将旧的不符合规范的日志文件删掉,重新生成。

或者该问题通过升级数据库版本到6.0.3可以修复。

[Bug]: 设置参数报错-openGauss-server-AtomGit | GitCode