Why do you need to create ST_GEOMETRY a second time? (Enterprise geodatabases
include ST_GEOMETRY support.)
When ArcGIS tells you it needs SYS, it needs SYS, not any SYSDBA user. Certain
privileges can only be granted by SYS.
- V
If you want to bypass the SYSDBA or SYSOPER checking step then there is a way .
1. Log in to sqlplus as sys
i.e use the following command in sql prompt
conn / as sysdba
2. Check for parameter named O7_DICTIONARY_ACCESSIBILITY
i.e use the following command in sql prompt
show parameter O7_DICTIONARY_ACCESSIBILITY
It will give you result as shown below
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
O7_DICTIONARY_ACCESSIBILITY boolean FALSE
3. Change this parameter using
alter system set O7_dictionary_accessibility=TRUE scope=spfile;
4. It is a static parameter so need to bounce the database . Restart your database .
5. Now connect as SYS without SYSDBA privilege.
conn sys/<your SYS password>
it will be successful .
Note: Setting O7_DICTIONARY_ACCESSIBILITY to TRUE is dangerous
This behavior is because sys objects can be accessed only by user who is logged in as sysdba. EVEN SYS cannot access its own objects unless during logon he authenticate himself as sysdba. After we set O7_DICTIONARY_ACCESSIBILITY=True, this check is no more there and even guys with 'select any table' priv can select tables like user$, obj$, seq$ etc.
You do NOT need to connect through ArcGIS as SYS. SYS is only used by the Python
tool to create geodatabases.
If you did not copy the DLL, you need to do so, then follow the instructions for
installing the ST_GEOMETRY DLL (search on "CREATE or REPLACE LIBRARY").
- V
That's not an ArcGIS connection for mapping, it's an admin login associated with a
management script. I always manage my database from database tools.
- V