iSelfSchooling.com - Copyright © 1999-2007 iSelfSchooling.com  References  Job Openings  |  Secure Login
    Home  | Search more...  |  FREE Online VIDEO Oracle Training  |  Gift Store  |  Bookstore

   Unlimited access!   

    Oracle  Syntax  | Suggestions Your Contribution  |  FREE Legal Forms

 

Email2aFriend Homepage us! |  Bookmark   -  Copyright & User Agreement

Products/Services

 Vision/Mission

 Community Sharing

 Services

  Products

 Biography

 Contact Us

 FAQ

 Current News

 Website Traffic

 Bookstore

 FREE Training

 SQL

 PL/SQL

 Forms 

 Reports

 Other TOOLS

 Fundamentals

 Performance

 OEM

 Application Server

 Grid Control

 Articles

 Prepare for OCP

Oracle SYNTAX

 Oracle Functions

 Oracle Syntax

 Oracle 10g Syntax

  PL/SQL Syntax

UNIX and more...

 UNIX for DBAs

 LINUX for DBAs

 DB using PHP

  A+ Certification

 Basics of JAVA  

 Tips of  SEO

Finance/Jobs

 Financial Aid

 Skilled

 Oracle

 Jobs

  Magazine

More Training

 Q & Answers

 SQL-PL/SQL

 DBA

 Developer

 Important Notes

 Case Studies

 9i New Features

 10g New Features

 10g Qs/As

 Grid Control

 OracleAS # I

 OracleAS # II

  LDAP and OID

  HTTP Server

 Instructor-Led

  Virtual Hosts

 Community Sharing

More to know...

Acknowledgement**

 FREE Legal Forms

 Who is who

 Market Place

 University Directory

 Advisory Articles

 Links...

 

 

Oracle Tips/Questions and Answers:

 

More Resources by Google:

 

Question: I exported the old version dump file into the new 10g release file and since then
I have problem with my EM. I can not use my http://myserver:port/em
I get the following error messages when I start it.
To start:
/u01/app/oracle >emctl start dbconsole
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0 
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
http://HRMS2:1158/em/console/aboutApplication
ps: unknown output format: -o cmd
ps: illegal option -- -
ps: unknown output format: -o ls
usage: ps [ -aAdeflcjLPy ] [ -o format ] [ -t termlist ]
[ -u userlist ] [ -U userlist ] [ -G grouplist ]
[ -p proclist ] [ -g pgrplist ] [ -s sidlist ]
'format' is one or more of:
user ruser group rgroup uid ruid gid rgid pid ppid pgid sid taskid
pri opri pcpu pmem vsz rss osz nice class time etime stime
f s c lwp nlwp psr tty addr wchan fname comm args projid project pset
Starting Oracle Enterprise Manager 10g Database Control .................... 
started. 
------------------------------------------------------------------
Logs are generated in directory 
/u01/oracle/product/10.2.0/HRMS2_budget/sysman/log 

Please help:


You have two problems:
the following message is due to bug:
ps: unknown output format: -o cmd
ps: illegal option -- -
ps: unknown output format: -o ls
usage: ps [ -aAdeflcjLPy ] [ -o format ] [ -t termlist ]
[ -u userlist ] [ -U userlist ] [ -G grouplist ]
[ -p proclist ] [ -g pgrplist ] [ -s sidlist ]
'format' is one or more of:
user ruser group rgroup uid ruid gid rgid pid ppid pgid sid taskid
pri opri pcpu pmem vsz rss osz nice class time etime stime
f s c lwp nlwp psr tty addr wchan fname comm args projid project pset

to fix it:
Go to the $ORACLE_HOME\<yourservername>.<yourdatabaseinstancename>.
There is a file called emctl.pid.
Delete the file.

The other problem is your duplicate record in the EM repository.
You have to drop and recreate the DBconsole.


How to Drop, Create and Recreate DBconsole in Database R2.
To drop and create configuration files and repository run:
% emca -config dbcontrol db -repos recreate

/u01/app/oracle >emca -config dbcontrol db -repos recreate 

STARTED EMCA at Dec 21, 2006 8:22:42 AM
EM Configuration Assistant, Version 10.2.0.1.0 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.

Enter the following information:
Database SID: <YourSID>
Database Control is already configured for the database <YourSID>
You have chosen to configure Database Control for managing the database <YourSID>
This will remove the existing configuration and the default settings and perform a fresh configuration
Do you wish to continue? [yes(Y)/no(N)]: Y
Listener port number: YourPort# - 1521
Password for SYS user: SysPassword
Password for DBSNMP user: DBSNMP-Password
Password for SYSMAN user: SysmanPassword
Email address for notifications (optional): YourEmail
Outgoing Mail (SMTP) server for notifications (optional): YourOutgoingMail
-----------------------------------------------------------------

You have specified the following settings
Database ORACLE_HOME ................ /u01/oracle/product/10.2.0
Database hostname ................ servername
Listener port number ................ 1521
Database SID ................ <yoursid>
Email address for notifications ............... john@iselfschooling.com
Outgoing Mail (SMTP) server for notifications ............... YourOutgoingMail

-----------------------------------------------------------------
Do you wish to continue? [yes(Y)/no(N)]: Y
Dec 21, 2006 8:25:52 AM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /u01/oracle/product/10.2.0/cfgtoollogs/emca/budget/emca_2006-12-21_08-22-41-AM.log.
Dec 21, 2006 8:25:55 AM oracle.sysman.emcp.util.DBControlUtil stopOMS
INFO: Stopping Database Control (this may take a while) ...
Dec 21, 2006 8:26:03 AM oracle.sysman.emcp.EMReposConfig dropRepository
INFO: Dropping the EM repository (this may take a while) ...
Dec 21, 2006 8:29:13 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully dropped
Dec 21, 2006 8:29:13 AM oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
Dec 21, 2006 8:35:00 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully created
Dec 21, 2006 8:35:06 AM oracle.sysman.emcp.ParamsManager getLocalListener
WARNING: Error retrieving listener for HRMS2
Dec 21, 2006 8:35:51 AM oracle.sysman.emcp.EMConfig perform
SEVERE: Cannot start Database Control. The following ports are already in use: [Database Control HTTP port:1158 EM agent port:3938 RMI port for Database Control:5521].
Refer to the log file at /u01/oracle/product/10.2.0/cfgtoollogs/emca/budget/emca_2006-12-21_08-22-41-AM.log for more details.
Could not complete the configuration. Refer to the log file at /u01/oracle/product/10.2.0/cfgtoollogs/emca/budget/emca_2006-12-21_08-22-41-AM.log for more details.

Then stop and start your dbconsole:
# emctl stop dbconsole
# emctl start dbconsole

 

 
 
Google
 
Web web site