Unable to setup Database control using emca on linux Please help!
I have read about a dozen post on this issue and no one gives exactly what they did to solve the problem. Seems like i have an incomplete installation that is screwing me up. I've read of some people removing the SYSMAN schema, people removing certain roles, etc.
The only thing ive tried:
emca -deconfig dbcontrol db -repos drop
emca -config dbcontrol db -repos create
Can someone please give me the exact steps I must follow in order to have a COMPLETE fresh clean dbconsole?
[oracle@oracle ~]$ env |grep ORACLE
ORACLE_UNQNAME=DB11G
ORACLE_SID=DB11G
ORACLE_BASE=/u01/app/oracle
ORACLE_HOSTNAME=oracle.localdomain
ORACLE_TERM=xterm
ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1
[oracle@oracle ~]$ emca -config dbcontrol db -repos create
STARTED EMCA at Jan 5, 2011 12:24:55 AM
EM Configuration Assistant, Version 11.2.0.0.2 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Enter the following information:
Database SID: DB11G
Listener port number: 1521
Listener ORACLE_HOME [ /u01/app/oracle/product/11.2.0/db_1 ]:
Password for SYS user:
Password for DBSNMP user:
Password for SYSMAN user:
Email address for notifications (optional):
Outgoing Mail (SMTP) server for notifications (optional):
You have specified the following settings
Database ORACLE_HOME ................ /u01/app/oracle/product/11.2.0/db_1
Local hostname ................ oracle.localdomain
Listener ORACLE_HOME ................ /u01/app/oracle/product/11.2.0/db_1
Listener port number ................ 1521
Database SID ................ DB11G
Email address for notifications ...............
Outgoing Mail (SMTP) server for notifications ...............
Do you wish to continue? [yes(Y)/no(N)]: y
Jan 5, 2011 12:25:26 AM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /u01/app/oracle/cfgtoollogs/emca/DB11G/emca_2011_01_05_00_24_54.log.
Jan 5, 2011 12:25:28 AM oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
Jan 5, 2011 12:25:28 AM oracle.sysman.emcp.EMReposConfig invoke
SEVERE: Error creating the repository
Jan 5, 2011 12:25:28 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Refer to the log file at /u01/app/oracle/cfgtoollogs/emca/DB11G/emca_repos_create_<date>.log for more details.
Jan 5, 2011 12:25:28 AM oracle.sysman.emcp.EMConfig perform
SEVERE: Error creating the repository
Refer to the log file at /u01/app/oracle/cfgtoollogs/emca/DB11G/emca_2011_01_05_00_24_54.log for more details.
Could not complete the configuration. Refer to the log file at /u01/app/oracle/cfgtoollogs/emca/DB11G/emca_2011_01_05_00_24_54.log for more details.
#LOG FOR WHEN I TRY TO CREATE IT
INFO: Creating the EM repository (this may take a while) ...
Jan 5, 2011 12:25:28 AM oracle.sysman.emcp.EMReposConfig createRepository
CONFIG: ORA-20001: SYSMAN already exists..
ORA-06512: at line 17
oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-20001: SYSMAN already exists..
ORA-06512: at line 17
at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeImpl(SQLEngine.java:1650)
at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeScript(SQLEngine.java:1000)
at oracle.sysman.assistants.util.sqlEngine.SQLPlusEngine.executeScript(SQLPlusEngine.java:339)
at oracle.sysman.assistants.util.sqlEngine.SQLPlusEngine.executeScript(SQLPlusEngine.java:380)
at oracle.sysman.emcp.EMReposConfig.createRepository(EMReposConfig.java:510)
at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:228)
at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:157)
at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:253)
at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:589)
at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1448)
at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:573)
at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:521)
Jan 5, 2011 12:25:28 AM oracle.sysman.emcp.EMReposConfig invoke
SEVERE: Error creating the repository
Jan 5, 2011 12:25:28 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Refer to the log file at /u01/app/oracle/cfgtoollogs/emca/DB11G/emca_repos_create_<date>.log for more details.
Jan 5, 2011 12:25:28 AM oracle.sysman.emcp.EMConfig perform
SEVERE: Error creating the repository
Refer to the log file at /u01/app/oracle/cfgtoollogs/emca/DB11G/emca_2011_01_05_00_24_54.log for more details.
Jan 5, 2011 12:25:28 AM oracle.sysman.emcp.EMConfig perform
CONFIG: Stack Trace:
oracle.sysman.emcp.exception.EMConfigException: Error creating the repository
at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:240)
at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:157)
at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:253)
at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:589)
at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1448)
at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:573)
at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:521)
Jan 5, 2011 12:25:28 AM oracle.sysman.emcp.EMConfig restoreOuiLoc
CONFIG: Restoring oracle.installer.oui_loc to /u01/app/oracle/product/11.2.0/db_1/oui
# LOG FOR WHEN I TRY TO DROP THE REPO
CONFIG: Enter SYS user's password :
Getting temporary tablespace from database...
Could not connect to SYS/(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=oracle.localdomain)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=DB11G.WORLD))): ORA-01017: invalid username/password; logon denied (DBD ERROR: OCISessionBegin)
Jan 5, 2011 12:38:09 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: stty: standard input: Invalid argument
stty: standard input: Invalid argument
Jan 5, 2011 12:38:09 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
WARNING: Error executing /u01/app/oracle/product/11.2.0/db_1/sysman/admin/emdrep/bin/RepManager -connect (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=oracle.localdomain)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=DB11G.WORLD))) -repos_user SYSMAN -action drop -verbose -output_file /u01/app/oracle/cfgtoollogs/emca/DB11G/emca_repos_drop_2011_01_05_00_38_08.log
Jan 5, 2011 12:38:09 AM oracle.sysman.emcp.EMReposConfig invoke
SEVERE: Error dropping the repository
Jan 5, 2011 12:38:09 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Refer to the log file at /u01/app/oracle/cfgtoollogs/emca/DB11G/emca_repos_drop_<date>.log for more details.
Jan 5, 2011 12:38:09 AM oracle.sysman.emcp.EMConfig perform
SEVERE: Error dropping the repository
Refer to the log file at /u01/app/oracle/cfgtoollogs/emca/DB11G/emca_2011_01_05_00_37_37.log for more details.
Jan 5, 2011 12:38:09 AM oracle.sysman.emcp.EMConfig perform
CONFIG: Stack Trace:
oracle.sysman.emcp.exception.EMConfigException: Error dropping the repository
at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:218)
at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:157)
at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:253)
at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:589)
at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1448)
at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:573)
at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:521)
Jan 5, 2011 12:38:09 AM oracle.sysman.emcp.EMConfig restoreOuiLoc
CONFIG: Restoring oracle.installer.oui_loc to /u01/app/oracle/product/11.2.0/db_1/oui
hahaha, i counted my chickens before they hatched..
Creating the web bit is failing
[oracle@oracle bin]$ emca -config dbcontrol db
#LOG
Connecting to database using connect string (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=oracle.localdomain)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=DB11G.WORLD))) in home /u01/app/oracle/product/11.2.0/db_1 with user "SYS" role "SYSDBA".
Jan 5, 2011 3:43:23 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Couldn't connect to the db - ORA-01017: invalid username/password; logon denied (DBD ERROR: OCISessionBegin) at /u01/app/oracle/product/11.2.0/db_1/sysman/admin/scripts/emca/emcaDbUtil.pl line 106, <STDIN> line 2.
Jan 5, 2011 3:43:23 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Error executing /u01/app/oracle/product/11.2.0/db_1/sysman/admin/scripts/emca/emcaDbUtil /u01/app/oracle/product/11.2.0/db_1/perl/lib:/u01/app/oracle/product/11.2.0/db_1/perl/lib/site_perl:/u01/app/oracle/product/11.2.0/db_1/sysman/admin/scripts:/u01/app/oracle/product/11.2.0/db_1/bin: /u01/app/oracle/product/11.2.0/db_1/perl/bin/perl /u01/app/oracle/product/11.2.0/db_1/sysman/admin/scripts/emca/emcaDbUtil.pl /u01/app/oracle/product/11.2.0/db_1 (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=oracle.localdomain)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=DB11G.WORLD))) SYS SYSDBA declare repos_pwd varchar2(30); view_user varchar2(30); view_user_pwd varchar2(30); view_user_acc_status varchar2(30); begin repos_pwd := ?; sysman.mgmt_view_priv.get_view_user(view_user); select account_status into view_user_acc_status from sys.dba_users where upper(username) = upper ( view_user ); IF view_user_acc_status like '%LOCKED%' THEN execute immediate 'alter user ' || view_user || ' account unlock'; END IF; IF view_user_acc_status like '%EXPIRED%' THEN sysman.mgmt_view_priv.set_view_user_creds ( repos_pwd ); sysman.mgmt_view_priv.GET_VIEW_USER_CREDS ( view_user, view_user_pwd ); execute immediate 'alter user ' || view_user || ' identified by ' || view_user_pwd || ''; END IF; end; DB11G 1 SYSMAN_PWD
Jan 5, 2011 3:43:23 AM oracle.sysman.emcp.EMReposConfig unlockMGMTAccount
CONFIG: Failed to unlock mgmt_view account
Jan 5, 2011 3:43:23 AM oracle.sysman.emcp.EMReposConfig invoke
SEVERE: Failed to unlock all EM-related accounts
Jan 5, 2011 3:43:23 AM oracle.sysman.emcp.EMConfig perform
SEVERE: Failed to unlock all EM-related accounts
Refer to the log file at /u01/app/oracle/cfgtoollogs/emca/DB11G/emca_2011_01_05_03_42_35.log for more details.
Jan 5, 2011 3:43:23 AM oracle.sysman.emcp.EMConfig perform
CONFIG: Stack Trace:
oracle.sysman.emcp.exception.EMConfigException: Failed to unlock all EM-related accounts
at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:348)
at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:157)
at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:253)
at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:589)
at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1448)
at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:573)
at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:521)
Jan 5, 2011 3:43:23 AM oracle.sysman.emcp.EMConfig restoreOuiLoc
CONFIG: Restoring oracle.installer.oui_loc to /u01/app/oracle/product/11.2.0/db_1/oui
I honestly have no bloody clue why its saying invalid user/pass.. all sys accounts are working fine..what am I missing here.
[oracle@oracle ~]$ sqlplus sysman
SQL*Plus: Release 11.2.0.1.0 Production on Wed Jan 5 03:52:40 2011
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Enter password:
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL>
Similar Messages
-
HT5552 I am unable to setup payment method using American Express.
I am unable to setup payment method using American Express.
Contact iTunes Customer Service and request assistance
Use this Link > Apple Support iTunes Store Contact -
after a licensing failure message, I tried to reinstall CS3 design standard but the error "Component Install Failed" occurred and I still am unable to use Photoshop or InDesign Please Help!
J3liu1 I would recommend reviewing the installation log files for the specific error message which you are facing. You can find details on how to locate an interpret your installation log files at Troubleshoot installation with install logs | CS3, CS4. You are welcome to post any specific errors you discover to this discussion.
-
Hi I am trying to upgrade my iPhone Model#A1303 to iOS6 through iTunes. The iOS is upgraded but activation is pending. Says activating serveris temporarily unavailable repeatedly and i am unable to use my phone. Please help to upgrade or restore.
That's usully symptomatic of a phone that was jailbroken or hacked to unlock it.
-
i m not able to connect for the wifi which i have used earlier ,i m getting an error as unable to join the network how to resolve this please help me
We were able to log in this morning and all is working. You should be able to log in at any point today. Please let us know if you are having any other difficulties.
-
When I plug my iPod into the computer, itunes won't come up on the screen and my iPod is not recognized anymore and it use to be. Please help because I can't sync it at all because it won't show up as a device on the right hand side of itunes.
Try
iOS: Device not recognized in iTunes for Windows
I would start with
Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP
or
Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8
Before you reinstall the Apple software, also remove iCloud vi Control Panel Remove programs. The reinstall the Apple programs
New cable and different USB port?
Runs this and see if the results help with determine the cause
iTunes for Windows: Device Sync Tests
Try on another computer to help determine if computer or iPod problem -
HT204291 Error Message: "airplay tv is in use by someone else" Please help?
I.m trying to use Airplay Mirroring to stream content from my iPad 2 to my HDTV.
Already using Airplay TV successfully to stream content from my iTunes library using the Remote control but now I want to add my iOS devices but I'm getting the following conflict / error message when I try to turn mirroring on on my iPad 2:
Error Message: "airplay tv is in use by someone else"
Please help?Set a password by using the "Airport Utility", then it will work again.
-
Dear Friends, I am trying to draw a structure in Adobe Illustrator with 3D effect. But I am unable to give it proper shape. Can someone please help me for drawing the similar structure as showed below. I have facing problems in giving 3D effect.
Thanks a lot for your great help...i made a quick example:
and what it's made of:
just shapes and gradients. used a combination of pathfinder and shape builder to get the shapes exact. -
My ipod classic have no software and I am stuck with it. It was formatted for apple but I use windows 8. Please help. Thanks in advance.
Hello there, DrDhillon.
The following Knowledge Base article goes over the steps that will help you resolve your issue:
Restoring iPod to factory settings
http://support.apple.com/kb/HT1339
Thanks for reaching out to Apple Support Communities.
Cheers,
Pedro. -
i just updated my itunes and now I am unable to open any of my songs... please help me. Every time i click it, it says it cannot be read because it was made by a newer version of itunes.
Try resetting the Nano with it still connected to a high powered USB 2.0 port on your PC. To reset the iPod, press and hold both the Sleep/Wake and Home buttons together long enough for the Apple logo to appear.
B-rock -
I cannot use data back up when I use iphone4s in iphone5 ,please help me?
I cannot use data back up when I use iphone4s in iphone5 ,please help me?now a day I use iphone5 and ipad4 I love apple
I back up in iCloud when I used iPhone 4S,but now I want use data iCloud in iphone5 but I cannot do it,please help me?what should Ido ?
-
I can't connect my ipad air to my computer. It comes up with the message 'connection has timed out'. I use windows vista. Please help, I want my music catalogue on my ipad. Thanks
Have you updated your iTunes? iOS7 requires at least iTunes 11.
-
Hi, I have tried to restore settings on my Iphone due to problems I was having with the phone cutting out when talking on the phone, now Iphone shows Sim Failure, how can I get back to using my phone? Please help, its a business phone.
Hi jclarke64,
Thank you for contributing to the Apple Support Communities.
I'm sorry to hear that your iPhone 4s was lost, and glad that you were able to upgrade.
If your iPhone 4s was backed up to iCloud or using iTunes, you can restore the backed up data to your new phone.
See the steps in this article for help with restoring from a backup:
Back up and restore your iPhone, iPad, or iPod touch using iCloud or iTunes - Apple Support
All the best,
Jeremy -
i am using mac book pro and I cannot see the video of my chatmate using skype or fb.please help
Is your version of Skype known to work with your operating system version?
-
I received an iCloud backup notification on my ipad mini but tapping "OK" does not remove it and therefore I am unable to do any activity on my ipad mini. please help urgent.??
Have you tried a reset ? Press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider if it appears), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.
Maybe you are looking for
-
Tiffen Dfx for Premiere CS5 or above?
does anyone know if Tiffen have plug in for Premiere? i found something but not sure if it will work with Premierea CS5? any advice pls
-
This last week (of 17 Sep 12) I updated my iPhone 4 to iOS 6 and now my Yahoo mail does not work. I keep getting a "Yahoo server busy" message. This problem has not effected the update to my iPad 3 - it works fine. In addition, I have deleted and
-
Payment through payment batch table update
Hi all , my user mistakenly choose whole invoices as he was creating payment through batches in oracle payables payment batches. Now when we choose any supplier to payment, it did not select the invoices. I search some table like ap_checks, ap_inovic
-
How to access a Stack class from different classes
Hi I have a Stack implemented as Stack.java. I have 2 more java files Control.java and display.java. In Control.java I have created Stack stack = new Stack(); and am pushing values in the stack. In display.java i have some conditions where i want to
-
I am able to preview all of my reports in the CMC when you hit preview, But when I try to refesh any of my reports I am getting this error: CrystalReportViewer handleCrystalEvent failed Unable to retrieve Object. The database logon information for t