报错的解释信息已经很详细了,检查是否存在下列情况:
1、This user ID does not exist on the system.
2、The home directory of this user is not set up properly.
3、One of the user attributes needed by DB2 is unset.
4、The UID of this user is 0
解决方案:
1、id db2fenc1
查看防护用户 db2fenc1 是否存在
不存在的话,创建用户 db2fenc1 ,然后再执行实例创建
2、如果用户 db2fenc1存在的话,查看它的家目录及其配置文件的权限、属组属主是否正确
3、查看下列文件确保没有异常
/etc/login.defs 默认配置文件
/etc/passwd 账户属性表
/etc/shadow 密码
/etc/group 组属性表
4、确认db2fenc1的 UID 是否为 0 ,确保他的UID 不能设置为 0.