Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

emctl start dbconsole system error 5 access denied

1009771Jul 2 2013 — edited Jul 3 2013

hello i want to start ORACLE ENTERPRISE MANAGER 11g from cmd. when i wrote following command that error occured.

C:\Users\23333941>echo %ORACLE_HOME%

%ORACLE_HOME%

C:\Users\23333941>set ORACLE_HOME=C:\app\product\11.1.0\db_2

C:\Users\23333941>echo %ORACLE_HOME%

C:\app\product\11.1.0\db_2

C:\Users\23333941>sqlplus/NOLOG

SQL*Plus: Release 11.1.0.6.0 - Production on Wed Jul 3 10:35:39 2013

Copyright (c) 1982, 2007, Oracle.  All rights reserved.

SQL> create table test(id1 number);

SP2-0640: Not connected

SQL> connect

Enter user-name: sys

Enter password:

ERROR:

ORA-12560: TNS:protocol adapter error

SQL> connect

Enter user-name: sysdba

Enter password:

ERROR:

ORA-12560: TNS:protocol adapter error

SQL> exit

C:\Users\23333941>set ORACLE_SID=XE

C:\Users\23333941>echo %ORACLE_SID%

XE

C:\Users\23333941>echo %ORACLE_HOME%

C:\app\product\11.1.0\db_2

C:\Users\23333941>echo %ORACLE_SID%

XE

C:\Users\23333941>emctl start dbconsole

Oracle Enterprise Manager 11g Database Control Release 11.1.0.6.0

Copyright (c) 1996, 2007 Oracle Corporation.  All rights reserved.

https://local:5500/em/console/aboutApplication

Starting Oracle Enterprise Manager 11g Database Control ...System error 5 has occurred.

Access is denied.

C:\Users\23333941>regedit

C:\Users\23333941>HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE

The system cannot find the path specified.

C:\Users\23333941>emctl start dbconsole

Oracle Enterprise Manager 11g Database Control Release 11.1.0.6.0

Copyright (c) 1996, 2007 Oracle Corporation.  All rights reserved.

https://local:5500/em/console/aboutApplication

Starting Oracle Enterprise Manager 11g Database Control ...System error 5 has occurred.

Access is denied.

C:\Users\23333941>emctl status dbconsole

Oracle Enterprise Manager 11g Database Control Release 11.1.0.6.0

Copyright (c) 1996, 2007 Oracle Corporation.  All rights reserved.

https://local:5500/em/console/aboutApplication

Access is denied.

EM Daemon is not running.

------------------------------------------------------------------

Logs are generated in directory C:\app\product\11.1.0\db_2/local_xe/sysman/log

C:\Users\23333941>EMCTL STATUS DBCONSOLE

Oracle Enterprise Manager 11g Database Control Release 11.1.0.6.0

Copyright (c) 1996, 2007 Oracle Corporation.  All rights reserved.

https://local:5500/em/console/aboutApplication

   Oracle Enterprise Manager 10g Database Control commands:

        emctl start | stop dbconsole

        emctl status | secure | setpasswd dbconsole

       emctl status agent

       emctl status agent -secure [-omsurl <http://<oms-hostname>:<oms-unsecure-

port>/em/*>]

       emctl getversion

       emctl reload | upload | clearstate | getversion agent

       emctl reload agent dynamicproperties [<Target_name>:<Target_Type>]....

       emctl config agent <options>

       emctl config agent updateTZ

       emctl config agent getTZ

       emctl resetTZ agent

       emctl config agent credentials [<Target_name>[:<Target_Type>]]

Blackout Usage :

       emctl start blackout <Blackoutname> [-nodeLevel] [<Target_name>[:<Target_

Type>]].... [-d <Duration>]

       emctl stop blackout <Blackoutname>

       emctl status blackout [<Target_name>[:<Target_Type>]]....

The following are valid options for blackouts

<Target_name:Target_type> defaults to local node target if not specified.

If -nodeLevel is specified after <Blackoutname>,the blackout will be applied to

all targets and any target list that follows will be ignored.

Duration is specified in [days] hh:mm

        emctl getemhome

        emctl ilint

Em Key Commands Usage :

emctl config emkey -emkeyfile <emkey.ora path> [-force] [-sysman_pwd <sysman pas

sword>]

emctl config emkey -emkey [-emkeyfile <emkey.ora path>] [-force] [-sysman_pwd <s

ysman password>]

emctl config emkey -repos [-emkeyfile <emkey.ora path>] [-force] [-sysman_pwd <s

ysman password>]

emctl config emkey -remove_from_repos [-sysman_pwd <sysman password>]

emctl config emkey -copy_to_repos [-sysman_pwd <sysman password>]

emctl status emkey [-sysman_pwd <sysman password>]

Secure DBConsole Usage :

emctl secure dbconsole -sysman_pwd <sysman password> [-passwd_file <abs file loc

>]

        [-host <slb hostname>] [-sid <service name>] [-reset] [-secure_port <sec

ure_port>]

        [-root_dc <root_dc>] [-root_country <root_country>] [-root_state <root_s

tate>] [-root_loc <root_loc>]

        [-root_org <root_org>] [-root_unit <root_unit>] [-root_email <root_email

>]

emctl secure status dbconsole

C:\Users\23333941>emctl start dbconsole

Oracle Enterprise Manager 11g Database Control Release 11.1.0.6.0

Copyright (c) 1996, 2007 Oracle Corporation.  All rights reserved.

https://local:5500/em/console/aboutApplication

Starting Oracle Enterprise Manager 11g Database Control ...System error 5 has oc

curred.

Access is denied.

C:\Users\23333941>emctl start dbconsole

Oracle Enterprise Manager 11g Database Control Release 11.1.0.6.0

Copyright (c) 1996, 2007 Oracle Corporation.  All rights reserved.

https://local:5500/em/console/aboutApplication

Starting Oracle Enterprise Manager 11g Database Control ...System error 5 has oc

curred.

Access is denied.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 31 2013
Added on Jul 2 2013
4 comments
7,280 views