Kevin
Check remote_login_passwordfile init.ora parameter.
If it is "exclusive", then u need to create a password file.
use the orapwd utility to create it
$orapwd file=orapwtest password=pwd entries=5
I suggest u create another user with DBA privileges and create the password file, and set the remote_login_passwordfile=exclusive.
SQL>create user dbmon identified by ...
SQL>grant connect, resource, dba, sysdba to dbmon;
Now on any client machine u can connect as sysdba.
c:\>>sqlplus /nolog
SQL>connect dbmon@ as sysdba
Enter password: -- enter the pwd
Connected.
SQL>
Originally posted by suhasd75 Kevin
Check remote_login_passwordfile init.ora parameter.
If it is "exclusive", then u need to create a password file.
use the orapwd utility to create it
$orapwd file=orapwtest password=pwd entries=5
I suggest u create another user with DBA privileges and create the password file, and set the remote_login_passwordfile=exclusive.
SQL>create user dbmon identified by ...
SQL>grant connect, resource, dba, sysdba to dbmon;
Now on any client machine u can connect as sysdba.
c:\>>sqlplus /nolog
SQL>connect dbmon@ as sysdba
Enter password: -- enter the pwd
Connected.
SQL>
Hope this helps.
remote_login_passwordfile=exclusive and of course I have the password file. And moreover, I am running the command on the server side.
Oracle Certified Master
Oracle Certified Professional 6i,8i,9i,10g,11g
email: ocp_9i@yahoo.com
Originally posted by abhaysk What if u r doing on server.. sqlnet.ora has no role here?? ..
Gee, I answered the wrong thread. Sorry :-)
I had the following problem:
SQL> conn / as sysdba
Connected.
SQL> exec dbms_stats.gather_fixed_objects_stats('ALL');
BEGIN dbms_stats.gather_fixed_objects_stats('ALL'); END;
*
ERROR at line 1:
ORA-20000: Insufficient privileges to analyze an object in Fixed Ob
ORA-06512: at "SYS.DBMS_STATS", line 11802
ORA-06512: at "SYS.DBMS_STATS", line 12085
ORA-06512: at "SYS.DBMS_STATS", line 12599
ORA-06512: at line 1
SQL> select * from v$version;
BANNER
----------------------------------------------------------------
Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - 64bi
PL/SQL Release 10.1.0.2.0 - Production
CORE 10.1.0.2.0 Production
TNS for Solaris: Version 10.1.0.2.0 - Production
NLSRTL Version 10.1.0.2.0 - Production
What do you suggest??
Oracle Certified Master
Oracle Certified Professional 6i,8i,9i,10g,11g
email: ocp_9i@yahoo.com
Bookmarks