Wednesday, 11 January 2017

[nQSError: 67004] Configuration value Agents\Log Dir not set.

While configuring a scheduler to export the result set to some shared location on the network. Here is the document provided by Oracle. Have followed the same but resulting in error saying,

[nQSError: 66013] [Line:12 Column:1]
[nQSError: 67004] Configuration value Agents\Log Dir not set.

Cause:

  • Log_Dir is not set in instanceconfig file for scheduler
  • TAG name in Java Script file is not as per the instanceconfig file used by scheduler.

Solution:

We need to set Log_Dir parameter in instanceconfig.xml file of the scheduler,  you can find this file at this location,

ORACLE_INSTANCE\config\OracleBISchedulerComponent\coreapplication_obischn

If you are using the script provided by Oracle here, then you need to make some changes to the file as below,

var fileName = GetConfigurationValue("Log Dir", "Agents") + "\\" + JobID + "-" + InstanceID + "-" + UserID + "-" + Parameter(1);
If you see the instanceconfig.xml file for scheduler, the XML TAG is <iBots> and not <Agents>. (I'm using version 11.1.1.7.150120). So this needs to be changed as below,
var fileName = GetConfigurationValue("Log Dir", "iBots") + "\\" + JobID + "-" + InstanceID + "-" + UserID + Parameter(1);

You will get rid of this issue for sure. Happy blogging. :-)

No comments:

Post a Comment