Security Permissions from Management Console Not Being Replicated on SQL Server Database

Hi Everyone,
We have been encountering issues with access to Reporting Services for most console users since we upgraded to SCCM 2012 R2. We have observed that since the R2 upgrade, security permissions
that are set in the console are not being replicated on the SQL database. Users/Groups that had access prior to the R2 upgrade are now only able to access Reports via the web interface. All new users/groups are not able to get access at all.
We are not sure what the problem could be and would appreciate any guidance.
We have tried the following without success:
Manually adding new users/groups to the database
Reinstalling the the Reporting Service point and Reporting Service, Removing all of the security groups from the console and from the database, and Adding the security groups back
to the console.
Our current environment:
SCCM 2012 R2
1 Site
Primary Site:
OS: Server 2008 R2
Roles: Site Server / Software Update Point / Management
Point
SQL Server
OS: Server 2008 R2
SQL Version: Microsoft SQL Server 2008 R2
Roles: Site Database Server / Reporting Services Point

Thanks for your feedback.
Permissions
We have two main types of users: Full Administrators and local departmental IT administrators. (Local IT Admins only have full control over their own departmental collections. They have Read/Add to All Systems.)
The only account that's currently able to run Reports from both the console and web is the admin account used to perform the R2 upgrade. 
Full Administrator
Role: Full Administrator
Scope: All instances of the objects that are related to the assigned security roles.
Local Departmental Administrator
Role: Full Administrator & Read/Add
Scope: Main Departmental Collection (Full Admin) & All Systems, All Users, and All User Groups (Read/Add)
Report Service Execution
On the database, we have tried assigning the Report Service Execution Account to the built-in Network Service Account, Local Service Account, and to a separate AD role account.
Error Messages
Console: We are able to select reports from the Console however nothing appears when we click on Run.
Web: Generating Reports from the Web works for only the Full Administrators. Nothing appears for a Local Departmental Admin.
This is a partial output from srsrp.log:
Set configuration    SMS_SRS_REPORTING_POINT    3/10/2015 2:28:05 PM    2588 (0x0A1C)
Check state    SMS_SRS_REPORTING_POINT    3/10/2015 2:28:05 PM    2588 (0x0A1C)
Check server health.    SMS_SRS_REPORTING_POINT    3/10/2015 2:28:05 PM    2588 (0x0A1C)
Successfully created srsserver    SMS_SRS_REPORTING_POINT    3/10/2015 2:28:05 PM    2588 (0x0A1C)
Reporting Services URL from Registry [http://132.205.120.154/ReportServer/ReportService2005.asmx]    SMS_SRS_REPORTING_POINT    3/10/2015 2:28:05 PM    2588 (0x0A1C)
Reporting Services is running    SMS_SRS_REPORTING_POINT    3/10/2015 2:28:05 PM    2588 (0x0A1C)
Retrieved datasource definition from the server.    SMS_SRS_REPORTING_POINT    3/10/2015 2:28:05 PM    2588 (0x0A1C)
[SCM-SQL.concordia.ca] [CM_SCM] [ConfigMgr_SCM] [SCM-SQL.CONCORDIA.CA]    SMS_SRS_REPORTING_POINT    3/10/2015 2:28:05 PM    2588 (0x0A1C)
[MSSQLSERVER] [1] [] [CONCORDIA\SVC-SCM_REPORT]    SMS_SRS_REPORTING_POINT    3/10/2015 2:28:05 PM    2588 (0x0A1C)
[1] [0]    SMS_SRS_REPORTING_POINT    3/10/2015 2:28:05 PM    2588 (0x0A1C)
Confirmed version [10.50.2811.0] for the Sql Srs Instance.    SMS_SRS_REPORTING_POINT    3/10/2015 2:28:05 PM    2588 (0x0A1C)
Retrieved datasource definition from the server.    SMS_SRS_REPORTING_POINT    3/10/2015 2:28:05 PM    2588 (0x0A1C)
Updating data source {5C6358F2-4BB6-4a1b-A16E-8D96795D8602} at ConfigMgr_SCM    SMS_SRS_REPORTING_POINT    3/10/2015 2:28:05 PM    2588 (0x0A1C)
Loading localization resources from directory [E:\SMS_SRSRP\SrsResources.dll]    SMS_SRS_REPORTING_POINT    3/10/2015 2:28:05 PM    2588 (0x0A1C)
Looking for 'English (United States)' resources    SMS_SRS_REPORTING_POINT    3/10/2015 2:28:05 PM    2588 (0x0A1C)
Looking for 'English' resources    SMS_SRS_REPORTING_POINT    3/10/2015 2:28:05 PM    2588 (0x0A1C)
Found resources for 'English'    SMS_SRS_REPORTING_POINT    3/10/2015 2:28:05 PM    2588 (0x0A1C)
Confirmed the configuration of SRS role [ConfigMgr Report Users].    SMS_SRS_REPORTING_POINT    3/10/2015 2:28:06 PM    2588 (0x0A1C)
Confirmed the configuration of SRS role [ConfigMgr Report Administrators].    SMS_SRS_REPORTING_POINT    3/10/2015 2:28:06 PM    2588 (0x0A1C)
Error retrieving users - [The EXECUTE permission was denied on the object 'spGetReportUsers', database 'CM_SCM', schema 'SCCM_Rpt'.].    SMS_SRS_REPORTING_POINT    3/10/2015 2:28:06 PM    2588 (0x0A1C)
Error retrieving users - [The EXECUTE permission was denied on the object 'spGetReportUsers', database 'CM_SCM', schema 'SCCM_Rpt'.].    SMS_SRS_REPORTING_POINT    3/10/2015 2:28:06 PM    2588 (0x0A1C)
Confirmed the security policy for folder [/].    SMS_SRS_REPORTING_POINT    3/10/2015 2:28:06 PM    2588 (0x0A1C)
Error retrieving users - [The EXECUTE permission was denied on the object 'spGetReportUsers', database 'CM_SCM', schema 'SCCM_Rpt'.].    SMS_SRS_REPORTING_POINT    3/10/2015 2:28:06 PM    2588 (0x0A1C)
Error retrieving users - [The EXECUTE permission was denied on the object 'spGetReportUsers', database 'CM_SCM', schema 'SCCM_Rpt'.].    SMS_SRS_REPORTING_POINT    3/10/2015 2:28:06 PM    2588 (0x0A1C)
Confirmed the security policy for folder [/ConfigMgr_SCM].    SMS_SRS_REPORTING_POINT    3/10/2015 2:28:06 PM    2588 (0x0A1C)
Error retrieving users - [The EXECUTE permission was denied on the object 'spGetReportUsers', database 'CM_SCM', schema 'SCCM_Rpt'.].    SMS_SRS_REPORTING_POINT    3/10/2015 2:28:06 PM    2588 (0x0A1C)
Error retrieving users - [The EXECUTE permission was denied on the object 'spGetReportUsers', database 'CM_SCM', schema 'SCCM_Rpt'.].    SMS_SRS_REPORTING_POINT    3/10/2015 2:28:06 PM    2588 (0x0A1C)
Confirmed the security policy for folder [/ConfigMgr_SCM/Asset Intelligence].    SMS_SRS_REPORTING_POINT    3/10/2015 2:28:06 PM    2588 (0x0A1C)
Error retrieving users - [The EXECUTE permission was denied on the object 'spGetReportUsers', database 'CM_SCM', schema 'SCCM_Rpt'.].    SMS_SRS_REPORTING_POINT    3/10/2015 2:28:06 PM    2588 (0x0A1C)
Error retrieving users - [The EXECUTE permission was denied on the object 'spGetReportUsers', database 'CM_SCM', schema 'SCCM_Rpt'.].    SMS_SRS_REPORTING_POINT    3/10/2015 2:28:06 PM    2588 (0x0A1C)

Similar Messages

  • Create a visual web part which get data from excel sheet and import it into sql server database in sharepoint 2010 (development)

    Hi,
    I want to create a visual webpart which will read data from excel sheet and import it in to sql server database.(using sharepoint development)
    I want to do it using visual webpart.
    Please help to solve the issue.
    Thanks in advance!
    Regards
    Rajni

    Hi  Rajni,
    Microsoft.Office.Interop.Excel assembly provides class to read excel file data, in your web part solution, reference the assembly, and following blog contains samples about how to read the excel file data,
    and import it to SQL  database.
    1.Create a Visual Web Part Project:Create
    Visual Web Parts in SharePoint 2010
    2.Read the excel workbook by using SPFile class:
    http://alancejacob.blogspot.in/2012/06/read-data-from-excel-file-and-insert-in.html
    http://stackoverflow.com/questions/14496608/read-excel-file-stored-in-sharepoint-document-library
    3.Export the excel workbook to SQL Server:
    http://www.c-sharpcorner.com/UploadFile/99bb20/import-excel-data-to-sql-server-in-Asp-Net/
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • "Hide Instance" setting not working with 2012 SQL Server Database Engine

    I have turned on the "Hide Instance" setting in SQL Server Configuration Manager on my SQL Server 2012 Database Server. After several restarts of my SQL Server/Agent/Browser services, as well as the server, I am still able to browse for the Instance
    from another computer.  I can also find the instance by running the "sqlcmd -L" command.  Is there another step to get this to work?  I have seen other people suggest that you disable the SQL Browser service, but we would like to avoid
    that.

    Hi,
    According to the description, I know the you are able to find the instance in the Browse for Servers window from another computer after turning on the ‘Hide Instance’ setting in SQL Server Configuration Manager. Are you able to connect to the instance as
    well?
    Make sure that the HideInstance has been set to 1 in the below registry key:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL11.instancename\MSSQLServer\SuperSocketNetLib
    Note: You may take a backup of the key before make any changes on the registry keys.
    For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
    How to back up and restore the registry in Windows
    Thanks.
    Tracy Cai
    TechNet Community Support

  • SAP management console not showing AS java

    Hello all,
    I have made a NW04s installation system test (linux+oracle). I then installed as java add-in EP and BI (AS JAVA, EP CORE, EP, BI JAVA). It was NW04s SR2 with SPC13 and kernel not changed: 700 patch 111.
    In the SAP management console there were 3 entries: one for database, one for abap instance and one for java instance.
    In the abap instance node I was able to see an entry for "AS java"  which was whowing two process (SDM and another one...).
    I made a new test installation similar to the previous one and in the SAP management console I do not see any entry for "AS Java". Of course AS java is installed and running !
    How can I get SAP management console show "AS java" ????
    Thank you
    Jean

    Hi Jean,
    Start Services.msc from run prompt (if this is windows based installation)
    and look for <SID>services, where <SID> is your instance name..
    Please do the following and let me know if this of any success
    You get back your MMC , please do the following steps.
    1. Go to Run and type MMC.
    2.Go to file and select add/remove snap in ( alt+m).
    3.Click on add
    4.Select the SAP system from there.
    Save the MMC console which you have created now....This should work fine.
    Thanks
    Pankaj

  • Indexes not being replicated

    Greeting:
    Problem: I create a new index on the master instance and it not replicating to the consumer instance. Also previously existing indices are not being replicated. There are no error messages regarding replication
    Direcotory Server 6.3
    Actions:
    ** I created the consumer instance via DSCC
    ** I create blank suffixes on the new consumer instance
    ** I enable replication on consumer
    ** I create replication agreement on master
    ** I initialize replication from consumer
    The indices existing on master are showing on the consumer and newly added index are also not showing up.
    Please help and thanks
    Ahsan

    Your observation is correct. Index configuration is not replicated but is on a per-server basis. This is probably to allow various instances on the topology to serve different purposes while not being forced to maintain unnecessary indices.

  • My Notes from iPhone are not being saved to Notes in Outlook when I sync.  How can i get Notes to back up in Outlook?

    My Notes from iPhone are not being saved to Notes in Outlook when i sync.  How can I get Notes to back up in Outlook?

    I have iPhone 4S

  • Problem with EM (Enterprise Manager is not able to connect to the database)

    Hi all,
    I've Oracle DB 11g Rel.1 installed on Windows XP SP3. The database is up and running i.e. everyone can connect to the DB by using any App tool e.g. SQL*Plus, Forms, or Reports. It means that the listener and the service is running. But the problem is that when I try to start the EM I see some error messages on the webpage.
    It says:
    Enterprise Manager is not able to connect to the database instance. The state of the components are listed below.Database Instance (Green arrow)
    Status     Open                         Details     The instance is open.
    Host          shiman
    Port          *1521*
    SID          orcl
    Oracle Home     d:\Oracle\product\11.1.0\db_1
    Agent Connection to Instance (Green arrow)
    Status Succeeded
    Details
    Listener (Green arrow)
    Status     Up
    Host          shiman
    Port          *1521*
    Name          LISTENER
    Oracle Home     d:\Oracle\product\11.1.0\db_1
    Location     d:\Oracle\product\11.1.0\db_1\network\admin
    Details          
    please see the attached file:
    http://rapidshare.com/files/404840300/em.JPGI've already checked all the services, they are running. And when I execute emctl command I got the following message.
    emctl status dbconsole
    Oracle Enterprise Manager 11g Database Control Release 11.1.0.6.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    http://shiman:1158/em/console/aboutApplication
    Oracle Enterprise Manager 11g is running.I have checked some documents around config files in sysman and test_orcl\sysman directories. Moreover, I have checked dbsnmp and sysman account for unlockness and password accuracy. But they did not help me to solve the problem.
    My question is if every thing is working fine then what is the problem with the EM? Why it is not connecting to the DB?
    Thanks.
    Iman

    emdctl.trc2010-07-13 18:42:21 Thread-2196 WARN http: snmehl_connect: connect failed to (shiman:1158): No connection could be made because the target machine actively refused it.
    (error = 10061)
    2010-07-13 18:42:26 Thread-4856 WARN http: snmehl_connect: connect failed to (shiman:1158): No connection could be made because the target machine actively refused it.
    (error = 10061)
    2010-07-13 18:42:28 Thread-5684 ERROR ssl: nzos_Handshake failed, ret=28864
    2010-07-13 18:42:28 Thread-5684 ERROR http: 1704: Unable to initialize ssl connection with server, aborting connection attempt
    2010-07-13 18:42:28 Thread-5684 ERROR main: nmectla_agentctl: Error connecting to https://shiman:3938/emd/main. Returning status code 1
    emoms.trc2010-07-13 18:45:44,562 [ApplicationServerThread-1] ERROR conn.ConnectionService verifyRepositoryEx.818 - Invalid Connection Pool. ERROR = Locale not recognized
    2010-07-13 18:45:46,875 [ApplicationServerThread-2] ERROR conn.ConnectionService verifyRepositoryEx.818 - Invalid Connection Pool. ERROR = Locale not recognized
    2010-07-13 18:45:46,921 [ApplicationServerThread-0] ERROR conn.ConnectionService verifyRepositoryEx.818 - Invalid Connection Pool. ERROR = Locale not recognized
    2010-07-13 18:45:47,078 [ApplicationServerThread-2] ERROR conn.ConnectionService verifyRepositoryEx.818 - Invalid Connection Pool. ERROR = Locale not recognized
    2010-07-13 18:45:47,125 [ApplicationServerThread-1] ERROR conn.ConnectionService verifyRepositoryEx.818 - Invalid Connection Pool. ERROR = Locale not recognized
    2010-07-13 18:45:47,140 [ApplicationServerThread-3] ERROR conn.ConnectionService verifyRepositoryEx.818 - Invalid Connection Pool. ERROR = Locale not recognized
    2010-07-13 18:45:47,187 [ApplicationServerThread-0] ERROR conn.ConnectionService verifyRepositoryEx.818 - Invalid Connection Pool. ERROR = Locale not recognized
    2010-07-13 18:45:47,234 [ApplicationServerThread-5] ERROR conn.ConnectionService verifyRepositoryEx.818 - Invalid Connection Pool. ERROR = Locale not recognized
    2010-07-13 18:45:47,281 [ApplicationServerThread-4] ERROR conn.ConnectionService verifyRepositoryEx.818 - Invalid Connection Pool. ERROR = Locale not recognized
    2010-07-13 18:45:47,328 [ApplicationServerThread-6] ERROR conn.ConnectionService verifyRepositoryEx.818 - Invalid Connection Pool. ERROR = Locale not recognized
    2010-07-13 18:45:48,984 [ApplicationServerThread-2] ERROR conn.ConnectionService verifyRepositoryEx.818 - Invalid Connection Pool. ERROR = Locale not recognized
    2010-07-13 18:45:49,000 [EMUI_18_45_48_/console/aboutApplication] ERROR svlt.PageHandler handleRequest.639 - java.lang.IllegalStateException: Response has already been committed
    java.lang.IllegalStateException: Response has already been committed
         at com.evermind.server.http.EvermindHttpServletResponse.resetBuffer(EvermindHttpServletResponse.java:1853)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:260)
         at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:42)
         at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:204)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)
         at oracle.sysman.emSDK.svlt.PageHandler.render(PageHandler.java:1113)
         at oracle.sysman.emSDK.svlt.PageHandler.myRender(PageHandler.java:1173)
         at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:597)
         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:156)
         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:87)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.sysman.db.adm.inst.HandleRepDownFilter.doFilter(HandleRepDownFilter.java:134)
         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:306)
         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 oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:230)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:33)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:831)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    2010-07-13 18:45:49,000 [EMUI_18_45_48_/console/aboutApplication] ERROR em.console doGet.357 - java.lang.IllegalStateException: Response has already been committed, be sure not to write to the OutputStream or to trigger a commit due to any other action before calling this method.
    java.lang.IllegalStateException: Response has already been committed, be sure not to write to the OutputStream or to trigger a commit due to any other action before calling this method.
         at com.evermind.server.http.EvermindHttpServletResponse.sendRedirect(EvermindHttpServletResponse.java:1339)
         at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:806)
         at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:337)
         at oracle.sysman.eml.app.Console.doGet(Console.java:156)
         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:87)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.sysman.db.adm.inst.HandleRepDownFilter.doFilter(HandleRepDownFilter.java:134)
         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:306)
         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 oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:230)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:33)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:831)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)

  • Enterprise Manager is not able to connect to the database instance. The state of the components are listed below.

    Dear all,
    I have trouble to connect em console to database instance. My database is 11.2.0.3 and before this I did the patching from version 11.2.0.1, and now i cannot get fully functionality of em console.
    error is:
    Enterprise Manager is not able to connect to the database instance. The state of the components are listed below.
    It shows that agent is connected, database and listener is up.
    I did recreation, dropping and recreating with emca, but no success.
    Did anyone have similar problems with em console?
    Regards,

    You need to first of all, Connect to the Database as SYSDBA (because your were not connected), then start the database (because it is not started).
    If you already used the username and password in the command prompt and you are sure that the database is already stared, then you need to set the ORACLE_SID before you open SQLPlus. This is because if SQLPlus does not know the SID you are connecting to, it simply thinks it is not up or has no service hence the message "Connected to an idle instance".

  • 10g Enterprise Manager is not able to connect to the database instance

    I am running a Oracle 10g database in Solaris 10 server. When i am trying to connect to the enterprise manager it says Enterprise Manager is not able to connect to the database instance.
    The database instance is open,the listener is up and the agent connection also says that it succeeded.
    The server houses two 10g databases and the EM was working properly till yesterday. Kindly Help.
    Thanks in advance.
    Ram

    Hi,
    The EM is started and if i give emctl status dbconsole
    -bash-3.00$ emctl status dbconsole
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.3.0
    Copyright (c) 1996, 2006 Oracle Corporation. All rights reserved.
    http://gladiator:1158/em/console/aboutApplication
    Oracle Enterprise Manager 10g is running
    Logs are generated in directory /db8/ora10gr2/product/10.2.0/Db_4/gladiator_TROY/sysman/log
    it says that the EM is running. But when i am trying to access the URL it is in IE it says Page cannot be displayed what could be the problem for this???
    Thanks in advance.
    Ram

  • Enterprise Manager is not able to connect to the database instance. The sta

    Enterprise Manager is not able to connect to the database instance. The state of the components are listed below.
    Listener is shown as unavailable.
    lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 27-NOV-2012 11:52:40
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=freds-server.i-surname.co.uk)(PORT=1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date 27-NOV-2012 11:50:02
    Uptime 0 days 0 hr. 2 min. 37 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /opt/oracle/11g/network/admin/listener.ora
    Listener Log File /opt/oracle/diag/tnslsnr/freds-server/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=freds-server)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=freds-server)(PORT=8080))(Presentation=HTTP)(Session=RAW))
    Services Summary...
    Service "GWORCL.i-surname.co.uk" has 2 instance(s).
    Instance "GWORCL", status UNKNOWN, has 1 handler(s) for this service...
    Instance "GWORCL", status READY, has 1 handler(s) for this service...
    Service "GWORCLXDB.i-status.co.uk" has 1 instance(s).
    Instance "GWORCL", status READY, has 1 handler(s) for this service...
    The command completed successfully
    I suspect that this is not just an OEM issue.
    see
    Listener working but not working for Enterprise manager oracle 11gr2 Linux.
    for configuration files
    Edited by: Neill_R on Nov 27, 2012 11:51 AM

    This was solved by : Osama_mustafa
    in the general questions forum
    emca -deconfig dbcontrol db -repos drop
    emca -config dbcontrol db -repos create

  • Enterprice manager is not able to connect to the database instance

    hello,
    I have problem with EM. I have some databases, and I worked with Enterprice Manager on this databases. First DB when I have repository is ok and EM always connect with this, but I worked on another DB some time and was ok, but three days ago when I start EM I get message 'Enterprice Manager is not able to connect to the database instance'. When I couldn't resolve this problem, I make new DB and this worked two days ok, and today I get this same message. I don't make any changes in listener and tns files.
    any idea?
    # listener.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ORACLE)(PORT = 1521))
    # tnsnames.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    SZDTEST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = oracle)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = szdtest.localhost)
    SZD =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = oracle)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = szd)
    TEST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = oracle)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = test)
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = oracle)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    This is strange because when I working on EM get in some event errors
    500 Internal Server Error
    java.lang.NullPointerException
         at java.util.Hashtable.put(Hashtable.java:393)
         at oracle.sysman.emSDK.svc.conn.FGAConnectionCache.getFGAConnection(FGAConnectionCache.java:182)
         at oracle.sysman.emSDK.svc.conn.ConnectionService.getConnection(ConnectionService.java:289)
         at oracle.sysman.emSDK.svc.conn.ConnectionService.getConnection(ConnectionService.java:261)
         at oracle.sysman.db.util.DBJobController.getRepositoryConnection(DBJobController.java:458)
         at oracle.sysman.db.util.DBJobController.initializeBean(DBJobController.java:326)
         at oracle.sysman.db.util.rec.RecoveryController.getBean(RecoveryController.java:262)
         at oracle.sysman.db.util.DBJobController.setPageSequence(DBJobController.java:384)
         at oracle.sysman.db.util.DBJobController.resetPageSequence(DBJobController.java:404)
         at oracle.sysman.db.util.DBJobController.handleStart(DBJobController.java:645)
    ....................

    yes DBConsole services are started:
    OracleDBConsoleorcl running
    OracleDBConsoleszd running
    results emctl status and start
    C:\oracle\product\10.2.0\db_1\BIN>emctl status dbconsole
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
    Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
    http://ORACLE:5502/em/console/aboutApplication
    Oracle Enterprise Manager 10g is running.
    Logs are generated in directory C:\oracle\product\10.2.0\db_1/ORACLE_szd/sysman/log
    C:\oracle\product\10.2.0\db_1\BIN>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://ORACLE:5502/em/console/aboutApplication
    Agent Version : 10.1.0.4.1
    OMS Version : Unknown
    Protocol Version : 10.1.0.2.0
    Agent Home : C:\oracle\product\10.2.0\db_1\ORACLE_szd
    Agent binaries : C:\oracle\product\10.2.0\db_1
    Agent Process ID : 2960
    Agent Process ID : 2960
    Agent URL : http://ORACLE:1832/emd/main
    Started at : 2010-06-25 09:58:05
    Started by user : SYSTEM
    Last Reload : 2010-06-25 09:59:53
    Last successful upload : (none)
    Last attempted upload : (none)
    Total Megabytes of XML files uploaded so far : 0.00
    Number of XML files pending upload : 244
    Size of XML files pending upload(MB) : 1.56
    Available disk space on upload filesystem : 55.04%
    Agent is already started. Will restart the agent
    This will stop the Oracle Enterprise Manager 10g Database Control process. Continue [y/n] :
    but still I get this message
    EM was started and I see this message and that database is open and listener is up and agent connection to instance is succed
    Edited by: user515960 on 2010-06-25 01:08
    view logs in emoms.log after emctl status dbconsole
    2010-06-25 11:38:45,796 [HttpRequestHandler-23814595] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = ORA-06550: linia 1, kolumna 7:
    PLS-00201: identyfikator 'SETEMUSERCONTEXT' powinien być zadeklarowany
    ORA-06550: linia 1, kolumna 7:
    PL/SQL: Statement ignored
    2010-06-25 11:38:45,875 [HttpRequestHandler-23814595] ERROR eml.OMSHandshake getParameterFromDB.402 - ORA-06550: linia 1, kolumna 7:
    PLS-00201: identyfikator 'SETEMUSERCONTEXT' powinien być zadeklarowany
    ORA-06550: linia 1, kolumna 7:
    PL/SQL: Statement ignored
    2010-06-25 11:38:45,875 [HttpRequestHandler-23814595] ERROR eml.OMSHandshake processFailure.619 - OMSHandshake failed.(AGENT URL = http://ORACLE:1832/emd/main)(ERROR = INTERNAL_ERROR)
    2010-06-25 11:38:58,437 [OmsServiceDriver thread] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = ORA-06550: linia 1, kolumna 7:
    PLS-00201: identyfikator 'SETEMUSERCONTEXT' powinien być zadeklarowany
    ORA-06550: linia 1, kolumna 7:
    PL/SQL: Statement ignored
    2010-06-25 11:39:00,968 [HttpRequestHandler-23814595] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = ORA-06550: linia 1, kolumna 7:
    PLS-00201: identyfikator 'SETEMUSERCONTEXT' powinien być zadeklarowany
    ORA-06550: linia 1, kolumna 7:
    PL/SQL: Statement ignored
    2010-06-25 11:39:00,984 [EMUI_11_39_00_/console/aboutApplication] ERROR em.console doGet.311 - java.lang.IllegalStateException: Response has already been committed
    java.lang.IllegalStateException: Response has already been committed
         at com.evermind.server.http.EvermindHttpServletResponse.resetBuffer(EvermindHttpServletResponse.java:1901)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:211)
         at oracle.sysman.emSDK.svlt.PageHandler.render(PageHandler.java:773)
         at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:396)
         at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:688)
         at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:291)
         at oracle.sysman.eml.app.Console.doGet(Console.java:135)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:101)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
         at oracle.sysman.db.adm.inst.HandleRepDownFilter.doFilter(HandleRepDownFilter.java:123)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
         at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:239)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:793)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    2010-06-25 11:39:01,078 [HttpRequestHandler-23814595] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = ORA-06550: linia 1, kolumna 7:
    PLS-00201: identyfikator 'SETEMUSERCONTEXT' powinien być zadeklarowany
    ORA-06550: linia 1, kolumna 7:
    PL/SQL: Statement ignored
    2010-06-25 11:39:01,093 [EMUI_11_39_01_/console/aboutApplication] ERROR em.console doGet.311 - java.lang.IllegalStateException: Response has already been committed
    java.lang.IllegalStateException: Response has already been committed
         at com.evermind.server.http.EvermindHttpServletResponse.resetBuffer(EvermindHttpServletResponse.java:1901)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:211)
         at oracle.sysman.emSDK.svlt.PageHandler.render(PageHandler.java:773)
         at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:396)
         at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:688)
         at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:291)
         at oracle.sysman.eml.app.Console.doGet(Console.java:135)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:101)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
         at oracle.sysman.db.adm.inst.HandleRepDownFilter.doFilter(HandleRepDownFilter.java:123)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
         at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:239)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:793)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    2010-06-25 11:39:02,015 [HttpRequestHandler-23814595] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = ORA-06550: linia 1, kolumna 7:
    PLS-00201: identyfikator 'SETEMUSERCONTEXT' powinien być zadeklarowany
    ORA-06550: linia 1, kolumna 7:
    PL/SQL: Statement ignored
    2010-06-25 11:39:02,093 [HttpRequestHandler-23814595] ERROR eml.OMSHandshake getParameterFromDB.402 - ORA-06550: linia 1, kolumna 7:
    PLS-00201: identyfikator 'SETEMUSERCONTEXT' powinien być zadeklarowany
    ORA-06550: linia 1, kolumna 7:
    PL/SQL: Statement ignored
    2010-06-25 11:39:02,093 [HttpRequestHandler-23814595] ERROR eml.OMSHandshake processFailure.619 - OMSHandshake failed.(AGENT URL = http://ORACLE:1832/emd/main)(ERROR = INTERNAL_ERROR)
    2010-06-25 11:39:05,687 [HttpRequestHandler-23814595] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = ORA-06550: linia 1, kolumna 7:
    PLS-00201: identyfikator 'SETEMUSERCONTEXT' powinien być zadeklarowany
    ORA-06550: linia 1, kolumna 7:
    PL/SQL: Statement ignored
    2010-06-25 11:39:05,750 [HttpRequestHandler-23814595] ERROR eml.OMSHandshake getParameterFromDB.402 - ORA-06550: linia 1, kolumna 7:
    PLS-00201: identyfikator 'SETEMUSERCONTEXT' powinien być zadeklarowany
    ORA-06550: linia 1, kolumna 7:
    PL/SQL: Statement ignored
    2010-06-25 11:39:05,765 [HttpRequestHandler-23814595] ERROR eml.OMSHandshake processFailure.619 - OMSHandshake failed.(AGENT URL = http://ORACLE:1832/emd/main)(ERROR = INTERNAL_ERROR)
    2010-06-25 11:39:05,812 [HttpRequestHandler-23814595] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = ORA-06550: linia 1, kolumna 7:
    PLS-00201: identyfikator 'SETEMUSERCONTEXT' powinien być zadeklarowany
    ORA-06550: linia 1, kolumna 7:
    PL/SQL: Statement ignored
    2010-06-25 11:39:05,843 [HttpRequestHandler-23814595] ERROR eml.OMSHandshake getParameterFromDB.402 - ORA-06550: linia 1, kolumna 7:
    PLS-00201: identyfikator 'SETEMUSERCONTEXT' powinien być zadeklarowany
    ORA-06550: linia 1, kolumna 7:
    PL/SQL: Statement ignored
    2010-06-25 11:39:05,843 [HttpRequestHandler-23814595] ERROR eml.OMSHandshake processFailure.619 - OMSHandshake failed.(AGENT URL = http://ORACLE:1832/emd/main)(ERROR = INTERNAL_ERROR)
    2010-06-25 11:39:16,187 [HttpRequestHandler-23814595] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = ORA-06550: linia 1, kolumna 7:
    PLS-00201: identyfikator 'SETEMUSERCONTEXT' powinien być zadeklarowany
    ORA-06550: linia 1, kolumna 7:
    PL/SQL: Statement ignored
    2010-06-25 11:39:16,187 [EMUI_11_39_16_/console/aboutApplication] ERROR em.console doGet.311 - java.lang.IllegalStateException: Response has already been committed
    java.lang.IllegalStateException: Response has already been committed
         at com.evermind.server.http.EvermindHttpServletResponse.resetBuffer(EvermindHttpServletResponse.java:1901)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:211)
         at oracle.sysman.emSDK.svlt.PageHandler.render(PageHandler.java:773)
         at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:396)
         at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:688)
         at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:291)
         at oracle.sysman.eml.app.Console.doGet(Console.java:135)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:101)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
         at oracle.sysman.db.adm.inst.HandleRepDownFilter.doFilter(HandleRepDownFilter.java:123)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
         at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:239)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:793)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    2010-06-25 11:39:16,281 [HttpRequestHandler-23814595] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = ORA-06550: linia 1, kolumna 7:
    PLS-00201: identyfikator 'SETEMUSERCONTEXT' powinien być zadeklarowany
    ORA-06550: linia 1, kolumna 7:
    PL/SQL: Statement ignored
    2010-06-25 11:39:16,281 [EMUI_11_39_16_/console/aboutApplication] ERROR em.console doGet.311 - java.lang.IllegalStateException: Response has already been committed
    java.lang.IllegalStateException: Response has already been committed
         at com.evermind.server.http.EvermindHttpServletResponse.resetBuffer(EvermindHttpServletResponse.java:1901)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:211)
         at oracle.sysman.emSDK.svlt.PageHandler.render(PageHandler.java:773)
         at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:396)
         at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:688)
         at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:291)
         at oracle.sysman.eml.app.Console.doGet(Console.java:135)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:101)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
         at oracle.sysman.db.adm.inst.HandleRepDownFilter.doFilter(HandleRepDownFilter.java:123)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
         at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:239)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:793)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    Edited by: user515960 on 2010-06-25 02:41

  • Problem: Enterprise Manager is not able to connect to the database instance

    Hello,
    I've got problem with EM. When I try to connect to it I get the following error:
    Enterprise Manager is not able to connect to the database instance. The state of the components are listed below.
    Database Instance, Listener and Agent are all green.
    Few more information:
    OS: Win7 64 bit
    -installed loopback adapter. I can ping my computer name (J-PC) without problem and it pings back 10.10.10.10 address.
    -I have set the ORACLE_HOME and ORACLE_SID env variables
    -I can login to sqlplus with sysman account
    -emctl status dbconsole shows that the EM 11g is running
    I've been struggling for some time trying to get EM running as it should, but no luck so far.
    If you need any more info, do ask. Tnx.

    Hi,
    Regarding causes:
    1. This is inside listener.ora file:
    SID_LIST_LISTENER =
    +(SID_LIST =+
    +(SID_DESC =+
    +(SID_NAME = CLRExtProc)+
    +(ORACLE_HOME = C:\app\J\product\11.2.0\dbhome_1)+
    +(PROGRAM = extproc)+
    +(ENVS = "EXTPROC_DLLS=ONLY:C:\app\J\product\11.2.0\dbhome_1\bin\oraclr11.dll")+
    +)+
    +)+
    LISTENER =
    +(DESCRIPTION_LIST =+
    +(DESCRIPTION =+
    +(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))+
    +(ADDRESS = (PROTOCOL = TCP)(HOST = J-PC)(PORT = 1521))+
    +)+
    +)+
    ADR_BASE_LISTENER = C:\app\J
    ...and this is examples of errors in emoms.trc:
    +2012-05-25 00:29:28,782 [HTTPThreadGroup-49] ERROR conn.ConnectionService verifyRepositoryEx.891 - Invalid Connection Pool. ERROR = Locale not recognized+
    +2012-05-25 00:29:28,798 [HTTPThreadGroup-49] ERROR eml.OMSHandshake processFailure.806 - OMSHandshake failed.(AGENT URL = http://J-PC:3938/emd/main)(ERROR = INTERNAL_ERROR)(CAUSE =java.sql.SQLException: Locale not recognized)+
    +2012-05-25 00:29:28,860 [HTTPThreadGroup-49] ERROR conn.ConnectionService verifyRepositoryEx.891 - Invalid Connection Pool. ERROR = Locale not recognized+
    +2012-05-25 00:29:28,872 [HTTPThreadGroup-49] ERROR eml.OMSHandshake processFailure.806 - OMSHandshake failed.(AGENT URL = http://J-PC:3938/emd/main)(ERROR = INTERNAL_ERROR)(CAUSE =java.sql.SQLException: Locale not recognized)+
    +2012-05-25 00:29:40,908 [HTTPThreadGroup-49] ERROR conn.ConnectionService verifyRepositoryEx.891 - Invalid Connection Pool. ERROR = Locale not recognized+
    +2012-05-25 00:29:40,924 [HTTPThreadGroup-49] ERROR eml.OMSHandshake processFailure.806 - OMSHandshake failed.(AGENT URL = http://J-PC:3938/emd/main)(ERROR = INTERNAL_ERROR)(CAUSE =java.sql.SQLException: Locale not recognized)+
    +2012-05-25 00:29:52,811 [SystemThreadGroup-8] ERROR app.SessionObjectManager sessionDestroyed.128 - java.sql.SQLException: Locale not recognized+
    java.sql.SQLException: Locale not recognized
    2.
    Running lsnrctl status:
    Alias LISTENER
    Version TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Produ
    ction
    Start Date 25-MAY-2012 07:54:17
    Uptime 0 days 0 hr. 21 min. 25 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File C:\app\J\product\11.2.0\dbhome_1\network\admin\listene
    r.ora
    Listener Log File c:\app\j\diag\tnslsnr\J-PC\listener\alert\log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=J-PC)(PORT=1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "orcl" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orclXDB" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    The command completed successfully
    Tnx for the help.

  • How to delete/drop all the tables from SQL Server Database without using Enterprise Manager?

    How to delete/drop all the tables from SQL Server Database without using Enterprise Manager?
    I tried using DROP Tables, Truncate Database, Delete and many more but it is not working.  I want to delete all tables using Query Analyzer, i.e. through SQL Query.
    Please help me out in this concern.
    Nishith Shah

    Informative thread indeed. Wish I saw it early enough. Managed to come up with the code below before I saw this thread.
    declare @TTName Table
    (TableSchemaTableName
    varchar
    (500),
    [status] int
    default 0);
    with AvailableTables
    (TableSchemaTableName)
    as
    (select
    QUOTENAME(TABLE_SCHEMA)
    +
    +
    QUOTENAME(TABLE_NAME)
    from
    INFORMATION_SCHEMA.TABLES)
    insert into @TTName
    (TableSchemaTableName)
    select *
    from AvailableTables
    declare @TableSchemaTableName varchar
    (500)
    declare @sqlstatement nvarchar
    (1000)
    while 1=1
    begin
    set @sqlstatement
    =
    'DROP TABLE '
    + @TableSchemaTableName
    exec
    sp_executeSQL
    @sqlstatement
    print
    'Dropped Table : '
    + @TableSchemaTableName
    update @TTName
    set [status]
    = 1
    where TableSchemaTableName
    = @TableSchemaTableName
    if
    (select
    count([Status])
    from @TTName
    where [Status]
    = 0)
    = 0
    break
    end

  • Enterprise Manager is not able to connect to the database instance. Open??

    Hello there,
    After I installed oracle database and tried to start Enterprise Manager, I got the message:
    Enterprise Manager is not able to connect to the database instance.
    All statuses are OK (green and up) except database instance. It is also green and up but open. (Details: The instance is open.)
    Can anyone help me about it?
    I use Windows XP x64 with all patches installed. Oracle database R11g x64.
    I tried with different database versions and different machines and different OS and loopback adapter and... my EM still want to log in.
    I can log in with sqlplus. It accepts any pass for sys (as sysdba). Why?
    My log files are available here: http://195.66.185.187/log.zip

    You are using a bequeath connection when logging in with SQL*Plus on the server so the password is not validated.
    Log in using SQL*Plus this way:
    sqlplus /nolog
    followed by
    conn sys@<service_name> AS SYSDBA
    and provide the correct password
    My guess it it will fail.
    If so then you need to use the correct password and if you don't know what it is set it when logged on as SYS.

  • New install of SQL 2014 Std MSDN. Get "The SQL Server product key is not valid. To proceed, re-enter the product key values from the Certificate of Authenticity (COA) or SQL Server packaging."

    Trying to install a new version of SQL 2014 Std 64 or x86. Installing on Windows 8.1Pro 64bit machine.
    I get:
    "TITLE: SQL Server Setup failure.
    SQL Server Setup has encountered the following error:
    The SQL Server product key is not valid. To proceed, re-enter the product key values from the Certificate of Authenticity (COA) or SQL Server packaging.
    Error code 0x858C0017."
    I looked at the summary log and that is the only error.
    I made sure there were no other instances of SQL on this machine. Uninstalled all VS2013 and sql instances just in case. IF there is somewhere to check if a previous version or license is causing the issue, i would be glad to check.
    Any help would be appreciated.

    Hi,
    Please read this thread with similar issue
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/bdd94577-515c-49fa-be44-008eacece057/installing-sql-server-2012-on-a-new-vm-error-code-0x858c0017?forum=sqlsetupandupgrade
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Articles

Maybe you are looking for

  • How to connect my old 20in Cinema Display to my thunderbolt new MacBook Pro?

    Hi everyone, I just brought a new MacBook Pro to replace a older model(brought earlier 2010), and a new thunderbolt Cinema Display. I have a old 20 inch LCD Cinema Display all the way from 2005 and brought a mini display port for my old MacBook Pro,

  • Creating a new Report on V$LOCK

    I want to create a report from V$LOCK. Using Sql*Developer (or Sql*Plus) I've access to that table but when I try to use it into Apex it does't work (ORA 00942). Could someone tell me why and propose a workaround ? Tks Tullio

  • A way to limit overdrive in vocals?

    There are moments when I sung to close to the microphone and the volume suddenly increases dramatically, is there a way to keep the volume between a certain low and a certain high so theres no drastic increases in volume?

  • Wifi problem with iPhone 3GS/4.0 upgrade

    I installed 4.0 on my 3GS , now I can't connect wifi to my iMac ... Therefore can't backup 2do or splash I'D which need wifi.. Any ideas apple ??

  • 3PL implementation without Decentralized WMS

    We are working towards outsourcing the warehouse for one division of our products. We cannot do the decentralized WMS as the 3PL doesn't want to have the terminal. This is the EDI flow I am working on. 1. O/B 846 (Inventory Snapshot) 2. O/B 940 (Ware