Samples database starting failed

Hi.
When i start the samples database it always failed (it appears and dissappears at once), so when i try the livecycle samples tomcat throws this exception:
java.sqj.SQLException: socket creation error
at .... and so on
My os is WindowsXP SP3
Help me, please!

JayanKandathil wrote:
You must be trying to start the Samples database of LiveCycle Data Services?
Yes, I can't start Samples database.
Samples database port is 9002, isn't it? I was looking for it in TCPView, but didn't find. So i think 9002 is free.
I have no firewall and stopped antivirus.
I tried to change database port in server.properties file, but it didn't helped...
Thanks for your answer, JayanKandathil!

Similar Messages

  • J2EE Engine start error: Database initialization failed!

    My J2EE engine now fails to start - jcontrol stays yellow.  I've followed Troubleshooting pages from help.sap.com Admin manual topic "starting J2EE Engine".
    Background:
    I was running through JDI Scenario 2+ on a fresh installed WebAS 6.40 at SP9.  Using NWDevStudio2.09, I attempted to load a DC, but servers stopped responding.  So I downed everything (in MMC) including offlining the DB, then put DB back online and restart the J2E engine, and now jcontrol stays yellow. 
    I find this in the file log_bootstrap_ID0014430.0.log:
    Apr 7, 2005 3:10:23 PM  ] Bootstrap MODE:
    [Apr 7, 2005 3:10:23 PM  ] <INSTANCE GLOBALS>
    [Apr 7, 2005 3:10:23 PM  ]  determined by parameter [ID0014430].
    [Apr 7, 2005 3:10:23 PM  ] -
    [Apr 7, 2005 3:10:26 PM  ] Exception occured:
    com.sap.engine.bootstrap.SynchronizationException: Database initialization failed! Check database properties!
         at com.sap.engine.bootstrap.Bootstrap.initDatabaseConnection(Bootstrap.java:422)
         at com.sap.engine.bootstrap.Bootstrap.<init>(Bootstrap.java:144)
         at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:813)
    .........a few lines cut out here..........
         at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
    ==[ Caused by: ]==----
    com.sap.engine.frame.core.configuration.ConfigurationException: Error while connecting to DB.
         at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.createConnection(DBConnectionPool.java:344)
    ............ a few lines cut out here..........
         at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
    Caused by: com.sap.dbtech.jdbc.exceptions.JDBCDriverException: SAP DBTech JDBC: Cannot connect to jdbc:sapdb://PHI21811/J2E [Cannot connect to host PHI21811 [Connection refused: connect], -813.].
         at com.sap.dbtech.jdbc.DriverSapDB.connect(DriverSapDB.java:183)
         at com.sap.sql.jdbc.NativeConnectionFactory.createNativeConnection(NativeConnectionFactory.java:219)
         at com.sap.sql.connect.OpenSQLDataSourceImpl.createPooledConnection(OpenSQLDataSourceImpl.java:570)
         at com.sap.sql.connect.OpenSQLDataSourceImpl.getPooledConnection(OpenSQLDataSourceImpl.java:263)
         at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.createConnection(DBConnectionPool.java:294)
         ... 14 more
    [Apr 7, 2005 3:10:26 PM  ] [Bootstrap module]> Problem occured while performing synchronization.
    [Apr 7, 2005 3:22:24 PM  ] -
    ANYONE HAVE ANY SUGGESTIONS?????

    Using the Database Administration section of the help.sap.com library, I found the location of SAPDB/MySQL log files.  They are in C:\sapdb\data\wrk\J2E.  In 'knldiag' I found entries complaining of Log files being full and tasks put in suspension.
    So I figured out to do a full back up of the DB and/or backup the log files.  The log file bar (in MMC) still showed 100% full, but I figured out to refresh the view and voila it was empty (so one of the backups emptied it, not sure which one).
    After that the DB comes up fine and now my J2E WebAS goes all green.
    Message was edited by: Michael W Rains

  • CiscoWorks 3.2 ANI database engine failed to start

    /* Style Definitions */
    table.MsoNormalTable
    {mso-style-name:"Table Normal";
    mso-tstyle-rowband-size:0;
    mso-tstyle-colband-size:0;
    mso-style-noshow:yes;
    mso-style-parent:"";
    mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
    mso-para-margin:0cm;
    mso-para-margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:10.0pt;
    font-family:"Times New Roman";
    mso-ansi-language:#0400;
    mso-fareast-language:#0400;
    mso-bidi-language:#0400;}
    CiscoWorks ANI database engine failed to start ...
    /* Style Definitions */
    table.MsoNormalTable
    {mso-style-name:"Table Normal";
    mso-tstyle-rowband-size:0;
    mso-tstyle-colband-size:0;
    mso-style-noshow:yes;
    mso-style-parent:"";
    mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
    mso-para-margin:0cm;
    mso-para-margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:10.0pt;
    font-family:"Times New Roman";
    mso-ansi-language:#0400;
    mso-fareast-language:#0400;
    mso-bidi-language:#0400;}
    We suppose we have found following bug. This is output from one discussion on Netpro https://supportforums.cisco.com/message/665869#665869 .
    CSCsb52873
    ANI Server fails to start
    This problem occurs when you:
    Start ANI Server, the server is up for sometime and shuts down with RC as -2 and Info as ANI Server failed to load from the database.
    Workaround:
    Stop the Daemon Manager. Re-initialize ANI database and start the daemons.
    Enter the following command to reinitialize ANI database:
    /opt/CSCOpx/bin/perl /opt/CSCOpx/bin/dbRestoreOrig.pl dsn=ani dmprefix=ANI
    You should not be using this interface to start any CiscoWorks services.  Your statup parameters look okay.  Either your ANI database is corrupt, or your transaction log is corrupt.
    First, set the CiscoWorks Daemon Manager service to Manual, and reboot the server.  When the server reboots, delete NMSROOT\databases\ani\ani.log if it exists.  Then run:
    NMSROOT\objects\db\win32\dbsrv9 -f NMSROOT\databases\ani\ani.db
    After that, set the Daemon Manager service back to Automatic, and reboot again.  See if the ANI database engine starts.  If not, you will need to reinitialize your ANI database with the command:
    NMSROOT\bin\perl NMSROOT\bin\dbRestoreOrig.pl dsn=ani dmprefix=ANI
    /* Style Definitions */
    table.MsoNormalTable
    {mso-style-name:"Table Normal";
    mso-tstyle-rowband-size:0;
    mso-tstyle-colband-size:0;
    mso-style-noshow:yes;
    mso-style-parent:"";
    mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
    mso-para-margin:0cm;
    mso-para-margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:10.0pt;
    font-family:"Times New Roman";
    mso-ansi-language:#0400;
    mso-fareast-language:#0400;
    mso-bidi-language:#0400;}
    We have done reinitializing:
    1. Delete NMSROOT\databases\ani\ani.log
    NMSROOT\objects\db\win32\dbsrv10 -f NMSROOT\databases\ani\ani.db
    After that done
    NMSROOT\bin\perl NMSROOT\bin\dbRestoreOrig.pl dsn=ani dmprefix=ANI
    After reinitializing ANI database took 1 hour to start, output of  pdshow command was
    INFO: Daemon manager is processing other tasks in the queue. Please try again later.
    In RME there is another problem:
    JRM Service could be down. Check whether JRM services are running .
    Tried to resolve by reinitializingRME
    NMSROOT\bin\perl.exe NMSROOT\bin\dbRestoreOrig.pl dsn=rmeng dmprefix=RME
    But did not help.
    We are attaching some log files...
    Thanks in advance...

    You are most likely seeing a port conflict between LMS and the Windows RM service.  You can either shutdown the Windows Remote Management service, then restart Daemon Manager, or do the following:
    * Shutdown Daemon Manager
    * Remove ctmregistry* from NMSROOT/MDC/tomcat/webapps/rme/WEB-INF/lib.
    * With Windows Remote Management still running, restart Daemon Manager, and EssentialsDM should skip tcp/47001 because it is already in use.

  • Start extract msext:  OGG-00551  Database operation failed

    Hi all,
    GG Sqlserver2008 to Oracle11gR2.
    I have configured the above setup.
    Initial LOAD was successful, using the following prms
    Source:(inext.prm)
    =====
    SOURCEISTABLE
    SOURCEDB HR, userid sa, password sa
    RMTHOST dtc-pc, MGRPORT 7809
    RMTFILE d:\GGora\dirdat\ex
    TABLE hrschema.emp;
    Target: (inload.prm)
    =====
    SPECIALRUN
    END RUNTIME
    USERID gg_user, PASSWORD welcome1
    EXTFILE d:\ggora\dirdat\ex
    SOURCEDEFS d:\ggora\dirdef\emp.def
    MAP hrschema.emp, TARGET gg_user.emp;
    Then I proceed to LIVE DATA CAPTURE. But my extract process got error? maybe the  prm is not correct?
    Source: (msext.prm)
    ===============
    EXTRACT MSEXT
    TRANLOGOPTIONS MANAGESECONDARYTRUNCATIONPOINT
    SOURCEDB HR, userid sa, password sa
    RMTHOST dtc-pc, MGRPORT 7809
    RMTTRAIL d:\ggora\dirdat\ms
    TABLE HRSCHEMA.EMP;
    Target: (msrep.prm)
    ==============
    REPLICAT MSREP
    USERID gg_user, PASSWORD welcome1
    SOURCEDEFS d:\ggora\dirdef\emp.def
    MAP hrschema.emp, TARGET gg_user.emp;
    I got error on the source EXTRACT MSEXT
    2013-06-21 23:35:01  ERROR   OGG-00551  Database operation failed: Couldn't connect to HR. ODBC error: SQLSTATE 37000 native database error 4060. [Microsoft][ODBC SQL Server Driver][SQL Server]Cannot open database "emp" requested by the login. The login failed.
    2013-06-21 23:35:01  ERROR   OGG-01668  PROCESS ABENDING.
    ggserr.log
    =======
    2013-06-21 23:31:18  INFO    OGG-00983  Oracle GoldenGate Manager for SQL Server, mgr.prm:  Manager started (port 7808).
    2013-06-21 23:32:37  INFO    OGG-00987  Oracle GoldenGate Command Interpreter for SQL Server:  GGSCI command (DTC): start manager.
    2013-06-21 23:35:00  INFO    OGG-00987  Oracle GoldenGate Command Interpreter for SQL Server:  GGSCI command (DTC): start extract msext.
    2013-06-21 23:35:00  INFO    OGG-00963  Oracle GoldenGate Manager for SQL Server, mgr.prm:  Command received from GGSCI on host DTC-PC.domain:51376 (START EXTRACT MSEXT ).
    2013-06-21 23:35:00  INFO    OGG-00975  Oracle GoldenGate Manager for SQL Server, mgr.prm:  EXTRACT MSEXT starting.
    2013-06-21 23:35:01  INFO    OGG-00992  Oracle GoldenGate Capture for SQL Server, MSEXT.prm:  EXTRACT MSEXT starting.
    2013-06-21 23:35:01  INFO    OGG-03035  Oracle GoldenGate Capture for SQL Server, MSEXT.prm:  Operating system character set identified as windows-1252. Locale: en_PH, LC_ALL:.
    2013-06-21 23:35:01  ERROR   OGG-00551  Oracle GoldenGate Capture for SQL Server, MSEXT.prm:  Database operation failed: Couldn't connect to HR. ODBC error: SQLSTATE 37000 native database error 4060. [Microsoft][ODBC SQL Server Driver][SQL Server]Cannot open database "emp" requested by the login. The login failed.
    2013-06-21 23:35:01  ERROR   OGG-01668  Oracle GoldenGate Capture for SQL Server, MSEXT.prm:  PROCESS ABENDING.
    =========
    I can login to HR using ggsci
    =====================
    GGSCI (DTC-PC) 8> dblogin sourcedb hr, userid sa, password sa
    2013-06-22 00:23:26  INFO    OGG-03036  Database character set identified as windows-1252. Locale: en_US.
    2013-06-22 00:23:26  INFO    OGG-03037  Session character set identified as windows-1252.
    Successfully logged into database.
    Please help...
    Thanks a lot,
    zxy

    Hi all,
    For the succeeding LIVE CAPTURE LOADING:
    I resolved my issue by using the ODBC System DSN  "Sqlserver native client" driver.
    It failed if I use the ODBC System DSN "Sqlserver" driver
    On the other hand the INITIAL LOAD, is good with the reverse.
    It is ok with the DSN "Sqlserver" driver only and not the native client driver.
    Thanks a lot,

  • What are the ODBC connect details for the HR sample database?

    I have installed Oracle Express on Ubuntu 8.10 and read the Getting Started tutorials. Everything worked fine.
    THE DSN
    I need to connect via ODBC, to start with to the HR sample database on my PC.
    The Getting Started tutorial says the userid and password are both hr, but what is the data source name (dsn) to be used with the SQLConnect?
    THE INIs
    The ini files below are the result of googling, not of any insight on my part.
    /etc/odbcinst.ini
    [OracleExpressdrv]
    Driver = /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib/libsqora.so.10.1
    Description = Oracle 10g express driver
    /etc/odbc.ini
    [hrdsn]
    Driver = OracleExpressdrv
    Application Attributes = T
    Attributes = W
    BatchAutocommitMode = IfAllSuccessful
    CloseCursor = F
    DisableDPM = F
    DisableMTS = T
    DSN = TestDSN
    EXECSchemaOpt =
    EXECSyntax = T
    Failover = T
    FailoverDelay = 10
    FailoverRetryCount = 10
    FetchBufferSize = 64000
    ForceWCHAR = F
    Lobs = T
    Longs = T
    MetadataIdDefault = F
    QueryTimeout = T
    ResultSets = T
    # ServerName is TNS_alias_from_tnsnames.ora
    ServerName = OraDB
    SQLGetData extensions = F
    Translation DLL =
    Translation Option = 0
    UserID = ken
    THE ENVIRONMENT
    Before running my odbc test program I issued
    LD_LIBRARY_PATH=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib;export LD_LIBRARY_PATH
    and checked via env command that the ldlibpath actually had been set correctly.
    After SQLConnect received the following error:
    Usage error: SQLConnect: dsn=hrdsn, user=hr, password=hr <<< output by my test program
    1: st=IM002, nerr=0, msg=
    [unixODBC][Driver Manager]Data source name not found, and no default driver specified
    The first part of the error message hints at there being something wrong with dsn=hrdsn. I don't understand the second part 'and no default driver specified'.
    I am totally stuck. Advice would be most appreciated.

    Oracle® Database Express Edition Installation Guide for Linux talks about Compiling the Oracle ODBC Driver Demos. It tells you to download and install the unixODBC DriverManager from unixODBC. On Ubuntu this is already preinstalled and/or available via the Synaptic Manager. It also instructs you to run a makefile demo_xe.mk to build an odbcdemo program. The makefile did not work for me (hundreds of compilation errors), but I looked at the odbcdemo.c code and could see that dsn=TESTDBDSN for user=hr and password=hr. In other words, by luck the demo program seems to be connecting to the HR sample database.
    I changed the /etc/odbc.ini file to:
    [TestDBDSN]
    Application Attributes = T
    Attributes = W
    BatchAutocommitMode = IfAllSuccessful
    CloseCursor = F
    DisableDPM = F
    DisableMTS = T
    Driver = OracleExpressdrv
    DSN = TestDBDSN
    and also in my test program which now produced the following error:
    Usage error: SQLConnect: dsn=TestDBDSN, user=hr, password=hr
    1: st=IM004, nerr=0, msg=
    [unixODBC][Driver Manager]Driver's SQLAllocHandle on SQL_HANDLE_HENV failed
    which shows that the unixODBC driver manager has loaded the driver and that the driver immediately encountered problems.
    The sql calls issued before the SQLConnect("TestDBDSN", "hr" , "hr") were OK, i.e. these:
    rc0 = SQLAllocHandle ( SQL_HANDLE_ENV , SQL_NULL_HANDLE , &henv ) ;
    rc = SQLSetEnvAttr ( henv, SQL_ATTR_ODBC_VERSION , *)SQL_OV_ODBC3 , 0 ) ;
    rc = SQLAllocHandle ( SQL_HANDLE_DBC , henv , &hdbc ) ;
    SQLSetConnectAttr ( hdbc , SQL_LOGIN_TIMEOUT , (void*)5 , 0 ) ;
    However, the error appears after SQLConnect and yet the rc0 was reported as OK.
    The error message 'Driver's SQLAllocHandle on SQL_HANDLE_HENV failed' is totally unhelpful to me as a user since I don't know the conditions that lead to failure. I really think this calls for some documentation. Such documentation should be complete, self-contained and correct and give ALL OPERATIONAL steps, i.e. I want to know exactly what I have to do. Ambiguous English often referring to undefined terms is not what Oracle beginners like myself want.
    I don't know if this is a bug. It is so fundamental that Oracle ODBC driver writers could/should not have got it wrong. The connect does not even start.
    I have googled for hours, but every lead has failed.
    I don't want to give up on this. What can I do?

  • Error in creation of sample database during installation of Oracle8

    I am trying to install Oracle8 for Intel Solaris8. Near the end of installation - running database configuration assitant, the creation of the sample database failed by an alert:
    ORA-03114: not connected to ORACLE
    I also tried to run database configuration assistant in custom mode separately, "ORACLE not available" message came up.
    I think ORACLE should be connected and running before creation of the sample DB, like installation of Oracle in Windows.
    Anyone has the same problem or can give me a help?
    The Oracle(8.1.7) CD comes with Solaris8 (07/01) package.
    Thanks.

    I would guess that your kernal parameters have not been set. Check you oracle install guide for the appropriate additions to /etc/system for semiphores and shared memory segments. If you have not made these changes, the database will not come up.
    ...jcd...

  • Crystal reports "Database login failed" when using push method

    I have a web application (ASP.NET, .NET v3.5), that pushes data to a CR 2008 report. On two servers one of the three reports returns a "Database login failed" error. I am stumped since there is no login, it's push not pull; in addition the problem is hard to debug since it works fine from my developers workstation. I have "updated" the xsd in that report, reinstalled the app, etc., non of which helped. If anyone has a solution or even ideas I'd appreciate the help.

    What about following the troubleshooting steps as described in the blog;
    Create an XML file off of your dataset. Make sure this is done just before you set the dataset to the report:
                rpt.Load(rptPath)
    myDataset.WriteXml(xmlPath, XmlWriteMode.WriteSchema)
    rpt.SetDataSource(myDataset)
    Copy the above created XML to your development system
    Open the problem report in the Crystal Reports designer
    In the Desigger, go to the Database menu and select u201CSet Datasource Locationu201D
    In the u201CReplace with:u201D pane, expand the u201CCreate New Connectionu201D folder.
    Double click the u201CADO .NET (XML)u201D icon
    Browse to the location of the XML file you created in step (1)
    Click on the path to the XML. The <Update> button should enable
    Click on the <Update> button
    Typically, either of the following will happen:
    You will get a u201CMap Fieldsu201D dialog. This indicates that the XML written off of your dataset does not match what the report is expecting. This may be due to incorrect fields name, incorrect field type, etc. You will now need eliminate the difference.
    Incorrect data or no data. There is an issue with your dataset and you need to determine why the data is not present in your dataset. Looking at the XML may be a good place to start.
    Ludek

  • Issue while installing WCS using omii.ini: Database ping failed

    Hi,
    I am trying to install WCS on local linux VM. I am following the document 'Oracle WebCenter Sites: Installing on Oracle WebLogic Application Server".
    Following are the things I have been able to do successfully:
    Install Oracle DB, create a database and then create a user for this database
    Install WebLogic server, create domain, create admin server, managed server, and finally create a datasource. THe datasource connection to the DB created in step 1 above is successfull.
    I downloaded the WCS installer from Oracle Website 'WebCenterSites_11.1.1.6_bp1'. I am installing using silent installer using omii.ini file.
    During installation, on receiving the prompt to install CS and CAS applications, I installed them successfully via WebLogic console.
    I tested the URL 'http://localhost:7001/cs/HelloCS' and it showed me the Oracle WCS 11g page.
    Now, when I go back to the wcs installation terminal and hit Enter, it gives following error:
    [2013-07-11 01:32:21.861][CS.INSTALL][INFO] 1. If your platform requires you to manually deploy the Sites application, deploy Sites now. Otherwise, continue with step 2 2. Restart your application server. 3. Test the URL http:////HelloCS to see if application is deployed successfully 4. If the test is successful, press ENTER. URL http://localhost:7001/cs/HelloCS [2013-07-11 01:41:16.841][CS.INSTALL][INFO] CSSetupEngine.testConnectionAction:  Testing user configuration and database connectivity. [2013-07-11 01:41:17.118][CS.INSTALL][INFO] CSSetupEngine.postURL:  PostURL success for http://localhost:7001/cs/HelloCS [2013-07-11 01:41:17.118][CS.INSTALL][INFO] CSSetupEngine.testConnectionAction:  Web Server and Application Server Configuration test finished successfully. [2013-07-11 01:41:17.118][CS.INSTALL][INFO] CSSetupEngine.testConnectionAction:  Attempting to Ping the Database. [2013-07-11 01:41:17.459][CS.INSTALL][ERROR] CSSetupEngine.doPing:  Database Ping Failed. Make sure your application server and web server are running. Response received = HTTP/1.1 200 OK HOST_SERVICE: FutureTenseContentServer:11.1.1.6.1 Transfer-Encoding: chunked Date: Wed, 10 Jul 2013 20:11:17 GMT Set-Cookie: JSESSIONID=vpMNRd1Fwb1NJyb5NH1pXx5dfmPhzzyJL2S3yYry3FwQqL8hFVJ6!1994306862; path=/; HttpOnly Content-Type: text/html; charset=UTF-8 X-Powered-By: Servlet/2.5 JSP/2.1 [2013-07-11 01:41:17.459][CS.INSTALL][ERROR] CSSetupEngine.doPing:  Database Ping Failed. Make sure your application server and web server are running. Response received = HTTP/1.1 200 OK HOST_SERVICE: FutureTenseContentServer:11.1.1.6.1 Transfer-Encoding: chunked Date: Wed, 10 Jul 2013 20:11:17 GMT Set-Cookie: JSESSIONID=vpMNRd1Fwb1NJyb5NH1pXx5dfmPhzzyJL2S3yYry3FwQqL8hFVJ6!1994306862; path=/; HttpOnly Content-Type: text/html; charset=UTF-8 X-Powered-By: Servlet/2.5 JSP/2.1 [2013-07-11 01:41:17.460][CS.INSTALL][ERROR] CSSetupEngine.testConnectionAction: Database Ping was attempted with WCSDataSource as the DSN. The URL that was passed in = http://localhost:7001/cs/CatalogManager. Please Check your connection and property files settings. [2013-07-11 01:41:17.460][CS.INSTALL][ERROR] CSSetupEngine.testConnectionAction:  Install was unable to ping the database. Installation has halted. [2013-07-11 01:41:17.461][CS.INSTALL][ERROR] Worker.run. Install failed.                Please check log file.                          Click Yes to modify your install choices      and re-try install.                             Click No to terminate application. 
    It looks like DB ping is getting failed.
    But I am not sure how to resolve this error.
    Please help. I am pasting the content of my bea_omii.ini file that I have used. (Please view as HTML, as formatting is getting lost on this page.)
    Do let me know if any other information is required from my end.
    bea_omii.ini:
    #ContentServer install properties #Thu Apr 17 12:03:27 IST 2008 # Content Server Information # Specify the directory where you want to install Content Server i.e on windows C\:/csinstall on unix /opt/csinstall CSInstallDirectory=/home/oracle/WCS # Path to the Shared Directory i.e on windows C\:/csinstall/Shared on unix /opt/csinstall/Shared CSInstallSharedDirectory=/home/oracle/WCS/Shared # For delivery installation set Development to false Development=true # CSInstallType single/upgrade/cluster default is single only needed for upgrade or cluster #CSInstallType=single # This is to select APPSERVER Note: PORTALSERVER is not supported CSInstallPlatformType=APPSERVER # Set the application/portal server you want to install # Possible options are: wls92 for ( weblogic server), websphere60 (for webshpere), tomcat5 (for tomcat) CSInstallAppServerType=wls92 # Set the path to the server directory ex. For weblogic, on windows CSInstallAppServerPath=C\:\\bea\\wlserver_10.3 # on unix CSInstallAppServerPath=/u01/software/bea/wlserver_10.3 CSInstallAppServerPath=/home/oracle/Oracle/Middleware/wlserver_10.3 # [WEBLOGIC ONLY] Set the path to the weblogic domain i.e. on windows CSInstallWLDomainPath=C\:/bea/user_projects/domains/base_domain # on unix CSInstallWLDomainPath=/u01/software/bea/user_projects/domains/base_domain CSInstallWLDomainPath=/home/oracle/Oracle/Middleware/user_projects/domains/WCSDomain # [WEBLOGIC ONLY] Set the weblogic domain name i.e. base_domain name from path C\:/bea/user_projects/domains/base_domain CSInstallAdminDomainName=WCSDomain # Option for manual deployment (Should always be set to true) CSInstallbManual=true #Manual deployment needs to set the path where installer has to explode the war CSManualDeployPath=/home/oracle/WCS/deployment # Set the context path for your web application for example /cs/ sCgiPath=/cs/ # Set the database type Possible options #CSInstallDatabaseType=  [SQL Server, DB2, Oracle10]  CSInstallDatabaseType=Oracle10 # Set the data source name CSInstallDBDSN=WCSDataSource # By default it is installed as a primary cluster member. To install as cluster member make CSInstallType=cluster. CSInstallType=single #WEM installation IsWEMInstall=TRUE #hostname where cs is installed CASHostName=localhost # port number of cs installation CASPortNumber=7003 #Server HostName of internally accessible CAS CASHostNameLocal=localhost #Server PortNumber of internally accessible CAS CASPortNumberLocal=7003 #Server HostName where CAS is actually deployed CASHostNameActual=localhost # Select the default logger name (possible values com.fatwire.cs.core.logging.StandardLog, com.fatwire.cs.core.logging.TraditionalLog # com.fatwire.cs.core.logging.StandardTraditionalLog , org.apache.commons.logging.impl.Log4JLogger LoggerName=org.apache.commons.logging.impl.Log4JLogger # Set the host name where the application will be running CSInstallWebServerAddress=localhost # Set the port number where the application will be running CSInstallWebServerPort=7001 # Set this property to true if you are installing Spark CSInstallSpark=false # Sample Sites Information # Set this true if you want to install Avisports sample site. Avisports=true # CS-Direct and CS-Direct Advantage properties. Please don't touch them ContentCentre=true CatalogCentre=true # Set this true if you want to install CS Engage otherwise false MarketingStudio=true # Set this to true if you want to install Commerce Connectors CommerceConnector=true # Set this to true to install Structure and Navigation for FS2 this is only installed if this is development mode FSCore=true # Set this to true to install Engage Extensions for Structure and Navigation. This depends on Development and FSCore FSEngageCore=true # Set this to true to install Store Schema. This depends on Development and FSCore FSStoreSchema=true # Set this to true to install Engage Extensions for Store Schema. This depends on Development, CommereceConnector and FSEngageCore FSEngageStoreSchema=true # Set this to true to install Document Schema. This depends on Development and FSCore FSDocSchema=true # Set this to true to install Sample Visitors. This depends on Development and FSCore FSLocalUser=true # Set this to true to install Pretty URL Package. This depends on Development and FSCore FSPrettyURL=true # Set this to true to install Store Demo Data. This depends on Development and FSStoreSchema FSStoreDemoData=true # Set this to true to install Document Demo Data. This depends on Development and FSDocSchema FSDocDemoData=true # Set this to true to install Engage Store Data. This depends on Development,FSStoreDemoData,FSEngageStoreSchema and FSStoreSchema FSEngageStoreDemoData=true # If you want to install First Site II Site View set it true otherwise false. This depends on Development and FSStoreSchema FSSiteView=true # Set this to true to install Analytics. This depends on Development,FSCore,FSEngageCore,FSStoreSchema,CommerceConnector and CatalogCentre FSAnalytics=true # Set this to true to install Legacy (core) asset types (Article, Linkset). This depends on Development and ContentCentre CCSampleAssets=true # Set this to true to install Burlington Financial asset types. This depends on Development and ContentCentre CCSampleAssetsBF=true # Set this to true to install Engage and Analytics extensions for Burlington Financial. This depends on Development,MarketingStudio and ContentCentre MSSampleAssetsBF=true # Set this to true to install HelloAssetWorld asset types. This depends on Development and ContentCentre CCSampleAssetsHW=true # Set this to true to install GE Lighting asset types. This depends on Development and ContentCentre CatCSampleAssets=true # Set this to true to install Hello World sample site.  This depends on Development and ContentCentre CCSampleSiteHW=true # Set this to true to install Burlington Financial sample site. This depends on CCSampleAssets and CCSampleAssetsBF CCSampleSiteBF=true # Set this to true to install Burlington Financial Extensions sample site. MSSampleSiteBF=true # Set this to true to install GE Lighting sample site. MSSampleSiteGE=true # Spark sample site components # Set this to true to install Document Management sample asset types DMSampleAssets=false # Set this to true to install Content Management sample asset types WCMSampleAssets=false # Set this to true to install Base Components SparkSampleSite=false # Set this to true to install Sample Data SparkSampleData=false # Set this to true to install Sample Portlets. Set this true if this is a portal server SparkSamplePortlets=false

    Thanks for your reply Yct.
    I got the ping issue resolved today, there was an issue in the data source. Finally I was able to complete the installation successfully.
    But there is one more issue now. After completing the installation, I am trying to access the URL to get to the WCS login page, but with no success.
    Below, I am mentioning few URLs that I tried, and the outcome:
    http://localhost:7001/cs/HelloCS ,           This URL gives me a page with some static content messages like 'Welcome to Oracle WebCenter Sites 11gR1'. Then there are some text lines in blue color. I think this page is working as expected.
    http://localhost:7001/cs/login , this URL automatically gets redirected to the URL 'http://localhost:7003/cas/login?service=http%3A%2F%2Flocalhost%3A7001%2Fcs%2Fwem%2Ffatwire%2Fwem%2FWelcome' and I get an error message 'Firefox can't establish a connection to the server at localhost:7003.'
    http://localhost:7001/cas/login, this takes me to login page, where when I enter fwadmin@xceladmin credentials, I am taken to JASIG Central Authentication Service page, which is again static, and I can't do anything on this page
    http://localhost:7001/cs/Satellite?c=Page&cid=1327351719456&pagename=avisports%2FPage%2FHomeLayout1 , this takes me to the Avisports site, which is functional
    http://localhost:7001/cs/Satellite?c=Page&childpagename=FirstSiteII%2FFSIILayout&cid=1124747609916&pagename=FSIIWrapper, this takes me to he FirstSit page, which is again functional
    Issue: I am not getting the main login page, where I would get 3 sites(Avisports/FirstsiteII) in the dropdown.
    Looks like there is something wrong going on.
    Following I am pasting my omii.ini file, if it helps:
    #ContentServer install properties
    #Thu Apr 17 12:03:27 IST 2008
    # Content Server Information
    # Specify the directory where you want to install Content Server i.e on windows C\:/csinstall on unix /opt/csinstall
    CSInstallDirectory=/home/oracle/WCS
    # Path to the Shared Directory i.e on windows C\:/csinstall/Shared on unix /opt/csinstall/Shared
    CSInstallSharedDirectory=/home/oracle/WCS/Shared
    # For delivery installation set Development to false
    Development=true
    # CSInstallType single/upgrade/cluster default is single only needed for upgrade or cluster
    #CSInstallType=single
    # This is to select APPSERVER Note: PORTALSERVER is not supported
    CSInstallPlatformType=APPSERVER
    # Set the application/portal server you want to install
    # Possible options are: wls92 for ( weblogic server), websphere60 (for webshpere), tomcat5 (for tomcat)
    CSInstallAppServerType=wls92
    # Set the path to the server directory ex. For weblogic, on windows CSInstallAppServerPath=C\:\\bea\\wlserver_10.3
    # on unix CSInstallAppServerPath=/u01/software/bea/wlserver_10.3
    CSInstallAppServerPath=/home/oracle/Oracle/Middleware/wlserver_10.3
    # [WEBLOGIC ONLY] Set the path to the weblogic domain i.e. on windows CSInstallWLDomainPath=C\:/bea/user_projects/domains/base_domain
    # on unix CSInstallWLDomainPath=/u01/software/bea/user_projects/domains/base_domain
    CSInstallWLDomainPath=/home/oracle/Oracle/Middleware/user_projects/domains/WCSDomain
    # [WEBLOGIC ONLY] Set the weblogic domain name i.e. base_domain name from path C\:/bea/user_projects/domains/base_domain
    CSInstallAdminDomainName=WCSDomain
    # Option for manual deployment (Should always be set to true)
    CSInstallbManual=true
    #Manual deployment needs to set the path where installer has to explode the war
    CSManualDeployPath=/home/oracle/WCS/deployment
    # Set the context path for your web application for example /cs/
    sCgiPath=/cs/
    # Set the database type Possible options
    #CSInstallDatabaseType=  [SQL Server, DB2, Oracle10] 
    CSInstallDatabaseType=Oracle10
    # Set the data source name
    CSInstallDBDSN=WCSDataSource
    # By default it is installed as a primary cluster member. To install as cluster member make CSInstallType=cluster.
    CSInstallType=single
    #WEM installation
    IsWEMInstall=TRUE
    #hostname where cs is installed
    CASHostName=localhost
    # port number of cs installation
    CASPortNumber=7003
    #Server HostName of internally accessible CAS
    CASHostNameLocal=localhost
    #Server PortNumber of internally accessible CAS
    CASPortNumberLocal=7003
    #Server HostName where CAS is actually deployed
    CASHostNameActual=localhost
    # Select the default logger name (possible values com.fatwire.cs.core.logging.StandardLog, com.fatwire.cs.core.logging.TraditionalLog
    # com.fatwire.cs.core.logging.StandardTraditionalLog , org.apache.commons.logging.impl.Log4JLogger
    LoggerName=org.apache.commons.logging.impl.Log4JLogger
    # Set the host name where the application will be running
    CSInstallWebServerAddress=localhost
    # Set the port number where the application will be running
    CSInstallWebServerPort=7001
    # Set this property to true if you are installing Spark
    CSInstallSpark=false
    # Sample Sites Information
    # Set this true if you want to install Avisports sample site.
    Avisports=true
    # CS-Direct and CS-Direct Advantage properties. Please don't touch them
    ContentCentre=true
    CatalogCentre=true
    # Set this true if you want to install CS Engage otherwise false
    MarketingStudio=true
    # Set this to true if you want to install Commerce Connectors
    CommerceConnector=true
    # Set this to true to install Structure and Navigation for FS2 this is only installed if this is development mode
    FSCore=true
    # Set this to true to install Engage Extensions for Structure and Navigation. This depends on Development and FSCore
    FSEngageCore=true
    # Set this to true to install Store Schema. This depends on Development and FSCore
    FSStoreSchema=true
    # Set this to true to install Engage Extensions for Store Schema. This depends on Development, CommereceConnector and FSEngageCore
    FSEngageStoreSchema=true
    # Set this to true to install Document Schema. This depends on Development and FSCore
    FSDocSchema=true
    # Set this to true to install Sample Visitors. This depends on Development and FSCore
    FSLocalUser=true
    # Set this to true to install Pretty URL Package. This depends on Development and FSCore
    FSPrettyURL=true
    # Set this to true to install Store Demo Data. This depends on Development and FSStoreSchema
    FSStoreDemoData=true
    # Set this to true to install Document Demo Data. This depends on Development and FSDocSchema
    FSDocDemoData=true
    # Set this to true to install Engage Store Data. This depends on Development,FSStoreDemoData,FSEngageStoreSchema and FSStoreSchema
    FSEngageStoreDemoData=true
    # If you want to install First Site II Site View set it true otherwise false. This depends on Development and FSStoreSchema
    FSSiteView=true
    # Set this to true to install Analytics. This depends on Development,FSCore,FSEngageCore,FSStoreSchema,CommerceConnector and CatalogCentre
    FSAnalytics=true
    # Set this to true to install Legacy (core) asset types (Article, Linkset). This depends on Development and ContentCentre
    CCSampleAssets=true
    # Set this to true to install Burlington Financial asset types. This depends on Development and ContentCentre
    CCSampleAssetsBF=true
    # Set this to true to install Engage and Analytics extensions for Burlington Financial. This depends on Development,MarketingStudio and ContentCentre
    MSSampleAssetsBF=true
    # Set this to true to install HelloAssetWorld asset types. This depends on Development and ContentCentre
    CCSampleAssetsHW=true
    # Set this to true to install GE Lighting asset types. This depends on Development and ContentCentre
    CatCSampleAssets=true
    # Set this to true to install Hello World sample site.  This depends on Development and ContentCentre
    CCSampleSiteHW=true
    # Set this to true to install Burlington Financial sample site. This depends on CCSampleAssets and CCSampleAssetsBF
    CCSampleSiteBF=true
    # Set this to true to install Burlington Financial Extensions sample site.
    MSSampleSiteBF=true
    # Set this to true to install GE Lighting sample site.
    MSSampleSiteGE=true
    # Spark sample site components
    # Set this to true to install Document Management sample asset types
    DMSampleAssets=false
    # Set this to true to install Content Management sample asset types
    WCMSampleAssets=false
    # Set this to true to install Base Components
    SparkSampleSite=false
    # Set this to true to install Sample Data
    SparkSampleData=false
    # Set this to true to install Sample Portlets. Set this true if this is a portal server
    SparkSamplePortlets=false

  • Database Logon Failed which created by Crystal Report 2008

    this time i meet the famous error again which is database logon failed.
    i created a crystal report 2008 starting from blank report, then connect with odbc
    i use 2008 method
    objRpt.SetDatabaseLogon(db_username, db_password, odbc_name, database_name);
    2008 method will get database logon failed even set database location and verify database again
    then i use 8.5 method and try again for 2008 report. it said field name is unknown for one of formula
    then i drag field again for formula and set database location and verify database again
    it said the same error.
    then i uninstall 8.5 crytal report software in window 7 deployment machine, and do above again, it said the same error
    //'Create a new Stored Procedure Table to replace the reports current table.
            CrystalDecisions.ReportAppServer.DataDefModel.Procedure boTable = new CrystalDecisions.ReportAppServer.DataDefModel.Procedure();
            //'boMainPropertyBag: These hold the attributes of the tables ConnectionInfo object
            PropertyBag boMainPropertyBag = new PropertyBag();
            //'boInnerPropertyBag: These hold the attributes for the QE_LogonProperties
            //'In the main property bag (boMainPropertyBag)
            PropertyBag boInnerPropertyBag = new PropertyBag();
            //'Set the attributes for the boInnerPropertyBag
            boInnerPropertyBag.Add("Connect Timeout", "15");
            //boInnerPropertyBag.Add("Data Source", "MyDataSource");
            boInnerPropertyBag.Add("Data Source", "10.1.1.191");
            boInnerPropertyBag.Add("DataTypeCompatibility", "0");
            boInnerPropertyBag.Add("General Timeout", "0");
            //boInnerPropertyBag.Add("Initial Catalog", "MyCatalog");
            boInnerPropertyBag.Add("Initial Catalog", database_name);
            boInnerPropertyBag.Add("Integrated Security", "False");
            boInnerPropertyBag.Add("Locale Identifier", "1033");
            boInnerPropertyBag.Add("MARS Connection", "0");
            //boInnerPropertyBag.Add("OLE DB Services", "-5");
            //boInnerPropertyBag.Add("ODBC", "-5");
            boInnerPropertyBag.Add("ODBC", "Cheque");
            boInnerPropertyBag.Add("Provider", "SQLNCLI");
            boInnerPropertyBag.Add("Tag with column collation when possible", "0");
            boInnerPropertyBag.Add("Trust Server Certificate", "0");
            boInnerPropertyBag.Add("Use Encryption for Data", "0");
            //'Set the attributes for the boMainPropertyBag
            boMainPropertyBag.Add("Database DLL", "crdb_ado.dll");
            //boMainPropertyBag.Add("Database DLL", "p2sodbc.dll");
            //boMainPropertyBag.Add("QE_DatabaseName", "VEPILOT");
            boMainPropertyBag.Add("QE_DatabaseName", database_name);
            //boMainPropertyBag.Add("QE_DatabaseType", "OLE DB (ADO)");
            boMainPropertyBag.Add("QE_DatabaseType", "ODBC");
            //'Add the QE_LogonProperties we set in the boInnerPropertyBag Object
            boMainPropertyBag.Add("QE_LogonProperties", boInnerPropertyBag);
            boMainPropertyBag.Add("QE_ServerDescription", "MyServer");
            boMainPropertyBag.Add("QE_SQLDB", "True");
            boMainPropertyBag.Add("SSO Enabled", "False");
            //'Create a new ConnectionInfo object
            CrystalDecisions.ReportAppServer.DataDefModel.ConnectionInfo boConnectionInfo = new CrystalDecisions.ReportAppServer.DataDefModel.ConnectionInfo();
            //'Pass the database properties to a connection info object
            boConnectionInfo.Attributes = boMainPropertyBag;
            //'Set the connection kind
            boConnectionInfo.Kind = CrConnectionInfoKindEnum.crConnectionInfoKindCRQE;
            //'*EDIT* Set the User Name and Password if required.
            boConnectionInfo.UserName = db_username;
            boConnectionInfo.Password = db_password;
            //'Pass the connection information to the table
            boTable.ConnectionInfo = boConnectionInfo;
    CrystalDecisions.ReportAppServer.DataDefModel.Tables boTables = objRpt.ReportClientDocument.DatabaseController.Database.Tables;
                CrystalDecisions.CrystalReports.Engine.Tables tables = objRpt.Database.Tables;
                foreach (CrystalDecisions.CrystalReports.Engine.Table table in tables)
                    if (!string.IsNullOrEmpty(table.Name))
                        //boTable.Name = table.Name;
                        //boTable.QualifiedName = database_name + ".dbo." + table.Name;
                        //boTable.Alias = table.Name;
                        boTable.Name = "sp_ChequeIssueDetRpt";
                        boTable.QualifiedName = database_name + ".dbo.sp_ChequeIssueDetRpt";
                        boTable.Alias = "sp_ChequeIssueDetRpt";
                        objRpt.ReportClientDocument.DatabaseController.SetTableLocation(boTables[0], boTable);
                objRpt.VerifyDatabase();
    http://sourceforge.net/projects/aspchequesprint/files/ChequeIssueDet.rpt/download

    No subreport, only a stored procedure with final two lines are
    print @m_sql
    exec (@m_sql)
    After use generated code in the link above
    Error at boReportDocument.VerifyDatabase();
    Inner Exception : no error
    Message "Logon failed"
    ErrorID : CrystalDecisions.CrystalReports.Engine.EngineExceptionErrorID.LogOnFailed
    HelpLink : null
    stacktrace :  CrystalDecisions.CrystalReports.Engine.ReportDocument.VerifyDatabase()\r\n   at viewReport.Page_Load(Object sender, EventArgs e) 於 d:
    Data
    My Documents
    Visual Studio 2008
    WebSites
    Cheques
    viewReport.aspx.cs: row 1302\r\n   at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)\r\n   at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)\r\n   at System.Web.UI.Control.OnLoad(EventArgs e)\r\n   at System.Web.UI.Control.LoadRecursive()\r\n   於 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    TargetSite : {Void VerifyDatabase()}
    string reportPath = report_path + "ChequeIssueDet.rpt";
                boReportDocument = new ReportDocument();
                //**EDIT** Change the path and report name to the report you want to change.
                boReportDocument.Load(reportPath, OpenReportMethod.OpenReportByTempCopy);
                //Create a new Stored Procedure Table to replace the reports current table.
                CrystalDecisions.ReportAppServer.DataDefModel.Procedure boTable =
                new CrystalDecisions.ReportAppServer.DataDefModel.Procedure();
                //boMainPropertyBag: These hold the attributes of the tables ConnectionInfo object
                PropertyBag boMainPropertyBag = new PropertyBag();
                //boInnerPropertyBag: These hold the attributes for the QE_LogonProperties
                //In the main property bag (boMainPropertyBag)
                PropertyBag boInnerPropertyBag = new PropertyBag();
                //Set the attributes for the boInnerPropertyBag
                boInnerPropertyBag.Add("Database", database_name);
                boInnerPropertyBag.Add("DSN", "Cheque");
                boInnerPropertyBag.Add("UseDSNProperties", "False");
                //Set the attributes for the boMainPropertyBag
                boMainPropertyBag.Add("Database DLL", "crdb_odbc.dll");
                boMainPropertyBag.Add("QE_DatabaseName", database_name);
                boMainPropertyBag.Add("QE_DatabaseType", "ODBC (RDO)");
                //Add the QE_LogonProperties we set in the boInnerPropertyBag Object
                boMainPropertyBag.Add("QE_LogonProperties", boInnerPropertyBag);
                boMainPropertyBag.Add("QE_ServerDescription", "Cheque");
                boMainPropertyBag.Add("QE_SQLDB", "True");
                boMainPropertyBag.Add("SSO Enabled", "False");
                //Create a new ConnectionInfo object
                CrystalDecisions.ReportAppServer.DataDefModel.ConnectionInfo boConnectionInfo =
                new CrystalDecisions.ReportAppServer.DataDefModel.ConnectionInfo();
                //Pass the database properties to a connection info object
                boConnectionInfo.Attributes = boMainPropertyBag;
                //Set the connection kind
                boConnectionInfo.Kind = CrConnectionInfoKindEnum.crConnectionInfoKindCRQE;
                //**EDIT** Set the User Name and Password if required.
                boConnectionInfo.UserName = db_username;
                boConnectionInfo.Password = db_password;
                //Pass the connection information to the table
                boTable.ConnectionInfo = boConnectionInfo;
                //Get the Database Tables Collection for your report
                CrystalDecisions.ReportAppServer.DataDefModel.Tables boTables;
                boTables = boReportDocument.ReportClientDocument.DatabaseController.Database.Tables;
                //For each table in the report:
                // - Set the Table Name properties.
                // - Set the table location in the report to use the new modified table
                boTable.Name = "sp_ChequeIssueDetRpt;1";
                boTable.QualifiedName = database_name+".dbo.sp_ChequeIssueDetRpt;1";
                boTable.Alias = "sp_ChequeIssueDetRpt;1";
                boReportDocument.ReportClientDocument.DatabaseController.SetTableLocation(boTables[0], boTable);
                //Verify the database after adding substituting the new table.
                //To ensure that the table updates properly when adding Command tables or Stored Procedures.
                boReportDocument.VerifyDatabase();
                //**EDIT** Set the value for the Stored Procedure parameters.
                string m_curUser = "";
                int spid = Convert.ToInt32(Request.Cookies["login_cookie"]["spid"]);
                queryString = "select * from v_All_Session where SPID=" + spid.ToString();
                //string _connectionString = ConfigurationManager.ConnectionStrings["ChequeConnectionString"].ConnectionString;
                using (SqlConnection connection = new SqlConnection(_connectionString))
                    SqlCommand command = connection.CreateCommand();
                    command.CommandText = queryString;
                    connection.Open();
                    using (SqlDataReader datareader = command.ExecuteReader())
                        if (datareader.HasRows == true)
                            while (datareader.Read())
                                if (datareader["UserID"] != System.DBNull.Value)
                                    m_curUser = datareader["UserID"].ToString();
                        datareader.Close();
                    connection.Close();
                boReportDocument.SetParameterValue("@UserID", m_curUser);
                if (string.IsNullOrEmpty(Session["fm_CoCode"].ToString()))
                    boReportDocument.SetParameterValue("@fm_CoCode", Session["fm_CoCode"].ToString());
                if (string.IsNullOrEmpty(Session["to_CoCode"].ToString()))
                    boReportDocument.SetParameterValue("@to_CoCode", Session["to_CoCode"].ToString());
                if (string.IsNullOrEmpty(Session["fm_BankACNo"].ToString()))
                    boReportDocument.SetParameterValue("@fm_BankACNo", Session["fm_BankACNo"].ToString());
                if (string.IsNullOrEmpty(Session["to_BankACNo"].ToString()))
                    boReportDocument.SetParameterValue("@to_BankACNo", Session["to_BankACNo"].ToString());
                if (string.IsNullOrEmpty(Session["fm_BatchNo"].ToString()))
                    boReportDocument.SetParameterValue("@fm_BatchNo", Session["fm_BatchNo"].ToString());
                if (string.IsNullOrEmpty(Session["to_BatchNo"].ToString()))
                    boReportDocument.SetParameterValue("@to_BatchNo", Session["to_BatchNo"].ToString());
    Edited by: Mathew_666 on Jul 19, 2011 4:27 AM
    Edited by: Mathew_666 on Jul 19, 2011 4:28 AM

  • Database Started In Restricted Mode...

    Dear Exports,
    We are using Oracle 10gR2 on Windows server 2008. My database size is approximately 2tb. Now we are going to setup Dataguard for our primary. We started the database with the changer parameters for dataguard and create spfile from pfile. And started the database with Spfile. But after some time i noticed that the database started automatically in Restricted mode. As in our database Previously dataguard was configured, due to the some problem that setup is not working and the logs are not applied in Standby server. I thought may be for this reason database going to restricted mode automatically so i set the log_archive_dest_state_2='DEFFER' and Now I scanned the whore alert.log file and found the same situation of restricted is happening from Jan 2010. Please Suggest some solution how i can over come the problem.
    The alertlog when i started the database recently...
    ALTER DATABASE CLOSE NORMAL
    ORA-1507 signalled during: ALTER DATABASE CLOSE NORMAL...
    ARCH: Archival disabled due to shutdown: 1089
    Shutting down archive processes
    Archiving is disabled
    Archive process shutdown avoided: 0 active
    ARCH: Archival disabled due to shutdown: 1089
    Shutting down archive processes
    Archiving is disabled
    Archive process shutdown avoided: 0 active
    Fri Apr 12 19:12:39 2013
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 3
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =97
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    ksdpec: called for event 13740 prior to event group initialization
    Starting up ORACLE RDBMS Version: 10.2.0.4.0.
    System parameters with non-default values:
    processes = 800
    sessions = 885
    sga_max_size = 10737418240
    __shared_pool_size = 1325400064
    __large_pool_size = 16777216
    __java_pool_size = 16777216
    __streams_pool_size = 0
    sga_target = 8589934592
    control_files = G:\ORADATA\CONTROL01.CTL, G:\ORADATA\CONTROL02.CTL, G:\ORADATA\CONTROL03.CTL
    db_block_size = 8192
    __db_cache_size = 7214202880
    compatible = 10.2.0.3.0
    log_archive_config = DG_CONFIG=(orcl,stdby)
    log_archive_dest_1 = LOCATION=I:\archive_log VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=orcl
    log_archive_dest_2 = SERVICE=stdby NOAFFIRM ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=stdby
    log_archive_dest_state_1 = enable
    log_archive_max_processes= 30
    log_archive_format = ARC%D_%s_%R.%T
    fal_client = orcl
    fal_server = stdby
    db_file_multiblock_read_count= 16
    db_recovery_file_dest = D:\oracle\product\10.2.0\flash_recovery_area
    db_recovery_file_dest_size= 2147483648
    standby_file_management = AUTO
    undo_management = AUTO
    undo_tablespace = UNDOTBS1
    undo_retention = 5400
    remote_login_passwordfile= EXCLUSIVE
    db_domain =
    dispatchers = (PROTOCOL=TCP) (SERVICE=orclXDB)
    local_listener = (ADDRESS=(PROTOCOL=TCP)(HOST=192.168.12.86)(PORT=1521))
    job_queue_processes = 10
    audit_file_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ORCL\ADUMP
    background_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ORCL\BDUMP
    user_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ORCL\UDUMP
    core_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ORCL\CDUMP
    db_name = orcl
    open_cursors = 500
    pga_aggregate_target = 10737418240
    PMON started with pid=2, OS id=14328
    PSP0 started with pid=3, OS id=15420
    MMAN started with pid=4, OS id=9092
    DBW0 started with pid=5, OS id=12360
    DBW1 started with pid=6, OS id=18112
    LGWR started with pid=7, OS id=18360
    CKPT started with pid=8, OS id=18448
    SMON started with pid=9, OS id=17160
    RECO started with pid=10, OS id=18512
    CJQ0 started with pid=11, OS id=19324
    MMON started with pid=12, OS id=14380
    Fri Apr 12 19:12:40 2013
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    MMNL started with pid=13, OS id=2996
    Fri Apr 12 19:12:40 2013
    starting up 1 shared server(s) ...
    Fri Apr 12 19:12:41 2013
    ALTER DATABASE MOUNT
    Fri Apr 12 19:12:45 2013
    Setting recovery target incarnation to 2
    Fri Apr 12 19:12:45 2013
    Successful mount of redo thread 1, with mount id 1340307369
    Fri Apr 12 19:12:45 2013
    Allocated 15937344 bytes in shared pool for flashback generation buffer
    Starting background process RVWR
    RVWR started with pid=17, OS id=5524
    Fri Apr 12 19:12:45 2013
    Database mounted in Exclusive Mode
    Completed: ALTER DATABASE MOUNT
    Fri Apr 12 19:12:46 2013
    ALTER DATABASE OPEN
    Fri Apr 12 19:12:46 2013
    LGWR: STARTING ARCH PROCESSES
    ARC0 started with pid=18, OS id=11964
    ARC1 started with pid=19, OS id=13472
    ARC2 started with pid=20, OS id=17960
    ARC3 started with pid=21, OS id=18548
    ARC4 started with pid=22, OS id=15660
    ARC5 started with pid=23, OS id=15548
    ARC6 started with pid=24, OS id=14720
    ARC7 started with pid=25, OS id=15780
    ARC8 started with pid=26, OS id=17992
    ARC9 started with pid=27, OS id=17988
    ARCa started with pid=28, OS id=19436
    ARCb started with pid=29, OS id=16104
    ARCc started with pid=30, OS id=6656
    ARCd started with pid=31, OS id=6900
    ARCe started with pid=32, OS id=10568
    ARCf started with pid=33, OS id=16992
    ARCg started with pid=34, OS id=14372
    ARCh started with pid=35, OS id=18084
    ARCi started with pid=36, OS id=5788
    ARCj started with pid=37, OS id=4940
    ARCk started with pid=38, OS id=18816
    ARCl started with pid=39, OS id=14588
    ARCm started with pid=40, OS id=16820
    ARCn started with pid=41, OS id=8068
    ARCo started with pid=42, OS id=18736
    ARCp started with pid=43, OS id=8316
    ARCq started with pid=44, OS id=5952
    ARCr started with pid=45, OS id=16304
    ARCs started with pid=46, OS id=14884
    Fri Apr 12 19:12:46 2013
    ARC0: Archival started
    ARCt started with pid=47, OS id=19408
    Fri Apr 12 19:12:46 2013
    ARC1: Archival started
    ARC2: Archival started
    ARC3: Archival started
    ARC4: Archival started
    ARC5: Archival started
    ARC6: Archival started
    ARC7: Archival started
    ARC8: Archival started
    ARC9: Archival started
    ARCa: Archival started
    ARCb: Archival started
    ARCc: Archival started
    ARCd: Archival started
    ARCe: Archival started
    ARCf: Archival started
    ARCg: Archival started
    ARCh: Archival started
    ARCi: Archival started
    ARCj: Archival started
    ARCk: Archival started
    ARCl: Archival started
    ARCm: Archival started
    ARCn: Archival started
    ARCo: Archival started
    ARCp: Archival started
    ARCq: Archival started
    ARCr: Archival started
    ARCs: Archival started
    ARCt: Archival started
    LGWR: STARTING ARCH PROCESSES COMPLETE
    Thread 1 opened at log sequence 117446
    Current log# 10 seq# 117446 mem# 0: G:\ORADATA\REDO10A.LOG
    Current log# 10 seq# 117446 mem# 1: H:\ORADATA\REDO10B.LOG
    Fri Apr 12 19:12:46 2013
    ARC0: Becoming the 'no FAL' ARCH
    Fri Apr 12 19:12:46 2013
    ARC0: Becoming the 'no SRL' ARCH
    Fri Apr 12 19:12:46 2013
    ARC8: Becoming the heartbeat ARCH
    Fri Apr 12 19:12:47 2013
    Successful open of redo thread 1
    Fri Apr 12 19:12:47 2013
    MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
    Fri Apr 12 19:12:47 2013
    SMON: enabling cache recovery
    Fri Apr 12 19:12:48 2013
    Successfully onlined Undo Tablespace 1.
    Fri Apr 12 19:12:48 2013
    SMON: enabling tx recovery
    Fri Apr 12 19:12:48 2013
    Database Characterset is WE8MSWIN1252
    Opening with internal Resource Manager plan
    where NUMA PG = 1, CPUs = 16
    replication_dependency_tracking turned off (no async multimaster replication found)
    Starting background process QMNC
    QMNC started with pid=48, OS id=10048
    Fri Apr 12 19:12:51 2013
    Completed: ALTER DATABASE OPEN
    Fri Apr 12 19:12:51 2013
    Errors in file d:\oracle\product\10.2.0\admin\orcl\bdump\orcl_mmon_14380.trc:
    ORA-19815: WARNING: db_recovery_file_dest_size of 2147483648 bytes is 99.56% used, and has 9486336 remaining bytes available.
    Fri Apr 12 19:12:51 2013
    You have following choices to free up space from flash recovery area:
    1. Consider changing RMAN RETENTION POLICY. If you are using Data Guard,
    then consider changing RMAN ARCHIVELOG DELETION POLICY.
    2. Back up files to tertiary device such as tape using RMAN
    BACKUP RECOVERY AREA command.
    3. Add disk space and increase db_recovery_file_dest_size parameter to
    reflect the new space.
    4. Delete unnecessary files using RMAN DELETE command. If an operating
    system command was used to delete files, then use RMAN CROSSCHECK and
    DELETE EXPIRED commands.
    Dump file d:\oracle\product\10.2.0\admin\orcl\bdump\alert_orcl.log
    Fri Apr 12 19:13:26 2013
    ORACLE V10.2.0.4.0 - 64bit Production vsnsta=0
    vsnsql=14 vsnxtr=3
    Windows NT Version V6.0 Service Pack 1
    CPU : 16 - type 8664, 16 Physical Cores
    Process Affinity : 0x0000000000000000
    Memory (Avail/Total): Ph:55999M/65533M, Ph+PgF:183151M/193356M
    Fri Apr 12 19:13:26 2013
    Starting ORACLE instance (restrict)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 3
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =97
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    ksdpec: called for event 13740 prior to event group initialization
    Starting up ORACLE RDBMS Version: 10.2.0.4.0.
    System parameters with non-default values:
    processes = 800
    sessions = 885
    sga_max_size = 10737418240
    __shared_pool_size = 1325400064
    __large_pool_size = 16777216
    __java_pool_size = 16777216
    __streams_pool_size = 0
    sga_target = 8589934592
    control_files = G:\ORADATA\CONTROL01.CTL, G:\ORADATA\CONTROL02.CTL, G:\ORADATA\CONTROL03.CTL
    db_block_size = 8192
    __db_cache_size = 7214202880
    compatible = 10.2.0.3.0
    log_archive_config = DG_CONFIG=(orcl,stdby)
    log_archive_dest_1 = LOCATION=I:\archive_log VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=orcl
    log_archive_dest_2 = SERVICE=stdby NOAFFIRM ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=stdby
    log_archive_dest_state_1 = enable
    log_archive_max_processes= 30
    log_archive_format = ARC%D_%s_%R.%T
    fal_client = orcl
    fal_server = stdby
    db_file_multiblock_read_count= 16
    db_recovery_file_dest = D:\oracle\product\10.2.0\flash_recovery_area
    db_recovery_file_dest_size= 2147483648
    standby_file_management = AUTO
    undo_management = AUTO
    undo_tablespace = UNDOTBS1
    undo_retention = 5400
    remote_login_passwordfile= EXCLUSIVE
    db_domain =
    dispatchers = (PROTOCOL=TCP) (SERVICE=orclXDB)
    local_listener = (ADDRESS=(PROTOCOL=TCP)(HOST=192.168.12.86)(PORT=1521))
    job_queue_processes = 10
    audit_file_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ORCL\ADUMP
    background_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ORCL\BDUMP
    user_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ORCL\UDUMP
    core_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ORCL\CDUMP
    db_name = orcl
    open_cursors = 500
    pga_aggregate_target = 10737418240
    PMON started with pid=2, OS id=18668
    PSP0 started with pid=3, OS id=17668
    MMAN started with pid=4, OS id=16896
    DBW0 started with pid=5, OS id=18204
    DBW1 started with pid=6, OS id=16976
    LGWR started with pid=7, OS id=14552
    CKPT started with pid=8, OS id=4480
    SMON started with pid=9, OS id=10236
    RECO started with pid=10, OS id=11832
    CJQ0 started with pid=11, OS id=18844
    MMON started with pid=12, OS id=15320
    Fri Apr 12 19:13:27 2013
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    MMNL started with pid=13, OS id=14944
    Fri Apr 12 19:13:27 2013
    starting up 1 shared server(s) ...
    Fri Apr 12 19:13:27 2013
    alter database orcl mount exclusive
    Fri Apr 12 19:13:31 2013
    Setting recovery target incarnation to 2
    Fri Apr 12 19:13:31 2013
    Successful mount of redo thread 1, with mount id 1340305111
    Fri Apr 12 19:13:31 2013
    Allocated 15937344 bytes in shared pool for flashback generation buffer
    Starting background process RVWR
    RVWR started with pid=17, OS id=12880
    Fri Apr 12 19:13:31 2013
    Database mounted in Exclusive Mode
    Completed: alter database orcl mount exclusive
    Fri Apr 12 19:13:31 2013
    alter database open
    Fri Apr 12 19:13:31 2013
    Beginning crash recovery of 1 threads
    parallel recovery started with 15 processes
    Fri Apr 12 19:13:31 2013
    Started redo scan
    Fri Apr 12 19:13:31 2013
    Completed redo scan
    735 redo blocks read, 211 data blocks need recovery
    Fri Apr 12 19:13:31 2013
    Started redo application at
    Thread 1: logseq 117446, block 97761
    Fri Apr 12 19:13:31 2013
    Recovery of Online Redo Log: Thread 1 Group 10 Seq 117446 Reading mem 0
    Mem# 0: G:\ORADATA\REDO10A.LOG
    Mem# 1: H:\ORADATA\REDO10B.LOG
    Fri Apr 12 19:13:31 2013
    Completed redo application
    Fri Apr 12 19:13:32 2013
    Completed crash recovery at
    Thread 1: logseq 117446, block 98496, scn 7310601900
    211 data blocks read, 211 data blocks written, 735 redo blocks read
    Fri Apr 12 19:13:33 2013
    LGWR: STARTING ARCH PROCESSES
    ARC0 started with pid=33, OS id=18508
    ARC1 started with pid=34, OS id=14692
    ARC2 started with pid=35, OS id=17728
    ARC3 started with pid=36, OS id=12476
    ARC4 started with pid=37, OS id=19228
    ARC5 started with pid=38, OS id=11552
    ARC6 started with pid=39, OS id=7576
    ARC7 started with pid=40, OS id=6244
    ARC8 started with pid=41, OS id=18468
    ARC9 started with pid=42, OS id=18492
    ARCa started with pid=43, OS id=10352
    ARCb started with pid=44, OS id=15516
    ARCc started with pid=45, OS id=18216
    ARCd started with pid=46, OS id=5660
    ARCe started with pid=47, OS id=18756
    ARCf started with pid=48, OS id=17828
    ARCg started with pid=49, OS id=8696
    ARCh started with pid=50, OS id=17736
    ARCi started with pid=51, OS id=16736
    ARCj started with pid=52, OS id=13208
    ARCk started with pid=53, OS id=12012
    ARCl started with pid=54, OS id=19180
    ARCm started with pid=55, OS id=16632
    ARCn started with pid=56, OS id=17588
    ARCo started with pid=57, OS id=11948
    ARCp started with pid=58, OS id=18416
    ARCq started with pid=59, OS id=17888
    ARCr started with pid=60, OS id=2144
    ARCs started with pid=61, OS id=14392
    Fri Apr 12 19:13:33 2013
    ARC0: Archival started
    ARCt started with pid=62, OS id=19264
    Fri Apr 12 19:13:33 2013
    ARC1: Archival started
    ARC2: Archival started
    ARC3: Archival started
    ARC4: Archival started
    ARC5: Archival started
    ARC6: Archival started
    ARC7: Archival started
    ARC8: Archival started
    ARC9: Archival started
    ARCa: Archival started
    ARCb: Archival started
    ARCc: Archival started
    ARCd: Archival started
    ARCe: Archival started
    ARCf: Archival started
    ARCg: Archival started
    ARCh: Archival started
    ARCi: Archival started
    ARCj: Archival started
    ARCk: Archival started
    ARCl: Archival started
    ARCm: Archival started
    ARCn: Archival started
    ARCo: Archival started
    ARCp: Archival started
    ARCq: Archival started
    ARCr: Archival started
    ARCs: Archival started
    ARCt: Archival started
    LGWR: STARTING ARCH PROCESSES COMPLETE
    Fri Apr 12 19:13:33 2013
    Thread 1 advanced to log sequence 117447 (thread open)
    Thread 1 opened at log sequence 117447
    Current log# 8 seq# 117447 mem# 0: G:\ORADATA\REDO08A.LOG
    Current log# 8 seq# 117447 mem# 1: H:\ORADATA\REDO08B.LOG
    Successful open of redo thread 1
    Fri Apr 12 19:13:33 2013
    ARC3: Becoming the 'no FAL' ARCH
    Fri Apr 12 19:13:33 2013
    MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
    Fri Apr 12 19:13:33 2013
    ARC3: Becoming the 'no SRL' ARCH
    Fri Apr 12 19:13:33 2013
    ARCr: Becoming the heartbeat ARCH
    Fri Apr 12 19:13:33 2013
    SMON: enabling cache recovery
    Fri Apr 12 19:13:33 2013
    Successfully onlined Undo Tablespace 1.
    Fri Apr 12 19:13:33 2013
    SMON: enabling tx recovery
    Fri Apr 12 19:13:33 2013
    Database Characterset is WE8MSWIN1252
    Opening with internal Resource Manager plan
    where NUMA PG = 1, CPUs = 16
    replication_dependency_tracking turned off (no async multimaster replication found)
    Starting background process QMNC
    QMNC started with pid=63, OS id=14896
    Fri Apr 12 19:13:34 2013
    Completed: alter database open
    Fri Apr 12 19:13:34 2013
    ALTER SYSTEM disable restricted session;
    Fri Apr 12 19:13:35 2013
    Errors in file d:\oracle\product\10.2.0\admin\orcl\bdump\orcl_mmon_15320.trc:
    ORA-19815: WARNING: db_recovery_file_dest_size of 2147483648 bytes is 99.56% used, and has 9486336 remaining bytes available.
    Fri Apr 12 19:13:35 2013
    You have following choices to free up space from flash recovery area:
    1. Consider changing RMAN RETENTION POLICY. If you are using Data Guard,
    then consider changing RMAN ARCHIVELOG DELETION POLICY.
    2. Back up files to tertiary device such as tape using RMAN
    BACKUP RECOVERY AREA command.
    3. Add disk space and increase db_recovery_file_dest_size parameter to
    reflect the new space.
    4. Delete unnecessary files using RMAN DELETE command. If an operating
    system command was used to delete files, then use RMAN CROSSCHECK and
    DELETE EXPIRED commands.
    Fri Apr 12 19:13:36 2013
    Error 12514 received logging on to the standby
    Fri Apr 12 19:13:36 2013
    Errors in file d:\oracle\product\10.2.0\admin\orcl\bdump\orcl_arc0_18508.trc:
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    FAL[server, ARC0]: Error 12514 creating remote archivelog file 'stdby'
    FAL[server, ARC0]: FAL archive failed, see trace file.
    Fri Apr 12 19:13:36 2013
    Errors in file d:\oracle\product\10.2.0\admin\orcl\bdump\orcl_arc0_18508.trc:
    ORA-16055: FAL request rejected
    ARCH: FAL archive failed. Archiver continuing
    Fri Apr 12 19:19:33 2013
    Error 12514 received logging on to the standby
    Fri Apr 12 19:19:33 2013
    Errors in file d:\oracle\product\10.2.0\admin\orcl\bdump\orcl_arcr_2144.trc:
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    PING[ARCr]: Heartbeat failed to connect to standby 'stdby'. Error is 12514.
    Fri Apr 12 19:22:52 2013
    PING[ARCr]: Heartbeat failed to connect to standby 'stdby'. Error is 12514.
    Fri Apr 12 20:09:34 2013
    Error 12514 received logging on to the standby
    Fri Apr 12 20:09:34 2013
    Errors in file d:\oracle\product\10.2.0\admin\orcl\bdump\orcl_arcr_2144.trc:
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    PING[ARCr]: Heartbeat failed to connect to standby 'stdby'. Error is 12514.
    Fri Apr 12 20:13:50 2013
    Sat Apr 13 01:54:52 2013
    Error 12514 received logging on to the standby
    Sat Apr 13 01:54:52 2013
    Errors in file d:\oracle\product\10.2.0\admin\orcl\bdump\orcl_arcr_2144.trc:
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    PING[ARCr]: Heartbeat failed to connect to standby 'stdby'. Error is 12514.
    Sat Apr 13 12:35:12 2013
    Error 12514 received logging on to the standby
    Sat Apr 13 12:35:12 2013
    Errors in file d:\oracle\product\10.2.0\admin\orcl\bdump\orcl_arcr_2144.trc:
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    PING[ARCr]: Heartbeat failed to connect to standby 'stdby'. Error is 12514.
    Sat Apr 13 12:37:01 2013
    ALTER SYSTEM SET log_archive_dest_state_2='DEFER' SCOPE=MEMORY;
    Sat Apr 13 12:38:23 2013
    Unable to allocate flashback log of 1946 blocks from
    current recovery area of size 2147483648 bytes.
    Current Flashback database retention is less than target
    because of insufficient space in the flash recovery area.
    Flashback will continue to use available space, but the
    size of the flash recovery area must be increased to meet
    the Flashback database retention target
    Use ALTER SYSTEM SET db_recovery_file_dest_size command
    to add space. DO NOT manually remove flashback log files
    to create space.
    Sat Apr 13 12:38:41 2013
    ALTER SYSTEM SET db_recovery_file_dest_size='5G' SCOPE=MEMORY;
    Sat Apr 13 12:38:41 2013
    db_recovery_file_dest_size of 5120 MB is 39.82% used. This is a
    user-specified limit on the amount of space that will be used by this
    database for recovery-related files, and does not reflect the amount of
    space available in the underlying filesystem or ASM diskgroup.
    Sat Apr 13 15:42:21 2013
    ORA-01555 caused by SQL statement below (SQL ID: 2zb70pwz9p06q, Query Duration=1365847941 sec, SCN: 0x0001.b3c0f735):
    Sat Apr 13 15:42:21 2013
    SELECT * FROM RELATIONAL("ORISSA_TRANSACTION"."SELLER_BIOMETRICS_TBL")
    Sat Apr 13 15:48:37 2013
    Thread 1 advanced to log sequence 117452 (LGWR switch)
    Current log# 10 seq# 117452 mem# 0: G:\ORADATA\REDO10A.LOG
    Current log# 10 seq# 117452 mem# 1: H:\ORADATA\REDO10B.LOG
    Sat Apr 13 20:31:00 2013
    The value (30) of MAXTRANS parameter ignored.
    kupprdp: master process DM00 started with pid=31, OS id=16196
    to execute - SYS.KUPM$MCP.MAIN('SYS_EXPORT_SCHEMA_30', 'ORISSA_TRANSACTION', 'KUPC$C_1_20130413203100', 'KUPC$S_1_20130413203100', 0);
    kupprdp: worker process DW01 started with worker id=1, pid=66, OS id=16200
    to execute - SYS.KUPW$WORKER.MAIN('SYS_EXPORT_SCHEMA_30', 'ORISSA_TRANSACTION');
    Sun Apr 14 00:00:11 2013
    Thread 1 advanced to log sequence 117453 (LGWR switch)
    Current log# 8 seq# 117453 mem# 0: G:\ORADATA\REDO08A.LOG
    Current log# 8 seq# 117453 mem# 1: H:\ORADATA\REDO08B.LOG
    Sun Apr 14 00:00:52 2013
    Thread 1 advanced to log sequence 117454 (LGWR switch)
    Current log# 9 seq# 117454 mem# 0: G:\ORADATA\REDO09A.LOG
    Current log# 9 seq# 117454 mem# 1: H:\ORADATA\REDO09B.LOG

    like you show in the alert.log:
    PROBLEM
    Unable to allocate flashback log of 1946 blocks from
    current recovery area of size 2147483648 bytes.
    Current Flashback database retention is less than target
    because of insufficient space in the flash recovery area.
    Flashback will continue to use available space, but the
    size of the flash recovery area must be increased to meet
    the Flashback database retention target
    Use ALTER SYSTEM SET db_recovery_file_dest_size command
    to add space. DO NOT manually remove flashback log files
    to create space.
    SOLUTION
    Fri Apr 12 19:12:51 2013
    You have following choices to free up space from flash recovery area:
    1. Consider changing RMAN RETENTION POLICY. If you are using Data Guard,
    then consider changing RMAN ARCHIVELOG DELETION POLICY.
    2. Back up files to tertiary device such as tape using RMAN
    BACKUP RECOVERY AREA command.
    3. Add disk space and increase db_recovery_file_dest_size parameter to
    reflect the new space.
    4. Delete unnecessary files using RMAN DELETE command. If an operating
    system command was used to delete files, then use RMAN CROSSCHECK and
    DELETE EXPIRED commands.
    ************************************************************************choose one and try again. Post if you have more issues.

  • Script level upgrade for database 'master' failed because upgrade step 'msdb110_upgrade.sql' encountered error 537, state 3, severity 16

    Hello,
    I've encountered issue during installation of SP1 to SQL Server 2012. After upgrade I'm getting this error in Event Log:
    Script level upgrade for database 'master' failed because upgrade step 'msdb110_upgrade.sql' encountered error 537, state 3, severity 16. This is a serious error condition which might interfere with regular operation and the database will be taken offline.
    If the error happened during upgrade of the 'master' database, it will prevent the entire SQL Server instance from starting. Examine the previous errorlog entries for errors, take the appropriate corrective actions and re-start the database so that the script
    upgrade steps run to completion.
    Can someone point me direction how I can fix it? This is a production server and currently only way to make it working is to use T902 flag in SQL Server startup params. I've found some suggestions to check Data path if it exists but it does so this is not
    the issue here. Any ideas?
    I've found also here
    http://www.sqlservercentral.com/Forums/Topic1377073-1550-1.aspx#bm1378279
    suggestions for similar issue with SQL Server 2008 which that I should do:
    Via ssms:
    From msdb:
    Delete:
    dc_admin role
    Dc_operator role
    Dc_proxy role
    UlitityCMRReader role
    UtilityIMRReader role
    UtilityIMRWriter role
    but for not I didn't tried it yet. This is standalone SQL Server instance.
    Any help really appreciated.
    Regards

    Script returns the same error.
    System databases:
    1    1    760    -1    10    1048578    0    1    master        C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\master.mdf
    2    0    12768    -1    10    1048642    0    1    mastlog        C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\mastlog.ldf
    1    1    1024    -1    10    1048578    0    2    tempdev        C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\tempdb.mdf
    2    0    64    -1    10    1048642    0    2    templog        C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\templog.ldf
    1    1    288    -1    128    2    0    3    modeldev    C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\model.mdf
    2    0    4464    -1    10    1048642    0    3    modellog    C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\modellog.ldf
    1    1    28936    -1    10    1048578    0    4    MSDBData    C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\MSDBData.mdf
    2    0    3352    268435456    10    1048642    0    4    MSDBLog    C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\MSDBLog.ldf
    are all in place where path shows.
    Before sending my message I've searched update script for "FROM master.sys.master_files" and I found script which you are showing me. I've made some digging and when I runned:
           SELECT physical_name
           FROM master.sys.master_files
           WHERE (name = N'master')
    it returned also path to one my customers database name which has filename set correctly but it's Logical DB name is master and mastlog. I'm running shared hosting company and I allow my customers to restore their DBs from .bak files but I have no idea why
    this customers logical name is set to master and mastlog. Probably when I change this names update script will work as it should. On the other hand in my opinion there should be some kind of fail safe mechanism for situations like this one.
    EDIT: After changing logical name for DB and log for mentioned DB your script runned fine so probably now when I remove T902 flag and restart my SQL Server update will run correctly. Big thanks for resolving this issue.

  • Attempt to fetch logical page (6:78) in database 5 failed.

    Hello every one:
    I am upgrading to SQL 2005 using sql 2000 datafiles in clustered environment.
    I have followd note 799058 hemogenious system copy. However after attaching the database, we are getting the following error message, when running SQL 2005 upgrade tools.
    I ran dbcheck on source database there is no issue, However dbcheck is failing in new database. I tried dbcheck with repais fast and dbcheck with data loss, however both attempts have failed with exact same message.
    I am not sure how to handle this error.
    Please advice.
    executeSQL is called with following parameters:
    Server: cacgcbcrr518
    Login: integrated security
    Resultset will not be copied
    Ignore errors is false
    Append results is false
    select (@@microsoftversion / 65536) / 256
    executeSQL is called with following parameters:
    Server: cacgcbcrr518
    Login: integrated security
    Resultset will not be copied
    Ignore errors is false
    Append results is false
    select count(*) from master..sysdatabases where name = 'R3T'
    executeSQL is called with following parameters:
    Server: cacgcbcrr518
    Login: integrated security
    Resultset will not be copied
    Ignore errors is false
    Append results is false
    select count(*) from R3T..sysusers where name = 'r3t'
    executeSQL is called with following parameters:
    Server: cacgcbcrr518
    Login: integrated security
    Resultset will not be copied
    Ignore errors is false
    Append results is false
    select count(*) from master..sysprocesses where dbid = db_id('R3T') and program_name like 'R3%' and uid = (select uid from R3T..sysusers where name = 'r3t')
    executeSQL is called with following parameters:
    Server: cacgcbcrr518
    Login: integrated security
    Resultset will not be copied
    Ignore errors is false
    Append results is false
    select (@@microsoftversion / 65536) / 256
    executeSQL is called with following parameters:
    Server: cacgcbcrr518
    Login: integrated security
    Resultset will not be copied
    Ignore errors is false
    Append results is false
    DECLARE @n NVARCHAR(4000) DECLARE @ns NVARCHAR(4000) SET @ns = ''
    DECLARE c CURSOR FOR
    select case when serverproperty('Collation') is NULL then '' else convert(sysname, serverproperty('Collation')) end
    union all select case when serverproperty('Edition') is NULL then '' else convert(sysname, serverproperty('Edition')) end
    union all select case when serverproperty('InstanceName') is NULL then '' else convert(sysname, serverproperty('InstanceName')) end
    union all select case when serverproperty('IsClustered') is NULL then '' else convert(sysname, serverproperty('IsClustered')) end
    union all select case when serverproperty('IsFullTextInstalled') is NULL then '' else convert(sysname, serverproperty('IsFullTextInstalled')) end
    union all select case when serverproperty('IsIntegratedSecurityOnly') is NULL then '' else convert(sysname, serverproperty('IsIntegratedSecurityOnly')) end
    union all select case when serverproperty('IsSingleUser') is NULL then '' else convert(sysname, serverproperty('IsSingleUser')) end
    union all select case when serverproperty('IsSyncWithBackup') is NULL then '' else convert(sysname, serverproperty('IsSyncWithBackup')) end
    union all select case when serverproperty('MachineName') is NULL then '' else convert(sysname, serverproperty('MachineName')) end
    union all select case when serverproperty('NumLicenses') is NULL then '' else convert(sysname, serverproperty('NumLicenses')) end
    union all select case when serverproperty('ProcessID') is NULL then '' else convert(sysname, serverproperty('ProcessID')) end
    union all select case when serverproperty('ProductVersion') is NULL then '' else convert(sysname, serverproperty('ProductVersion')) end
    union all select case when serverproperty('ProductLevel') is NULL then '' else convert(sysname, serverproperty('ProductLevel')) end
    union all select case when serverproperty('ServerName') is NULL then '' else convert(sysname, serverproperty('ServerName')) end
    union all select case when serverproperty('Release') is NULL then '' else convert(sysname, serverproperty('Release')) end
    union all select case when serverproperty('Patch') is NULL then '' else convert(sysname, serverproperty('Patch')) end
    union all select case when serverproperty('IsSysAdmin') is NULL then '' else convert(sysname, serverproperty('IsSysAdmin')) end
    OPEN c FETCH NEXT FROM c INTO @n
    WHILE @@FETCH_STATUS = 0
    BEGIN set @ns = @ns + @n + ';' FETCH NEXT FROM c INTO @n END
    CLOSE c DEALLOCATE c select @ns
    executeSQL is called with following parameters:
    Server: cacgcbcrr518
    Login: integrated security
    Resultset will not be copied
    Ignore errors is false
    Append results is false
    select IS_SRVROLEMEMBER('sysadmin')
    executeSQL is called with following parameters:
    Server: cacgcbcrr518
    Login: integrated security
    Resultset will not be copied
    Ignore errors is false
    Append results is false
    select count(*) from master..sysdatabases where name = 'R3T'
    executeSQL is called with following parameters:
    Server: cacgcbcrr518
    Login: integrated security
    Resultset will not be copied
    Ignore errors is false
    Append results is false
    select count(*) from R3T..sysusers where name = 'r3t'
    executeSQL is called with following parameters:
    Server: cacgcbcrr518
    Login: integrated security
    Resultset will not be copied
    Ignore errors is false
    Append results is false
    select count(*) from R3T..sysusers where name = 'r3t'
    executeSQL is called with following parameters:
    Server: cacgcbcrr518
    Login: integrated security
    Resultset will not be copied
    Ignore errors is false
    Append results is false
    use R3T
    declare @info nvarchar(2000)
    declare @cs nvarchar(100)
    declare @tmp nvarchar(200)
    declare @rel nvarchar(100)
    declare @patch nvarchar(100)
    declare @sql nvarchar(2000)
    declare schema_cursor cursor for
    select name
    from dbo.sysusers
    where islogin = '1'
    open schema_cursor
    select @info = ''
    fetch next from schema_cursor into @cs
    while @@fetch_status = 0
    begin
    select @info = @info + @cs
    select @info = @info + ':'
    select @info = @info + cast(count(*) as varchar(20)) from sysobjects where uid = user_id(@cs) and name not in ('dtproperties')
    select @info = @info + ':'
    select @info = @info + cast(count(*) as varchar(20)) from sysobjects where uid = user_id(@cs) and type = 'U' and name not in ('dtproperties')
    if exists(select * from sysobjects where name = 'CVERS' and uid = user_id(@cs) and type = 'U')
    begin
    select @info = @info + ':1'
    select @sql = 'select @rel = RELEASE, @patch = EXTRELEASE from ' + @cs + '.CVERS where COMPONENT = ''SAP_BASIS'''
    exec sp_executesql @sql, N'@rel nvarchar(100) output, @patch nvarchar(100) output', @rel output, @patch output
    select @info = @info + ':'
    select @info = @info + @rel
    select @info = @info + ':'
    select @info = @info + @patch
    end
    else select @info = @info + ':0'
    if exists(select * from sysobjects where name = 'BC_CVERS' and uid = user_id(@cs) and type = 'U')
    begin
    select @info = @info + ':1'
    end
    else select @info = @info + ':0'
    select @info = @info + ';'
    fetch next from schema_cursor into @cs
    end
    close schema_cursor
    deallocate schema_cursor
    select @info
    executeSQL is called with following parameters:
    Server: cacgcbcrr518
    Login: integrated security
    Resultset will not be copied
    Ignore errors is false
    Append results is false
    use [R3T] select count(*) from sysobjects where name like 'Y%' and type='P' and uid=user_id('r3t')
    executeSQL is called with following parameters:
    Server: cacgcbcrr518
    Login: integrated security
    Resultset will not be copied
    Ignore errors is false
    Append results is false
    select count(*) from R3T..sysusers where name = 'SAPR3TDB'
    executeSQL is called with following parameters:
    Server: cacgcbcrr518
    Login: integrated security
    Resultset will not be copied
    Ignore errors is false
    Append results is false
    DECLARE @n NVARCHAR(4000) DECLARE @ns NVARCHAR(4000) SET @ns = ''
    DECLARE c CURSOR FOR
    select case when serverproperty('Collation') is NULL then '' else convert(sysname, serverproperty('Collation')) end
    union all select case when serverproperty('Edition') is NULL then '' else convert(sysname, serverproperty('Edition')) end
    union all select case when serverproperty('InstanceName') is NULL then '' else convert(sysname, serverproperty('InstanceName')) end
    union all select case when serverproperty('IsClustered') is NULL then '' else convert(sysname, serverproperty('IsClustered')) end
    union all select case when serverproperty('IsFullTextInstalled') is NULL then '' else convert(sysname, serverproperty('IsFullTextInstalled')) end
    union all select case when serverproperty('IsIntegratedSecurityOnly') is NULL then '' else convert(sysname, serverproperty('IsIntegratedSecurityOnly')) end
    union all select case when serverproperty('IsSingleUser') is NULL then '' else convert(sysname, serverproperty('IsSingleUser')) end
    union all select case when serverproperty('IsSyncWithBackup') is NULL then '' else convert(sysname, serverproperty('IsSyncWithBackup')) end
    union all select case when serverproperty('MachineName') is NULL then '' else convert(sysname, serverproperty('MachineName')) end
    union all select case when serverproperty('NumLicenses') is NULL then '' else convert(sysname, serverproperty('NumLicenses')) end
    union all select case when serverproperty('ProcessID') is NULL then '' else convert(sysname, serverproperty('ProcessID')) end
    union all select case when serverproperty('ProductVersion') is NULL then '' else convert(sysname, serverproperty('ProductVersion')) end
    union all select case when serverproperty('ProductLevel') is NULL then '' else convert(sysname, serverproperty('ProductLevel')) end
    union all select case when serverproperty('ServerName') is NULL then '' else convert(sysname, serverproperty('ServerName')) end
    union all select case when serverproperty('Release') is NULL then '' else convert(sysname, serverproperty('Release')) end
    union all select case when serverproperty('Patch') is NULL then '' else convert(sysname, serverproperty('Patch')) end
    union all select case when serverproperty('IsSysAdmin') is NULL then '' else convert(sysname, serverproperty('IsSysAdmin')) end
    OPEN c FETCH NEXT FROM c INTO @n
    WHILE @@FETCH_STATUS = 0
    BEGIN set @ns = @ns + @n + ';' FETCH NEXT FROM c INTO @n END
    CLOSE c DEALLOCATE c select @ns
    executeSQL is called with following parameters:
    Server: cacgcbcrr518
    Login: integrated security
    Resultset will not be copied
    Ignore errors is false
    Append results is false
    select IS_SRVROLEMEMBER('sysadmin')
    executeSQL is called with following parameters:
    Server: cacgcbcrr518
    Login: integrated security
    Resultset will not be copied
    Ignore errors is false
    Append results is false
    DECLARE @n NVARCHAR(4000) DECLARE @ns NVARCHAR(4000) SET @ns = ''
    DECLARE c CURSOR FOR
    select case when serverproperty('Collation') is NULL then '' else convert(sysname, serverproperty('Collation')) end
    union all select case when serverproperty('Edition') is NULL then '' else convert(sysname, serverproperty('Edition')) end
    union all select case when serverproperty('InstanceName') is NULL then '' else convert(sysname, serverproperty('InstanceName')) end
    union all select case when serverproperty('IsClustered') is NULL then '' else convert(sysname, serverproperty('IsClustered')) end
    union all select case when serverproperty('IsFullTextInstalled') is NULL then '' else convert(sysname, serverproperty('IsFullTextInstalled')) end
    union all select case when serverproperty('IsIntegratedSecurityOnly') is NULL then '' else convert(sysname, serverproperty('IsIntegratedSecurityOnly')) end
    union all select case when serverproperty('IsSingleUser') is NULL then '' else convert(sysname, serverproperty('IsSingleUser')) end
    union all select case when serverproperty('IsSyncWithBackup') is NULL then '' else convert(sysname, serverproperty('IsSyncWithBackup')) end
    union all select case when serverproperty('MachineName') is NULL then '' else convert(sysname, serverproperty('MachineName')) end
    union all select case when serverproperty('NumLicenses') is NULL then '' else convert(sysname, serverproperty('NumLicenses')) end
    union all select case when serverproperty('ProcessID') is NULL then '' else convert(sysname, serverproperty('ProcessID')) end
    union all select case when serverproperty('ProductVersion') is NULL then '' else convert(sysname, serverproperty('ProductVersion')) end
    union all select case when serverproperty('ProductLevel') is NULL then '' else convert(sysname, serverproperty('ProductLevel')) end
    union all select case when serverproperty('ServerName') is NULL then '' else convert(sysname, serverproperty('ServerName')) end
    union all select case when serverproperty('Release') is NULL then '' else convert(sysname, serverproperty('Release')) end
    union all select case when serverproperty('Patch') is NULL then '' else convert(sysname, serverproperty('Patch')) end
    union all select case when serverproperty('IsSysAdmin') is NULL then '' else convert(sysname, serverproperty('IsSysAdmin')) end
    OPEN c FETCH NEXT FROM c INTO @n
    WHILE @@FETCH_STATUS = 0
    BEGIN set @ns = @ns + @n + ';' FETCH NEXT FROM c INTO @n END
    CLOSE c DEALLOCATE c select @ns
    executeSQL is called with following parameters:
    Server: cacgcbcrr518
    Login: integrated security
    Resultset will not be copied
    Ignore errors is false
    Append results is false
    select IS_SRVROLEMEMBER('sysadmin')
    executeSQL is called with following parameters:
    Server: cacgcbcrr518
    Login: integrated security
    Resultset will not be copied
    Ignore errors is false
    Append results is false
    exec sp_configure 'show advanced options', 1
    reconfigure with override
    exec sp_configure 'xp_cmdshell', 1
    reconfigure with override
    executeSQL is called with following parameters:
    Server: cacgcbcrr518
    Login: integrated security
    Resultset will not be copied
    Ignore errors is false
    Append results is false
    exec sp_dbcmptlevel 'R3T', 90
    executeSQL is called with following parameters:
    Server: cacgcbcrr518
    Login: integrated security
    Resultset will not be copied
    Ignore errors is false
    Append results is false
    use R3T select count(*) from sysobjects where type = 'P' and uid = user_id('r3t')
    executeSQL is called with following parameters:
    Server: cacgcbcrr518
    Login: integrated security
    Resultset will not be copied
    Ignore errors is false
    Append results is false
    use R3T
    declare @name sysname
    declare allnames cursor for
    select name from sysobjects
    where type = 'P'
    and (name like 'Y%' or name like 'SAP%')
    and uid = user_id('r3t')
    open allnames
    fetch next from allnames into @name
    while (@@fetch_status =0)
    begin
    exec ('drop procedure [r3t].[' + @name + ']')
    fetch next from allnames into @name
    end
    close allnames
    deallocate allnames
    [Microsoft][ODBC SQL Server Driver][SQL Server]Attempt to fetch logical page (6:78) in database 5 failed. It belongs to allocation unit 71905451171905536 not to 281474979397632.
    executeSQL is called with following parameters:
    Server: cacgcbcrr518
    Login: integrated security
    Resultset will not be copied
    Ignore errors is false
    Append results is false
    use R3T select count(*) from sysobjects where type = 'P' and uid = user_id('r3t')
    executeSQL is called with following parameters:

    THIS IS THE SQL ERROR LOGS:
    2008-05-28 15:49:20.79 spid21s     Starting up database 'R3T'.
    2008-05-28 15:49:20.79 spid20s     Starting up database 'msdb'.
    2008-05-28 15:49:20.82 spid20s     1 transactions rolled forward in database 'msdb' (4). This is an informational message only. No user action is required.
    2008-05-28 15:49:20.84 spid20s     0 transactions rolled back in database 'msdb' (4). This is an informational message only. No user action is required.
    2008-05-28 15:49:20.84 spid20s     Recovery is writing a checkpoint in database 'msdb' (4). This is an informational message only. No user action is required.
    2008-05-28 15:49:20.88 spid21s     Analysis of database 'R3T' (5) is 100% complete (approximately 0 seconds remain). This is an informational message only. No user action is required.
    2008-05-28 15:49:20.90 spid21s     1 transactions rolled forward in database 'R3T' (5). This is an informational message only. No user action is required.
    2008-05-28 15:49:21.06 spid21s     0 transactions rolled back in database 'R3T' (5). This is an informational message only. No user action is required.
    2008-05-28 15:49:21.06 spid21s     Recovery is writing a checkpoint in database 'R3T' (5). This is an informational message only. No user action is required.
    2008-05-28 15:49:21.06 spid5s      Recovery of any in-doubt distributed transactions involving Microsoft Distributed Transaction Coordinator (MS DTC) has completed. This is an informational message only. No user action is required.
    2008-05-28 15:49:21.06 spid5s      Recovery is complete. This is an informational message only. No user action is required.
    2008-05-28 15:49:25.60 spid51      Configuration option 'Agent XPs' changed from 0 to 1. Run the RECONFIGURE statement to install.
    2008-05-28 15:49:25.74 spid51      Using 'xpsqlbot.dll' version '2005.90.3042' to execute extended stored procedure 'xp_qv'. This is an informational message only; no user action is required.
    2008-05-28 15:49:25.81 spid51      Using 'xpstar90.dll' version '2005.90.3042' to execute extended stored procedure 'xp_instance_regread'. This is an informational message only; no user action is required.
    2008-05-28 15:49:25.82 spid51      Using 'xplog70.dll' version '2005.90.3042' to execute extended stored procedure 'xp_msver'. This is an informational message only; no user action is required.
    2008-05-28 15:58:29.52 spid53      Setting database option SINGLE_USER to ON for database R3T.
    2008-05-28 15:58:29.52 spid53      Setting database option SINGLE_USER to ON for database R3T.
    2008-05-28 15:59:15.77 spid53      Error: 605, Severity: 21, State: 3.
    2008-05-28 15:59:15.77 spid53      Attempt to fetch logical page (6:72) in database 5 failed. It belongs to allocation unit 71905451171905536 not to 281474979397632.
    2008-05-28 15:59:15.78 spid53      DBCC CHECKDB (R3T, repair_fast) WITH all_errormsgs, no_infomsgs executed by sa terminated abnormally due to error state 5. Elapsed time: 0 hours 0 minutes 18 seconds.
    2008-05-28 16:02:17.43 spid54      Error: 605, Severity: 21, State: 3.
    2008-05-28 16:02:17.43 spid54      Attempt to fetch logical page (6:72) in database 5 failed. It belongs to allocation unit 71905451171905536 not to 281474979397632.
    2008-05-28 16:02:17.44 spid54      DBCC CHECKDB (R3T, repair_allow_data_loss) WITH all_errormsgs, no_infomsgs executed by sa terminated abnormally due to error state 5. Elapsed time: 0 hours 0 minutes 10 seconds.
    2008-05-28 16:04:53.26 spid54      Setting database option MULTI_USER to ON for database R3T.
    2008-05-28 16:04:53.26 spid54      Setting database option MULTI_USER to ON for database R3T.
    2008-05-29 00:00:06.31 spid15s     This instance of SQL Server has been using a process ID of 2016 since 5/28/2008 3:49:21 PM (local) 5/28/2008 10:49:21 PM (UTC). This is an informational message only; no user action is required.
    2008-05-29 09:45:59.67 spid54      Error: 605, Severity: 12, State: 3.
    2008-05-29 09:45:59.67 spid54      Attempt to fetch logical page (6:72) in database 6 failed. It belongs to allocation unit 71905451171905536 not to 281474979397632.
    2008-05-29 09:45:59.69 spid54      DBCC CHECKDB (R3T) WITH no_infomsgs executed by sa terminated abnormally due to error state 5. Elapsed time: 0 hours 1 minutes 20 seconds.

  • Please help: opmn start failed

    Hello,
    I have the following problem with the opmn:
    I have installed Oracle 10g Database in HPUX 11.11 from the disc "Database". It works OK, I can start my database instance "orademo" with dbstart and stop it with dbshut. If it is running, I can connect to it without problems.
    Then I have installed Oracle 10g Database Products from the disc "Companion" without problems.
    Then I tried to install Oracle 10g Database Companion Products. The installation seemed to proceed OK except of the following two messages: "File not found ...(emca.1.1.jar)" at approx. 76% of the status bar and "Error invoking target 'nmo nmb'..." at approx. 95%. I have clicked on "Continue" in both cases and the installation went up to the screen, "Configuration Assistants". The first of the two actions, OC4J Configuration Assistant, succeeded. The other one, "Starting HTTP Server", failed. Then I have canceled it, performed the root.sh script, and the last screen, "End of Installation" appeared. When I closed this, I could see the following message in the terminal:
    Exception : class java.sql.SQLException Io exception: The Network Adapter could not establish the connection
    Could not retrive nls_lang from database
    Then I tried to start HTTP server manually but I obtained the following error messages:
    bash-2.05b$ /export/ora10gcomp/opmn/bin/opmnctl startall
    opmnctl: starting opmn and all managed processes...
    Pthread internal error: message: __libc_reinit() failed, file: /ux/core/libs/threadslibs/src/common/pthreads/pthread.c, line: 1155
    Return Pointer is 0xc003a497
    /export/ora10gcomp/opmn/bin/opmnctl[3]: 21149 Quit(coredump)
    Pthread internal error: message: __libc_reinit() failed, file: /ux/core/libs/threadslibs/src/common/pthreads/pthread.c, line: 1155
    Return Pointer is 0xc003a497
    /export/ora10gcomp/opmn/bin/opmnctl[7]: 21150 Quit(coredump)
    Pthread internal error: message: __libc_reinit() failed, file: /ux/core/libs/threadslibs/src/common/pthreads/pthread.c, line: 1155
    Return Pointer is 0xc003a497
    /export/ora10gcomp/opmn/bin/opmnctl[9]: 21152 Quit(coredump)
    opmnctl: opmn start failed
    bash-2.05b$
    Then I checked all Oracle 10g requirements, namely required HPUX patches, unistalled and reinstalled the Oracle 10g Database Companion Products repeatedly, checked the connection to the database by SQL Plus etc. ... but the problem was always the same.
    Note: I installed Oracle 10g (including Database Companion Products) also in Windows XP and in Fedora Core 3 and I never encountered a problem like this. Everything runs correctly in these other operating systems.
    Would somebody help me?
    Thanks in advance!
    Vaclav

    Hi,
    Thanks for the replay. I am doing the installation once again. Now I am not facing OPMN problem.
    Now I am facing some another problem. That DBCA fails to create infrastructre metadata respository database. Why it is happening?
    regards,
    Mat.

  • Is there any well designed sample database availabe for download ?

    Hi
    Thank you for reading my post
    I get the Oracle Express 10g and now i am looking for a good database with some test data inside it
    to practice some tuning and sql commands.
    is there any (rather big ) sample database available for download ?
    Thanks

    Hello,
    XE ships with the Sample Application that includes the HR schema with some objects to work on. By default, the HR user account is locked so you need to unlock it first. It's usually a good place to start as many current and future documentation based on XE will include examples from this schema.
    Przemek

  • SQL 2012 Copy Database Wizard fails

    I am trying to use the Copy Database Wizard in SQL Server 2012
    The host is running SQL Server 2000 (8.00.2066 (SP4)) on a Windows 2003 server
    The destination is SQL Server 2012 running on Windows Server 2012 Standard.
    Its gets to Execute SQL Server Agent Job and fails with this error:
    The job failed. Check the event log on the destination server for details
    Fails at – Execute SQL Server Agent Job
    I've looked at the application log and not sure which errors are relevant. Here are two of them:
    the first is an error, the second a warning.
    Log Name:      Application
    Source:        SQLISPackage110
    Date:          1/9/2015 11:39:24 AM
    Event ID:      12291
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          NT SERVICE\SQLSERVERAGENT
    Computer:      SQL2013
    Description:
    Package "CDW_SQL_SQL2013_7" failed.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="SQLISPackage110" />
        <EventID Qualifiers="16385">12291</EventID>
        <Level>2</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2015-01-09T16:39:24.000000000Z" />
        <EventRecordID>456924</EventRecordID>
        <Channel>Application</Channel>
        <Computer>SQL2013</Computer>
        <Security UserID="S-1-5-80-344959196-2060754871-2302487193-2804545603-1466107430" />
      </System>
      <EventData>
        <Data>CDW_SQL_SQL2013_7</Data>
      </EventData>
    </Event>
    Log Name:      Application
    Source:        SQLSERVERAGENT
    Date:          1/9/2015 11:39:26 AM
    Event ID:      208
    Task Category: Job Engine
    Level:         Warning
    Keywords:      Classic
    User:          N/A
    Computer:      SQL2013
    Description:
    SQL Server Scheduled Job 'CDW_SQL_SQL2013_7_1' (0xDFA5EEDDB2D53A4FB3C7CED04563896E) - Status: Failed - Invoked on: 2015-01-09 11:39:18 - Message: The job failed.  The Job was invoked by User VGBtR3r0WgKjvthk.  The last step to run was step 1 (CDW_SQL_SQL2013_7_1_Step).
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="SQLSERVERAGENT" />
        <EventID Qualifiers="16384">208</EventID>
        <Level>3</Level>
        <Task>3</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2015-01-09T16:39:26.000000000Z" />
        <EventRecordID>456927</EventRecordID>
        <Channel>Application</Channel>
        <Computer>SQL2013</Computer>
        <Security />
      </System>
      <EventData>
        <Data>CDW_SQL_SQL2013_7_1</Data>
        <Data>0xDFA5EEDDB2D53A4FB3C7CED04563896E</Data>
        <Data>Failed</Data>
        <Data>2015-01-09 11:39:18</Data>
        <Data>The job failed.  The Job was invoked by User VGBtR3r0WgKjvthk.  The last step to run was step 1 (CDW_SQL_SQL2013_7_1_Step).</Data>
      </EventData>
    </Event>
    Any ideas would be appreciated. I'm anxious to retire this old SQL 2000 server!
    Mike

    Thanks David.
    is this the log you are looking for:
    Date  1/9/2015 11:39:18 AM
    Log  Job History (CDW_SQL_SQL2013_7_1)
    Step ID  1
    Server  SQL2013
    Job Name  CDW_SQL_SQL2013_7_1
    Step Name  CDW_SQL_SQL2013_7_1_Step
    Duration  00:00:08
    Sql Severity 0
    Sql Message ID 0
    Operator Emailed 
    Operator Net sent 
    Operator Paged 
    Retries Attempted 0
    Message
    Executed as user: NT Service\SQLSERVERAGENT. Microsoft (R) SQL Server Execute Package Utility  Version 11.0.2100.60 for 64-bit  Copyright (C) Microsoft Corporation. All rights reserved.    Started:  11:39:18 AM  Progress:
    2015-01-09 11:39:18.61     Source: sql_SQL2013_Transfer Objects Task      Task just started the execution.: 0% complete  End Progress  Error: 2015-01-09 11:39:24.50     Code: 0x00000000    
    Source: sql_SQL2013_Transfer Objects Task      Description: An error occurred while transferring data. See the inner exception for details.  StackTrace:    at Microsoft.SqlServer.Management.Smo.Transfer.TransferData()    
    at Microsoft.SqlServer.Dts.Tasks.TransferObjectsTask.TransferObjectsTask.TransferExtraObjectsViaSmoTransfer()  InnerException-->The specified schema name "INFORMATION_SCHEMA" either does not exist or you do not have permission to use it. 
    StackTrace:    at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)     at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject
    stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)     at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject
    stateObj, Boolean& dataReady)     at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite)     at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1
    completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)     at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()     at Microsoft.SqlServer.Management.Smo.Transfer.ExecuteStatements(SqlConnection
    destinationConnection, IEnumerable`1 statements, SqlTransaction transaction)     at Microsoft.SqlServer.Management.Smo.Transfer.TransferData()  End Error  Progress: 2015-01-09 11:39:24.50     Source: sql_SQL2013_Transfer
    Objects Task      Database transfer failed for one or more extra objects.: 0% complete  End Progress  Progress: 2015-01-09 11:39:24.50     Source: sql_SQL2013_Transfer Objects Task     
    Transfer objects finished execution.: 100% complete  End Progress  Warning: 2015-01-09 11:39:24.52     Code: 0x80019002     Source: CDW_SQL_SQL2013_7      Description: SSIS Warning
    Code DTS_W_MAXIMUMERRORCOUNTREACHED.  The Execution method succeeded, but the number of errors raised (1) reached the maximum allowed (1); resulting in failure. This occurs when the number of errors reaches the number specified in MaximumErrorCount. Change
    the MaximumErrorCount or fix the errors.  End Warning  DTExec: The package execution returned DTSER_FAILURE (1).  Started:  11:39:18 AM  Finished: 11:39:24 AM  Elapsed:  6.062 seconds.  The package execution failed. 
    The step failed.
    I will also look into backup/restore. Will that work between 2000 and 2012?

Maybe you are looking for