Available wookbooks in the database

Hi all,
I need a information about, how to view/findout total number of wookbooks available in the database.
For example, userA create 10 workbook, User B create 5 workbooks.
How will see this 15 workbooks?
Thanks!

Hi all...
Thanks ur informations.
The user names and the workbooks created by them :
select DOC_NAME,DOC_CREATED_BY from eul5_documents;
And the business areas can get using the other query
select BA_NAME from eul5_bas; - This gives the business area names.
I want to get the both workbookname and the corresponding business area to all the users. Is thery any single query to return this results?
Thanks!

Similar Messages

  • Job output is no longer available in the database control file

    Im running my rman backup with Oracle Enterprise manager grid control 10.2.0.1.
    In nocatalog mode.
    When I look for the job output in the "View Backup Report" section, it says
    Job output is no longer available in the database control file.
    Here is my rman setup:
    RMAN> show all;
    using target database control file instead of recovery catalog
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 7;
    CONFIGURE BACKUP OPTIMIZATION OFF; # default
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COMPRESSED BACKUPSET PARALLELISM 2;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE CHANNEL DEVICE TYPE DISK MAXPIECESIZE 5 G;
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/opt/oracle/app/oracle/product/10.2.0/db_1/dbs/snapcf_mus_prod.f'; # default
    anyone knows why i cannot see my rman job output?

    show parameter control_file_record_keep_time;
    NAME TYPE VALUE
    control_file_record_keep_time integer 7
    The backup is usually the last one. And it's the day before.
    If i go to the JOB tab in oem, then click on the job detail, i can see the detail of my rman backup. But i cannot see the backup detail in the View Backup Report section off the database. It says the error message : Job output is no longer available in the database control file

  • The amount of free SGA memory available in the database

    Hi,
    How can we calculate the amount of free SGA memory available from the instance if the database is not set for Memory management.If the sga_max_size is set for a particular value and the db_cache_size and the shared_pool and all other components are specified,how can one determine whether all the memory allocated for SGA is in use?

    How can we calculate the amount of free SGA memory available from the instance if the database is not set for Memory management.When the SGA is allocated, the memory is fixed, and none of it is "free" really.
    how can one determine whether all the memory allocated for SGA is in use? Are you asking about usage WITHIN the pools? If so, shortly after startup the database buffer and shared_pool will fill-up and stay full . . . . .
    Here is the script that I use to see inside the data buffer contents:
    set pages 999
    set lines 80
    spool blocks.lst
    ttitle 'Contents of Data Buffers'
    drop table t1;
    create table t1 as
    select
    o.object_name object_name,
    o.object_type object_type,
    count(1) num_blocks
    from
    dba_objects o,
    v$bh bh
    where
    o.object_id = bh.objd
    and
    o.owner not in ('SYS','SYSTEM')
    group by
    o.object_name,
    o.object_type
    order by
    count(1) desc
    column c1 heading "Object|Name" format a30
    column c2 heading "Object|Type" format a12
    column c3 heading "Number of|Blocks" format 999,999,999,999
    column c4 heading "Percentage|of object|data blocks|in Buffer" format 999
    select
    object_name c1,
    object_type c2,
    num_blocks c3,
    (num_blocks/decode(sum(blocks), 0, .001, sum(blocks)))*100 c4
    from
    t1,
    dba_segments s
    where
    s.segment_name = t1.object_name
    and
    num_blocks > 10
    group by
    object_name,
    object_type,
    num_blocks
    order by
    num_blocks desc
    Hope this helps. . ..
    Don Burleson
    Oracle Press author

  • Output is no longer available in the database control file

    Hi All
    in Oracle 10g (10.2.0.1.0) - on suse Linux 9, OEM (10.2.0.1.0); I'm getting when I try to look at RMAN reports that databases reports are "Job output is no longer available in the database control file." - one one database.
    I've searched forum and only found one thread
    (25/9/2007 - Re: rman backups )
    that doesn't have any conclusion to the problem. Has anyone seen this problem before, and do you know if it means there is a problem with the control file?
    Thanks, DW

    Looks like Bug 4659734
    I totally agree with what you say grylew "If you use rman catalogue you shouldn't get this error"; for me, on a Suse 9 Linux server (10.2.0.1.0 db), the error eventually found was ORA-19921 ;
    RMAN-06900: WARNING: unable to generate V$RMAN_STATUS or V$RMAN_OUTPUT row
    RMAN-06901: WARNING: disabling update of the V$RMAN_STATUS and V$RMAN_OUTPUT rows
    ORACLE error from target database:
    ORA-19921: maximum number of 64 rows exceeded
    Which turns out to say it is a bug fixable by only 10.2.0.4.0 patch or 11g. So awaiting 10.2.0.4.0 I guess.
    It all seems to be error assocaited with control file space; and I'f rather keep my control files healthy thanks.
    Besides all this; for me the problem is pretty innocuous; it means OEM mis-reports success of archivelog backups; I can see they're successful in 'job's but not in 'backup reports'.
    Thanks all for help, DW

  • Dropped table showing nt available in the database

    dear friends,
    my database is running in archive log mode and i dropped one table say table1.i ran the RMAN command shown below
    RMAN> run
    2> {
    3> restore database;
    4> recover database;
    5> }
    in the above command we are restoring the backup and applying all archivelogs,m i right?.
    after restoring and recovering the database using the above RMAN command,when i checked the dropped table table1,i m getting error --table1 is not existing in the database.
    can you please tell me why after restoring and applying all archivelog why i didnt get dropped table table?
    os-linux rhel 5.7
    db-10.2.0.3

    my database is running in archive log mode and i dropped one table say table1.i ran the RMAN command shown below
    RMAN> run
    2> {
    3> restore database;
    4> recover database;
    5> }
    in the above command we are restoring the backup and applying all archivelogs,m i right?.
    after restoring and recovering the database using the above RMAN command,when i checked the dropped table table1,i m getting error --table1 is not existing in the database.
    can you please tell me why after restoring and applying all archivelog why i didnt get dropped table table?the above command performs complete recovery
    if you want recover the table, you should use 'set until time_the_table_was_dropped' clause in the begining of run block

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

    Hi all,
    Currently i'm facing a big issue here.
    I have install the Oracle 10g on Window 2003 SE.
    And currently the Enterprise manager is not be able to conenct to the database and my database is still running.With my listener is up.
    But from the Enterprise manager's it show that everythg is down.
    and when i try to restart it,i ask for os id and password and dbuser and dbpassword.
    frm the SQL plus,i can easily startup and shutdown the database.
    So i would like to know i can rectify this problem.
    please kindly help me.I have post the setting of the databse as below
    tnsnames.ora
    ==========
    # Filename......: tnsnames.ora
    # Created.......: created by SAP AG, R/3 Rel. >= 6.10
    # Name..........:
    # Date..........:
    # @(#) $Id: //bc/700-1_REL/src/ins/SAPINST/impl/tpls/ora/ind/TNSNAMES.ORA#4 $
    SDB.WORLD=
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (COMMUNITY = SAP.WORLD)
    (PROTOCOL = TCP)
    (HOST = SAP_SOLMAN)
    (PORT = 1527)
    (CONNECT_DATA =
    (SID = SDB)
    (GLOBAL_NAME = SDB.WORLD)
    sqlnet.ora
    ========
    # sqlnet.ora Network Configuration File: E:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\sqlnet.ora
    # Generated by Oracle configuration tools.
    # 05.01.06 set to default
    #TCP.NODELAY=YES
    # 05.01.06 set to 32768
    # 05.01.06 unsorported parameter now
    #NAME.DEFAULT_ZONE = WORLD
    # 05.01.06 set the default to 10
    # Filename......: sqlnet.ora
    # Created.......: created by SAP AG, R/3 Rel. >= 6.10
    # Name..........:
    # Date..........:
    # @(#) $Id: //bc/700-1_REL/src/ins/SAPINST/impl/tpls/ora/ind/SQLNET.ORA#4 $
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT, HOSTNAME, LDAP)
    NAMES.DEFAULT_DOMAIN = WORLD
    DEFAULT_SDU_SIZE = 32768
    SQLNET.EXPIRE_TIME = 10
    Listener.ora
    =========
    # Filename......: listener.ora
    # Created.......: created by SAP AG, R/3 Rel. >= 6.10
    # Name..........:
    # Date..........:
    # @(#) $Id: //bc/700-1_REL/src/ins/SAPINST/impl/tpls/ora/ind/LISTENER.ORA#4 $
    ADMIN_RESTRICTIONS_LISTENER = on
    LISTENER =
    (ADDRESS_LIST =
    (ADDRESS =
    (PROTOCOL = IPC)
    (KEY = SDB.WORLD)
    (ADDRESS=
    (PROTOCOL = IPC)
    (KEY = SDB)
    (ADDRESS =
    (COMMUNITY = SAP.WORLD)
    (PROTOCOL = TCP)
    (HOST = SAP_SOLMAN)
    (PORT = 1527)
    STARTUP_WAIT_TIME_LISTENER = 0
    CONNECT_TIMEOUT_LISTENER = 10
    TRACE_LEVEL_LISTENER = OFF
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = SDB)
    (ORACLE_HOME = E:\oracle\product\10.2.0\db_1)
    Listener status
    ===========
    LSNRCTL> status
    Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=SDB.WORLD))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ
    ction
    Start Date 15-AUG-2006 15:14:48
    Uptime 0 days 2 hr. 43 min. 31 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File E:\oracle\product\10.2.0\db_1\network\admin\listener.o
    ra
    Listener Log File E:\oracle\product\10.2.0\db_1\network\log\listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\SDB.WORLDipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\SDBipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=SAP_solman)(PORT=1527)))
    Services Summary...
    Service "SDB" has 1 instance(s).
    Instance "SDB", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    emoms.log
    ========
    2006-08-15 18:03:20,562 [HttpRequestHandler-2254042] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = Io exception: The Network Adapter could not establish the connection
    2006-08-15 18:03:21,547 [HttpRequestHandler-2254042] WARN jdbc.ConnectionCache _getConnection.303 - Got a fatal exeption when getting a connection; Error code = 17002; Cleaning up cache and retrying
    2006-08-15 18:03:21,547 [HttpRequestHandler-2254042] WARN jdbc.ConnectionCache _getConnection.306 - Io exception: The Network Adapter could not establish the connection
    java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:111)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:145)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:254)
         at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:386)
         at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:493)
         at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:164)
         at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:34)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:767)
         at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:324)
         at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPooledConnection(OracleConnectionPoolDataSource.java:114)
         at oracle.jdbc.pool.OracleConnectionCacheImpl.getNewPoolOrXAConnection(OracleConnectionCacheImpl.java:694)
         at oracle.jdbc.pool.OracleConnectionCacheImpl.getPooledConnection(OracleConnectionCacheImpl.java:540)
         at oracle.jdbc.pool.OracleConnectionCacheImpl.getConnection(OracleConnectionCacheImpl.java:346)
         at oracle.jdbc.pool.OracleConnectionCacheImpl.getConnection(OracleConnectionCacheImpl.java:324)
         at oracle.sysman.util.jdbc.ConnectionCache._getConnection(ConnectionCache.java:296)
         at oracle.sysman.util.jdbc.ConnectionCache.getUnwrappedConnection(ConnectionCache.java:423)
         at oracle.sysman.emSDK.svc.conn.FGAConnectionCache.getFGAConnection(FGAConnectionCache.java:156)
         at oracle.sysman.emSDK.svc.conn.ConnectionService.getPrivateConnection(ConnectionService.java:605)
         at oracle.sysman.emdrep.receiver.OMSHandshake.getParameterFromDB(OMSHandshake.java:387)
         at oracle.sysman.emdrep.receiver.OMSHandshake.getMaxAgentCompatVer(OMSHandshake.java:369)
         at oracle.sysman.emdrep.receiver.OMSHandshake.handshake(OMSHandshake.java:794)
         at oracle.sysman.emdrep.receiver.OMSHandshake.handshake(OMSHandshake.java:648)
         at oracle.sysman.emdrep.receiver.FxferRecv.doGet(FxferRecv.java:658)
         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.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:239)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:604)
         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)
    2006-08-15 18:03:22,531 [HttpRequestHandler-2254042] ERROR eml.OMSHandshake getParameterFromDB.402 - Io exception: The Network Adapter could not establish the connection
    2006-08-15 18:03:22,531 [HttpRequestHandler-2254042] ERROR eml.OMSHandshake processFailure.619 - OMSHandshake failed.(AGENT URL = http://SAP_solman:3938/emd/main)(ERROR = INTERNAL_ERROR)
    2006-08-15 18:03:35,547 [HttpRequestHandler-9249408] WARN jdbc.ConnectionCache _getConnection.303 - Got a fatal exeption when getting a connection; Error code = 17002; Cleaning up cache and retrying
    2006-08-15 18:03:35,547 [HttpRequestHandler-9249408] WARN jdbc.ConnectionCache _getConnection.306 - Io exception: The Network Adapter could not establish the connection
    java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:111)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:145)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:254)
         at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:386)
         at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:493)
         at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:164)
         at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:34)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:767)
         at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:324)
         at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPooledConnection(OracleConnectionPoolDataSource.java:114)
         at oracle.jdbc.pool.OracleConnectionCacheImpl.getNewPoolOrXAConnection(OracleConnectionCacheImpl.java:694)
         at oracle.jdbc.pool.OracleConnectionCacheImpl.getPooledConnection(OracleConnectionCacheImpl.java:540)
         at oracle.jdbc.pool.OracleConnectionCacheImpl.getConnection(OracleConnectionCacheImpl.java:346)
         at oracle.jdbc.pool.OracleConnectionCacheImpl.getConnection(OracleConnectionCacheImpl.java:324)
         at oracle.sysman.util.jdbc.ConnectionCache._getConnection(ConnectionCache.java:296)
         at oracle.sysman.util.jdbc.ConnectionCache.getUnwrappedConnection(ConnectionCache.java:423)
         at oracle.sysman.emSDK.svc.conn.FGAConnectionCache.getFGAConnection(FGAConnectionCache.java:156)
         at oracle.sysman.emSDK.svc.conn.ConnectionService.getPrivateConnection(ConnectionService.java:605)
         at oracle.sysman.emSDK.svc.conn.ConnectionService.getRepositoryVersionAndMode(ConnectionService.java:368)
         at oracle.sysman.emSDK.svc.conn.ConnectionService.verifyRepositoryEx(ConnectionService.java:395)
         at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:144)
         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)
    2006-08-15 18:03:36,531 [HttpRequestHandler-9249408] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = Io exception: The Network Adapter could not establish the connection
    2006-08-15 18:03:36,531 [EMUI_18_03_36_/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)
    OracleDBConsoleSDBsrvc.log
    ======================
    -------------- [OracleDBConsoleSDB] ------------
    EMDROOT=E:\oracle\product\10.2.0\db_1
    ORACLE_HOME=E:\oracle\product\10.2.0\db_1
    EMDSTATE=E:\oracle\product\10.2.0\db_1\SAP_solman_SDB
    CONSOLE_CFG=dbconsole
    TRACE_LEVEL=16
    TIMEOUT=15
    08/09/06 15:11:59 Start pending...
    08/09/06 15:11:59 Verifying dbconsole is not started already. Command line "E:\oracle\product\10.2.0\db_1\bin\emctl.bat" istatus dbconsole
    08/09/06 15:12:04 dbconsole launch commandline is "E:\oracle\product\10.2.0\db_1\bin\emctl.bat" istart dbconsole
    08/09/06 15:12:04 Tracking process launch...
    08/09/06 15:12:41 Received exitCode 3 from emctl istatus
    08/09/06 15:12:41 dbconsole started
    08/11/06 08:46:03 Recieved ServCtrlHdlr command, 5
    08/11/06 08:46:03 Stopping dbconsole
    08/11/06 08:46:03 Launching stop EMD process...
    08/11/06 08:46:03 Waiting for stop EMD process to exit. numRetries=74
    08/11/06 08:46:06 Stop process has exited with exitCode: 0
    08/11/06 08:46:06 Waiting for emwd process to exit. numRetries=74
    08/11/06 08:46:06 Watchdog process exited with exit code 15
    08/11/06 08:46:06 Signal Shutdown event.
    08/11/06 08:46:06 Shutdown thread exited.
    08/11/06 08:46:06 ServiceMain wake up by ShutdownProc, emwd has exited. ServiceMain exits
    -------------- [OracleDBConsoleSDB] ------------
    EMDROOT=E:\oracle\product\10.2.0\db_1
    ORACLE_HOME=E:\oracle\product\10.2.0\db_1
    EMDSTATE=E:\oracle\product\10.2.0\db_1\SAP_solman_SDB
    CONSOLE_CFG=dbconsole
    TRACE_LEVEL=16
    TIMEOUT=15
    08/11/06 08:45:17 Start pending...
    08/11/06 08:45:17 Verifying dbconsole is not started already. Command line "E:\oracle\product\10.2.0\db_1\bin\emctl.bat" istatus dbconsole
    08/11/06 08:45:26 dbconsole launch commandline is "E:\oracle\product\10.2.0\db_1\bin\emctl.bat" istart dbconsole
    08/11/06 08:45:26 Tracking process launch...
    08/11/06 08:46:11 Received exitCode 3 from emctl istatus
    08/11/06 08:46:11 dbconsole started
    08/11/06 08:48:58 Recieved ServCtrlHdlr command, 5
    08/11/06 08:48:58 Stopping dbconsole
    08/11/06 08:48:58 Launching stop EMD process...
    08/11/06 08:48:58 Waiting for stop EMD process to exit. numRetries=74
    08/11/06 08:49:02 Stop process has exited with exitCode: 0
    08/11/06 08:49:02 Waiting for emwd process to exit. numRetries=74
    08/11/06 08:49:02 Watchdog process exited with exit code 15
    08/11/06 08:49:02 Signal Shutdown event.
    08/11/06 08:49:02 Shutdown thread exited.
    08/11/06 08:49:02 ServiceMain wake up by ShutdownProc, emwd has exited. ServiceMain exits
    -------------- [OracleDBConsoleSDB] ------------
    EMDROOT=E:\oracle\product\10.2.0\db_1
    ORACLE_HOME=E:\oracle\product\10.2.0\db_1
    EMDSTATE=E:\oracle\product\10.2.0\db_1\SAP_solman_SDB
    CONSOLE_CFG=dbconsole
    TRACE_LEVEL=16
    TIMEOUT=15
    08/11/06 08:53:20 Start pending...
    08/11/06 08:53:20 Verifying dbconsole is not started already. Command line "E:\oracle\product\10.2.0\db_1\bin\emctl.bat" istatus dbconsole
    08/11/06 08:53:29 dbconsole launch commandline is "E:\oracle\product\10.2.0\db_1\bin\emctl.bat" istart dbconsole
    08/11/06 08:53:29 Tracking process launch...
    08/11/06 08:54:14 Received exitCode 3 from emctl istatus
    08/11/06 08:54:14 dbconsole started
    08/11/06 11:37:30 Recieved ServCtrlHdlr command, 5
    08/11/06 11:37:30 Stopping dbconsole
    08/11/06 11:37:30 Launching stop EMD process...
    08/11/06 11:37:30 Waiting for stop EMD process to exit. numRetries=74
    08/11/06 11:37:34 Stop process has exited with exitCode: 0
    08/11/06 11:37:34 Waiting for emwd process to exit. numRetries=74
    08/11/06 11:37:34 Watchdog process exited with exit code 15
    08/11/06 11:37:34 Signal Shutdown event.
    08/11/06 11:37:34 Shutdown thread exited.
    08/11/06 11:37:34 ServiceMain wake up by ShutdownProc, emwd has exited. ServiceMain exits
    -------------- [OracleDBConsoleSDB] ------------
    EMDROOT=E:\oracle\product\10.2.0\db_1
    ORACLE_HOME=E:\oracle\product\10.2.0\db_1
    EMDSTATE=E:\oracle\product\10.2.0\db_1\SAP_solman_SDB
    CONSOLE_CFG=dbconsole
    TRACE_LEVEL=16
    TIMEOUT=15
    08/11/06 11:36:48 Start pending...
    08/11/06 11:36:48 Verifying dbconsole is not started already. Command line "E:\oracle\product\10.2.0\db_1\bin\emctl.bat" istatus dbconsole
    08/11/06 11:36:56 dbconsole launch commandline is "E:\oracle\product\10.2.0\db_1\bin\emctl.bat" istart dbconsole
    08/11/06 11:36:56 Tracking process launch...
    08/11/06 11:37:41 Received exitCode 3 from emctl istatus
    08/11/06 11:37:41 dbconsole started
    08/15/06 09:31:52 Recieved ServCtrlHdlr command, 5
    08/15/06 09:31:52 Stopping dbconsole
    08/15/06 09:31:52 Launching stop EMD process...
    08/15/06 09:31:52 Waiting for stop EMD process to exit. numRetries=74
    08/15/06 09:31:56 Stop process has exited with exitCode: 0
    08/15/06 09:31:56 Waiting for emwd process to exit. numRetries=74
    08/15/06 09:31:56 Watchdog process exited with exit code 15
    08/15/06 09:31:56 Signal Shutdown event.
    08/15/06 09:31:56 Shutdown thread exited.
    08/15/06 09:31:56 ServiceMain wake up by ShutdownProc, emwd has exited. ServiceMain exits
    -------------- [OracleDBConsoleSDB] ------------
    EMDROOT=E:\oracle\product\10.2.0\db_1
    ORACLE_HOME=E:\oracle\product\10.2.0\db_1
    EMDSTATE=E:\oracle\product\10.2.0\db_1\SAP_solman_SDB
    CONSOLE_CFG=dbconsole
    TRACE_LEVEL=16
    TIMEOUT=15
    08/15/06 09:31:06 Start pending...
    08/15/06 09:31:06 Verifying dbconsole is not started already. Command line "E:\oracle\product\10.2.0\db_1\bin\emctl.bat" istatus dbconsole
    08/15/06 09:31:14 dbconsole launch commandline is "E:\oracle\product\10.2.0\db_1\bin\emctl.bat" istart dbconsole
    08/15/06 09:31:14 Tracking process launch...
    08/15/06 09:31:49 Did not hear back from emctl istatus.
    08/15/06 09:31:49 Waiting a further 5 secs...
    08/15/06 09:31:51 Received exitCode 3 from emctl istatus
    08/15/06 09:31:51 dbconsole started
    08/15/06 15:15:31 Recieved ServCtrlHdlr command, 5
    08/15/06 15:15:31 Stopping dbconsole
    08/15/06 15:15:31 Launching stop EMD process...
    08/15/06 15:15:31 Waiting for stop EMD process to exit. numRetries=74
    08/15/06 15:15:34 Stop process has exited with exitCode: 0
    08/15/06 15:15:34 Waiting for emwd process to exit. numRetries=74
    08/15/06 15:15:34 Watchdog process exited with exit code 15
    08/15/06 15:15:34 Signal Shutdown event.
    08/15/06 15:15:34 Shutdown thread exited.
    08/15/06 15:15:34 ServiceMain wake up by ShutdownProc, emwd has exited. ServiceMain exits
    -------------- [OracleDBConsoleSDB] ------------
    EMDROOT=E:\oracle\product\10.2.0\db_1
    ORACLE_HOME=E:\oracle\product\10.2.0\db_1
    EMDSTATE=E:\oracle\product\10.2.0\db_1\SAP_solman_SDB
    CONSOLE_CFG=dbconsole
    TRACE_LEVEL=16
    TIMEOUT=15
    08/15/06 15:14:46 Start pending...
    08/15/06 15:14:46 Verifying dbconsole is not started already. Command line "E:\oracle\product\10.2.0\db_1\bin\emctl.bat" istatus dbconsole
    08/15/06 15:14:54 dbconsole launch commandline is "E:\oracle\product\10.2.0\db_1\bin\emctl.bat" istart dbconsole
    08/15/06 15:14:54 Tracking process launch...
    08/15/06 15:15:29 Did not hear back from emctl istatus.
    08/15/06 15:15:29 Waiting a further 5 secs...
    08/15/06 15:15:32 Received exitCode 3 from emctl istatus
    08/15/06 15:15:32 dbconsole started
    Command prompt for emctls status
    =========================
    E:\oracle\product\10.2.0\db_1\BIN>emctl status
    Environment variable ORACLE_SID not defined. Please define it.
    emd.properties
    ===========
    # perl executable directory
    perlBin=E:\oracle\product\10.2.0\db_1\perl\5.8.3\bin\MSWin32-x86-multi-thread
    # script directory
    scriptsDir=E:\oracle\product\10.2.0\db_1/sysman/admin/scripts
    # emd Root directory(read-only location). Metrics should not create files
    # under this directory
    emdRoot=E:\oracle\product\10.2.0\db_1
    # agent Root directory(writeable).
    # Use this property to base any temporary file creation.
    agentStateDir=E:/oracle/product/10.2.0/db_1/SAP_solman_SDB
    # Chronos root directory
    chronosRoot=E:/oracle/product/10.2.0/db_1/SAP_solman_SDB/sysman/emd/chronos
    # OMS Upload URL
    # if there is no receiving OMS or if you wish to disable the UploadManager
    # please set this value to empty or comment out below line
    REPOSITORY_URL=http://SAP_solman:5500/em/upload/
    # Proxy settings used for fetchlets. not applicable for uploader.
    #proxyHost=www-proxy.us.oracle.com
    #proxyPort=80
    #dontProxyFor=.us.oracle.com
    # If it is necessary to go through an http proxy server to get to the
    # repository, uncomment the following two lines
    #REPOSITORY_PROXYHOST=
    #REPOSITORY_PROXYPORT=
    #REPOSITORY_PROXYREALM=%EM_REPOS_PROXYREALM%
    #REPOSITORY_PROXYUSER=%EM_REPOS_PROXYUSER%
    #REPOSITORY_PROXYPWD=%EM_REPOS_PROXYPWD%
    # This string is used by the agent to connect to remote targets
    # ***IMPORTANT*** Do not change the contents of this setting. Only the
    # install should modify this value.
    agentSeed=1329576760
    # This string is used by the agent to determine which algorithm to use for encrypted data
    # The string value will be same as the release version
    agentVersion=10.1.0.4.0
    # How long, in minutes, collector will wait until next load.
    UploadInterval=5
    # If an upload fails, we want to backoff by UploadFailBackoff
    # percentage more each time for each successive upload failure
    # e.g. if we start the retry at 1 minute. If we fail in our next
    # upload attempt, we try again 1minute 12 seconds later etc.
    UploadFailBackoffPct= 20
    # Maximum amount of time, in seconds, upload will wait for response from
    # repository before timing out.
    # 0 means infinite.
    UploadTimeout=1800
    # Timeout for upload a file, HealthMonitor will abort the EMD process if
    # UploadManager does not finish uploading one file within this time
    # Unit is minite, the default value is 1 hour ( 15 Min)
    #UploadMaxTime=15
    # How big the file the collector will upload (in KB)
    # the actual file size could be slightly bigger.
    # This is only a guidance.
    UploadFileSize=2048
    # The maximum number of megabytes(MB) the upload manager will support in the
    # upload directory before temporarily being disabled
    UploadMaxBytesXML=50
    # The maximum number of files the upload manager will support in the
    # upload directory before temporarily being disabled
    UploadMaxNumberXML=5000
    # The maximum amount (%) of disk space that can be used on the EMD filesystem
    # before the following is disabled:
    # - Collection of data (upload manager)
    # - Logging and tracing
    UploadMaxDiskUsedPct=98
    # The amount (%) of disk space that can be used on the EMD filesystem
    # before the following is re-enabled after being disabled previously:
    # - Collection of data (upload manager)
    # - Logging and tracing
    UploadMaxDiskUsedPctFloor=95
    # Time out for the Agent to think that the access to the database could be
    # hung. The Agent would not allow more threads to go and hang with a database
    # if any one access to the database does not return within DbHangTimeout
    # seconds.
    # The more the timeout more the possibility of allowing more threads
    # to be hung in the EMD with a bad database.it is specified in seconds.
    #DbHangTimeout=200
    # The script to run if disk space usage exceeds parameters or if certain other
    # error conditions occur.
    #emdFailureScript=emdfail.command
    # The location of the file that contains the root certificate.
    emdRootCertLoc=E:/oracle/product/10.2.0/db_1/SAP_solman_SDB/sysman/config/b64LocalCertificate.txt
    internetCertLoc=E:/oracle/product/10.2.0/db_1/SAP_solman_SDB/sysman/config/b64InternetCertificate.txt
    # The download URL for the EMD Oracle Wallet and its local file location.
    # Note: Ensure that this URL references a valid port number at which the
    # console is available on http
    emdWalletSrcUrl=http://SAP_solman:5500/em/wallets/emd
    emdWalletDest=E:/oracle/product/10.2.0/db_1/SAP_solman_SDB/sysman/config/server
    # The email address for out-of-band notifications
    emd_email_address=
    emd_email_gateway=
    # The return email address for out-of-band notifications
    emd_from_email_address=
    # EMD main servlet URL
    EMD_URL=http://SAP_solman:3938/emd/main
    # Whether the EMD should listen on all NICs on the current host (the default)
    # or just the NIC associated with the hostname in EMD_URL
    AgentListenOnAllNICs=TRUE
    # This parameter indicates the thread model to use. uncomment one of the
    # following ThreadPoolModel line to indicate the model, agent need to use.
    # SMALL if number of targets is less than 11.
    # MEDIUM if number of targets is from 11 to 50.
    # LARGE if number of targets is greater than 50.
    # This parameter can be overriden by 'MaxThreads' which indicates the maximum
    # number of threads that CEMD can have running at any point of time. User can
    # mostly use the other parameter ThreadPoolModel to indicate what model for the
    # agent to use.
    # ThreadPoolModel = SMALL
    # ThreadPoolModel = MEDIUM
    # ThreadPoolModel = LARGE
    # This parameter indicates the stack size, threads have to be created with.
    # we can set it to 0 to use the OS default value.
    # In some version of solaris(such as 2.9 ) specify a stack size may cause Java Hotspot warning
    # when JVM is used.
    NormalThreadStackSize=0
    #Signals that users want to ignore.
    #It can be one or combination of SIGTERM, SIGINT
    # The signals can listed with ',' as delimiter.
    #IgnoreSignals=
    # This property is NO LONGER USED for host config collection (instead, hostConfigClasspath is used).
    # If noone else uses it, it can be removed.
    ouiLoc=E:\oracle\product\10.2.0\db_1/oui
    # Classpath for host config collection
    # VERY IMPORTANT NOTE: If you change the host config classpath entries in this section, you HAVE
    # to change the HOST_CONFIG_TEST_CLASSPATH entry in the utl/emdwqaenv file too.
    # NOTE: if the location of emd_java.jar and/or log4j-core.jar is changed
    # make sure that appropriate changes are also made
    # to the CLASSPATH variable in this file if necessary
    # PORTING NOTE: Check OUI-required jar files for OUI APIs to work. They could be different on your platform.
    # Also, our version of xmlparserv2.jar must be compatible with the one OUI expects (both OUI and ECM use XML parser).
    hostConfigClasspath=E:\oracle\product\10.2.0\db_1/oui/jlib/xmlparserv2.jar;E:\oracle\product\10.2.0\db_1/oui/jlib/OraInstaller.jar;E:\oracle\product\10.2.0\db_1/oui/jlib/srvm.jar;E:\oracle\product\10.2.0\db_1/oui/jlib/share.jar;E:\oracle\product\10.2.0\db_1/sysman/jlib/emd_java.jar;E:\oracle\product\10.2.0\db_1/sysman/jlib/log4j-core.jar
    # JAVA HOME required for JavaExt metric calls
    JAVA_HOME=E:\oracle\product\10.2.0\db_1/jdk/jre
    # CLASSPATH required for JavaExt metric calls
    CLASSPATH=E:\oracle\product\10.2.0\db_1/sysman/jlib/emd_java.jar;E:\oracle\product\10.2.0\db_1/opmn/lib/ons.jar;E:\oracle\product\10.2.0\db_1/lib/xmlparserv2.jar;E:\oracle\product\10.2.0\db_1/sysman/jlib/log4j-core.jar;E:\oracle\product\10.2.0\db_1/oc4j/j2ee/home/lib/http_client.jar;E:\oracle\product\10.2.0\db_1/lib/dms.jar;E:\oracle\product\10.2.0\db_1/lib/dmsEmd.jar;E:\oracle\product\10.2.0\db_1/jlib/share.jar;E:\oracle\product\10.2.0\db_1/jdbc/lib/ojdbc14dms.jar;E:\oracle\product\10.2.0\db_1/jlib/jssl-1_1.jar;E:\oracle\product\10.2.0\db_1/jlib/javax-ssl-1_1.jar;E:\oracle\product\10.2.0\db_1/jlib/ojmisc.jar;E:\oracle\product\10.2.0\db_1/lib/em_test.jar;E:\oracle\product\10.2.0\db_1/jlib/ojmisc.jar;E:\oracle\product\10.2.0\db_1/jlib/repository.jar;E:\oracle\product\10.2.0\db_1/opmn/lib/optic.jar
    # this is the java option
    #JAVA_OPTIONS=-Xmx128m
    # These are the optional Java flags for the in-process Java
    # Native Interface (JNI)
    agentJavaDefines=-Doracle.dms.refresh.wait.time=1000 -DUrlTiming.UseJSSE=true
    # When set to true, the emd.log and emd.trc file will be appended by a pid
    # For example:
    # emd_15789.log
    # emd_15789.trc
    # By default, it is not set for regression test purpose.
    # After installed, please uncomment this line because when EMD is restarted,
    # previous log information will be lost if not set to true.
    #LogFileWithPID=true
    # Default log file maximum size before rolling in Kilobytes
    LogFileMaxSize=4096
    # Maximum number of log file roll files to maintain before deletion
    LogFileMaxRolls=4
    # Default trace file maximum size before rolling in Kilobytes
    TrcFileMaxSize=4096
    # Maximum number of trace file roll files to maintain before deletion
    TrcFileMaxRolls=4
    # To enable the metric browser, uncomment the following line
    # This is a reloadable parameter
    #enableMetricBrowser=true
    # To disable Remote operations (non-reachable agent) uncomment the following
    # line:
    #disableRemoteOperations=true
    # add an additional admin path from which the agent will read additional
    # target metadata. The specified path should have the mandatory 4 directories
    # under it. 1. metadata 2. scripts 3. default_collection 4. discover
    #altAdminPath=<additional admin path>
    # The health monitor executes callbacks in a separate thread. if for some
    # reason the threads spawned from health monitor to execute callbacks are
    # hung, the agent could run out of resource and freeze.
    # so when the current thread count spawned from the Health monitor reaches
    # this limit, the agent is bounced. the default is set to 5.
    #MaxHealthMonitorThreads=5
    # dynamicPropsComputeTimeout default to 30s
    dynamicPropsComputeTimeout=60
    # emagent perl tracing levels
    # supported levels: DEBUG, INFO, WARN, ERROR
    # default level is ERROR
    EMAGENT_PERL_TRACE_LEVEL=ERROR
    # other optional parameters for perl tracing
    # EMAGENT_PERL_TRACE_DIR default to $ORACLE_HOME/sysman/log
    #EMAGENT_PERL_TRACE_DIR=
    # EMAGENT_PERL_TRACE_FILESIZE default to 5M
    #EMAGENT_PERL_TRACE_FILESIZE=5
    # this section define the logging level for each component,
    # it is "reloadable", you can change the level at runtime to reset
    # the logging level, but if you remove the line, it will not be
    # changed.
    tracelevel.main=WARN
    tracelevel.emSDK.xml=WARN
    tracelevel.emSDK.utl=WARN
    tracelevel.ResMonitor=WARN
    tracelevel.Dispatcher=WARN
    tracelevel.ThreadPool=WARN
    tracelevel.pingManager=WARN
    tracelevel.collector=WARN
    tracelevel.http=WARN
    tracelevel.ssl=WARN
    tracelevel.ssl.io=WARN
    tracelevel.blackouts=WARN
    tracelevel.upload=WARN
    tracelevel.command=WARN
    tracelevel.reload=WARN
    tracelevel.scheduler=WARN
    tracelevel.Authentication=WARN
    tracelevel.metadata=WARN
    tracelevel.targets=WARN
    tracelevel.TargetManager=WARN
    tracelevel.engine=WARN
    tracelevel.javaproc=WARN
    tracelevel.vpxoci=WARN
    tracelevel.javavm=WARN
    tracelevel.fetchlets=WARN
    tracelevel.fetchlets.os=WARN
    tracelevel.fetchlets.osline=WARN
    tracelevel.fetchlets.oslinetok=WARN
    tracelevel.fetchlets.UDM=WARN
    tracelevel.fetchlets.sql=WARN
    tracelevel.fetchlets.url=WARN
    tracelevel.fetchlets.urllines=WARN
    tracelevel.fetchlets.urllinetoken=WARN
    tracelevel.fetchlets.URLTiming=WARN
    tracelevel.fetchlets.propEcho=WARN
    tracelevel.fetchlets.readFromFile=WARN
    tracelevel.fetchlets.readMultFromFile=WARN
    tracelevel.fetchlets.throwable=WARN
    tracelevel.fetchlets.resourceGrab=WARN
    tracelevel.fetchlets.emSDK=WARN
    # The following three properties are for HTTP timeout
    # Timeout value for reading Http primary header, default is 30 seconds.
    httpTimeoutPrimaryHeader=30
    # Timeout value for reading http secondary headers, default is 30 seconds
    httpTimeoutSecondaryHeaders=30
    # Timeout value for reading http body, default is 60 seconds.
    httpTimeoutBody=60
    omsRecvDir=E:\oracle\product\10.2.0\db_1\SAP_solman_SDB\sysman\recv
    agentTZRegion=+08:00
    And i would like to know how to set up the environment variable for Oracle_HOME and ORACLE_SID.
    Please kindly assist me on this.

    Looking at the error message "The Network Adapter could not establish the connection" , It appears hostname and port may be incorrect. Review the targets.xml under E:\oracle\product\10.2.0\db_1\SAP_solman_SDB\emd and
    emoms.properties under E:\oracle\product\10.2.0\db_1\SAP_solman_SDB\config folder to make sure host ( sap_solman) and port (1527) are correct.
    As far as setting the environment variables goes, you can go to control panel -> system -> advanced -> environment variables and set the ORACLE_HOME and ORACLE_SID
    -Ramesh

  • Calling stored procedures with parameters with the Database Connectivi​ty Toolkit

    Hi all,
    I am new to the forum and am having difficulty finding a solution to a particular problem I am having regarding using the LabVIEW Database Connectivity Toolkit on a project I am currently working on at my job.  I have a database in which I have tables and stored procedures with parameters.  Some of these stored procedures have input, output, and return parameters.
    I have been trying to follow this example but to no avail:  http://digital.ni.com/public.nsf/allkb/07FD1307460​83E0686257300006326C4?OpenDocument
    One such stored procedure I am working on implementing is named "dbo.getAllowablePNs", which executes "SELECT * from DeviceType" (DeviceType is the table).  In this case, it does not require an input parameter, it has an output parameter that generates the table [cluster], and has a return parameter which returns an integer value (execution status code) to show if an error occurred.  The DeviceType table has 3 columns; ID (PK, int, not null), PN (nvarchar(15), null), and NumMACAddresses (int, null).  I have gone over many examples and have talking to NI support to try to implement this and similar stored procedures in LabVIEW but have not been successful.  I am able to connect to the database with the Open Connection VI without error, but am running into some confusion following this step.  I am then trying to use the Create Parameterized Query VI to call the stored procedure and set the parameters.  I assume I would then use the Set Parameter Value VI for each parameter that is wired into the parameters input on the previous Parameterized Query VI?  I am also having some confusion during and following these steps as well.  I would greatly appreciate any advice or suggestions anyone might have in regards to this situation as I am not a SQL expert.  Also, I would be happy to provide any more information that would be helpful.
    Regards,
    Jon
    Solved!
    Go to Solution.

    Also, I don't know if this would be helpful but here is the actual stored procedure in SQL:
    CREATEPROCEDURE [dbo].[getLastSequenceNumber]
    @p1 nvarchar(10)='WO-00000'
    AS
    BEGIN
    -- SET NOCOUNT ON added to prevent extra result sets from
    -- interfering with SELECT statements.
    SETNOCOUNTON;
    -- Insert statements for procedure here
    selectmax(SequenceNumber)from Devices where WorkOrderNumber= @p1
    END
    GO

  • Hello Anybody, I have a question. Can any of you please suggest me how to make an xml file from the database table with all the rows? Note:- I am having the XSD Schema file and the resulted XML file should be in that XSD format only.

    Hello Anybody, I have a question. Can any of you please suggest me how to make an xml file from the database table with all the records?
    Note:- I am having the XSD Schema file and the resulted XML file should be in that XSD format only.

    The Oracle documentation has a good overview of the options available
    Generating XML Data from the Database
    Without knowing your version, I just picked 11.2, so you made need to look for that chapter in the documentation for your version to find applicable information.
    You can also find some information in XML DB FAQ

  • Error: ExecuteNonQuery requires an open and available Connection. The connection's current state is closed.(System.Data)

    Dear all,
    Can any one explain about this error,
    2014-11-02 19:19:29.58    *** Error: Could not log history/error message.(Microsoft.SqlServer.Management.LogShipping) ***
    2014-11-02 19:19:29.58    *** Error: ExecuteNonQuery requires an open and available Connection. The connection's current state is closed.(System.Data) ***
    2014-11-02 19:19:29.58    Deleting log backup file. File: '\\Jdccb-mis\logshipping\JDCCBPROD_20141030134512.trn', Last Write Time (UTC): '10/30/2014 1:45:13 PM'
    2014-11-02 19:19:29.60    *** Error: Could not log history/error message.(Microsoft.SqlServer.Management.LogShipping) *****
    This errors comes on My Secondary server during log shipping and database goes to restore mode.
    satish Kumar

    Hi Krishnp,
    These are the latest jobs in queue:
    89 Quadro de Horários 28/6/2014 1:45  N/D Arquivar Configurações do Sistema Aguardando Processamento 0%  
     88 Quadro de Horários 28/6/2014 1:30  N/D Arquivar Modos de Exibição do Project Web App Aguardando Processamento 0%  
     87 Quadro de Horários 28/6/2014 1:00  N/D Arquivar Campos Personalizados Aguardando Processamento 0%  
    When I delete the last work automatically related are excluded.
    Currently the queue is 406 jobs.
    David Soares MCTS:MBS - MCTS - MCITP

  • 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.

  • 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

  • Suddenly getting UserNotFoundException: User Not Found: Could not load profile data from the database

    Starting yesterday (I believe) we are suddenly receiving a "User not found" error when trying to view a user's profile page when clicking on their name (in search or elsewhere) via the url
    https://www.contoso.org/Person.aspx?accountname=contoso%255Cmyuserlogin
    This is happening for all users. (but profiles exist and seem ok, and sync with AD is running fine) When looking in the logs I see the error  (full ULS log is later below)
    Exception in LoadRequestedUserProfile: (Microsoft.Office.Server.UserProfiles.UserNotFoundException: User Not Found: Could not load profile data from the database.
    The only clue of what MAY be going on is just before that I see the following two lines which came up after I changed the Database logging to Verbose:
    ConnectionString: 'Data Source=INSTANCE;Initial Catalog=UPAPROFILEDB;Integrated Security=True;Enlist=False;Pooling=True;Min Pool Size=0;Max Pool Size=100;Connect Timeout=15;Application Name=SharePoint[w3wp][3][UPAPROFILEDB]'    Partition:
    NULL ConnectionState: Closed ConnectionTimeout: 15
    SQL connection time: 0.0456 for Data Source=INSTANCE;Initial Catalog=UPAPROFILEDB;Integrated Security=True;Enlist=False;Pooling=True;Min Pool Size=0;Max Pool Size=100;Connect Timeout=15;Application Name=SharePoint[w3wp][3][HNet3_Svc_Prod_UPA_Profile] 
    If I am reading that correctly, does it mean the connection to the database is timing out instantly? I am able to use powershell to pull up profiles and print them to the screen while on the webservers. And it's only the one specific page that is not
    working.
    What sort of tests or further debugging can I do for the error above?
    We are on premise, SharePoint 2013 sp1, sql2012, server 2012, claims using the full SharePoint Profiile Sychronization against AD.  Farm has been running since last august. Last week the admin team did run windows update on all servers, I can't be sure
    if it was broken for 5 days and no one noticed or if it broke yesterday.
    I already did the following:
    Verified the profiles do exist in central admin.
    I can still access their personal sites directly via
    https://www.contoso.org/personal/myuserlogin
    I checked the ProfileDB database and made sure the service accounts for the UPA has dbowner, so does the farm account, and the web application pool has SPDataAccess.
    Verified the AD sync account has proper rights in AD.
    I reran a full synchronization which ran with no errors.
    File systems on the webservers and appserver have plenty of free space.
    Rebooted every server in farm
    I even checked the bin directory of the mysite webapplication, (since once I had a weird problem where access to bin was removed.) WSS_ADMIN_WPG, WSS_RESTRICTED_WPG_W4 have full control and WSS_WPG,IIS_IUSRS all have read and execute.
    I opened powershell on the webserver I can indeed load profiles and print their values.
    Timestamp Area Category EventID Level Message Correlation
    07/25/2014 14:11:08.43 SharePoint Foundation Monitoring nasq Medium Entering monitored scope (Request (GET:https://my.hungernet.org:443/Person.aspx?accountname=FA%255Ccbuchholz)). Parent No
    07/25/2014 14:11:08.43 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (GET:https://my.hungernet.org:443/Person.aspx?accountname=FA%255Ccbuchholz) be11a89c-fbe8-a08d-57d2-afa6a4948743
    07/25/2014 14:11:08.43 SharePoint Foundation Micro Trace uls4 Medium Micro Trace Tags: 0 nasq be11a89c-fbe8-a08d-57d2-afa6a4948743
    07/25/2014 14:11:08.43 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (GET:https://my.hungernet.org:443/Person.aspx?accountname=FA%255Ccbuchholz)). Execution Time=1.3859 be11a89c-fbe8-a08d-57d2-afa6a4948743
    07/25/2014 14:11:08.47 SharePoint Foundation Monitoring nasq Medium Entering monitored scope (Request (GET:https://my.hungernet.org:443/Person.aspx?accountname=FA%255Ccbuchholz)). Parent No
    07/25/2014 14:11:08.47 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (GET:https://my.hungernet.org:443/Person.aspx?accountname=FA%255Ccbuchholz) be11a89c-ebeb-a08d-57d2-a513d117e184
    07/25/2014 14:11:08.49 SharePoint Foundation General ajji6 High Unable to write SPDistributedCache call usage entry. be11a89c-ebeb-a08d-57d2-a513d117e184
    07/25/2014 14:11:08.50 SharePoint Foundation Authentication Authorization agb9s Medium Non-OAuth request. IsAuthenticated=True, UserIdentityName=0#.w|fa\cbuchholz, ClaimsCount=167 be11a89c-ebeb-a08d-57d2-a513d117e184
    07/25/2014 14:11:08.50 SharePoint Foundation Files ak8dj High UserAgent not available, file operations may not be optimized. at Microsoft.SharePoint.SPFileStreamManager.CreateCobaltStreamContainer(SPFileStreamStore spfs, ILockBytes ilb, Boolean copyOnFirstWrite, Boolean disposeIlb) at Microsoft.SharePoint.SPFileStreamManager.SetInputLockBytes(SPFileInfo& fileInfo, SqlSession session, PrefetchResult prefetchResult) at Microsoft.SharePoint.CoordinatedStreamBuffer.SPCoordinatedStreamBufferFactory.CreateFromDocumentRowset(Guid databaseId, SqlSession session, SPFileStreamManager spfstm, Object[] metadataRow, SPRowset contentRowset, SPDocumentBindRequest& dbreq, SPDocumentBindResults& dbres) at Microsoft.SharePoint.SPSqlClient.GetDocumentContentRow(Int32 rowOrd, Object ospFileStmMgr, SPDocumentBindRequest& dbreq, SPDocumentBindResults& dbres... be11a89c-ebeb-a08d-57d2-a513d117e184
    07/25/2014 14:11:08.50* SharePoint Foundation Files ak8dj High ...) at Microsoft.SharePoint.Library.SPRequestInternalClass.GetFileAndMetaInfo(String bstrUrl, Byte bPageView, Byte bPageMode, Byte bGetBuildDependencySet, String bstrCurrentFolderUrl, Int32 iRequestVersion, Byte bMainFileRequest, Boolean& pbCanCustomizePages, Boolean& pbCanPersonalizeWebParts, Boolean& pbCanAddDeleteWebParts, Boolean& pbGhostedDocument, Boolean& pbDefaultToPersonal, Boolean& pbIsWebWelcomePage, String& pbstrSiteRoot, Guid& pgSiteId, UInt32& pdwVersion, String& pbstrTimeLastModified, String& pbstrContent, UInt32& pdwPartCount, Object& pvarMetaData, Object& pvarMultipleMeetingDoclibRootFolders, String& pbstrRedirectUrl, Boolean& pbObjectIsList, Guid& pgListId, UInt32& pdwItemId, Int64& pllListFlags, Boolean& pbAccessDenied, Guid& pgDocid, Byte& piLevel, UInt64& ppermMask, ... be11a89c-ebeb-a08d-57d2-a513d117e184
    07/25/2014 14:11:08.50* SharePoint Foundation Files ak8dj High ...Object& pvarBuildDependencySet, UInt32& pdwNumBuildDependencies, Object& pvarBuildDependencies, String& pbstrFolderUrl, String& pbstrContentTypeOrder, Guid& pgDocScopeId) at Microsoft.SharePoint.Library.SPRequestInternalClass.GetFileAndMetaInfo(String bstrUrl, Byte bPageView, Byte bPageMode, Byte bGetBuildDependencySet, String bstrCurrentFolderUrl, Int32 iRequestVersion, Byte bMainFileRequest, Boolean& pbCanCustomizePages, Boolean& pbCanPersonalizeWebParts, Boolean& pbCanAddDeleteWebParts, Boolean& pbGhostedDocument, Boolean& pbDefaultToPersonal, Boolean& pbIsWebWelcomePage, String& pbstrSiteRoot, Guid& pgSiteId, UInt32& pdwVersion, String& pbstrTimeLastModified, String& pbstrContent, UInt32& pdwPartCount, Object& pvarMetaData, Object& pvarMultipleMeetingDoclibRootFolders, String& pbst... be11a89c-ebeb-a08d-57d2-a513d117e184
    07/25/2014 14:11:08.50* SharePoint Foundation Files ak8dj High ...rRedirectUrl, Boolean& pbObjectIsList, Guid& pgListId, UInt32& pdwItemId, Int64& pllListFlags, Boolean& pbAccessDenied, Guid& pgDocid, Byte& piLevel, UInt64& ppermMask, Object& pvarBuildDependencySet, UInt32& pdwNumBuildDependencies, Object& pvarBuildDependencies, String& pbstrFolderUrl, String& pbstrContentTypeOrder, Guid& pgDocScopeId) at Microsoft.SharePoint.Library.SPRequest.GetFileAndMetaInfo(String bstrUrl, Byte bPageView, Byte bPageMode, Byte bGetBuildDependencySet, String bstrCurrentFolderUrl, Int32 iRequestVersion, Byte bMainFileRequest, Boolean& pbCanCustomizePages, Boolean& pbCanPersonalizeWebParts, Boolean& pbCanAddDeleteWebParts, Boolean& pbGhostedDocument, Boolean& pbDefaultToPersonal, Boolean& pbIsWebWelcomePage, String& pbstrSiteRoot, Guid& pgSiteId, UInt32& pdwVersion,... be11a89c-ebeb-a08d-57d2-a513d117e184
    07/25/2014 14:11:08.50* SharePoint Foundation Files ak8dj High ... String& pbstrTimeLastModified, String& pbstrContent, UInt32& pdwPartCount, Object& pvarMetaData, Object& pvarMultipleMeetingDoclibRootFolders, String& pbstrRedirectUrl, Boolean& pbObjectIsList, Guid& pgListId, UInt32& pdwItemId, Int64& pllListFlags, Boolean& pbAccessDenied, Guid& pgDocid, Byte& piLevel, UInt64& ppermMask, Object& pvarBuildDependencySet, UInt32& pdwNumBuildDependencies, Object& pvarBuildDependencies, String& pbstrFolderUrl, String& pbstrContentTypeOrder, Guid& pgDocScopeId) at Microsoft.SharePoint.SPWeb.GetWebPartPageContent(Uri pageUrl, Int32 pageVersion, PageView requestedView, HttpContext context, Boolean forRender, Boolean includeHidden, Boolean mainFileRequest, Boolean fetchDependencyInformation, Boolean& ghostedPage, String& siteRoot, Guid& siteId, Int64& bytes, ... be11a89c-ebeb-a08d-57d2-a513d117e184
    07/25/2014 14:11:08.50* SharePoint Foundation Files ak8dj High ...Guid& docId, UInt32& docVersion, String& timeLastModified, Byte& level, Object& buildDependencySetData, UInt32& dependencyCount, Object& buildDependencies, SPWebPartCollectionInitialState& initialState, Object& oMultipleMeetingDoclibRootFolders, String& redirectUrl, Boolean& ObjectIsList, Guid& listId) at Microsoft.SharePoint.ApplicationRuntime.SPRequestModuleData.FetchWebPartPageInformationForInit(HttpContext context, SPWeb spweb, Boolean mainFileRequest, String path, Boolean impersonate, Boolean& isAppWeb, Boolean& fGhostedPage, Guid& docId, UInt32& docVersion, String& timeLastModified, SPFileLevel& spLevel, String& masterPageUrl, String& customMasterPageUrl, String& webUrl, String& siteUrl, Guid& siteId, Object& buildDependencySetData, SPWebPartCollectionInitialState& initialState, ... be11a89c-ebeb-a08d-57d2-a513d117e184
    07/25/2014 14:11:08.50* SharePoint Foundation Files ak8dj High ...String& siteRoot, String& redirectUrl, Object& oMultipleMeetingDoclibRootFolders, Boolean& objectIsList, Guid& listId, Int64& bytes) at Microsoft.SharePoint.ApplicationRuntime.SPRequestModuleData.GetFileForRequest(HttpContext context, SPWeb web, Boolean exclusion, String virtualPath) at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.InitContextWeb(HttpContext context, SPWeb web) at Microsoft.SharePoint.WebControls.SPControl.SPWebEnsureSPControl(HttpContext context) at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.GetContextWeb(HttpContext context) at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.PostResolveRequestCacheHandler(Object oSender, EventArgs ea) at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IEx... be11a89c-ebeb-a08d-57d2-a513d117e184
    07/25/2014 14:11:08.50* SharePoint Foundation Files ak8dj High ...ecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error) at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb) at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompl... be11a89c-ebeb-a08d-57d2-a513d117e184
    07/25/2014 14:11:08.50* SharePoint Foundation Files ak8dj High ...etion(IntPtr pHandler, RequestNotificationStatus& notificationStatus) at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) be11a89c-ebeb-a08d-57d2-a513d117e184
    07/25/2014 14:11:08.50 SharePoint Foundation Files aiv4w Medium Spent 0 ms to bind 4224 byte file stream be11a89c-ebeb-a08d-57d2-a513d117e184
    07/25/2014 14:11:08.50 SharePoint Foundation Logging Correlation Data xmnv Medium Site=/ be11a89c-ebeb-a08d-57d2-a513d117e184
    07/25/2014 14:11:08.50 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (PostResolveRequestCacheHandler). Execution Time=11.7341 be11a89c-ebeb-a08d-57d2-a513d117e184
    07/25/2014 14:11:08.52 SharePoint Portal Server User Profiles aj2aw Verbose GetPartitionPropertiesCache :: ApplicationId = c604ddac-b9f9-4661-b31f-44cdcf2b78dc be11a89c-ebeb-a08d-57d2-a513d117e184
    07/25/2014 14:11:08.52 SharePoint Portal Server User Profiles aj2ax Verbose GetPartitionPropertiesCache :: Trying to find existing cache be11a89c-ebeb-a08d-57d2-a513d117e184
    07/25/2014 14:11:08.52 SharePoint Portal Server User Profiles aj2az Verbose GetPartitionPropertiesCache :: Getting Cached object be11a89c-ebeb-a08d-57d2-a513d117e184
    07/25/2014 14:11:08.54 SharePoint Portal Server User Profiles aj2aw Verbose GetPartitionPropertiesCache :: ApplicationId = c604ddac-b9f9-4661-b31f-44cdcf2b78dc be11a89c-ebeb-a08d-57d2-a513d117e184
    07/25/2014 14:11:08.54 SharePoint Portal Server User Profiles aj2ax Verbose GetPartitionPropertiesCache :: Trying to find existing cache be11a89c-ebeb-a08d-57d2-a513d117e184
    07/25/2014 14:11:08.54 SharePoint Portal Server User Profiles aj2ay Verbose GetPartitionPropertiesCache :: Found existing cache in httpcontext be11a89c-ebeb-a08d-57d2-a513d117e184
    07/25/2014 14:11:08.54 SharePoint Server Database tzku Verbose ConnectionString: 'Data Source=HungerNet3;Initial Catalog=HNet3_Svc_Prod_UPA_Profile;Integrated Security=True;Enlist=False;Pooling=True;Min Pool Size=0;Max Pool Size=100;Connect Timeout=15;Application Name=SharePoint[w3wp][3][HNet3_Svc_Prod_UPA_Profile]' Partition: NULL ConnectionState: Closed ConnectionTimeout: 15 be11a89c-ebeb-a08d-57d2-a513d117e184
    07/25/2014 14:11:08.54 SharePoint Server Database ahjqp Verbose SQL connection time: 0.0583 for Data Source=HungerNet3;Initial Catalog=HNet3_Svc_Prod_UPA_Profile;Integrated Security=True;Enlist=False;Pooling=True;Min Pool Size=0;Max Pool Size=100;Connect Timeout=15;Application Name=SharePoint[w3wp][3][HNet3_Svc_Prod_UPA_Profile] be11a89c-ebeb-a08d-57d2-a513d117e184
    07/25/2014 14:11:08.54 SharePoint Foundation General adyrv High Cannot find site lookup info for request Uri http://www.hungernet.org/. be11a89c-ebeb-a08d-57d2-a513d117e184
    07/25/2014 14:11:08.54 SharePoint Foundation General adyrv High Cannot find site lookup info for request Uri http://www.hungernet.org/. be11a89c-ebeb-a08d-57d2-a513d117e184
    07/25/2014 14:11:08.54 SharePoint Foundation General adyrv High Cannot find site lookup info for request Uri http://lnkd.in/bb6rsHj. be11a89c-ebeb-a08d-57d2-a513d117e184
    07/25/2014 14:11:08.55 SharePoint Server Database tzku Verbose ConnectionString: 'Data Source=HungerNet3;Initial Catalog=HNet3_Svc_Prod_UPA_Profile;Integrated Security=True;Enlist=False;Pooling=True;Min Pool Size=0;Max Pool Size=100;Connect Timeout=15;Application Name=SharePoint[w3wp][3][HNet3_Svc_Prod_UPA_Profile]' Partition: NULL ConnectionState: Closed ConnectionTimeout: 15 be11a89c-ebeb-a08d-57d2-a513d117e184
    07/25/2014 14:11:08.55 SharePoint Server Database ahjqp Verbose SQL connection time: 0.0456 for Data Source=HungerNet3;Initial Catalog=HNet3_Svc_Prod_UPA_Profile;Integrated Security=True;Enlist=False;Pooling=True;Min Pool Size=0;Max Pool Size=100;Connect Timeout=15;Application Name=SharePoint[w3wp][3][HNet3_Svc_Prod_UPA_Profile] be11a89c-ebeb-a08d-57d2-a513d117e184
    07/25/2014 14:11:08.55 SharePoint Portal Server User Profiles ajw8l High Exception in LoadRequestedUserProfile: (Microsoft.Office.Server.UserProfiles.UserNotFoundException: User Not Found: Could not load profile data from the database. at Microsoft.Office.Server.UserProfiles.UserProfile.Load(SqlDataReader myReader, Boolean bFirstRead, Boolean firstReaderIsViewerRights, Boolean includeColleagueRecords, Boolean includeLanguageAndRegionalSettings, Boolean shouldCloseReader) at Microsoft.Office.Server.UserProfiles.UserProfile.RetrieveUser(String strAcct, Guid gAcct, Byte[] bSid, Nullable`1 recordId, Boolean doNotResolveToMasterAccount, Boolean loadFullProfile, Boolean loadColleagueRecordIds, String strEmail) at Microsoft.Office.Server.UserProfiles.UserProfile..ctor(UserProfileManager objManager, String strAcct, Boolean doNotResolveToMasterAccount, Boole... be11a89c-ebeb-a08d-57d2-a513d117e184
    07/25/2014 14:11:08.55* SharePoint Portal Server User Profiles ajw8l High ...an forceUserIsSelf, Boolean loadFullProfile, Boolean loadColleagueRecordIds, String strEmail) at Microsoft.Office.Server.UserProfiles.UserProfileManager.GetUserProfile(String strAccountName, Boolean doNotResolveToMasterAccount, Boolean loadFullProfile, Boolean loadColleagueRecordIds) at Microsoft.SharePoint.Portal.WebControls.ProfilePropertyLoader.LoadRequestedUserProfile(String& redirectionUrl)) be11a89c-ebeb-a08d-57d2-a513d117e184
    07/25/2014 14:11:08.55 SharePoint Foundation General aat87 Monitorable be11a89c-ebeb-a08d-57d2-a513d117e184
    07/25/2014 14:11:08.55 SharePoint Foundation General ajji6 High Unable to write SPDistributedCache call usage entry. be11a89c-ebeb-a08d-57d2-a513d117e184
    07/25/2014 14:11:08.55 SharePoint Foundation Micro Trace uls4 Medium Micro Trace Tags: 0 nasq,20 ajji6,3 agb9s,10 ak8dj,1 b4ly,25 adyrv,1 adyrv,4 adyrv,3 ajw8l,1 aat87,3 ajji6 be11a89c-ebeb-a08d-57d2-a513d117e184
    07/25/2014 14:11:08.55 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (GET:https://my.hungernet.org:443/Person.aspx?accountname=FA%255Ccbuchholz)). Execution Time=78.9958 be11a89c-ebeb-a08d-57d2-a513d117e184

    Have Windows Updates been applied? See my note about this
    https://twitter.com/imorrish/status/491020435039854592
    Look at the URL in the search results. It may have invalid character in which case you can use this fix
    http://blogs.msdn.com/b/spses/archive/2014/06/30/sharepoint-2013-the-search-results-with-5c-the-character-will-become-double-encoded-and-causes-broken-links.aspx
    Regards,
    Ian
    http://sps.cloudapp.net
    Regards, Ian Internet Sites running on SharePoint 2013 http://j.mp/sp2013sites

  • Loading issue : Error: sql error in the database while accessing a table

    Hello,
    where as one of the DTP in the process chain failed due to  *Error: sql error in the database while accessing a table*, where as in the short dump it showing as Transaction log of data base is full., but i checked the data base space in DB02, more space is available . once we run the same DTP by manually its successful. its not through  any errors.
    could u please help me out solve the problem.
    Thanks
    siva kumar.

    it might be a lock. do you drop index before loading?
    the database might be full at the moment of loading and not later if many loadings happen at the same time on the same system...
    when you then rerun your dtp manually, it can go through as it's perhaps the only one running at that moment...
    you can try to set the btch parameter to 1...this will help in some cases.
    M.

  • Can I run a report based on the occurance of an event in the database

    (eg some data has been inserted into a table)?
    I read in the FAQ of Report that is possible and i have to use some PL/SQL stored procedures in the database that use the UTL_HTTP package (available in 7.3 or later) to issue the HTTP request to the server to run the report. However in the next release of Oracle Reports (Reports 9i), some PL/SQL procedures will be supplied to accomplish this.
    Have someone any idea about this? and if someone have this package, can he send me an example.
    thanks in advance.

    Hello,
    You will find documentation and examples in
    Oracle9iAS Reports Services Publishing Reports to the Web
    Release 2 (9.0.2)
    Part Number A92102-01
    11
    Event-Driven Publishing
    Take a look at :
    http://otn.oracle.com/products/reports/htdocs/getstart/GettingStarted/index.html
    too.
    Regards

  • Can OSB XE run on a server other than the database system?

    I have a 2 node 10GR2 Standard Edition RAC using an EMC SAN and ASM. However, I can't attach a tape drive directly to the database servers because they have no available slots for SCSI controllers. Is it possible to use OSB XE installed on a separate system (which would act as the administrative and media server) with a tape drive to back up the RAC database, or does XE only permit backing up a system which contains both the database and the tape drive? (I'm not too concerned with backing up the OS). If so, would the backup contain archive log threads for both RAC nodes?

    OSB-XE may be used for a single-server environment only. You describe 3 hosts in the environment. The only way you could use OSB-XE would be to have one host configured as your admin. server, client and media server and only back data on that server. If you are backing up the database, then OSB-XE must be installed on the database server which also must then be configured as your admin server and media server....it must be direct attached via SCSI to tape drive.

Maybe you are looking for