ITADM112E Database Error (ITADM112E Database Error (Got error 'parentheses not balanced' from regexp). ).
120
Created On 11/10/26 10:56 AM - Last Modified 11/10/26 13:02 PM
Symptom
The following error message is appearing in the ITALog:
ITADM112E Database Error (ITADM112E Database Error (Got error 'parentheses not balanced' from regexp). ).
Environment
9.8;9.9;9.10;10.0;10.1;10.2;10.3;10.4;10.5;10.6;10.7;10.8;10.9;10.10
Cause
This is caused by a failed PSMP connection attempt.
A Vault user has connected directly to the PSMP server, without using a full connection string and, when prompted to enter a Target User or Target Address, they have left one or both of the fields blank.
This can be confirmed by reviewing the Vault trace logs.
A valid connection will produce the following Vault transaction log:
***
2019-11-13 15:04:58.685 00000788 START PE 2640241 adminuser1[4909] ServiceName=FindFilesServSafeName=^((?!PSMUnmanagedSessionAccounts).)*$FileName=Root\Recursive=YDeleted=YRetrieved=YChanged=YNew=YLocked=YOther=YSize=0SizeType=NLimitType=AFromLimit=0ToLimit=0LimitAction=NObjectType=2FindOnlyInOpenSafes=NOrBetweenFindCategories=NFindCategoriesIds=FindCategoriesValues=FindOutputOptions=1SearchInAllAction=1SearchInAllValues=SearchInAllCategoyList=CategoyNamesToSum=FindDeletedObjectsOption=2FindTopVersion=YFileOptionToFilter=0FileOptionValue=0FileOptionCondition=0PatternLangOptions=1XMLFilter=<?xml version="1.0" encoding="utf-8"?><FindFilesFilter><CategoryExpr><CategoryExpr><SimpleCategoryExpr CategoryName="Address" Op="regexp" Value="(?i)(^(10\.0\.123\.39)$)"/></CategoryExpr><LogicalOp LogicOp="and"/><CategoryExpr><SimpleCategoryExpr CategoryName="Username" Op="eq" Value="root"/></CategoryExpr></CategoryExpr></FindFilesFilter>SafeOptions=0MaxFilesNumber=1000ObjectVersionId=0ServiceBehaviourOptions=0MaxFilesBeforeIdentifier=0FilesIdentifier=XMLSortRequest=FilterByAuditPattern=LockedByUser=FolderIdentifier=
***
From this transaction, we can see that the following search query is submitted to the Vault, it contains a valid Address regex and a Username Value.
***
<?xml version="1.0" encoding="utf-8"?>
<FindFilesFilter>
<CategoryExpr>
<CategoryExpr>
<SimpleCategoryExpr CategoryName="Address" Op="regexp" Value="(?i)(^(10\.0\.123\.39)$)"/>
</CategoryExpr>
<LogicalOp LogicOp="and"/>
<CategoryExpr>
<SimpleCategoryExpr CategoryName="Username" Op="eq" Value="root"/>
</CategoryExpr>
</CategoryExpr>
</FindFilesFilter>
***
When either the Target Username or Target Address field is left blank, we will see either of the following searches:
No Target Address, only Username:
***
<?xml version="1.0" encoding="utf-8"?>
<FindFilesFilter>
<CategoryExpr>
<CategoryExpr>
<SimpleCategoryExpr CategoryName="Address" Op="regexp" Value="(?i)(^(\)$)"/>
</CategoryExpr>
<LogicalOp LogicOp="and"/>
<CategoryExpr>
<SimpleCategoryExpr CategoryName="Username" Op="eq" Value="root"/>
</CategoryExpr>
</CategoryExpr>
</FindFilesFilter>
***
No Username, just a target address:
***
<?xml version="1.0" encoding="utf-8"?>
<FindFilesFilter>
<CategoryExpr>
<CategoryExpr>
<SimpleCategoryExpr CategoryName="Address" Op="regexp" Value="(?i)(^(10\.0\.123\.39)$)"/>
</CategoryExpr>
<LogicalOp LogicOp="and"/>
<CategoryExpr>
<SimpleCategoryExpr CategoryName="Username" Op="eq" Value=""/>
</CategoryExpr>
</CategoryExpr>
</FindFilesFilter>
***
Resolution
Assuming that the end user has been able to successfully connect to the target account either by providing a full connection string or by correctly providing the Target Username and Target Address to the PSMP command line, these errors can be ignored.