Problem Description
When using the Oracle IMP (Import) utility to import a database from a DMP file, the recommended procedure is to run the CampaignMax Database Update Utility after running IMP. Unfortunately, Oracle has made subtle changes to their security model that cause the utility to fail. The utility may give the following errors while running:
SYSTEM: Grant Select on camRoles to CAMPMGR...Failed with this Error:
ORA-01720: grant option does not exist for 'SYS.DBA_ROLES' (0x80004005)
SYSTEM: Grant Select on camUsers to CAMPMGR...Failed with this Error:
ORA-01720: grant option does not exist for 'SYS.DBA_USERS' (0x80004005)
SYSTEM: Grant Select on camRolePrivs to CAMPMGR...Failed with this Error:
ORA-01720: grant option does not exist for 'SYS.DBA_ROLE_PRIVS' (0x80004005)
CAMPMGR: Creating View camNamesOnlyV...Failed with this Error:
ORA-01031: insufficient privileges (0x80040E09)
Problem Resolution
Perform the following steps on the machine that has the Oracle database installed on it:
- Launch a command window by running: CMD.EXE
- Launch SQL Plus command line by running: SQLPLUS / AS SYSDBA
- Run the following commands at the SQL Command line. Each command should respond with "Grant successful".
- grant select on sys.dba_roles to system with grant option;
- grant select on sys.dba_users to system with grant option;
- grant select on sys.dba_role_privs to system with grant option;
- grant create view to CAMPMGR;
- At this point, the CampaignMax Database Update Utility should run successfully.