Invalid file permission Please regenerate them with cacaoadm create-keys --force
1、服务器重启之后,启动cacao报错,提示无效的文件权限。
[root@ldapserver bin]# ./cacaoadm start
Invalid file permission: [/home/ldap/dsee6/cacao_2/etc/opt/sun/cacao/instances/default/security] [rwxrwxr-x].
Problem validating security keys.
Please regenerate them with cacaoadm create-keys --force
2、 查看权限,与其它台正常的LDAP权限一致。
[root@ldapserver security]# ll
drwxrwxr-x 2 root root 4096 2014-05-11 jsse
drwxrwxr-x 5 root root 4096 2014-05-11 nss
-rw------- 1 root root 198 2014-05-11 password
drwxr-xr-x 2 root root 4096 03-25 01:48 snmp
drwxrwxr-x 5 root root 4096 2014-05-11 nss
-rw------- 1 root root 198 2014-05-11 password
drwxr-xr-x 2 root root 4096 03-25 01:48 snmp
3、按提示执行命令:
[root@ldapserver bin]# ./cacaoadm create-keys --force --强制重新生成cacao键值后,cacao启动正常。
[root@ldapserver bin]# ./cacaoadm start
[root@ldapserver bin]# ./cacaoadm status
[root@ldapserver bin]# ./cacaoadm start
[root@ldapserver bin]# ./cacaoadm status
*******VICTORY LOVES PREPARATION*******