[root@srvapp sbin]# java com.tivoli.pd.jcfg.SvrSslCfg -action config -admin_id sec_master -admin_pwd ********* -appsvr_id tim2tam -appsvr_pwd ******** -host srvapp -mode remote -port 999 -policysvr srvtam.mycompany.com:7135:1 -authzsvr srvtam.mycompany.com:7136:1 -cfg_file /opt/PolicyDirector/conf/srvtam.conf -key_file /opt/PolicyDirector/conf/keystore_srvtam.ks -cfg_action create
Problem:
Exception in thread "main"
[java.io.IOException: No such file or directory
]
Wrappered Exception:
java.io.IOException: No such file or directory
at com.tivoli.pd.jadmin.PDAppSvrConfig.configureAppSvr(PDAppSvrConfig.java:528)
at com.tivoli.pd.jcfg.SvrSslCfg.config(SvrSslCfg.java:335)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at com.tivoli.pd.jcfg.SvrSslCfg.invoke(SvrSslCfg.java:763)
at com.tivoli.pd.jcfg.SvrSslCfg.main(SvrSslCfg.java:620)
Caused by: java.io.IOException: No such file or directory
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(File.java:876)
at com.tivoli.pd.jadmin.PDAppSvrConfig.configureAppSvr(PDAppSvrConfig.java:71)
... 7 more
Solution:
Directory for /opt/PolicyDirector/conf/srvtam.conf and /opt/PolicyDirector/conf/keystore_srvtam.ks must exist:
cd /opt/PolicyDirector/
mkdir conf
chown ivmgr:ivmgr conf
Problem:
Exception in thread "main"
[java.io.IOException: No such file or directory
]
Wrappered Exception:
java.io.IOException: No such file or directory
at com.tivoli.pd.jadmin.PDAppSvrConfig.configureAppSvr(PDAppSvrConfig.java:528)
at com.tivoli.pd.jcfg.SvrSslCfg.config(SvrSslCfg.java:335)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at com.tivoli.pd.jcfg.SvrSslCfg.invoke(SvrSslCfg.java:763)
at com.tivoli.pd.jcfg.SvrSslCfg.main(SvrSslCfg.java:620)
Caused by: java.io.IOException: No such file or directory
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(File.java:876)
at com.tivoli.pd.jadmin.PDAppSvrConfig.configureAppSvr(PDAppSvrConfig.java:71)
... 7 more
Solution:
Directory for /opt/PolicyDirector/conf/srvtam.conf and /opt/PolicyDirector/conf/keystore_srvtam.ks must exist:
cd /opt/PolicyDirector/
mkdir conf
chown ivmgr:ivmgr conf
Kommentare