在linux环境下安装,使用tmboot或者tmadmin均出现如下错误信息:
114925.tuxedo1!tmadmin.15423.4155840192.-2: GP_CAT:1345: ERROR: pif: can't load 'registry.so'
114925.tuxedo1!tmadmin.15423.4155840192.-2: LIBSEC_CAT:22: ERROR: Unable to realize the _ec_s
ec_map_proof interface implementation native/security/map_proof. Error code (-5000)
114925.tuxedo1!tmadmin.15423.4155840192.-2: LIBTUX_CAT:6275: ERROR: Unable to initialize publ
ic key subsystem (-3003)
114925.tuxedo1!tmadmin.15423.4155840192.-2: LIBTUX_CAT:6204: ERROR: Could not initialize publ
ic key subsystem
从经验上判断应该是与操作系统权限相关问题,google之后发现是linux操作系统权限设置的问题,先不管是这些权限的具体含义,只需要记得要把权限模式从enforcing 改成 permissive 就可以。使用的命令是 setenforce:
# getenforce
Permissive
# setenforce 1
# getenforce
Enforcing
# setenforce 0
# getenforce
Permissive
另外再编译时遇到
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory
CMDTUX_CAT:1832: ERROR: can't execute cc -m32 -I$TUXDIR/include -o simpserv BS-3c9d.c -L${TUXDIR}/lib simpserv.c -ltux -lbuft -lfml -lfml32 -lengine -ldl -lpthread
[root@tuxedo1 simpapp]# ln -s /usr/include/i386-linux-gnu/gnu/stubs-32.h /usr/include/gnu/stubs-32.h
才发现安装介质是32位导致的,唉,在64位环境没有这个头文件。重新安装64位,解决。
--转自搜狗