ORA-987 Or ORA-1435 During Importing Audit Statements

(Doc ID 1161284.1)

Last updated on NOVEMBER 28, 2016

Applies to:

Oracle Server - Enterprise Edition - Version: 10.1.0.2 to 11.2.0.1 - Release: 10.1 to 11.2
Oracle Server - Enterprise Edition - Version: 10.1.0.2 to 11.2.0.1   [Release: 10.1 to 11.2]
Information in this document applies to any platform.

Symptoms

In source database create users included in double quotes, like "123" (or "a_user") and run AUDIT statements for these users, like:

audit create session by "123";

Or:

audit create session by "a_user";

Then start export/import (using original utiliies, exp/imp). The statements included in dump file do not include the names in double quotes:

audit create session by 123;
audit create session by a_user;

and this generate the errors during import:

ORA-00987: missing or invalid username(s) -- if user name is "123"
ORA-01435: user does not exist -- if user name is "a_user"

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms