Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • SAN Linux/Unix
  • Changing default shell Linux/Unix
  • replace alphabets using sed Linux/Unix
  • Find_stale_dr.sql finding stale physical DR.. Oracle
  • get_vmstat_solaris Oracle
  • Mutating Table Error while using database trigger Oracle
  • Find_table_size.sql Oracle
  • Search and Replace vi editor command. Linux/Unix
  • tblwopk.sql /* Find Tables Without PK */ Oracle
  • Guide to Linux System Command Mastery Linux/Unix
  • Benefits and Usage of RMAN with Standby Databases Oracle
  • Create type and Grant on it. Oracle
  • Very Good Oralce Internal Tuning Book Oracle
  • Jai Shree Ram Oracle
  • copying/removing directory with all its subdirectory Linux/Unix

10g oem configuration

Posted on 19-Jan-2006 By Admin No Comments on 10g oem configuration

(1) Check whether your database is registered with Enterprise Manager or not, using following command:

posdbprod21:oracle> emctl status dbconsole

OC4J Configuration issue. /oracle/app/oracle/product/10.1/oc4j/j2ee/OC4J_DBConsole_posdbprod21_CIF not found.

posdbprod21:oracle>

This means database is not registered with OEM.

(2) Remember DBCA and other java interfaces use /vat/opt/oracle/oratab file to find the number of oracle instances instaled on that server. So ensure that you have your database entry in oratab. I have put following entry there:

CIF:/oracle/app/oracle/product/10.1:N

(3) To register this database with OEM we need to run dbca. for that

(3-1) find your local PC IP.

(3-2) Set DISPLAY env variable pointing to local ip as following:

posdbprod21:oracle> export DISPLAY=10.180.78.47:0.0

(3-3) Start X-windows client on your PC. Here i will start Reflection-X locally on my PC.

(3-4) Now start Database Configuration Asst using command line tool “dbca”.

(3-5) Click on next while navigating through GUI.

(3-6) Check the box on “Configure the Database with Enterprise Manager”.

The radio will be at “Use Database Control for Database Management”. I didnt check any of following options as i dont need them at this time:

“Enable Email Notifications”

“Enable Daily Backup”

Then Click Next..

(3-7) While registering Listeners select “Register this database with selected listeners only”. and select “LISTENER_CIF” for here.

(3-8) Now, you will be asked to provide passwords for SYSMAN and DBSNMP users. give appropriate password. I generally keep same password as SYS.

(4) After that when we check dbconsole status, we will get following results:

posdbprod21:oracle> emctl status dbconsole

Oracle Enterprise Manager 10g Database Control Release 10.1.0.4

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

http://posdbprod21:5502/em/console/aboutApplication

Oracle Enterprise Manager 10g is running.

——————————————————————

Logs are generated in directory /oracle/app/oracle/product/10.1/posdbprod21_CIF/sysman/log

posdbprod21:oracle>

So now DB is registered with OEM and Intelligent Agent is running on this server.

(5) Now here you can see follwoing string in above step-4.

http://posdbprod21:5502/em/console/aboutApplication

So go to your browser and type

http://posdbprod21:5502/em

If you are getting some errors related to resolving name then bypass proxy for local servers and also need to setup your server-ip address in exceptions in browser settings:

Tools -> Internet Options -> Connections -> LAN Settings -> Advanced -> and in Exception mention, your DB server name or IP address of DB server.

So this setting should work.

Oracle, SQL scripts

Post navigation

Previous Post: UNderstand and eliminate Latch contention.
Next Post: Korn Shell Arithmatic

Related Posts

  • DBA_HIST_SQLSTAT contents Oracle
  • TRUNCATE table and disabling referential constraints. Oracle
  • 556976.1 Oracle Clusterware: Components installed Oracle
  • Find Time Consuming SQL Statements in Oracle 10g Oracle
  • 751131.1 New Article Error 2819 While Requesting a Systemstate Dump Oracle
  • VIvek Encryption Package and Its Usage Oracle

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (393)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (0)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (342)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • Trace a SQL session from another session using ORADEBUG30-Sep-2025
  • SQL Server Vs Oracle Architecture difference25-Jul-2025
  • SQL Server: How to see historical transactions25-Jul-2025
  • SQL Server: How to see current transactions or requests25-Jul-2025
  • T-SQL Vs PL/SQL Syntax25-Jul-2025
  • Check SQL Server edition25-Jul-2025
  • Checking SQL Server Version25-Jul-2025
  • Oracle vs MYSQL Architecture differences (For DBAs)24-Jul-2025
  • V$INSTANCE of Oracle in MYSQL24-Jul-2025
  • Day to day MYSQL DBA operations (Compared with Oracle DBA)24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • ORA-8031 issue and solution if it is occuring due to truncate. Oracle
  • Insert cause enqueue locks Oracle
  • Roles and Stored Object behaviour Oracle
  • find_cons.sql Oracle
  • Roles and Stored Procs II Oracle
  • sess1.sql Oracle
  • Find Multiple levels of object dependencies : depen.sql Oracle
  • Jai Shree Ram Linux/Unix

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme