ADX Database Utility failing on FS2 patch system

Hello
My fs_clone failed on FS2 system. on my init.ora has an entry, I am getting  Exception occurred: java.sql.SQLException: The Network Adapter could not establish the connection.
service_names = PRO0DV,ebs_patch,
local_listener=PRO0DV_LOCAL
How do recreate listener.ora file on fs2 system.
Thanks
Prince

Hello Hussein.
This is the  error I am getting on my fs_clone
Communication error with the OPMN server local port.
Check the OPMN log files
SEVERE : Apr 8, 2015 11:43:32 PM - ERROR - CLONE-20218   Cloning is not successful.
SEVERE : Apr 8, 2015 11:43:32 PM - CAUSE - CLONE-20218   An internal operation failed.
SEVERE : Apr 8, 2015 11:43:32 PM - ACTION - CLONE-20218   Provide the clone log and error file for investigation.
oracle.as.clone.cloner.exception.ApplyCloneException:  Instance "Create & Start" step  failed.
        at oracle.as.clone.util.ASInstanceUtil.createStartInstance(ASInstanceUtil.java:203)
        at oracle.as.clone.cloner.component.ComponentApplyCloner.createStartInstance(ComponentApplyCloner.java:253)
        at oracle.as.clone.cloner.component.ComponentApplyCloner.doClone(ComponentApplyCloner.java:124)
        at oracle.as.clone.cloner.Cloner.doFinalClone(Cloner.java:61)
        at oracle.as.clone.request.ApplyCloneRequest.applyArchive(ApplyCloneRequest.java:188)
        at oracle.as.clone.request.ApplyCloneRequest._clone(ApplyCloneRequest.java:69)
        at oracle.as.clone.process.CloningExecutionProcess.execute(CloningExecutionProcess.java:131)
        at oracle.as.clone.process.CloningExecutionProcess.execute(CloningExecutionProcess.java:114)
        at oracle.as.clone.client.CloningClient.executeT2PCommand(CloningClient.java:238)
        at oracle.as.clone.client.CloningClient.main(CloningClient.java:115)
Caused by: java.lang.Exception: Unable to start opmnserver of the instance /apps2/property/product/devr12/fs2/FMW_Home/webtier/instances/EBS_web_PRO0DV_OHS1
        at oracle.as.clone.provisioning.implementations.ASInstanceProvImpl.startInstance(ASInstanceProvImpl.java:409)
        at oracle.as.clone.provisioning.implementations.ASInstanceProvImpl.createInstanceAndStart(ASInstanceProvImpl.java:158)
        at oracle.as.clone.util.ASInstanceUtil.createStartInstance(ASInstanceUtil.java:197)
        ... 9 more
SEVERE :  Instance "Create & Start" step  failed.

Similar Messages

  • ADX Database Utility

    Looking for solution.
    ADX Database Utility
    getConnectionUsingAppsJDBCConnector() -->
    APPS_JDBC_URL='null'
    Trying to get connection using SID based connect descriptor
    getConnection() -->
    sDbHost : localhost
    sDbDomain : localdomain
    sDbPort : 1521
    sDbSid : PROD
    sDbUser : APPS
    Trying to connect using SID...
    getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@localhost.localdomain:1521:PROD
    Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    Trying to connect using SID as ServiceName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=PROD)))
    Failed upload of config file at /d01/oracle/PROD/db/tech_st/11.1.0/appsutil/conf_PROD.txt
    Environment File
    Database ORACLE_HOME environment file passes instantiated variables test:
    File = /d01/oracle/PROD/db/tech_st/11.1.0/PROD_localhost.env

    Hi;
    Please answer Hussein Sawwan question in his post, to can make you more quick help. In addtion to Hussein Sawwan great post
    getConnectionUsingAppsJDBCConnector() -->
    APPS_JDBC_URL='null'We dont know how u can get this error but for upper error please check:
    Rc-50004: Fatal: Error Occurred running adcfgclone.pl dbTier for RDBMS 64 bit [ID 336875.1]
    FND_TNS_ALIASES is not populated, even after execution of Autoconfig [ID 783380.1]
    11.5.10 rapidwiz installation on Linux Fails with Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection [ID 342493.1]
    Error Occurred In Applydatabase Rc-50004 on adcfgclone on DB tier [ID 360343.1]
    Adcfgclone.Pl dbTier Hangs At 70% [ID 391019.1]
    Hope it helps
    Regard
    Helios

  • Database Logon Failed when loading Access mdb that use a system mdw

    I am trying to get my Report Viewer ASP.NET application running 11 R2 SP3 to open a report that uses Access database with a system database file (mdb and mdw file)
    the report runs fine in the designer and it runs fine on the developer test computer
    but the production environment that does not have the full Crystal Designer installed just the runtime engine (but does have the full MSAccess running) cannot load the database
    i keep getting "Database Logon Failed"
    SWIP Reports
    Error Exporting Report
    Report:     Help Desk Reports Over 3 Days
    Server Name:     \\poseidon\IT\Databases\itdept.mdb
    Database Name:     \\poseidon\IT\Databases\itdept.mdb
    User:     GLOBAL\ADMINISTRATOR
    IP:     127.0.0.1
    ============================================================
    | Exception Information
    +----------------------------------------------------------------------
    |  Exception Message:     Database logon failed.
    |  Exception Source:     CrystalDecisions.ReportAppServer.DataSetConversion
    |  Inner Exception:          
    |  Begin Stack Trace:
    |        at CrystalDecisions.ReportAppServer.ConvertDotNetToErom.T_
    |          hrowDotNetException(Exception e)
    |        at CrystalDecisions.ReportSource.EromReportSourceBase.Exp_
    |          ortToStream(ExportRequestContext reqContext)
    |        at CrystalDecisions.CrystalReports.Engine.FormatEngine.Ex_
    |          portToStream(ExportRequestContext reqContext)
    |        at CrystalDecisions.CrystalReports.Engine.ReportDocument._
    |          ExportToStream(ExportOptions options)
    |        at CrystalDecisions.CrystalReports.Engine.ReportDocument._
    |          ExportToHttpResponse(ExportOptions options, HttpRe_
    |          sponse response, Boolean asAttachment, String atta_
    |          chmentName)
    |        at CrystalDecisions.CrystalReports.Engine.ReportDocument._
    |          ExportToHttpResponse(ExportFormatType formatType,_
    |          HttpResponse response, Boolean asAttachment, Strin_
    |          g attachmentName)
    |        at reports.PushReport(ExportFormatType expType, String Co_
    |          ntentType, String Ext, Boolean Popup)
    |        at reports.exportReport(String strExpFmt)
    +----------------------------------------------------------------------
    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
    does anyone have any advice on why this is failing only on the server but is not failing on the developer or the designer computers.

    public Reports(String RptPath)
                this._ExpOptions.ExportDestinationType = ExportDestinationType.NoDestination;
                this._ExpOptions.ExportFormatType = ExportFormatType.NoFormat;
                this._RptDoc = new ReportDocument();
                this._RptDoc.Load(RptPath, OpenReportMethod.OpenReportByTempCopy);
                login();
    private void login()
                if (!_IsLoggedIn)
                    try
                        String dbName = this._RptDoc.DataSourceConnections[0].ServerName.ToString();
                        for (int i = 0; i < this._RptDoc.DataSourceConnections.Count; i++)
                            this._RptDoc.DataSourceConnections<i>.SetLogon(uid(dbName), pwd(dbName));
                        foreach (ReportDocument Sub in this._RptDoc.Subreports)
                            dbName = Sub.DataSourceConnections[0].ServerName.ToString();
                            for (int i = 0; i < Sub.DataSourceConnections.Count; i++)
                                Sub.DataSourceConnections<i>.SetLogon(uid(dbName), pwd(dbName));
                        ConnectionInfo coninfo = new ConnectionInfo();
                        coninfo.DatabaseName = this._RptDoc.DataSourceConnections[0].DatabaseName;
                        coninfo.ServerName = this._RptDoc.DataSourceConnections[0].ServerName;
                        coninfo.UserID = this._RptDoc.DataSourceConnections[0].UserID;
                        coninfo.Password = this._RptDoc.DataSourceConnections[0].Password;
                        foreach (CrystalDecisions.CrystalReports.Engine.Table crtbl in this._RptDoc.Database.Tables)
                            TableLogOnInfo logoninfo = crtbl.LogOnInfo;
                            logoninfo.ConnectionInfo = coninfo;
                            crtbl.ApplyLogOnInfo(logoninfo);
                        _IsLoggedIn = true;

  • System Image Utility Failing Error 2 Yosemite

    I'm trying to create an net install image of the OS X Yosemite installer. It worked with 10.0, now on 10.0.1 I'm getting an error "System Image Utility Failing Error 2". I've tried it a few different ways but I get the same result every time. Has anyone been able to create a 10.0.1 image?

    After doing all that I described in my previous post three things happened:
    1. I need to proof read better mi writing (I am fluent in english but of course is not my native language).
    2. The NetInstall image I created did work!, but it failed at 99.99% verifying leaving a useless installation. I was able to bring back some computers by reinstalling only the system, but most of them had to be erased and reimaged again.
    And number 3:
    I found another solution that worked fine this time. !!!
    (well, it had a hiccup but not a show stopper)
    What is needed:
    - A known working NetInstall image.
    Steps:
    1. Copy the NetInstall.nbi folder to another location.
    2. Using Disk Utility convert the image file NetInstall.dmg (inside the NetInstall.nbi) to a read/write image, preferably to a sparse image.
    3. Mount the new image and locate the folder 'Packages' inside it (it is invisible in the Finder).
    4. Remove System.dmg
    5. Copy your source image on the same place and make sure it is named System.dmg and is of type read-only / compressed. (If the new image is bigger than the one before, it will be useful that the NetInstall.dmg be a sparse image.)
    6. If the source image was not previously scanned for ASR, do it now.
    7. Unmount the NetInstall disk
    8. Using Disk Utility convert your new NetInstall.dmg to read-only / compressed.
    9. Rename your NetInstall.nbi to YourNewNetInstall.nbi
    10. Edit the file NBImageInfo.plist (inside the YourNewNetInstall.nbi)  and locate the line with the old name of the .nbi and change it to the new one. Locate the "Index" and change it too (maybe simply add 1.) Also, change the line that mentions the System version and change it to the one that the new NetInstall contains (up to only the first decimal.)
    11. Move back YourNewNetInstall.nbi to the NetBootSP0 folder where it came from.
    12. In Server activate your new NetInstall source (you can change the index there too) and update the computers list it will be served to.
    Ready!
    Using this I could reinstall the computers without a problem this time.
    Ok, I said there were a hiccup:
    After finishing, the computers restarted to their recovery partition and a simple restart brought them back to it. Using Disk Utility and verifying the disk was enough to restart them properly.
    Hope this helps.
    Greetings from Mexico!
    Alex Ramos

  • "Oracle Cluster Verification Utility" failed - 10gR2 - VMware - CentOS 4

    Hi,
    While installing 10g R2 on VMWare with CentOS 4, I am encountering an error:
    Command = /u01/crs/oracle/product/10.2.0/crs/bin/cluvfy has failed
    INFO: Configuration assistant "Oracle Cluster Verification Utility" failed
    *** Starting OUICA ***
    Oracle Home set to /u01/crs/oracle/product/10.2.0/crs
    Configuration directory is set to /u01/crs/oracle/product/10.2.0/crs/cfgtoollogs. All xml files under the directory will be processed
    INFO: The "/u01/crs/oracle/product/10.2.0/crs/cfgtoollogs/configToolFailedCommands" script contains all commands that failed, were skipped or were cancelled. This file may be used to run these configuration assistants outside of OUI. Note that you may have to update this script with passwords (if any) before executing the same.
    SEVERE: OUI-25031:Some of the configuration assistants failed. It is strongly recommended that you retry the configuration assistants at this time. Not successfully running any "Recommended" assistants means your system will not be correctly configured.
    1. Check the Details panel on the Configuration Assistant Screen to see the errors resulting in the failures.
    2. Fix the errors causing these failures.
    3. Select the failed assistants and click the 'Retry' button to retry them.
    INFO: User Selected: Yes/OK
    The logs show me:
    COMMAND=/u01/crs/oracle/product/10.2.0/crs/bin/cluvfy stage -post crsinst -n rac1,rac2
    Checking the version of OCR...
    OCR of correct Version "2" exists.
    Checking data integrity of OCR...
    ERROR:
    OCR integrity results are inconsistent amongst the nodes.
    OCR integrity found invalid for nodes: rac2
    OCR integrity found valid for nodes: rac1
    OCR integrity check failed.
    I have replaced "clsfmt.bin" with patch 4679769 to avoid the FAILED TO FORMAT OCR DISK USING CLSFMT error on Node 1.
    But still the Oracle Cluster Verification Utility failed with OCR integrity.
    Also, have religiously followed the steps mentioned in the below link & didnt have any glitches during the entire process:
    http://www.oracle-base.com/articles/10g/OracleDB10gR2RACInstallationOnCentos4UsingVMware.php
    Any Suggestions??

    I kinda dont have that timestamp which you requested.
    Posting what i have in crsd.log for node 2.
    **I wish this site had an attachment section to make the threads more readable.
    Anyways...
    Oracle Database 10g CRS Release 10.2.0.1.0 Production Copyright 1996, 2005 Oracle. All rights reserved.
    2011-06-29 17:56:21.189: [ default][3086931648][ENTER]0
    Oracle Database 10g CRS Release 10.2.0.1.0 Production Copyright 1996, 2004, Oracle. All rights reserved
    2011-06-29 17:56:21.189: [ default][3086931648]0CRS Daemon Starting
    2011-06-29 17:56:21.190: [ CRSMAIN][3086931648]0Checking the OCR device
    2011-06-29 17:56:21.280: [ CRSMAIN][3086931648]0Connecting to the CSS Daemon
    2011-06-29 17:56:21.420: [ COMMCRS][66177968]clsc_connect: (0x8655ae0) no listener at (ADDRESS=(PROTOCOL=ipc)(KEY=OCSSD_LL_rac2_crs))
    2011-06-29 17:56:21.420: [ CSSCLNT][3086931648]clsssInitNative: connect failed, rc 9
    2011-06-29 17:56:21.422: [  CRSRTI][3086931648]0CSS is not ready. Received status 3 from CSS. Waiting for good status ..
    2011-06-29 17:56:22.483: [ COMMCRS][66177968]clsc_connect: (0x8604c10) no listener at (ADDRESS=(PROTOCOL=ipc)(KEY=OCSSD_LL_rac2_crs))
    2011-06-29 17:56:22.484: [ CSSCLNT][3086931648]clsssInitNative: connect failed, rc 9
    2011-06-29 17:56:22.485: [  CRSRTI][3086931648]0CSS is not ready. Received status 3 from CSS. Waiting for good status ..
    2011-06-29 17:56:23.537: [ COMMCRS][66177968]clsc_connect: (0x8654e20) no listener at (ADDRESS=(PROTOCOL=ipc)(KEY=OCSSD_LL_rac2_crs))
    2011-06-29 17:56:23.537: [ CSSCLNT][3086931648]clsssInitNative: connect failed, rc 9
    2011-06-29 17:56:23.538: [  CRSRTI][3086931648]0CSS is not ready. Received status 3 from CSS. Waiting for good status ..
    2011-06-29 17:56:24.606: [ COMMCRS][66177968]clsc_connect: (0x8655008) no listener at (ADDRESS=(PROTOCOL=ipc)(KEY=OCSSD_LL_rac2_crs))
    2011-06-29 17:56:24.606: [ CSSCLNT][3086931648]clsssInitNative: connect failed, rc 9
    2011-06-29 17:56:24.608: [  CRSRTI][3086931648]0CSS is not ready. Received status 3 from CSS. Waiting for good status ..
    2011-06-29 17:56:28.445: [    CRSD][3086931648]0Daemon Version: 10.2.0.1.0 Active Version: 10.2.0.1.0
    2011-06-29 17:56:28.446: [    CRSD][3086931648]0Active Version and Software Version are same
    2011-06-29 17:56:28.446: [ CRSMAIN][3086931648]0Initializing OCR
    2011-06-29 17:56:28.479: [  OCRRAW][3086931648]proprioo: for disk 0 (/dev/raw/raw1), id match (1), my id set (1669906634,1028247821) total id sets (1), 1st set (1669906634,1028247821), 2nd set (0,0) my votes (2), total votes (2)
    2011-06-29 17:56:28.621: [ CSSCLNT][3051752368]clssgsGroupJoin: CSS has not reached fatal mode.Registration is not yet safe. Retrying
    2011-06-29 17:56:29.674: [    CRSD][3086931648]0ENV Logging level for Module: allcomp 0
    2011-06-29 17:56:29.680: [    CRSD][3086931648]0ENV Logging level for Module: default 0
    2011-06-29 17:56:29.720: [    CRSD][3086931648]0ENV Logging level for Module: COMMCRS 0
    2011-06-29 17:56:29.730: [    CRSD][3086931648]0ENV Logging level for Module: COMMNS 0
    2011-06-29 17:56:29.746: [    CRSD][3086931648]0ENV Logging level for Module: CRSUI 0
    2011-06-29 17:56:29.755: [    CRSD][3086931648]0ENV Logging level for Module: CRSCOMM 0
    2011-06-29 17:56:29.760: [    CRSD][3086931648]0ENV Logging level for Module: CRSRTI 0
    2011-06-29 17:56:29.770: [    CRSD][3086931648]0ENV Logging level for Module: CRSMAIN 0
    2011-06-29 17:56:29.823: [    CRSD][3086931648]0ENV Logging level for Module: CRSPLACE 0
    2011-06-29 17:56:29.834: [    CRSD][3086931648]0ENV Logging level for Module: CRSAPP 0
    2011-06-29 17:56:29.846: [    CRSD][3086931648]0ENV Logging level for Module: CRSRES 0
    2011-06-29 17:56:29.852: [    CRSD][3086931648]0ENV Logging level for Module: CRSOCR 0
    2011-06-29 17:56:29.871: [    CRSD][3086931648]0ENV Logging level for Module: CRSTIMER 0
    2011-06-29 17:56:29.878: [    CRSD][3086931648]0ENV Logging level for Module: CRSEVT 0
    2011-06-29 17:56:29.886: [    CRSD][3086931648]0ENV Logging level for Module: CRSD 0
    2011-06-29 17:56:29.904: [    CRSD][3086931648]0ENV Logging level for Module: CLUCLS 0
    2011-06-29 17:56:29.916: [    CRSD][3086931648]0ENV Logging level for Module: OCRRAW 0
    2011-06-29 17:56:29.928: [    CRSD][3086931648]0ENV Logging level for Module: OCROSD 0
    2011-06-29 17:56:29.931: [    CRSD][3086931648]0ENV Logging level for Module: CSSCLNT 0
    2011-06-29 17:56:29.936: [    CRSD][3086931648]0ENV Logging level for Module: OCRAPI 0
    2011-06-29 17:56:29.939: [    CRSD][3086931648]0ENV Logging level for Module: OCRUTL 0
    2011-06-29 17:56:29.942: [    CRSD][3086931648]0ENV Logging level for Module: OCRMSG 0
    2011-06-29 17:56:29.945: [    CRSD][3086931648]0ENV Logging level for Module: OCRCLI 0
    2011-06-29 17:56:29.948: [    CRSD][3086931648]0ENV Logging level for Module: OCRCAC 0
    2011-06-29 17:56:29.951: [    CRSD][3086931648]0ENV Logging level for Module: OCRSRV 0
    2011-06-29 17:56:29.954: [    CRSD][3086931648]0ENV Logging level for Module: OCRMAS 0
    2011-06-29 17:56:29.954: [ CRSMAIN][3086931648]0Filename is /u01/crs/oracle/product/10.2.0/crs/crs/init/rac2.pid
    [  clsdmt][2862934960]Listening to (ADDRESS=(PROTOCOL=ipc)(KEY=rac2DBG_CRSD))
    2011-06-29 17:56:29.986: [ CRSMAIN][3086931648]0Using Authorizer location: /u01/crs/oracle/product/10.2.0/crs/crs/auth/
    2011-06-29 17:56:30.038: [ CRSMAIN][3086931648]0Initializing RTI
    2011-06-29 17:56:30.039: [CRSTIMER][2841689008]0Timer Thread Starting.
    2011-06-29 17:56:30.042: [  CRSRES][3086931648]0Parameter SECURITY = 1, running in USER Mode
    2011-06-29 17:56:30.043: [ CRSMAIN][3086931648]0Initializing EVMMgr
    2011-06-29 17:56:30.045: [ COMMCRS][2831199152]clsc_connect: (0x89a02e0) no listener at (ADDRESS=(PROTOCOL=ipc)(KEY=SYSTEM.evm.acceptor.auth))
    2011-06-29 17:56:30.299: [ COMMCRS][2831199152]clsc_connect: (0x89a2ab8) no listener at (ADDRESS=(PROTOCOL=ipc)(KEY=SYSTEM.evm.acceptor.auth))
    2011-06-29 17:56:31.555: [ CRSMAIN][3086931648]0CRSD locked during state recovery, please wait.
    2011-06-29 17:56:31.603: [ CRSMAIN][3086931648]0CRSD recovered, unlocked.
    2011-06-29 17:56:31.606: [ CRSMAIN][3086931648]0QS socket on: (ADDRESS=(PROTOCOL=ipc)(KEY=ora_crsqs))
    2011-06-29 17:56:31.620: [ CRSMAIN][3086931648]0CRSD UI socket on: (ADDRESS=(PROTOCOL=ipc)(KEY=CRSD_UI_SOCKET))
    2011-06-29 17:56:31.627: [ CRSMAIN][3086931648]0E2E socket on: (ADDRESS=(PROTOCOL=tcp)(HOST=rac2-priv)(PORT=49896))
    2011-06-29 17:56:31.627: [ CRSMAIN][3086931648]0Starting Threads
    2011-06-29 17:56:31.628: [ CRSMAIN][3086931648]0CRS Daemon Started.
    2011-06-29 18:03:02.066: [  CRSRES][2735582128]0Resource Registered: ora.rac1.vip
    2011-06-29 18:03:05.949: [  CRSRES][2735582128]0Resource Registered: ora.rac2.vip
    2011-06-29 18:03:09.666: [  CRSRES][2735582128]0Resource Registered: ora.rac1.gsd
    2011-06-29 18:03:11.523: [  CRSRES][2735582128]0Resource Registered: ora.rac2.gsd
    2011-06-29 18:03:13.329: [  CRSRES][2735582128]0Resource Registered: ora.rac1.ons
    2011-06-29 18:03:15.048: [  CRSRES][2735582128]0Resource Registered: ora.rac2.ons
    2011-06-29 18:03:15.965: [  CRSRES][2714192816]0Attempting to start `ora.rac1.vip` on member `rac1`
    2011-06-29 18:03:30.471: [  CRSRES][2714192816]0Start of `ora.rac1.vip` on member `rac1` succeeded.
    2011-06-29 18:03:31.227: [  CRSRES][2714192816]0startRunnable: setting CLI values
    2011-06-29 18:03:31.258: [  CRSRES][2714192816]0Attempting to start `ora.rac2.vip` on member `rac2`
    2011-06-29 18:03:44.710: [  CRSRES][2714192816]0Start of `ora.rac2.vip` on member `rac2` succeeded.
    2011-06-29 18:03:45.588: [  CRSRES][2714192816]0Attempting to start `ora.rac1.gsd` on member `rac1`
    2011-06-29 18:03:45.777: [  CRSRES][2714192816]0Start of `ora.rac1.gsd` on member `rac1` succeeded.
    2011-06-29 18:03:46.523: [  CRSRES][2714192816]0startRunnable: setting CLI values
    2011-06-29 18:03:46.588: [  CRSRES][2714192816]0Attempting to start `ora.rac2.gsd` on member `rac2`
    2011-06-29 18:03:47.220: [  CRSRES][2714192816]0Start of `ora.rac2.gsd` on member `rac2` succeeded.
    2011-06-29 18:03:48.077: [  CRSRES][2714192816]0Attempting to start `ora.rac1.ons` on member `rac1`
    2011-06-29 18:03:49.727: [  CRSRES][2714192816]0Start of `ora.rac1.ons` on member `rac1` succeeded.
    2011-06-29 18:03:50.610: [  CRSRES][2714192816]0startRunnable: setting CLI values
    2011-06-29 18:03:50.658: [  CRSRES][2714192816]0Attempting to start `ora.rac2.ons` on member `rac2`
    2011-06-29 18:03:52.240: [  CRSRES][2714192816]0Start of `ora.rac2.ons` on member `rac2` succeeded.
    2011-06-29 18:07:44.810: [  CRSRES][2735582128]0startRunnable: setting CLI values
    2011-06-29 18:09:05.613: [  CRSAPP][2735582128]0CheckResource error for ora.rac1.vip error code = 1
    2011-06-29 18:09:05.623: [  CRSRES][2735582128]0In stateChanged, ora.rac1.vip target is ONLINE
    2011-06-29 18:09:05.623: [  CRSRES][2735582128]0ora.rac1.vip on rac2 went OFFLINE unexpectedly
    2011-06-29 18:09:05.624: [  CRSRES][2735582128]0StopResource: setting CLI values
    2011-06-29 18:09:05.631: [  CRSRES][2735582128]0Attempting to stop `ora.rac1.vip` on member `rac2`
    2011-06-29 18:09:09.437: [  CRSRES][2735582128]0Stop of `ora.rac1.vip` on member `rac2` succeeded.
    2011-06-29 18:09:09.438: [  CRSRES][2735582128]0ora.rac1.vip RESTART_COUNT=0 RESTART_ATTEMPTS=0
    2011-06-29 18:09:09.447: [  CRSRES][2735582128]0ora.rac1.vip failed on rac2 relocating.
    2011-06-29 18:09:09.685: [  CRSRES][2735582128]0Attempting to start `ora.rac1.vip` on member `rac1`
    2011-06-29 18:09:22.340: [  CRSRES][2735582128]0Start of `ora.rac1.vip` on member `rac1` succeeded.
    2011-06-29 18:10:21.884: [  CRSAPP][2735582128]0CheckResource error for ora.rac2.vip error code = 1
    2011-06-29 18:10:21.892: [  CRSRES][2735582128]0In stateChanged, ora.rac2.vip target is ONLINE
    2011-06-29 18:10:21.893: [  CRSRES][2735582128]0ora.rac2.vip on rac2 went OFFLINE unexpectedly
    2011-06-29 18:10:21.893: [  CRSRES][2735582128]0StopResource: setting CLI values
    2011-06-29 18:10:21.910: [  CRSRES][2735582128]0Attempting to stop `ora.rac2.vip` on member `rac2`
    2011-06-29 18:10:25.645: [  CRSRES][2735582128]0Stop of `ora.rac2.vip` on member `rac2` succeeded.
    2011-06-29 18:10:25.645: [  CRSRES][2735582128]0ora.rac2.vip RESTART_COUNT=0 RESTART_ATTEMPTS=0
    2011-06-29 18:10:25.657: [  CRSRES][2735582128]0ora.rac2.vip failed on rac2 relocating.
    2011-06-29 18:10:25.938: [  CRSRES][2735582128]0Attempting to start `ora.rac2.vip` on member `rac1`
    2011-06-29 18:10:39.079: [  CRSRES][2735582128]0Start of `ora.rac2.vip` on member `rac1` succeeded.
    2011-06-29 18:11:39.443: [  CRSRES][2735582128]0startRunnable: setting CLI values
    2011-06-29 18:11:52.836: [  OCRUTL][3009792944]u_freem: mem passed is null
    2011-06-29 18:12:59.776: [  CRSAPP][2735582128]0CheckResource error for ora.rac1.vip error code = 1
    2011-06-29 18:12:59.784: [  CRSRES][2735582128]0In stateChanged, ora.rac1.vip target is ONLINE
    2011-06-29 18:12:59.784: [  CRSRES][2735582128]0ora.rac1.vip on rac2 went OFFLINE unexpectedly
    2011-06-29 18:12:59.784: [  CRSRES][2735582128]0StopResource: setting CLI values
    2011-06-29 18:12:59.791: [  CRSRES][2735582128]0Attempting to stop `ora.rac1.vip` on member `rac2`
    2011-06-29 18:13:03.395: [  CRSRES][2735582128]0Stop of `ora.rac1.vip` on member `rac2` succeeded.
    2011-06-29 18:13:03.396: [  CRSRES][2735582128]0ora.rac1.vip RESTART_COUNT=0 RESTART_ATTEMPTS=0
    2011-06-29 18:13:03.404: [  CRSRES][2735582128]0ora.rac1.vip failed on rac2 relocating.
    2011-06-29 18:13:03.678: [  CRSRES][2735582128]0Attempting to start `ora.rac1.vip` on member `rac1`
    2011-06-29 18:13:16.047: [  CRSRES][2735582128]0Start of `ora.rac1.vip` on member `rac1` succeeded.
    2011-06-29 18:15:07.356: [  CRSRES][2735582128]0startRunnable: setting CLI values
    2011-06-29 18:26:36.393: [  CRSAPP][2735582128]0CheckResource error for ora.rac2.vip error code = 1
    2011-06-29 18:26:36.404: [  CRSRES][2735582128]0In stateChanged, ora.rac2.vip target is ONLINE
    2011-06-29 18:26:36.404: [  CRSRES][2735582128]0ora.rac2.vip on rac2 went OFFLINE unexpectedly
    2011-06-29 18:26:36.405: [  CRSRES][2735582128]0StopResource: setting CLI values
    2011-06-29 18:26:36.420: [  CRSRES][2735582128]0Attempting to stop `ora.rac2.vip` on member `rac2`
    2011-06-29 18:26:40.105: [  CRSRES][2735582128]0Stop of `ora.rac2.vip` on member `rac2` succeeded.
    2011-06-29 18:26:40.106: [  CRSRES][2735582128]0ora.rac2.vip RESTART_COUNT=0 RESTART_ATTEMPTS=0
    2011-06-29 18:26:40.114: [  CRSRES][2735582128]0ora.rac2.vip failed on rac2 relocating.
    2011-06-29 18:26:40.411: [  CRSRES][2735582128]0Attempting to start `ora.rac2.vip` on member `rac1`
    2011-06-29 18:26:53.678: [  CRSRES][2735582128]0Start of `ora.rac2.vip` on member `rac1` succeeded.
    2011-06-29 18:28:03.601: [  CRSRES][2735582128]0startRunnable: setting CLI values
    2011-06-29 18:28:22.695: [  CRSAPP][2735582128]0StartResource error for ora.rac2.vip error code = 1
    2011-06-29 18:28:44.847: [  CRSRES][2735582128]0startRunnable: setting CLI values
    2011-06-29 18:29:06.589: [  OCRUTL][2946853808]u_freem: mem passed is null
    2011-06-29 18:30:13.581: [  CRSAPP][2735582128]0CheckResource error for ora.rac1.vip error code = 1
    2011-06-29 18:30:13.598: [  CRSRES][2735582128]0In stateChanged, ora.rac1.vip target is ONLINE
    2011-06-29 18:30:13.599: [  CRSRES][2735582128]0ora.rac1.vip on rac2 went OFFLINE unexpectedly
    2011-06-29 18:30:13.599: [  CRSRES][2735582128]0StopResource: setting CLI values
    2011-06-29 18:30:13.606: [  CRSRES][2735582128]0Attempting to stop `ora.rac1.vip` on member `rac2`
    2011-06-29 18:30:17.227: [  CRSRES][2735582128]0Stop of `ora.rac1.vip` on member `rac2` succeeded.
    2011-06-29 18:30:17.228: [  CRSRES][2735582128]0ora.rac1.vip RESTART_COUNT=0 RESTART_ATTEMPTS=0
    2011-06-29 18:30:17.236: [  CRSRES][2735582128]0ora.rac1.vip failed on rac2 relocating.
    2011-06-29 18:30:17.563: [  CRSRES][2735582128]0Attempting to start `ora.rac1.vip` on member `rac1`
    2011-06-29 18:30:31.358: [  CRSRES][2735582128]0Start of `ora.rac1.vip` on member `rac1` succeeded.
    2011-06-29 18:33:54.570: [  CRSRES][2735582128]0startRunnable: setting CLI values
    2011-06-29 18:34:17.302: [  OCRUTL][2988813232]u_freem: mem passed is null
    2011-06-29 18:35:24.403: [  CRSAPP][2735582128]0CheckResource error for ora.rac1.vip error code = 1
    2011-06-29 18:35:24.412: [  CRSRES][2735582128]0In stateChanged, ora.rac1.vip target is ONLINE
    2011-06-29 18:35:24.412: [  CRSRES][2735582128]0ora.rac1.vip on rac2 went OFFLINE unexpectedly
    2011-06-29 18:35:24.412: [  CRSRES][2735582128]0StopResource: setting CLI values
    2011-06-29 18:35:24.431: [  CRSRES][2735582128]0Attempting to stop `ora.rac1.vip` on member `rac2`
    2011-06-29 18:35:28.186: [  CRSRES][2735582128]0Stop of `ora.rac1.vip` on member `rac2` succeeded.
    2011-06-29 18:35:28.187: [  CRSRES][2735582128]0ora.rac1.vip RESTART_COUNT=0 RESTART_ATTEMPTS=0
    2011-06-29 18:35:28.208: [  CRSRES][2735582128]0ora.rac1.vip failed on rac2 relocating.
    2011-06-29 18:35:28.510: [  CRSRES][2735582128]0Attempting to start `ora.rac1.vip` on member `rac1`
    2011-06-29 18:35:52.388: [  CRSRES][2735582128]0Start of `ora.rac1.vip` on member `rac1` succeeded.
    2011-06-29 18:39:18.464: [  CRSRES][2735582128]0startRunnable: setting CLI values
    2011-06-29 18:39:31.876: [  OCRUTL][2988813232]u_freem: mem passed is null
    2011-06-29 18:40:38.956: [  CRSAPP][2735582128]0CheckResource error for ora.rac1.vip error code = 1
    2011-06-29 18:40:38.965: [  CRSRES][2735582128]0In stateChanged, ora.rac1.vip target is ONLINE
    2011-06-29 18:40:38.966: [  CRSRES][2735582128]0ora.rac1.vip on rac2 went OFFLINE unexpectedly
    2011-06-29 18:40:38.966: [  CRSRES][2735582128]0StopResource: setting CLI values
    2011-06-29 18:40:38.972: [  CRSRES][2735582128]0Attempting to stop `ora.rac1.vip` on member `rac2`
    2011-06-29 18:40:42.583: [  CRSRES][2735582128]0Stop of `ora.rac1.vip` on member `rac2` succeeded.
    2011-06-29 18:40:42.584: [  CRSRES][2735582128]0ora.rac1.vip RESTART_COUNT=0 RESTART_ATTEMPTS=0
    2011-06-29 18:40:42.594: [  CRSRES][2735582128]0ora.rac1.vip failed on rac2 relocating.
    2011-06-29 18:40:42.977: [  CRSRES][2735582128]0Attempting to start `ora.rac1.vip` on member `rac1`
    2011-06-29 18:41:08.149: [  CRSRES][2735582128]0Start of `ora.rac1.vip` on member `rac1` succeeded.
    2011-06-29 18:42:18.061: [  CRSRES][2735582128]0startRunnable: setting CLI values
    2011-06-29 18:42:31.531: [  OCRUTL][2988813232]u_freem: mem passed is null
    2011-06-29 18:44:45.499: [  CRSAPP][2735582128]0CheckResource error for ora.rac1.vip error code = 1
    2011-06-29 18:44:45.507: [  CRSRES][2735582128]0In stateChanged, ora.rac1.vip target is ONLINE
    2011-06-29 18:44:45.508: [  CRSRES][2735582128]0ora.rac1.vip on rac2 went OFFLINE unexpectedly
    2011-06-29 18:44:45.508: [  CRSRES][2735582128]0StopResource: setting CLI values
    2011-06-29 18:44:45.516: [  CRSRES][2735582128]0Attempting to stop `ora.rac1.vip` on member `rac2`
    2011-06-29 18:44:49.197: [  CRSRES][2735582128]0Stop of `ora.rac1.vip` on member `rac2` succeeded.
    2011-06-29 18:44:49.198: [  CRSRES][2735582128]0ora.rac1.vip RESTART_COUNT=0 RESTART_ATTEMPTS=0
    2011-06-29 18:44:49.209: [  CRSRES][2735582128]0ora.rac1.vip failed on rac2 relocating.
    2011-06-29 18:44:49.449: [  CRSRES][2735582128]0Attempting to start `ora.rac1.vip` on member `rac1`
    2011-06-29 18:45:13.509: [  CRSRES][2735582128]0Start of `ora.rac1.vip` on member `rac1` succeeded.
    2011-06-29 18:47:31.668: [  CRSRES][2735582128]0startRunnable: setting CLI values
    2011-06-29 18:47:50.804: [  CRSAPP][2735582128]0StartResource error for ora.rac1.vip error code = 1

  • 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

  • Failed to install patch 126411-01

    I had patched my system using smpatch but failed.
    #uname -a
    SunOS SunOS 5.10 Generic_138889-08 i86pc i386 i86pc
    #smpatch analyze
    You have new messages. To retrieve: smpatch messages [-a]
    125556-03 SunOS 5.10_x86: patch behavior patch
    126411-01 StarOffice 8 (Solaris_x86): ARCH patch to enable install of >= Update 6
    120186-17 StarOffice 8 (Solaris_x86): Update 12
    # smpatch update
    You have new messages. To retrieve: smpatch messages [-a]
    125556-03 has been validated.
    <font color="#3366ff">
    126411-01 has been validated.
    120186-17 has been validated.</font>
    Installing patches from /var/sadm/spool...
    125556-03 has been applied.
    <font color="#3366ff">
    Failed to install patch 126411-01.</font>
    Utility used to install the update failed with exit code 8.
    Validating patches...Loading patches installed on the system...Done!Loading patches requested to install.Done!The following requested patches have packages not installed on the systemPackage SUNWstaroffice-core01 from directory SUNWstaroffice-core01.i in patch 126411-01 is not installed on the system. Changes for package SUNWstaroffice-core01 will not be applied to the system.Package SUNWstaroffice-core01 from directory SUNWstaroffice-core01 in patch 126411-01 is not installed on the system. Changes for package SUNWstaroffice-core01 will not be applied to the system.Checking patches that you specified for installation.Done!The following requested patches will not be installed becausethe packages they patch are not installed on this system. 0 No Packages from patch 126411-01 are installed on the system.No patches to install.
    <font color="#3366ff">
    Failed to install patch 126411-01.
    ALERT: Failed to install patch 126411-01.
    Failed to install patch 120186-17.
    </font>
    Utility used to install the update failed with exit code 2.
    ......

    The StarOffice patches are most likely being recommended as there are one or more SUNWstaroffice packages installed on the system, but the patch installation cannot complete due to an incomplete installation of StarOffice. Check for any installed StarOffice packages and remove them if present:
    # pkginfo | grep SUNWstaroffice

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

  • CRVS2010 Beta 2 - "Database Logon failed" Error, after Upgrade

    Hi,
    Generally: we are using the Crystal Reports in combination with a DataSet, that is filled during runtime and pushed to the report, using "SetDataSource". The Project is an ASP .NET 3.5 Project, published on our server.
    I upgraded my development-machine to CRVS2010 (installed both packages - the CRVS for VS 2010 and the runtime) last week and changed some fields in the Report. The DataSet was left unchanged. Everything is working well on my development-machine, but when I publish the Project to our server, I get an "Databse Logon failed" Error, when I want to create my Report. The CRVS2010 Beta 2 redist Runtime is installed on our server. Here is the code, we use:
    // create new Report
    var report = new Reports.repMyReport();
    // DataSource ds was filled correctly (we checked with export to XML
    report.SetDataSource(ds);
    // Set several Parameters to Report
    report.SetParameterValue("test", "test");
    // Export Report to PDF-Format and open in Browser
    report.ExportToHttpResponse(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat, Response, false, "reportName.pdf");
    Response.End();
    The error I get is:
    Database logon failed.
    [COMException (0x8004100f): Database logon failed.]
       CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext) +0
       CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext) +260
    [LogOnException: Database logon failed.]
       CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception e) +325
       CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext) +315
       CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext) +650
       CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToStream(ExportOptions options) +98
       CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToHttpResponse(ExportOptions options, HttpResponse response, Boolean asAttachment, String attachmentName) +98
       CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToHttpResponse(ExportFormatType formatType, HttpResponse response, Boolean asAttachment, String attachmentName) +124
       SprintBoxWeb.BuchungDruck.Page_Load(Object sender, EventArgs e) in D:\Projects\sprnt_erp\SprintBoxWeb\BuchungDruck.aspx.cs:32
       System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
       System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
       System.Web.UI.Control.OnLoad(EventArgs e) +99
       System.Web.UI.Control.LoadRecursive() +50
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
    I already tried everything, found googling the web and/or searching this forum:
    e.g.: perform "verify Database" on all Reports and map the DataSet.xsd again to the Report
    Is that a known issue on the Beta and we should wait for the RC, or does anyone have an idea how to fix that one?
    This error is really annoying!
    Many thanks for your help.
    kind regards
    Reinhard

    Dear Ludek,
    Many thanks for your quick reply. Currently, I have to finish some other things. I will try your ideas next week and give you some feedback then, to keep you informed.
    best regards,
    Reinhard

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

  • Database initialization failed after attach the database.

    Hello Everyone,
    I have a problem after detaching the database and attaching it again (I moved the database to another partition because of shortage of disk space). Then, I find that the system can not start. (I've two systems and now neither of them could start). The error seems very similar.
    In the pure java system(netweaver 04s) log: jvm_bootstrap.out,
    com.sap.engine.bootstrap.synchronizationException: Database Initializtion Failed! Check database properties.
    com.sap.engine.frame.core.configuration.configurationException: Error while connecting to DB.
    Caused by: java.sql.SQLException: [NWMss] [SQLServer JDBC Driver] [SQLServer] Login failed for user 'SAPBP0DB'.
    In pure ABAP system(Netweaver 04s) log: dev_w12:
    openoledbConnection: MARS property was not set.
    openoledbConnection: line 23722. hr: 0x8000ffff login failed for user 'CNDT50083414\SAPServiceBE0'.
    sloledb.cpp [openoledbConnection, line 23722]: Error/Message: (err 18456, sev 0), Login failed for user 'CNDT50083414\SAPServiceBE0'.
    sloledb.cpp [openoledbConnection, line 23722]: Error/Message: (err 0, sev 0), Invalid string connection attribute.
    Is this because the DB not started? In Windows Services, I found 'MSSQLServer' is started.
    How can I trace down to this problem? I don't have much idea on DB...
    All your kindly help is greatly appreciated.
    Best Regards,

    Hi Karan,
    Thank you for your reply. I attach the dev_w0 file here:
    trc file: "dev_w0", trc level: 1, release: "700"
    ACTIVE TRACE LEVEL           1
    ACTIVE TRACE COMPONENTS      all, MJ

    B Tue Sep 23 13:16:15 2008
    B  create_con (con_name=R/3)
    B  Loading DB library 'C:\usr\sap\BE0\DVEBMGS02\exe\dbmssslib.dll' ...
    B  Library 'C:\usr\sap\BE0\DVEBMGS02\exe\dbmssslib.dll' loaded
    B  Version of 'C:\usr\sap\BE0\DVEBMGS02\exe\dbmssslib.dll' is "700.08", patchlevel (0.158)
    B  New connection 0 created
    M sysno      02
    M sid        BE0
    M systemid   562 (PC with Windows NT)
    M relno      7000
    M patchlevel 0
    M patchno    159
    M intno      20050900
    M make:      multithreaded, Unicode, 64 bit, optimized
    M pid        1704
    M
    M  kernel runs with dp version 237000(ext=110000) (@(#) DPLIB-INT-VERSION-237000-UC)
    M  length of sys_adm_ext is 576 bytes
    M  ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 1704) [dpxxdisp.c   1316]
    I  MtxInit: 30000 0 0
    M  DpSysAdmExtCreate: ABAP is active
    M  DpSysAdmExtCreate: VMC (JAVA VM in WP) is not active
    M  DpShMCreate: sizeof(wp_adm)          21008     (1616)
    M  DpShMCreate: sizeof(tm_adm)          5912624     (29416)
    M  DpShMCreate: sizeof(wp_ca_adm)          24000     (80)
    M  DpShMCreate: sizeof(appc_ca_adm)     8000     (80)
    M  DpCommTableSize: max/headSize/ftSize/tableSize=500/16/552064/552080
    M  DpShMCreate: sizeof(comm_adm)          552080     (1088)
    M  DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
    M  DpShMCreate: sizeof(slock_adm)          0     (104)
    M  DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
    M  DpShMCreate: sizeof(file_adm)          0     (72)
    M  DpShMCreate: sizeof(vmc_adm)          0     (1864)
    M  DpShMCreate: sizeof(wall_adm)          (41664/36752/64/192)
    M  DpShMCreate: sizeof(gw_adm)     48
    M  DpShMCreate: SHM_DP_ADM_KEY          (addr: 0000000011080050, size: 6604928)
    M  DpShMCreate: allocated sys_adm at 0000000011080050
    M  DpShMCreate: allocated wp_adm at 0000000011082150
    M  DpShMCreate: allocated tm_adm_list at 0000000011087360
    M  DpShMCreate: allocated tm_adm at 00000000110873C0
    M  DpShMCreate: allocated wp_ca_adm at 000000001162ABF0
    M  DpShMCreate: allocated appc_ca_adm at 00000000116309B0
    M  DpShMCreate: allocated comm_adm at 00000000116328F0
    M  DpShMCreate: system runs without slock table
    M  DpShMCreate: system runs without file table
    M  DpShMCreate: allocated vmc_adm_list at 00000000116B9580
    M  DpShMCreate: allocated gw_adm at 00000000116B9600
    M  DpShMCreate: system runs without vmc_adm
    M  DpShMCreate: allocated ca_info at 00000000116B9630
    M  DpShMCreate: allocated wall_adm at 00000000116B9640
    M  rdisp/queue_size_check_value :  -> off
    M  ThTaskStatus: rdisp/reset_online_during_debug 0
    X  EmInit: MmSetImplementation( 2 ).
    X  MM global diagnostic options set: 0
    X  <ES> client 0 initializing ....
    X  Using implementation view
    X  <EsNT> Using memory model view.
    M  <EsNT> Memory Reset disabled as NT default
    X  ES initialized.
    M  ThInit: running on host CNDT50083414

    M Tue Sep 23 13:16:16 2008
    M  calling db_connect ...
    C  Thread ID:6104
    C  Thank You for using the SLOLEDB-interface
    C  Using dynamic link library 'C:\usr\sap\BE0\DVEBMGS02\exe\dbmssslib.dll'
    C  dbmssslib.dll patch info
    C    patchlevel   0
    C    patchno      158
    C    patchcomment Corrections of odbc-based dbsl: dsql: optype, DSN (1135165)
    C  np:(local) connection used on CNDT50083414
    C  CopyLocalParameters: dbuser is 'be0'

    C Tue Sep 23 13:16:17 2008
    C  Provider SQLNCLI could not be initialized. See note #734034 for more information.
    C  Using provider SQLOLEDB instead.
    C  OpenOledbConnection: MARS property was not set.
    C  OpenOledbConnection: line 23722. hr: 0x8000ffff Login failed for user 'CNDT50083414\SAPServiceBE0'.
    C  sloledb.cpp [OpenOledbConnection,line 23722]: Error/Message: (err 18456, sev 0), Login failed for user 'CNDT50083414\SAPServiceBE0'.
    C  Procname: [OpenOledbConnection - no proc]
    C  sloledb.cpp [OpenOledbConnection,line 23722]: Error/Message: (err 0, sev 0), Invalid connection string attribute
    C  Procname: [OpenOledbConnection - no proc]
    C  Provider SQLNCLI could not be initialized. See note #734034 for more information.
    C  Using provider SQLOLEDB instead.
    C  OpenOledbConnection: line 23722. hr: 0x8000ffff Login failed for user 'CNDT50083414\SAPServiceBE0'.
    C  sloledb.cpp [OpenOledbConnection,line 23722]: Error/Message: (err 18456, sev 0), Login failed for user 'CNDT50083414\SAPServiceBE0'.
    C  Procname: [OpenOledbConnection - no proc]
    C  sloledb.cpp [OpenOledbConnection,line 23722]: Error/Message: (err 0, sev 0), Invalid connection string attribute
    C  Procname: [OpenOledbConnection - no proc]
    C  Provider SQLNCLI could not be initialized. See note #734034 for more information.
    C  Using provider SQLOLEDB instead.
    C  OpenOledbConnection: line 23722. hr: 0x8000ffff Login failed for user 'CNDT50083414\SAPServiceBE0'.
    C  sloledb.cpp [OpenOledbConnection,line 23722]: Error/Message: (err 18456, sev 0), Login failed for user 'CNDT50083414\SAPServiceBE0'.
    C  Procname: [OpenOledbConnection - no proc]
    C  sloledb.cpp [OpenOledbConnection,line 23722]: Error/Message: (err 0, sev 0), Invalid connection string attribute
    C  Procname: [OpenOledbConnection - no proc]
    C  failed to establish conn to np:(local).
    C  Retrying without protocol specifier: (local)
    C  Provider SQLNCLI could not be initialized. See note #734034 for more information.
    C  Using provider SQLOLEDB instead.
    C  OpenOledbConnection: line 23722. hr: 0x8000ffff Login failed for user 'CNDT50083414\SAPServiceBE0'.
    C  sloledb.cpp [OpenOledbConnection,line 23722]: Error/Message: (err 18456, sev 0), Login failed for user 'CNDT50083414\SAPServiceBE0'.
    C  Procname: [OpenOledbConnection - no proc]
    C  sloledb.cpp [OpenOledbConnection,line 23722]: Error/Message: (err 0, sev 0), Invalid connection string attribute
    C  Procname: [OpenOledbConnection - no proc]
    C  Provider SQLNCLI could not be initialized. See note #734034 for more information.
    C  Using provider SQLOLEDB instead.
    C  OpenOledbConnection: line 23722. hr: 0x8000ffff Login failed for user 'CNDT50083414\SAPServiceBE0'.
    C  sloledb.cpp [OpenOledbConnection,line 23722]: Error/Message: (err 18456, sev 0), Login failed for user 'CNDT50083414\SAPServiceBE0'.
    C  Procname: [OpenOledbConnection - no proc]
    C  sloledb.cpp [OpenOledbConnection,line 23722]: Error/Message: (err 0, sev 0), Invalid connection string attribute
    C  Procname: [OpenOledbConnection - no proc]
    C  Provider SQLNCLI could not be initialized. See note #734034 for more information.
    C  Using provider SQLOLEDB instead.
    C  OpenOledbConnection: line 23722. hr: 0x8000ffff Login failed for user 'CNDT50083414\SAPServiceBE0'.
    C  sloledb.cpp [OpenOledbConnection,line 23722]: Error/Message: (err 18456, sev 0), Login failed for user 'CNDT50083414\SAPServiceBE0'.
    C  Procname: [OpenOledbConnection - no proc]
    C  sloledb.cpp [OpenOledbConnection,line 23722]: Error/Message: (err 0, sev 0), Invalid connection string attribute
    C  Procname: [OpenOledbConnection - no proc]
    C  failed to establish conn. 0
    B  ***LOG BY2=> sql error -1     performing CON [dbsh#2 @ 1204] [dbsh    1204 ]
    B  ***LOG BY0=> Login failed for user 'CNDT50083414\SAPServiceBE0'. [dbsh#2 @ 1204] [dbsh    1204 ]
    B  ***LOG BY2=> sql error -1     performing CON [dblink#5 @ 431] [dblink  0431 ]
    B  ***LOG BY0=> Login failed for user 'CNDT50083414\SAPServiceBE0'. [dblink#5 @ 431] [dblink  0431 ]
    M  ***LOG R19=> ThInit, db_connect ( DB-Connect 000256) [thxxhead.c   1440]
    M  in_ThErrHandle: 1
    M  *** ERROR => ThInit: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c   10504]

    M  Info for wp 0

    M    pid = 1704
    M    severity = 0
    M    status = 0
    M    stat = WP_RUN
    M    waiting_for = NO_WAITING
    M    reqtype = DP_RQ_DIAWP
    M    act_reqtype = NO_REQTYPE
    M    rq_info = 0
    M    tid = -1
    M    mode = 255
    M    len = -1
    M    rq_id = 65535
    M    rq_source =
    M    last_tid = 0
    M    last_mode = 0
    M    semaphore = 0
    M    act_cs_count = 0
    M    csTrack = 0
    M    csTrackRwExcl = 0
    M    csTrackRwShrd = 0
    M    mode_cleaned_counter = 0
    M    control_flag = 0
    M    int_checked_resource(RFC) = 0
    M    ext_checked_resource(RFC) = 0
    M    int_checked_resource(HTTP) = 0
    M    ext_checked_resource(HTTP) = 0
    M    report = >                                        <
    M    action = 0
    M    tab_name = >                              <
    M    attachedVm = no VM

    M  *****************************************************************************
    M  *
    M  *  LOCATION    SAP-Server CNDT50083414_BE0_02 on host CNDT50083414 (wp 0)
    M  *  ERROR       ThInit: db_connect
    M  *
    M  *  TIME        Tue Sep 23 13:16:17 2008
    M  *  RELEASE     700
    M  *  COMPONENT   Taskhandler
    M  *  VERSION     1
    M  *  RC          13
    M  *  MODULE      thxxhead.c
    M  *  LINE        10724
    M  *  COUNTER     1
    M  *
    M  *****************************************************************************

    M  PfStatDisconnect: disconnect statistics
    M  Entering TH_CALLHOOKS
    M  ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
    M  *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c   724]
    M  *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c  261]
    M  Entering ThSetStatError
    M  ThIErrHandle: do not call ThrCoreInfo (no_core_info=0, in_dynp_env=0)
    M  Entering ThReadDetachMode
    M  call ThrShutDown (1)...
    M  ***LOG Q02=> wp_halt, WPStop (Workproc 0 1704) [dpnttool.c   333]

  • Export/Import full database dump fails to recreate the workspaces

    Hi,
    We are studying the possibility of using Oracle Workspace to maintain multiple versions of our business data. I recently did some tests with the import/export of a dump that contains multiple workspaces. I'm not able to import the dump successfully because it doesn't recreate the workspaces on the target database instance, which is an empty Oracle database freshly created. Before to launch the import with the Oracle Data Pump utility, I have the "LIVE" workspace that exists in the WMSYS.WM$WORKSPACES_TABLE table. After the import is done, there is nothing in that table...
    The versions of the Oracle database and Oracle Workspace Manager are the same on source and target database:
    Database version (from the V$VERSION view):
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    PL/SQL Release 10.2.0.4.0 - Production
    CORE     10.2.0.4.0     Production
    TNS for 64-bit Windows: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production
    Workspace Manager version (from the WM_INSTALLATION view):
    OWM_VERSION: 10.2.0.4.3
    In order to recreate the tablespaces successfully during the full import of the dump, the directory structure for the tablespaces is the same on the target database's computer. I used the instructions given in this document, section "1.6 Import and Export Considerations" at page 1-19:
    http://www.wyswert.com/documentation/oracle/database/11.2/appdev.112/e11826.pdf
    Considering that the release of Oracle database used is version 10.2.0.4, I use the following command to import the dump since it doesn't contain the WMSYS schema:
    impdp system/<password>@<database> DIRECTORY=data_pump_dir DUMPFILE=expfull.dmp FULL=y TABLE_EXISTS_ACTION=append LOGFILE=impfull.log
    The only hints I have in the import log file are the following block of lines:
    1st one:
    ==============================
    Traitement du type d'objet DATABASE_EXPORT/SYSTEM_PROCOBJACT/PRE_SYSTEM_ACTIONS/PROCACT_SYSTEM
    ORA-39083: Echec de la création du type d'objet PROCACT_SYSTEM avec erreur :
    ORA-01843: ce n'est pas un mois valide
    SQL en échec :
    BEGIN
    if (system.wm$_check_install) then
    return ;
    end if ;
    begin execute immediate 'insert into wmsys.wm$workspaces_table
    values(''LIVE'',
    ''194'',
    ''-1'',
    2nd one at the end of the import process:
    ==============================
    Traitement du type d'objet DATABASE_EXPORT/SCHEMA/POST_SCHEMA/PROCACT_SCHEMA
    ORA-39083: Echec de la création du type d'objet PROCACT_SCHEMA avec erreur :
    ORA-20000: Workspace Manager Not Properly Installed
    SQL en échec :
    BEGIN
    declare
    compile_exception EXCEPTION;
    PRAGMA EXCEPTION_INIT(compile_exception, -24344);
    begin
    if (system.wm$_check_install) then
    return ;
    end if ;
    execute immediate 'alter package wmsys.ltadm compile';
    execute immediate 'alter packag
    The target operating system is in french... here is a raw translation:
    1st one:
    ==============================
    Treatment of object type DATABASE_EXPORT/SYSTEM_PROCOBJACT/PRE_SYSTEM_ACTIONS/PROCACT_SYSTEM
    ORA-39083: Object type creation failed PROCACT_SYSTEM with error :
    ORA-01843: invalid month
    failed SQL :
    BEGIN
    if (system.wm$_check_install) then
    return ;
    end if ;
    begin execute immediate 'insert into wmsys.wm$workspaces_table
    values(''LIVE'',
    ''194'',
    ''-1'',
    2nd one at the end of the import process:
    ==============================
    Treatment of object type DATABASE_EXPORT/SCHEMA/POST_SCHEMA/PROCACT_SCHEMA
    ORA-39083: Object type creation failed PROCACT_SCHEMA with error :
    ORA-20000: Workspace Manager Not Properly Installed
    failed SQL :
    BEGIN
    declare
    compile_exception EXCEPTION;
    PRAGMA EXCEPTION_INIT(compile_exception, -24344);
    begin
    if (system.wm$_check_install) then
    return ;
    end if ;
    execute immediate 'alter package wmsys.ltadm compile';
    execute immediate 'alter packag
    By the way, the computer of the source database is Vista 64 in english and the destination computer is Vista 64 in french, do you think this has anything to do with these error messages? The parameters of the NLS_SESSION_PARAMETERS view are the same in the source and target database...
    Thanks in advance for your help!
    Joel Autotte
    Lead Developer
    Edited by: 871007 on Jul 13, 2011 7:31 AM

    I tried to import the full database dump with the "imp" command and I had the same error message with more detail:
    . Import d'objets SYSTEM dans SYSTEM
    IMP-00017: Echec de l'instruction suivante avec erreur ORACLE 1843 :
    "BEGIN "
    "if (system.wm$_check_install) then"
    " return ;"
    " end if ;"
    " begin execute immediate 'insert into wmsys.wm$workspaces_ta"
    "ble"
    " values(''LIVE'',"
    " ''194'',"
    " ''-1'',"
    " ''SYS'',"
    " *to_date(''09-DEC-2009 00:00:00'', ''DD-MON-YYYY HH"*
    *"24:MI:SS''),"*
    " ''0'',"
    " ''UNLOCKED'',"
    " ''0'',"
    " ''0'',"
    " ''37'',"
    " ''CRS_ALLNONCR'',"
    " to_date(''06-APR-2011 14:24:57'', ''DD-MON-YYYY HH"
    "24:MI:SS''),"
    " ''0'',"
    " '''')'; end;"
    "COMMIT; END;"
    IMP-00003: Erreur ORACLE 1843 rencontrée
    ORA-01843: ce n'est pas un mois valide
    ORA-06512: à ligne 5
    The call to the TO_DATE function with the string of the date format is incompatible with the format and language set in the NLS parameters of my database. Since I know that the "imp" and "exp" commands work client side (unlike "impdp" and "expdp"), I did a full export of the source database from the computer on which I try to import the dump to have the same language exported in the dump and I was able to import the dump successfully.
    But, I would like to use the Data Pump tool instead of the old import and export tools. How would it be possible to set the NLS parameters that "impdp" must use before to launch the import of the dump?
    The NLS parameters are set to the "AMERICAN" settings in both source and destination database when I validate that with the "NLS_DATABASE_PARAMETERS" view. The dump I did with "expdp" on the source database exported the data with the "AMERICAN" settings as well...
    On the destination database, the computer language is in french and I guess it is considered by the Data Pump import tool since it outputs the log in the language of the computer and it tries to do a TO_DATE with the wrong date format because it works with the "CANADIAN FRENCH" settings...
    Any suggestions? I'll continue to read on my side and re-post if I find the solution.
    Thanks!
    Edited by: 871007 on Jul 19, 2011 8:42 AM
    Edited by: 871007 on Jul 19, 2011 8:43 AM
    Edited by: 871007 on Jul 19, 2011 8:43 AM

  • Smpatch update ALERT: Failed to install patch

    I do not even know where to start. Since installing Solaris 10 0606 it
    seems every time I try to patch the system I get failures of one type
    or another. One problem today has to do with zones:
    "To install the new instance of this package in all zones you must
    first remove the existing instance of this package from the global
    zone first (via pkgrm) and then install the new instance of this
    package in all zones."
    If sun already knows a pkgrm must be run why can't the smpatch command
    just do it?
    Another problem seems to be
    For patch 121018-03, required patch 120759-04 does not exist
    If sun knows a patch is required which is not on the system just Getit
    and install it.
    Also, what is up with having to reboot the box to install patches?
    Why? Has this always been a required step? Do these reboots pertain only to kernel patches .etc?
    I have seen other postings in this forum expressing unhappiness with
    the patch system, some mentioning testing lab/group or certification
    issues. I think smpatch should have an option to send smpatch results
    back to sun for review. That way the Certification Group could have
    real life situations to investigate. Or do they know the problems
    already and just dont want to fix them? Just once I would love it if
    smpatch came back with no failures and I was assured the system was
    patched, up to date and secure.
    Regards
    # smpatch update
    Update 120759-07 will not be downloaded since it already exists in the
    download directory.
    Update 121018-03 will not be downloaded since it already exists in the
    download directory.
    Update 121016-03 will not be downloaded since it already exists in the
    download directory.
    Update 121020-02 will not be downloaded since it already exists in the
    download directory.
    Update 121616-02 will not be downloaded since it already exists in the
    download directory.
    Update 120762-02 will not be downloaded since it already exists in the
    download directory.
    Installing patches from /var/sadm/spool...
    Failed to install patch 120759-07.
    patchadd utility failed. Reason code :0
    Validating patches...Loading patches installed on the
    system...Done!Loading patches requested to install.Done!Checking
    patches that you specified for installation.Done!Approved patches will
    be installed in this order:120759-07 Preparing checklist for
    non-global zone check...Checking non-global zones...The following
    requested patches rejected on non-global zone.Entire installation is
    possible but those patcheswill not be installed on non-global
    zone.myzone: Packages from patch 120759-07 are not installed on the
    system.myzone2: Packages from patch 120759-07 are not installed on the
    system.This patch passes the non-global zone check.None.Summary for
    zones:Zone myzoneRejected patches:120759-07 Patches that passed the
    dependency check:None.Zone myzone2Rejected patches:120759-07 Patches
    that passed the dependency check:None.Patching global zoneAdding
    patches...Checking installed patches...Verifying sufficient filesystem
    capacity (dry run method)...Patch 120759-07 failed to install due to a
    failure produced by pkgadd.See /var/sadm/patch/120759-07/log for
    detailsPatchadd is terminating. WARNING: patchadd returned <5> for
    global zone
    ALERT: Failed to install patch 120759-07.
    Failed to install patch 121018-03.
    patchadd utility failed. Reason code :0
    Validating patches...Loading patches installed on the
    system...Done!Loading patches requested to install.Done!Checking
    patches that you specified for installation.Done!The following
    requested patches will not be installed becauseno patches required by
    the patch are installed on this system. 0 For patch 121018-03,
    required patch 120759-04 does not exist.No patches to install.
    ALERT: Failed to install patch 121018-03.
    Failed to install patch 121016-03.
    patchadd utility failed. Reason code :0
    Validating patches...Loading patches installed on the
    system...Done!Loading patches requested to install.Done!Checking
    patches that you specified for installation.Done!The following
    requested patches will not be installed becauseno patches required by
    the patch are installed on this system. 0 For patch 121016-03,
    required patch 120759-06 does not exist.No patches to install.
    ALERT: Failed to install patch 121016-03.
    Failed to install patch 121020-02.
    patchadd utility failed. Reason code :0
    Validating patches...Loading patches installed on the
    system...Done!Loading patches requested to install.Done!Checking
    patches that you specified for installation.Done!The following
    requested patches will not be installed becauseno patches required by
    the patch are installed on this system. 0 For patch 121020-02,
    required patch 120759-01 does not exist.No patches to install.
    ALERT: Failed to install patch 121020-02.
    Failed to install patch 121616-02.
    patchadd utility failed. Reason code :0
    Validating patches...Loading patches installed on the
    system...Done!Loading patches requested to install.Done!Checking
    patches that you specified for installation.Done!Approved patches will
    be installed in this order:121616-02 Preparing checklist for
    non-global zone check...Checking non-global zones...The following
    requested patches rejected on non-global zone.Entire installation is
    possible but those patcheswill not be installed on non-global
    zone.myzone: Packages from patch 121616-02 are not installed on the
    system.myzone2: Packages from patch 121616-02 are not installed on the
    system.This patch passes the non-global zone check.None.Summary for
    zones:Zone myzoneRejected patches:121616-02 Patches that passed the
    dependency check:None.Zone myzone2Rejected patches:121616-02 Patches
    that passed the dependency check:None.Patching global zoneAdding
    patches...Checking installed patches...Verifying sufficient filesystem
    capacity (dry run method)...Patch 121616-02 failed to install due to a
    failure produced by pkgadd.See /var/sadm/patch/121616-02/log for
    detailsPatchadd is terminating. WARNING: patchadd returned <5> for
    global zone
    ALERT: Failed to install patch 121616-02.
    Failed to install patch 120762-02.
    patchadd utility failed. Reason code :0
    Validating patches...Loading patches installed on the
    system...Done!Loading patches requested to install.Done!Checking
    patches that you specified for installation.Done!Approved patches will
    be installed in this order:120762-02 Preparing checklist for
    non-global zone check...Checking non-global zones...The following
    requested patches rejected on non-global zone.Entire installation is
    possible but those patcheswill not be installed on non-global
    zone.myzone: Packages from patch 120762-02 are not installed on the
    system.myzone2: Packages from patch 120762-02 are not installed on the
    system.This patch passes the non-global zone check.None.Summary for
    zones:Zone myzoneRejected patches:120762-02 Patches that passed the
    dependency check:None.Zone myzone2Rejected patches:120762-02 Patches
    that passed the dependency check:None.Patching global zoneAdding
    patches...Checking installed patches...Verifying sufficient filesystem
    capacity (dry run method)...Patch 120762-02 failed to install due to a
    failure produced by pkgadd.See /var/sadm/patch/120762-02/log for
    detailsPatchadd is terminating. WARNING: patchadd returned <5> for
    global zone
    ALERT: Failed to install patch 120762-02.
    /var/sadm/spool/patchpro_dnld_2006.08.22@11:16:20:EDT.txt has been
    moved to
    /var/sadm/spool/patchproSequester/patchpro_dnld_2006.08.22@11:16:20:EDT.txt
    #

    Enterprise users have strict policies on change management so dependent patches are not automatically installed when using "smpatch add". Neither are packages blithly uninstalled for zones if currently only existing in the global zone.
    For your needs using "smpatch update" should analyse, download and install dependant patches in order for patches specified on the command line or for a global update. Note that that is with the exception of patches not matching the currently defined patch policy such as those needing a reboot. See the smpatch man page for information on policies.
    Patches requiring reboots or being installed in single user mode are primarily for kernel and driver patches.
    Your problems installing the Sun Studio 11 patches have been encountered previously in regards to globally installed packages (and are covered in this forum) and is due to a combination of bug ID's 6337009, 6214678 and 6374972 for the patching utilities of which the last is still open.
    You will currently have to manually install the patches using patchadd with the "-G" flag whilst in the global zone to install them in the global zone only.

  • Creating new Data Source Error - Database connection Failed

    Successfully installed and configured 11.1.1.3.0. Planning and Essbase dev.
    Went to Workspace > Administer > Classing Planning Administration > Manage Data Sources > Create Data Source.
    Entered all info about the application database , etc. Getting error "The database connection failed" (I was able to connect with no problem during the install)
    SQL server 2005 is on the same physical server.
    The diagnostic tool shows database connection passed for planning. A new database was created for the new application.
    The server event viewer shows these errors.
    "Login failed for user 'xxx-hyperion'. The user is not associated with a trusted SQL Server connection."
    Group Policy Error "The client-side extension could not apply computer policy settings for 'Default Domain Policy {xxx}' because it failed with error code '0x80070003 The system cannot find the path specified.' See trace file for more details. "
    The Group Policy client-side extension Group Policy Services failed to execute. Please look for any errors reported earlier by that extension.
    Any help is appreciated.

    Datasource for the application.
    I have created a sql db for this planning application (my datasource). See my first message for more details.
    When you create a new planning application, you need to associate it with a data source. Since this is a new install, I don't have any data sources available yet.
    So, "To create, edit or delete data sources, click Manage Data Source."
    This page lets you validate your connection to the database and essbase server. My essbase server connection validates! The database connection does not validate after I enter all the relevant information.
    SCREEN INFO BELOW
    Fields displayed with an asterisk (*) are mandatory.
    Data Source Name *:
    Data Source Description:
    Select Database Platform
    Microsoft SQL Server
    Application Database
    Server * :
    Port * :
    Database *:
    User *:
    Password *:
    Click "Validate Database Connection"
    ERROR ---> Database connection failed.
    So it does not let me create a data source for my new planning application, so I cannot create a new planning application.
    Thanks in advance.

  • 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

Maybe you are looking for

  • User exit/Badi for changing operation work center based on service product

    Hi, I have an requirement to change the operation work center based on the service product in IW31/IW32 transaction. I am using the BAdi 'IM_SM_BADI_READT399A' for changing the main work center. It changes all the operation work centers except the fi

  • Bcache setup advice wanted

    Hello World I have been tinkering with mine SDD-HDD setup with Bcache. And i was wondering if i did it right ??? Mine Idea was to have a 90GB SDD for quick root access. And use the rest of the SSD with Bcache to speedup files from the HDD. Any advice

  • When executing t.code VL03N then IDOC not getting generated

    I have a issue in upgarde project as below; Go to transaction VL03N      -Enter Outbound Delivery number      -Click on document flow      -Select Goods issue material document and click on Display Document      -Material document is displayed.      

  • Error in SLG1 after reversal EA13

    Hello friends, we have an issue when reversing a document with EA13. First of all the document was reversed, however we had a error message "S:EDER:541". We were able to apply note 1733506 . Now we are getting the following error (but document is sti

  • Why does the keyboard hide my iMessages?

    My new 6+ and ios8 is making it impossible for me to see the recent imessages.  I have to exit the app and come back so the keyboard goes away.  I can 'drag' them up, but I cannot get to the bottom. Any help appreciated. Thanks