Skip to content

ORA-03113 caused by Database Vault Rule Sets

The Database Vault solution allows to create rules that manage access to database. Among these rules there is what is called in Database Vault “Rule Sets”. These logic components are written as PL/SQL functions to return Boolean results. If rule expressions do not match the user context, the access is refused and a specific message can be configured in order to warn the user that he is not authorized to access this specific object. These expressions can be for instance related to the client IP address, the session username, the time or date and many other things.

During one of my missions I had to configure Database Vault Rule Set in order to prevent access from specific IP adresses and specific session username.  For each rule set the database vault administrator (me ;-)) have to specify a name. In my case I decided to use an explicit name such as “Security Rule set for manager group”. You can find a typical Rule Set definition screen below:

Database Vault Rule Set

Unfortunately, some minutes after having implemented this rule set, some users complain about an error message looking like this:

SQL> select * from toto.ow_frm_plant;
select * from toto.ow_frm_plant                
Error on line 1 :
ORA-03113: end-of-file on communication channel
Processus IS: 29976
Session ID : 32, Serial Number : 271

In fact this error was coming from my rule set name. Despite the fact that name field in rule set form offers the possibility to use many characters (more than 32), the maximum length of a rule set name is 31 characters.

Therefore, a Rule Set name looking like “Security Rule Set test with lon” won’t generate an ORA-03113 error, but a Rule Set name looking like “Security Rule Set test with long” will generate an ORA-03113.

The following screen presents a correct rule set name with less than 32 characters and the normal rule set error message:

Database Vault Rule Set

The error Database Vault error message (in this example “My Error Message”) will be displayed below as expected:

 SQL> select * from toto.ow_frm_plant
select * from toto.ow_frm_plant

ERROR on line 1:ORA-47305:20003 My error message

Hope this helps!

Let’s work together

Ready to operate at
the next level?

Tell us about your challenge. We’ll bring the depth, the expertise, and the Swiss precision.

Grégory Steulet

Grégory Steulet

Grégory Steulet is Partner Manager and CFO at dbi services. He previously served as CFO and COO of the Sequotech Group. Earlier in his career, he spent more than ten years in database and infrastructure management, with experience in Oracle technologies, high availability, Avaloq banking applications and open-source technologies such as MySQL and Unix/Linux. Although his current role is no longer focused on database administration, he continues to share his experience through occasional blog posts. Before joining dbi services, Grégory was a Senior Consultant at Trivadis and an IT Administrator at Box Telecom. He holds an Executive MBA, a Bachelor's degree in Business Administration and Computer Science, and Certificates of Advanced Studies in Mergers and Acquisitions and Data Protection. His industry experience includes telecommunications, financial services, logistics and pharmaceuticals.View Author posts

42 posts since February 2011

Most read in Database

The Database posts our readers open most: the all-time favourites, and what is trending right now.

Leave a Comment

Your email address will not be published. Required fields are marked *