Enterprise manager 11g - win 2003 - sys/passwd error
We have windows 2003 server and we are running 2 oracle databases in
version 11g.
We were successfully configured EM for one database and when we tried for the other database we encountered configuration errors and the log file doesnt carry that much info for me to understand the error. I searched on google and was able to find one solution, which stated that the ocijdbc11.dll was overlooked and ocijdbc10.dll is needed to fix the issue." It was a bug". I tried the solution and it worked,however the emca command ended saying cannot start dbcontrol. Went through the log and found DBCONTROL created and secured.
So manually restarted DBCONTROL, it started well.
I opened the page and tried logging in using sys/passwd as sysdba, it didnt allow me in.
I even deconfigured and configured again. i got the same error.
Can anybody suggest what would be the cause and solution or work
around for this.
Thank you
PKS
Is this a fresh install?
Are you able to connect as any other user other than "SYS" ?
How to Troubleshoot Failed Login Attempts to DB Control
https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=404820.1
Verify if everything's okay with the passwd file..
How to Avoid Common Flaws and Errors Using Passwordfile
https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=185703.1
Similar Messages
-
Error while installing oracle enterprise manager 11g
Hello,
I am trying to install Oracle enterprise manager 11g & keep on
getting following error at install progress stage :
Error in setting permission of file/directory
/u01/labuser/Oracle/Middleware/oracle_common/oui/jlib/emocmul.jar
with 3 options Retry,Ignore & cancel.
Could anyone guide why i am getting this error & how to fix this problem ?
Thank-You
Rahul Shah.Hi;
For your issue i suggest close your thread here as changing thread status to answered and move it to Forum Home » Enterprise Manager which you can get more quick response
Regard
Helios -
Too many columns to be shown in the Enterprise Manager 11g?
Hello,
we are having some problems with the Enterprise Manager 11g. When we want to VIEW DATA of a specific table, we get this exception. We think that our table has too many columns to be displayed. If we delete some of the columns, the data is shown in the enterprise manager. But this cannot be a solution for us. Can you help us with this point?
2009-08-03 10:07:04,210 [EMUI_10_07_04_/console/database/schema/displayContents] ERROR svlt.PageHandler handleRequest.639 - java.lang.ArrayIndexOutOfBoundsException: -128
java.lang.ArrayIndexOutOfBoundsException: -128
at oracle.sysman.emo.adm.DBObjectsMCWInfo.getSqlTimestampIndexes(DBObjectsMCWInfo.java:194)
at oracle.sysman.emo.adm.schema.TableViewDataBrowsingDataSource.executeQuery(TableViewDataBrowsingDataSource.java:167)
at oracle.sysman.emo.adm.DatabaseObjectsDataSource.populate(DatabaseObjectsDataSource.java:201)
at oracle.sysman.emo.adm.DatabaseObjectsDataSource.populate(DatabaseObjectsDataSource.java:151)
at oracle.sysman.emo.adm.schema.DisplayContentsObject.populate(DisplayContentsObject.java:369)
at oracle.sysman.db.adm.schm.DisplayContentsController.onDisplayAllRows(DisplayContentsController.java:303)
at oracle.sysman.db.adm.schm.DisplayContentsController.onDisplayContents(DisplayContentsController.java:290)
at oracle.sysman.db.adm.schm.DisplayContentsController.onEvent(DisplayContentsController.java:136)
at oracle.sysman.db.adm.DBController.handleEvent(DBController.java:3431)
at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:577)
at oracle.sysman.db.adm.RootController.handleRequest(RootController.java:205)
at oracle.sysman.db.adm.DBControllerResolver.handleRequest(DBControllerResolver.java:121)
at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:781)
at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:337)
at oracle.sysman.eml.app.Console.doGet(Console.java:318)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:109)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
at oracle.sysman.db.adm.inst.HandleRepDownFilter.doFilter(HandleRepDownFilter.java:153)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
at oracle.sysman.eml.app.BrowserVersionFilter.doFilter(BrowserVersionFilter.java:122)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
at oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:102)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:336)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:627)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)When we select the table via SQL, everything works fine.Hi,
I'm Galit from the QE team of VIN.
All the things that you've described are correct.
It is actually an edge case where the only VM, that the manual App can be managed from its Map view, was removed from the App.
The Manual App management is as designed, and may be changed in the future.
There are 2 ways to overcome this situation:
1.You can, as you stated, create another Manual App with similar name and remain with the "Zombie App".
2. To run a specific command that will remove the Zombie App from the DB.
Please note that option no. 2 involves using an API that we do not publish.
If you would like to use option no. 2 contact me in private and we will see about supplying the relevant commands to run in order to delete the "zombie" application.
Thanks,
Galit Gutman -
Oracle Enterprise Manager 11g is not running
Hi everyone.
I can't open my Enterprise Manager in my browser.
when I am typing this command "emctl status dbconsole",it gives me this error :
C:\Windows\system32>emctl status dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
https://localhost:1158/em/console/aboutApplication
Oracle Enterprise Manager 11g is not running.
Logs are generated in directory E:\app\Ahmad\product\11.2.0\dbhome_1/Ahmad-PC_or
cl/sysman/log
Thanks.user9077620 wrote:
I type emctl start dbconsole
then it mention to set variable ORACLE_UNQNAME then i did this step
after that i retypr emctl start dbconsole , it gives me this error:
C:\Windows\system32>emctl start dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
https://localhost:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 11g Database Control ...The OracleDBConsoleo
cl service is starting..............
The OracleDBConsoleorcl service could not be started.
A service specific error occurred: 2.
More help is available by typing NET HELPMSG 3547.OS/Networking mis-configuration
Oracle is victim; not culprit -
Enterprise manager 11g doesn't display
Hi all,
I have installed Oracle 11g on Windows server 2008. But now enterprise manager doesn't want to open or display.
C:\Users\Oraclemon>set ORACLE_SID=wmconpd1
C:\Users\Oraclemon>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://SZAJHBODW01.zacca.af.lafarge.net:5500/em/console/aboutApplication
Starting Oracle Enterprise Manager 11g Database Control ...The OracleDBConsoleWM
CONPD1 service is starting................
The OracleDBConsoleWMCONPD1 service was started successfully.
http://10.56.16.52:5500/em in internet explorer
It only shows a upside down T L and two other reversed rr.
But when I connect to one of my other sites no problem, it displays.
Please helpWhy are you accessing via IP address ?
Try using https://SZAJHBODW01.zacca.af.lafarge.net:5500/em/console/
emctl status dbconsole
Did you check the logs ? -
Problem using Enterprise Manager 11g Database Control in Firefox 3.6.6
Hello all,
I just intalled Oracle 11g and trying to familiarize myself with Enterprise Manager 11g Dataabse Control using Firefox 3.6.6 in Windows XP.
I'm able to login to Enterprise manager successfully.
However, when I click on on "Performance Tab", the "SYSTEM_MOVING_WINDOW" is empty, and there's a prompt "Click Here to Download Plugin."
When I do click on it, I get message:
No suitable plugins were found.
Unknown plugin (application/octet-stream) [Manual Install].
I'm not sure what plugin I need so I can use Enterprise Manager properly.
Please help!
Thanks
GiovanniI use the Opera browser so I can split the screen to monitor multiple instances at the same time on my 2nd monitor. I am not having issues with the 10g OEM but having the same problem listed in this thread with the 11g OEM ( we have both running during our migration to 11g). The posts here didn't help me with the 11g OEM as there must be some difference from 10g OEM. I will hate it if I can't do the split screen to monitor multiple instances at the same time. And if you are connecting via solaris or lunix browser then IE is not an option ( W3C standards please ).
-
Oracle Enterprise Manager 11g Database Control log file location
Any one knows where the log file is for Oracle Enterprise Manager 11g Database Control. I am trying to set up EUS proxy authentication and running into issues when trying to search proxy user in my DB. The search returns no results and I am not sure where to look for. Please not my setup does work for EUS with shared or exclusive schema. I need to use Oracle DB proxy authentication for my application and that would need a setup of EUS with proxy permissions so please advice if you know where the log file is for Oracle Enterprise Manager 11g Database Control or if there is any logging I can turn on to see what search parameters are passed from Oracle Enterprise Manager 11g Database Control to my DB by using DB audit etc.
Thanks,Be patient...wait for report.
If after some time report does not appear, go to Advisor Central and find it there.
:p -
Disk 1 of Enterprise Manager 11g Grid Control not downloading correctly
Hello, I'm downloading Enterprise Manager 11g Grid Control.
The first disk, of three, does not download correctly:
GridControl_11.1.0.1.0_Linux_1of3.zip
On the web page, its size is listed to be around 1.3 GB.
However, when downloading, it thinks its actual file size is only around 643 MB.
So only that much gets downloaded.
But after downloading, this .zip file cannot be opened, it does not appear to a valid .zip file.
Please investigate and fix this.
Thanks
EugenePlease check from edelivery.oracle.com . You need to unzip all the zips under one dir.
-
Error on Enterprise Manager 11g login screen
I have Oracle 11g installed on a Windows 2008 Server and I'm running into a problem trying to log in to my Enterprise Manager screen. The screen loads just fine, but when I put in the username and password and hit login, the status wheel at the top spins like it's going to log in but instead returns me to the EM login screen.
I've done some troubleshooting already but I have no idea where else to look. It isn't local because I'm not the only one in the office getting this error, it isn't my installation process because this isn't our only server, but it is the only one exibiting this error. I know there is a known issue with IE8, but from what I've read this isn't the same issue (the known issue is that the page just continues to load indefinately). I've tried 'emctl start agent', and it seems to start fine, but when I run 'emctl status agent' it continues to come back with 'agent not running.' I've tried using just the IP address, as well as the server name (DNS isn't set up on these servers) with the same results.
Anybody out there have any other ideas?20.1.4 Limitations on Viewing XML Data on the Audit Trail Page with Internet Explorer 7
If you are using Internet Explorer 7, and click the view XML document link on the Audit Trail page in Oracle Enterprise Manager Fusion Middleware Control Console, data is not displayed. Instead, you are prompted to save or open the page. If you select to open the file, no data is displayed and you are again prompted to save or open the file. Instead, you must save the XML document and view it separately in a text editor.
As a workaround, use Mozilla FireFox to view the data directly after clicking the view XML document link.
This is the limitation that we are aware of. Login should work with IE7 for EM. Please double check your settings. -
Oracle Enterprise Manager 11g - 'unexpected login error'
Hi,
I am having trouble logging into Oracle Enterprise Manager - Fusion Middleware Control. at the login screen when i enter in the UN and PWD, I get the msg: 'unexpected login error'. I was able to login before, this just happend and now I cannot login. Any help would be appreciated.
Thanks.You may have greater chances to get an answer....there:
Enterprise Manager
Greetings...
Sim -
I am trying to integrate EBS 12.1.3 with Enterprise Manager 11g
HI Experts
I need to integrate EBS 12.1.3 with Enertprise Manager 11g grid control.
I have applied patch 8333939 to my OMS Instance successfully.
But I am not able to apply the same to my agent home.
I am following this doc.
http://docs.oracle.com/cd/E11857_01/em.111/e18708/T506934T511454.htm
I need to deploy patch 9757683 to my agent home.
Also silent installation is not working.
Please advise.
Thanks
Vsyed786I see this error in your output:
2014-11-26 10:55:23,583 ERROR [ThemeAutoDeployer]
java.io.FileNotFoundException: /tmp/liferay/com/liferay/portal/deploy/dependencies/liferay-theme.tld (Too many open files)
I'm not across what the EBS recommended setting for this is, or if there is one. But try running:
ulimit -n
... and if the number is low, edit /etc/security/limits.conf , add some entries for increased "soft nofile" and "hard nofile" and run sysctl -p. See Linux & Java tips: Too many open files . -
Issue with Enterprise Manager 11g
When I start the db console I am given the message
Enterprise Manager is not able to connect to the database instance, The state of the components are listed below.
All components are listed with green arrows indicating they are up
After reading a few posts here I have attempted to use EMCA to drop and re create the repository and settings
I have run the command 'emca -deconfig dbcontrol db -repos drop' to try and do this but it just hangs
Looking in the logs I can see the follow (only the last few lines added to keep it short)
emca_2011_08_05_14_17_29 -
CONFIG: Setting param: REP_DB_RUNNING_HOST value: RangePlanTest.gooutdoors.local
Aug 5, 2011 2:17:56 PM oracle.sysman.emcp.ParamsManager getRepDbPort
CONFIG: Listener Port: 1521
Aug 5, 2011 2:17:56 PM oracle.sysman.emcp.util.GeneralUtil isLocalConnectionRequired
CONFIG: isLocalConnectionRequired: true
Aug 5, 2011 2:17:56 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: isLocalConnectionRequired: true. Connecting to database instance locally.
Aug 5, 2011 2:17:56 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine connecting with SID: godw, oracleHome: C:\app\server\product\11.2.0\dbhome_2, and user: SYSMAN
Aug 5, 2011 2:17:57 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine created successfully and connected
Aug 5, 2011 2:17:57 PM oracle.sysman.emcp.ParamsManager checkListenerStatusForDBControl
CONFIG: Passed listener validation check.Listener is up and running.
Aug 5, 2011 2:17:57 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Dropping the EM repository (this may take a while) ...
Aug 5, 2011 2:17:57 PM oracle.sysman.emcp.util.PlatformInterface isInView
CONFIG: IN_VIEW marker not instantiated in C:\app\server\product\11.2.0\dbhome_2\sysman\config\emca.properties
Aug 5, 2011 2:17:57 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Aug 5, 2011 2:17:57 PM oracle.sysman.emcp.util.PlatformInterface getEnvProps
CONFIG: Returning env array from cache
Aug 5, 2011 2:17:57 PM oracle.sysman.emcp.util.PlatformInterface getSortedEnvArray
+CONFIG: New Env List: [ALLUSERSPROFILE=C:\ProgramData, APPDATA=C:\Users\server\AppData\Roaming, CLASSPATH=C:\app\server\product\11.2.0\dbhome_2\jlib\emca.jar;C:\app\server\product\11.2.0\dbhome_2\jlib\srvm.jar;C:\app\server\product\11.2.0\dbhome_2\jlib\srvmasm.jar;C:\app\server\product\11.2.0\dbhome_2\jlib\cvu.jar;C:\app\server\product\11.2.0\dbhome_2\jlib\emConfigInstall.jar;C:\app\server\product\11.2.0\dbhome_2\jlib\ldapjclnt11.jar;C:\app\server\product\11.2.0\dbhome_2\jlib\ldap.jar;C:\app\server\product\11.2.0\dbhome_2\jlib\share.jar;C:\app\server\product\11.2.0\dbhome_2\jlib\srvmhas.jar;C:\app\server\product\11.2.0\dbhome_2\jlib\netcfg.jar;C:\app\server\product\11.2.0\dbhome_2\jlib\http_client.jar;C:\app\server\product\11.2.0\dbhome_2\lib\http_client.jar;C:\app\server\product\11.2.0\dbhome_2\lib\xmlparserv2.jar;C:\app\server\product\11.2.0\dbhome_2\assistants\jlib\assistantsCommon.jar;C:\app\server\product\11.2.0\dbhome_2\sysman\jlib\emCORE.jar;C:\app\server\product\11.2.0\dbhome_2\sysman\jlib\emagentSDK.jar;C:\app\server\product\11.2.0\dbhome_2\oui\jlib\OraInstaller.jar;C:\app\server\product\11.2.0\dbhome_2\oui\jlib\OraPrereq.jar;C:\app\server\product\11.2.0\dbhome_2\inventory\prereqs\oui\OraPrereqChecks.jar;C:\app\server\product\11.2.0\dbhome_2\oui\jlib\OraPrereqChecks.jar;, COMMONPROGRAMFILES=C:\Program Files\Common Files, COMMONPROGRAMFILES(X86)=C:\Program Files (x86)\Common Files, COMMONPROGRAMW6432=C:\Program Files\Common Files, COMPUTERNAME=RANGEPLANTEST, COMSPEC=C:\Windows\system32\cmd.exe, EMCA_JAR=C:\app\server\product\11.2.0\dbhome_2\jlib\emca.jar, FP_NO_HOST_CHECK=NO, HOMEDRIVE=Z:, HOMEPATH=\, HOMESHARE=\\kryten\gooutdoors\users\server, JRE_JAVA=C:\app\server\product\11.2.0\dbhome_2\jdk\jre\bin\java, LIB_DIR=C:\app\server\product\11.2.0\dbhome_2\jlib, LOCALAPPDATA=C:\Users\server\AppData\Local, LOGONSERVER=\\RIMMER, NUMBER_OF_PROCESSORS=4, OH=C:\app\server\product\11.2.0\dbhome_2, ORACLE_HOME=C:\app\server\product\11.2.0\dbhome_2, ORACLE_SID=godw, OS=Windows_NT, PATH=C:\app\server\product\11.2.0\dbhome_2\bin;C:\app\server\product\11.2.0\dbhome_2\bin;C:\Program Files\HP\NCU;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\, PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC, PROCESSOR_ARCHITECTURE=AMD64, PROCESSOR_IDENTIFIER=Intel64 Family 15 Model 4 Stepping 1, GenuineIntel, PROCESSOR_LEVEL=15, PROCESSOR_REVISION=0401, PROGRAMDATA=C:\ProgramData, PROGRAMFILES=C:\Program Files, PROGRAMFILES(X86)=C:\Program Files (x86), PROGRAMW6432=C:\Program Files, PROMPT=$P$G, PSMODULEPATH=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\, PUBLIC=C:\Users\Public, SESSIONNAME=Console, SYSTEMDRIVE=C:, SYSTEMROOT=C:\Windows, TEMP=C:\Users\server\AppData\Local\Temp\1, TMP=C:\Users\server\AppData\Local\Temp\1, USERDNSDOMAIN=GOOUTDOORS.LOCAL, USERDOMAIN=GOOUTDOORS, USERNAME=server, USERPROFILE=C:\Users\server, WINDIR=C:\Windows, WINDOWS_TRACING_FLAGS=3, WINDOWS_TRACING_LOGFILE=C:\BVTBin\Tests\installpackage\csilogfile.log]+
Aug 5, 2011 2:17:57 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Starting execution: CMD /C C:\app\server\product\11.2.0\dbhome_2\sysman\admin\emdrep\bin\RepManager.bat -connect (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=RangePlanTest.gooutdoors.local)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=GODW))) -repos_user SYSMAN -action drop -verbose -output_file C:\app\server\cfgtoollogs\emca\GODW\emca_repos_drop_2011_08_05_14_17_57.log
emca_repos_drop_2011_08_05_14_17_57 -
SQL> declare
2 l_username varchar2(30);
3 l_sid number;
4 l_serial number;
5 err number;
6 c number;
7 l_job_process_count NUMBER ;
8 TYPE TBSP_ARRAY IS TABLE OF VARCHAR2(64) INDEX BY BINARY_INTEGER ;
9 l_tablespaces TBSP_ARRAY;
10
11
12 PROCEDURE set_job_process_count(p_count IN NUMBER)
13 IS
14 BEGIN
15 --scope=memory so it will be reset on instance startup
16 -- SID=* to take care of RAC
17 IF p_count >=0
18 THEN
19 EXECUTE IMMEDIATE 'ALTER SYSTEM SET job_queue_processes='
20 ||p_count||' SID=''*''' ;
21 END IF ;
22 EXCEPTION WHEN OTHERS THEN NULL ;
23 END set_job_process_count ;
24
25 FUNCTION get_job_process_count
26 RETURN NUMBER
27 IS
28 l_value NUMBER ;
29 BEGIN
30 SELECT value
31 INTO l_value
32 FROM v$parameter
33 WHERE name = 'job_queue_processes' ;
34 RETURN(l_value) ;
35 EXCEPTION
36 WHEN OTHERS THEN
37 RETURN(10) ;
38 END get_job_process_count ;
39 begin
40 -- Now, drop the SYSMAN user
41 c := 0;
42 -- validate user exists
43 BEGIN
44 SELECT username
45 INTO l_username
46 FROM dba_users
47 WHERE username = upper('&EM_REPOS_USER') ;
48 EXECUTE IMMEDIATE 'ALTER USER '||l_username||' ACCOUNT LOCK' ;
49 EXCEPTION
50 WHEN NO_DATA_FOUND THEN RETURN ;
51 END ;
52 -- reduce job_queue_processes to zero
53 l_job_process_count := get_job_process_count ;
54 set_job_process_count(0) ;
55 begin
56 loop
57 BEGIN
58 LOOP
59 BEGIN
60 FOR crec in (SELECT sid, serial#
61 FROM gv$session
62 WHERE (upper(username)=l_username OR
63 upper(schemaname)=l_username)
64 AND status != 'KILLED')
65 LOOP
66 BEGIN
67 EXECUTE IMMEDIATE 'ALTER SYSTEM KILL SESSION IMMEDIATE ''' ||
68 crec.sid || ',' || crec.serial# || '''';
69 EXCEPTION
70 WHEN OTHERS THEN
71 err := SQLCODE;
72 IF err != -30 THEN
73 EXIT;
74 END IF;
75 END;
76 commit;
77 END LOOP;
78 EXCEPTION
79 WHEN OTHERS THEN
80 err := SQLCODE;
81 IF err != -30 THEN
82 EXIT;
83 END IF;
84 END;
85 IF SQL%NOTFOUND THEN
86 EXIT;
87 END IF;
88 commit;
89 END LOOP;
90
91 -- >> START - Capturing the Tablespaces to be dropped
92
93 for crec in (SELECT DISTINCT TABLESPACE_NAME FROM all_tables
94 WHERE owner = '&EM_REPOS_USER' AND table_name IN ('MGMT_TARGETS','MGMT_JOB_PARAMETER','MGMT_AUDIT_DATA')
95 MINUS
96 SELECT DISTINCT TABLESPACE_NAME FROM all_tables
97 WHERE owner != '&EM_REPOS_USER')
98 LOOP
99 l_tablespaces(l_tablespaces.count) := crec.tablespace_name;
100 END LOOP;
101
102 -- >> END - Capturing the Tablespaces to be dropped
103
104 execute immediate 'drop user ' || l_username || ' cascade';
105 set_job_process_count(l_job_process_count) ;
106
107 -- >> START - Dropping the Tablespaces
108 BEGIN
109 IF (l_tablespaces.count > 0) THEN
110 FOR i IN l_tablespaces.FIRST .. l_tablespaces.LAST
111 LOOP
112 BEGIN
113 execute immediate 'drop tablespace ' || l_tablespaces(i) || ' including contents';
114 exception
115 when NO_DATA_FOUND then
116 DBMS_OUTPUT.PUT_LINE('DropRep: Tablespaces for REPOS USER do not exist');
117 WHEN OTHERS THEN
118 err := SQLCODE;
119 DBMS_OUTPUT.PUT_LINE('DropRep: Error ' || SQLCODE || ' received dropping tablespace ' || l_tablespaces(i));
120 END;
121 END LOOP;
122 ELSE
123 DBMS_OUTPUT.PUT_LINE('NO TABLESPACES Exist');
124 END IF;
125 END;
126 -- >> END - Dropping the Tablespaces
127
128 exit;
129
130 EXCEPTION
131 WHEN NO_DATA_FOUND THEN
132 exit;
133 WHEN OTHERS THEN
134 err := SQLCODE;
135 IF err = -1918 THEN
136 EXIT;
137 ELSE
138 IF err = -1940 THEN
139 NULL;
140 ELSE
141 DBMS_OUTPUT.PUT_LINE('not 1940 err' || err);
142 c := c+1;
143 IF c > 50 THEN
144 RAISE;
145 END IF;
146 END IF;
147 END IF;
148 END;
149 end loop;
150 end;
151 commit;
152 EXCEPTION
153 WHEN OTHERS THEN
154 set_job_process_count(l_job_process_count) ;
155 RAISE ;
156 end;
157 /
old 47: WHERE username = upper('&EM_REPOS_USER') ;
new 47: WHERE username = upper('SYSMAN') ;
old 94: WHERE owner = '&EM_REPOS_USER' AND table_name IN ('MGMT_TARGETS','MGMT_JOB_PARAMETER','MGMT_AUDIT_DATA')
new 94: WHERE owner = 'SYSMAN' AND table_name IN ('MGMT_TARGETS','MGMT_JOB_PARAMETER','MGMT_AUDIT_DATA')
old 97: WHERE owner != '&EM_REPOS_USER')
new 97: WHERE owner != 'SYSMAN')
Sorry for the long post but any help would be greatAs a bit of further info I noticed these warnings when running the command - emca -deconfig dbconrtol db -repos drop
Do you wish to continue? [yes(Y)/no(N)]: Y
Aug 5, 2011 4:26:26 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at C:\app\server\cfgtoollogs\emca\GODW\emca_2011_08_05_16_25_58.log.
Aug 5, 2011 4:26:27 PM oracle.sysman.emcp.util.DBControlUtil stopOMS
INFO: Stopping Database Control (this may take a while) ...
Aug 5, 2011 4:26:28 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
WARNING: Error executing CMD /C C:\app\server\product\11.2.0\dbhome_2\bin\nmesrvops.exe delete OracleDBConsoleGODW
Aug 5, 2011 4:26:32 PM oracle.sysman.emcp.EMReposConfig invoke
WARNING: Unable to remove DBMS jobs.
Aug 5, 2011 4:26:33 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Dropping the EM repository (this may take a while) ... -
Newbie Oracle Enterprise Manager 11g feature availability question
Newbie question here. I am new to Oracle 11g and new to this forum. I ran a search on this question and came up empty so hopefully there is a kind and knowlegable soul wo can help.
I recall in earlier versions of Oracle Enterprise Manager for earlier versions of Oracle there was something called Oracle Enteprise Manager Reporting accessible from the OEM web.
One of its key features was the ability to make custom "Additional Reports". In our current environment this is installed and works great. I don't know if it was an add on to OEM, or if it was built in. It was built a long time ago and I wasn't arround for that build. All I know is it works and it suits our needs.
Well we are now trying to build a new Oracle dev box to replace the current dev environment. We would prefer to not lose any existing functionality we have... and if possible not have to reinvent the wheel. The new box has Oracle 11g.
**Here comes the dumb newbie questions. **
Does Oracle 11g Enterprise Manager support 9i-style Enterprise Manager Reporting and Custom Reports?
Is it called that in 11g or has it been renamed to something else?
Is it it a simple matter of configuration or is it an add on that needs to be installed?
Any help would be most appreciated.
Thanks,
Wayward Oracle Newbie looking for an Oracle HomeOracle 11g does not support 9i-style custom reports. There is a new reporting framework - Information Publisher available in Grid Control 10+ versions. The new reporting framework does support custom reports as well. Click on the Reports tab to access the functionality.
Regards,
Leslie -
Oracle Enterprise Manager Agent deployment (Installation and Configuration) Error
Hello,
I am trying to create an agent on a linux server using Oracle Enterprise Manager 12.1.0.3. The user is created with root privilege on the server, by change /etc/sudoers entry username the same as the root entry. After that I tried to add host target by clicking Setup->Add Target->Add target Manually->Add Host Targets in the Oracle Enterprise Manager.
In the Add Target view: I clicked on add, then I entry host and platform information. After that I click next. Then I provided the Linux x86-64 : Installation Details for
Installation Base Directory, Instance Directory, Name Credential ... then click next. then click Deploy Agent.
In the Add Host Status view: stages Initialization and Remote Prerequisite Check successfully passed, but in the stage Agent Deployment, it failed in the Installation and Configuration phrase of the Agent Deployment stage.
The log content is shown below. There are numerous SEVERE Errors. But I don't have much experience in dealing with these type of problems. I thank you in advance for all the helps.
lf
WARNING: Validation of XML schema is disabled because AggregateDescriptions.xsd could not be found
INFO: Creating new CFM connection
INFO: Creating a new logger for oracle.sysman.top.agent
INFO: Unmarshalling /users/ncgf/em_agent/core/12.1.0.3.0/inventory/ContentsXML/ConfigXML/oracle.sysman.top.agent.12_1_0_3_0.xml
INFO: Creating a new logger for OuiConfigVariables
INFO: Unmarshalling /users/ncgf/em_agent/core/12.1.0.3.0/inventory/ContentsXML/ConfigXML/OuiConfigVariables.1_0_0_0_0.xml
INFO: Aggregate Description oracle.sysman.top.agent:12.1.0.3.0:common successfully loaded
INFO: Aggregate Description OuiConfigVariables:1.0.0.0.0:common successfully loaded
INFO: Successfully returning from CfmFactory.connect()
INFO: Cfm.save() was called
INFO: Cfm.save(): 2 aggregate instances saved
INFO: oracle.sysman.top.agent:IAction.perform() was called on {Action state:configuration in CfmAggregateInstance: oracle.sysman.top.agent:12.1.0.3.0:common:family=CFM:oh=/users/ncgf/em_agent/core/12.1.0.3.0:label=1}
INFO: Framework waiting for Action to complete at 15:08:10.272
INFO: CfwProgressMonitor:actionProgress:About to perform Action=configuration Status=is running with ActionStep=0 stepIndex=0 microStep=0
WARNING: Skipping environment variable line: "}": oracle.sysman.emCfg.common.CfwException: A non-empty environment line must contain "=": }
WARNING: Failed to read environment variable file /users/ncgf/em_agent/core/12.1.0.3.0/install/envVars.properties: java.io.FileNotFoundException: /users/ncgf/em_agent/core/12.1.0.3.0/install/envVars.properties (No such file or directory)
INFO: oracle.sysman.top.agent:About to execute plug-in Agent Configuration Assistant
INFO: oracle.sysman.top.agent:The plug-in Agent Configuration Assistant is running
INFO: oracle.sysman.top.agent:Internal PlugIn Class: oracle.sysman.agent.config.AgentConfiguration
INFO: oracle.sysman.top.agent:Classpath = /users/ncgf/em_agent/core/12.1.0.3.0/oui/jlib/srvm.jar:/users/ncgf/em_agent/core/12.1.0.3.0/jlib/agentConfig.jar:/users/ncgf/em_agent/core/12.1.0.3.0/jlib/emConfigInstall.jar:/users/ncgf/em_agent/core/12.1.0.3.0/sysman/jlib/emagentSDK.jar:/users/ncgf/em_agent/core/12.1.0.3.0/modules/oracle.http_client_11.1.1.jar:/users/ncgf/em_agent/core/12.1.0.3.0/sysman/jlib/log4j-core.jar
INFO: oracle.sysman.top.agent:AgentConfiguration:agent configuration has been started
INFO: oracle.sysman.top.agent:Parametes passed to agent configuration are:
1.ORACLE_HOME=/users/ncgf/em_agent/core/12.1.0.3.0
2.AGENT_PORT=3872
3.ORACLE_HOSTNAME=nsn175-89.us.oracle.com
4.b_doDiscovery=false
5.AGENT_BASE_DIR=/users/ncgf/em_agent
6.AGENT_INSTANCE_HOME=/users/ncgf/em_agent/agent_inst
7.s_hostname=nsn175-89.us.oracle.com
8.OMS_HOST=nsn175-105.us.oracle.com
9.b_startAgent=false
10.b_secureAgent=true
11.b_chainedInstall=false
12.b_forceConfigure=false
13.EM_UPLOAD_PORT=4904
14.b_forceAgentDefaultPort=false
15.s_staticPorts=
16.PROPERTIES_FILE=
b_skipValidation=false
INFO: oracle.sysman.top.agent:Validating OMS_HOST and EM_UPLOAD_PORT
INFO: oracle.sysman.top.agent:Validating with http protocol ...
INFO: oracle.sysman.top.agent:URL framed is:http://nsn175-105.us.oracle.com:4904/empbs/genwallet
SEVERE: oracle.sysman.top.agent:Connection refusedUnexpected end of file from server
INFO: oracle.sysman.top.agent:Validating with https protocol ...
INFO: oracle.sysman.top.agent:URL framed is:https://nsn175-105.us.oracle.com:4904/empbs/genwallet
SEVERE: oracle.sysman.top.agent:The EM_UPLOAD_PORT passed is a secure port. Hence AGENT_REGISTRATION_PASSWORD or s_encrSecurePwd should be passed
INFO: oracle.sysman.top.agent:EM Protocol Switch determined: https
INFO: oracle.sysman.top.agent:Performing free port detection..
INFO: oracle.sysman.top.agent:Trying for host : nsn175-89/10.134.175.89 and port : 3872
INFO: oracle.sysman.top.agent: Trying for host : /127.0.0.1 and port : 3872
INFO: oracle.sysman.top.agent:** Agent Port Check completed successfully.**
INFO: oracle.sysman.top.agent:Agent Port from User Passed Port3872
INFO: oracle.sysman.top.agent:Paths after canonical format conversions are :
1. state_dir=/users/ncgf/em_agent/agent_inst
2. agentBaseDir=/users/ncgf/em_agent
3. oraHome=/users/ncgf/em_agent/core/12.1.0.3.0
INFO: oracle.sysman.top.agent:Parent directory of agent instance home:/users/ncgf/em_agent
INFO: oracle.sysman.top.agent:AgentConfiguration:perform:AgentPortHandler for /users/ncgf/em_agent/core/12.1.0.3.0 and hosts=nsn175-89.us.oracle.com returned Port to Use=3872
INFO: oracle.sysman.top.agent:Instantiating emctl.template file #DEFAULT_EMSTATE# with /users/ncgf/em_agent/agent_inst
INFO: oracle.sysman.top.agent:Writing the following contents into /users/ncgf/em_agent/core/12.1.0.3.0/install/oragchomelist
INFO: oracle.sysman.top.agent:/users/ncgf/em_agent/core/12.1.0.3.0:/users/ncgf/em_agent/agent_inst
INFO: oracle.sysman.top.agent:Both /etc/oragchomelist and /var/opt/oracle/oragchomelist does not exist.
INFO: oracle.sysman.top.agent:Executing emctl deploy agent command...
INFO: oracle.sysman.top.agent:AgentConfiguration: Executing emctl deploy agent command...
INFO: oracle.sysman.top.agent:Executing the command: /users/ncgf/em_agent/core/12.1.0.3.0/bin/emctl deploy agent -L -o nsn175-105.us.oracle.com:4904 -N /users/ncgf/em_agent/agent_inst nsn175-89.us.oracle.com:3872 nsn175-89.us.oracle.com
INFO: oracle.sysman.top.agent:Creating shared install...
INFO: oracle.sysman.top.agent:Source location: /users/ncgf/em_agent/core/12.1.0.3.0
INFO: oracle.sysman.top.agent:Destination (shared install) : /users/ncgf/em_agent/agent_inst
INFO: oracle.sysman.top.agent:Secure Mode: No
INFO: oracle.sysman.top.agent:DeployMode : agent
INFO: oracle.sysman.top.agent:
INFO: oracle.sysman.top.agent:Creating directories...
INFO: oracle.sysman.top.agent:Creating private.properties...
INFO: oracle.sysman.top.agent:Creating blackouts.xml...
INFO: oracle.sysman.top.agent:Creating targets.xml...
INFO: oracle.sysman.top.agent:Creating emctl control program...
INFO: oracle.sysman.top.agent:Creating emtgtctl control program...
INFO: oracle.sysman.top.agent:Agent will not be secured.
INFO: oracle.sysman.top.agent:Secure REPOSITORY_URL found. New agent should be configured for secure mode
INFO: oracle.sysman.top.agent:Secure emdWalletSrcUrl found. New agent should be configured for secure mode
INFO: oracle.sysman.top.agent:Oracle Enterprise Manager Cloud Control 12c Release 3
INFO: oracle.sysman.top.agent:Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved.
INFO: oracle.sysman.top.agent:Property 'agentTZRegion' is missing from /users/ncgf/em_agent/agent_inst/sysman/config/emd.properties. Updating it...
INFO: oracle.sysman.top.agent:An agentTZregion of 'US/Pacific' is installed in /users/ncgf/em_agent/agent_inst/sysman/config/emd.properties.
INFO: oracle.sysman.top.agent:The command: /users/ncgf/em_agent/core/12.1.0.3.0/bin/emctl deploy agent -L -o nsn175-105.us.oracle.com:4904 -N /users/ncgf/em_agent/agent_inst nsn175-89.us.oracle.com:3872 nsn175-89.us.oracle.com completed with status=0
SEVERE: oracle.sysman.top.agent:Securing of agent step will be skipped because of the following reasons:
1. Agent Registration Password was not passed.
2. b_secureAgent was passed as false
3. The flag -forceConfigure was assed from agentDeploy.sh
INFO: oracle.sysman.top.agent:Plugin File:/users/ncgf/em_agent/plugins.txt
INFO: oracle.sysman.top.agent:Plugin Homes found.
INFO: oracle.sysman.top.agent:Executing command :/users/ncgf/em_agent/core/12.1.0.3.0/perl/bin/perl /users/ncgf/em_agent/core/12.1.0.3.0/bin/AgentPluginDeploy.pl -oracleHome /users/ncgf/em_agent/core/12.1.0.3.0 -agentDir /users/ncgf/em_agent -pluginIdsInfoFile /users/ncgf/em_agent/plugins.txt -action configure -emStateDir /users/ncgf/em_agent/agent_inst
INFO: oracle.sysman.top.agent:
INFO: oracle.sysman.top.agent:
INFO: oracle.sysman.top.agent:The Agent emStateDir location passed is /users/ncgf/em_agent/agent_inst
INFO: oracle.sysman.top.agent: The log file is /users/ncgf/em_agent/agent_inst/install/logs/agentplugindeploy_2013_10_16_15_08_11.log
INFO: oracle.sysman.top.agent: The temp file created to check R/W permissions in Oraclehome: /users/ncgf/em_agent/core/12.1.0.3.0 is /users/ncgf/em_agent/core/12.1.0.3.0/rwFile
INFO: oracle.sysman.top.agent:Plugin command completed with status=0
INFO: oracle.sysman.top.agent:Executing command :/users/ncgf/em_agent/agent_inst/bin/emctl listplugins agent -type all
INFO: oracle.sysman.top.agent:Oracle Enterprise Manager Cloud Control 12c Release 3
INFO: oracle.sysman.top.agent:Oracle Enterprise Manager Cloud Control 12c Release 3
INFO: oracle.sysman.top.agent:Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved.
INFO: oracle.sysman.top.agent:Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved.
INFO: oracle.sysman.top.agent:---------------------------------------------------------------
INFO: oracle.sysman.top.agent:---------------------------------------------------------------
SEVERE: oracle.sysman.top.agent:ERROR: The Management Agent configuration failed. The plug-in configuration for the oracle.sysman.oh monitoring plug-in may have failed, or this plug-in may not be present in the Management Agent software. Ensure that the Management Agent software has the oracle.sysman.oh monitoring plug-in, if not then retry the operation. If the agent software has the oracle.sysman.oh monitoring plug-in, view the plug-in deployment log /users/ncgf/em_agent/agent_inst/install/logs to check if the plug-in configuration for the oracle.sysman.oh monitoring plug-in failed.
SEVERE: oracle.sysman.top.agent:Agent configuration has failed
INFO: oracle.sysman.top.agent:AgentConfiguration:agent configuration finished with status = false
INFO: oracle.sysman.top.agent:AgentConfiguration:agent configuration finished with status = false
INFO: oracle.sysman.top.agent:The plug-in Agent Configuration Assistant has failed its perform method
INFO: Cfm.save() was called
INFO: Cfm.save(): 2 aggregate instances saved
INFO: done waiting for Action from 15:08:10.272
Thank you for your help AkankshaSheoranKaler. I have executed the following command based on your request. If there is any issue, please let me know. Thanks!
"Can you run this command to make sure that the agents bits were downloaded correctly : oms home /bin /emcli verify_updates
Share the output of the command. I am suspecting this is a know issue (Bug 17300008) but i will wait for your output. Also if you can open an SR with oracle support to track this issue and its resolution. "
[ncgf@nsn175-105 bin]$ ./emcli setup -url=https://nsn175-105.us.oracle.com:7803/em -u sername=SYSMAN
Oracle Enterprise Manager 12c 3.
Copyright (c) 1996, 2013 Oracle Corporation and/or its affiliates. All rights reserve d.
The configuration directory "/users/ncgf" may not be local. See the "dir" option in t he help for the setup command.
Do you want to continue using this directory? [yes/no] yes
Enter password
Emcli setup successful
[ncgf@nsn175-105 bin]$ ./emcli verify_updates
Verifying updates. Starting validation...
Type : Plug-in
Description: Demo Hostsample Test Plugin
Attributes
Version: 1201000100
Revision: 0
OS Platform: Generic Platform
Plug-in Name: Demo Host Sample Plugin
Archives are missing from the Software Library. Unable to determine the URL for downloading the update. The update might not have come from Oracle Enterprise Manager Store.
For each update with missing archives, emcli import_update can be used with a -force option to re-upload the archives to the Software Library.Hello AkankshaSheoranKaler
We have done the following, but we aren't able to resolve this issue. Thank you for your help!
lf
“This happen if the software library is not accessible, readable or unmounted (if it is in shared file system).”
On Enterprise Manager server [nsn175-105], we did the following:
1. we modified /etc/exports to include this line: /export *(rw,no_root_squash,sync)
we start nfs service by executing command “service nfs start”.
On Management Agent server (nsn175-89), we verified that we are able to mount /export directory of EM server.
On Management Agent server, we started firefox browser and were able to run successfully https://nsn175-105.us.oracle.com:4904/empbs/genwallet
After making this change, we ran agent deployment again. We encountered the same error as shown above.
“You can fix the software library or you can download the agent bits in offline mode.”
For fixing the software library, select Setup->Provision and Patching->Offline Patching, then select Offline Patching radio button, download: https://updates.oracle.com/download/em_catalog.zip. Next upload this zip file.
“Try downloading the bits again”
We are not sure what agent bits are. Would you please explain this and provide procedure how we can download this?
(Here I have attempted to fix the software library, but I am new to Enterprise Manager and not sure how to interpret this). -
Administration Enterprise Manager 11g
Hi, I have installed 11g. When you install, oracle create a db orcl. Well, I have created a new Db, is it possible to access to the new DB? and if it is possible, which are the steps i must follow.
Best regards.
Cuqueuser7948330 wrote:
Hi, I have installed 11g. When you install, oracle create a db orcl. Well, I have created a new Db, is it possible to access to the new DB? and if it is possible, which are the steps i must follow.
To expand on Sybrand's correct and extremely concise response ....
Actually - when you install, you decide whether to create a DB and what to call it. That will call DBCA (B Config Assistant) to do the actual creation. After you install, you can use DBCA (DB Config Assistant) to create more databases (and also delete and configure options for databases).
The default action duriung DBCA database create is (usually) to create a DB Control for that database. It does so by calling the EMCA (Enterpise Manager Confids Assistant). You can also call that assistant on the command line - details in the docs.
Oracle designed Enterprise Manager Database Control to manage one, and only one, database. Each database normally gets it's own DBControl. Since this is quiclkly becomes a pain, the preferred solution is to use the Grid Control as a central console (with the same capabilities as DB Control, and more). Licensing of the Grid Control is discussed in the Database doc set (at htytp://tahiti.oracle.com) in the Licensing document.
/Hans
Oracle has written '2 day DBA' guides to help people get started. They are especially useful for those who have no time to read or learn, but have time to do (wrong?) things over and over again.
Maybe you are looking for
-
.blocking host in same VLAN
Is it possible to block access from one host to another host (in one direction only), both in the same vlan. I read about acl blocking using mac id and tried it too, but could not succed. the switch used is 6509
-
How do I put my folders of music on my iPod
Hello I just brought an iPod Classic I have installed iTunes I have the cable I have the following music folders that are like this Singer Name Albums Basically Folder 1 is a singer name and then inside folder 1 is several sub folders (albums)
-
Call webservice from domino use in webdynpro
Hi all I m trying to get a web service from domino for that I created a webservice project and deployed it. Now Is it possible to use that webservice in webdynpro, if possible help me doing the same. Thanks in advance. Regards, Suresh.A
-
Hello All, While changing the Business system integration, I am trying to give a different client no. I dont see that client no in drop down list. tried to push the client manually from rz20 tcode. has anyone faced a similar issue? Venkat.
-
Solution to iTunes slow start up
I have been having a problem with iTunes on my Macbook Pro whenever I opened iTunes it open straight away but just hung for at least a minute. I checked on the activity monitor, it showed iTunes was using 100% CPU and then stated 'not responding' aft