Webcenter Content - IAU:IAU-6012: Unable to determine the audit log directory. No log directory specified
Warning Message:
[oracle@host bin]$ ./BatchLoader -console -q -n/u01/oracle/domains/content_domain/ucm/cs/bin/test.txt
Java HotSpot(TM) 64-Bit Server VM warning: Using the ParNew young collector with the Serial old collector is deprecated and will likely be removed in a future release
>system/6 09.06 15:39:05.045 main Configuring tracing verbose: false; sections: system
>system/6 09.06 15:39:05.045 main Configuring tracing verbose: false; Services:
Sep 06, 2017 3:39:10 PM oracle.security.jps.JpsStartup start
INFO: Jps initializing.
Sep 06, 2017 3:39:19 PM oracle.security.jps.JpsStartup start
INFO: Jps started.
Sep 06, 2017 3:39:19 PM oracle.security.audit.Auditor init
WARNING: IAU:IAU-6012: Unable to determine the audit log directory. No log directory specified.
Sep 06, 2017 3:39:19 PM oracle.security.jps.util.JpsUtil disableAudit
INFO: JpsUtil: isAuditDisabled set to true
Sep 06, 2017 3:39:19 PM oracle.security.jps.internal.audit.AuditServiceImpl validateLogPossible
WARNING: No audit log directory is set. Cannot perform audit operations for component JPS.
FileSystemFileStore:1.0.0.0 iniciado.
Servidor do sistema de gerenciamento de conteúdo. Versão 12.2.1.2.0-2017-07-05 09:25:44Z-r155055
Copyright (C) 1996-2016, Oracle e/ou suas empresas afiliadas. Todos os direitos reservados.
>(internal)/6 09.06 15:39:24.126 Thread-8 Processed 1 of 1 record(s).
>(internal)/5 09.06 15:39:24.126 Thread-8 !csBatchLoaderDone,/u01/oracle/domains/content_domain/ucm/cs/bin/test.txt,1,1,0
>(internal)/6 09.06 15:39:24.134 Thread-8 !csBatchLoaderDone,/u01/oracle/domains/content_domain/ucm/cs/bin/test.txt,1,1,0
Solution:
$MW_HOME/oracle_common/common/bin/wlst.sh
connect('weblogic','password','t3://localhost:7001')
setAuditRepository(logDirectory="/u01/oracle/domains/content_domain/logs/audit")
Trying Again:
[oracle@host bin]$ ./BatchLoader -console -q -n/u01/oracle/domains/content_domain/ucm/cs/bin/test.txt
Java HotSpot(TM) 64-Bit Server VM warning: Using the ParNew young collector with the Serial old collector is deprecated and will likely be removed in a future release
>system/6 09.08 09:23:49.376 main Configuring tracing verbose: false; sections: system
>system/6 09.08 09:23:49.377 main Configuring tracing verbose: false; Services:
Sep 08, 2017 9:23:55 AM oracle.security.jps.JpsStartup start
INFO: Jps initializing.
Sep 08, 2017 9:24:07 AM oracle.security.jps.JpsStartup start
INFO: Jps started.
FileSystemFileStore:1.0.0.0 iniciado.
Servidor do sistema de gerenciamento de conteúdo. Versão 12.2.1.2.0-2017-07-05 09:25:44Z-r155055
Copyright (C) 1996-2016, Oracle e/ou suas empresas afiliadas. Todos os direitos reservados.
>(internal)/6 09.08 09:24:37.692 Thread-8 Processed 1 of 1 record(s).
>(internal)/5 09.08 09:24:37.692 Thread-8 !csBatchLoaderDone,/u01/oracle/domains/content_domain/ucm/cs/bin/test.txt,1,1,0
>(internal)/6 09.08 09:24:37.700 Thread-8 !csBatchLoaderDone,/u01/oracle/domains/content_domain/ucm/cs/bin/test.txt,1,1,0
[oracle@host bin]$ ./BatchLoader -console -q -n/u01/oracle/domains/content_domain/ucm/cs/bin/test.txt
Java HotSpot(TM) 64-Bit Server VM warning: Using the ParNew young collector with the Serial old collector is deprecated and will likely be removed in a future release
>system/6 09.06 15:39:05.045 main Configuring tracing verbose: false; sections: system
>system/6 09.06 15:39:05.045 main Configuring tracing verbose: false; Services:
Sep 06, 2017 3:39:10 PM oracle.security.jps.JpsStartup start
INFO: Jps initializing.
Sep 06, 2017 3:39:19 PM oracle.security.jps.JpsStartup start
INFO: Jps started.
Sep 06, 2017 3:39:19 PM oracle.security.audit.Auditor init
WARNING: IAU:IAU-6012: Unable to determine the audit log directory. No log directory specified.
Sep 06, 2017 3:39:19 PM oracle.security.jps.util.JpsUtil disableAudit
INFO: JpsUtil: isAuditDisabled set to true
Sep 06, 2017 3:39:19 PM oracle.security.jps.internal.audit.AuditServiceImpl validateLogPossible
WARNING: No audit log directory is set. Cannot perform audit operations for component JPS.
FileSystemFileStore:1.0.0.0 iniciado.
Servidor do sistema de gerenciamento de conteúdo. Versão 12.2.1.2.0-2017-07-05 09:25:44Z-r155055
Copyright (C) 1996-2016, Oracle e/ou suas empresas afiliadas. Todos os direitos reservados.
>(internal)/6 09.06 15:39:24.126 Thread-8 Processed 1 of 1 record(s).
>(internal)/5 09.06 15:39:24.126 Thread-8 !csBatchLoaderDone,/u01/oracle/domains/content_domain/ucm/cs/bin/test.txt,1,1,0
>(internal)/6 09.06 15:39:24.134 Thread-8 !csBatchLoaderDone,/u01/oracle/domains/content_domain/ucm/cs/bin/test.txt,1,1,0
Solution:
$MW_HOME/oracle_common/common/bin/wlst.sh
connect('weblogic','password','t3://localhost:7001')
setAuditRepository(logDirectory="/u01/oracle/domains/content_domain/logs/audit")
Trying Again:
[oracle@host bin]$ ./BatchLoader -console -q -n/u01/oracle/domains/content_domain/ucm/cs/bin/test.txt
Java HotSpot(TM) 64-Bit Server VM warning: Using the ParNew young collector with the Serial old collector is deprecated and will likely be removed in a future release
>system/6 09.08 09:23:49.376 main Configuring tracing verbose: false; sections: system
>system/6 09.08 09:23:49.377 main Configuring tracing verbose: false; Services:
Sep 08, 2017 9:23:55 AM oracle.security.jps.JpsStartup start
INFO: Jps initializing.
Sep 08, 2017 9:24:07 AM oracle.security.jps.JpsStartup start
INFO: Jps started.
FileSystemFileStore:1.0.0.0 iniciado.
Servidor do sistema de gerenciamento de conteúdo. Versão 12.2.1.2.0-2017-07-05 09:25:44Z-r155055
Copyright (C) 1996-2016, Oracle e/ou suas empresas afiliadas. Todos os direitos reservados.
>(internal)/6 09.08 09:24:37.692 Thread-8 Processed 1 of 1 record(s).
>(internal)/5 09.08 09:24:37.692 Thread-8 !csBatchLoaderDone,/u01/oracle/domains/content_domain/ucm/cs/bin/test.txt,1,1,0
>(internal)/6 09.08 09:24:37.700 Thread-8 !csBatchLoaderDone,/u01/oracle/domains/content_domain/ucm/cs/bin/test.txt,1,1,0
Comentários
Postar um comentário