Db13 after system copy and oracle upgrade.

Dear support,
I have 40B system with Oracle 8.1.7.4 with SID as PRD. Now i have copied the same to TST system and i forgot to perform ops$ mechanism setup in TST system as part of post database refresh.
Now i have upgraded database to oracle 9.2.0.5 and since DB13 jobs are not getting executed i have done following settings,
New SID is TST.....
create user "OPS$TSTADM" identified by TST;
grant connect, resource, dba to "OPS$TSTADM";
CONNECT "OPS$TSTADM"
select * from dba_users where username like 'OPS%' ;
alter user "OPS$TSTADM" temporary tablespace PSAPTEMP ;
create table sapuser as select * from "OPS$prdADM".sapuser ;
select * from dba_tab_privs where table_name = 'SAPUSER' ;
create user "OPS$SAPSERVICETST" identified externally ;
grant select, insert, update on sapuser to "OPS$SAPSERVICETST" ;
create synonym "OPS$SAPSERVICETST".sapuser for "OPS$TSTADM".sapuser ;
grant sapdba to "OPS$TSTADM" ;
grant connect, resource, sapdba to  "OPS$SAPSERVICETST";
alter user "OPS$TSTADM" identified externally ;
revoke dba from "OPS$TSTADM" ;
select * from "OPS$TSTADM".sapuser ;
still i am getting below error in DB13 , should i use BRtools instead of SAPDBA
please let me know
error in db13 logs are as below
Job started
Step 001 started (program RSDBAJOB, variant &0000000000033, user name CYBERTEC
Execute log. command SAPDBA on host saptest
__Parameters: -u / -checkopt PSAP%  -method E
SAPDBA: Wrong option.
Usage:
sapdba [  -u        <userid>[/<password>]
          -P        <userid>/<coded_password>    /* (only for batch start) */
       [  -p        <profile> ]
       [  -h[elp] ]
       [  -r        <dir>                        /* restart in batch       */
          -export   <tsp_list>     <table>
                    [-dest      <path>
                                <tape_device> [-tape_size <size_in_M>] ]
          -alter_user <uid>/<pwd>
          -init_sap_connect
          -sapsid <SID1>[,<SID2>,...]
          -version
          -verbose
          -V -VERSION [all]
sapdba without -u option would connect by
       (1) <name>/<password> in <orapwd_file>, if spec. in init<SID>.dba or
       (2) system/manager, if default password is set or
       (3) prompting for name and password.
External program terminated with exit code 2
SAPDBA returned error status E
Job finished
Best regards,
AjitR

Peter,
I have executed script with user sapsr3 user as below are tasks performed , please let me know whether i can go ahead and execute sapdba_role.sql and sapconn.sql
SQL> select username , account_status from dba_users;
USERNAME                       ACCOUNT_STATUS
OPS$CYSOFT52\EC6ADM            OPEN
OPS$CYSOFT52\SAPSERVICEEC6     OPEN
OPS$CYSOFT52\SAPSERVICESR3     OPEN
SYS                            OPEN
SYSTEM                         OPEN
SAPSR3                         OPEN
SAPSR3DB                       OPEN
OUTLN                          LOCKED
TSMSYS                         EXPIRED & LOCKED
DIP                            EXPIRED & LOCKED
DBSNMP                         EXPIRED & LOCKED
11 rows selected.
E:\oradbuser>sqlplus /nolog @oradbuser.sql SAPSR3
SQL*Plus: Release 10.2.0.2.0 - Production on Wed Aug 1 05:53:30 2007
Copyright (c) 1982, 2005, Oracle.  All Rights Reserved.
Connected.
old   6:   if length('&&1') = 5 then
new   6:   if length('SAPSR3') = 5 then
old   7:     if substr(upper('&&1'),1,5) = 'SAPR3' then
new   7:     if substr(upper('SAPSR3'),1,5) = 'SAPR3' then
Enter value for 2: SAPSR3
old  11:       if upper('&&2') = 'NT' then
new  11:       if upper('SAPSR3') = 'NT' then
Enter value for 3: NT
old  18:        :sDomain := upper('&&3');
new  18:        :sDomain := upper('NT');
Enter value for 4: CYSOFT2
old  19:         :sSapSid := upper('&&4');
new  19:         :sSapSid := upper('CYSOFT2');
old  21:         :sSapSid := upper('&&3');
new  21:         :sSapSid := upper('NT');
old  37:     :sSchema := upper('&&1');
new  37:     :sSchema := upper('SAPSR3');
old  39:     if upper('&&2') = 'NT' then
new  39:     if upper('SAPSR3') = 'NT' then
old  46:       :sDomain := upper('&&3');
new  46:       :sDomain := upper('NT');
old  47:       :sSapSid := upper('&&4');
new  47:       :sSapSid := upper('CYSOFT2');
old  49:       :sSapSid := upper('&&3');
new  49:       :sSapSid := upper('NT');
using following Parameters:
.  Oracle Version:                     10.2.0.2.0
.  Parametervalue os_authent_prefix:   OPS$
.  Schema Id:                          SR3
.  Database User (Schema):             SAPSR3
.  SAP R/3 Administrator:              OPS$NTADM
.  SAP R/3 Serviceuser:                OPS$SAPSERVICENT
Connected.
Connected.
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Pr
oduction
With the Partitioning, OLAP and Data Mining options
Now after running scripts below are 3 users created.
SQL> select username from dba_users;
USERNAME
OPS$CYSOFT52\EC6ADM
<b>OPS$SAPSERVICENT</b>
OPS$CYSOFT52\SAPSERVICEEC6
<b>OPS$ORAEC6
OPS$NTADM</b>OPS$CYSOFT52\SAPSERVICESR3
SYS
SYSTEM
SAPSR3
SAPSR3DB
OUTLN
USERNAME
DIP
TSMSYS
DBSNMP
14 rows selected.

Similar Messages

  • RSA1 infosources under wrong SID after system copy and BDLS has run

    Hi – we are a BW3.5 SP#21 system on 10202 and hpux 11.23 (ia64).  We have an R/3 system connected to the BW system for extracts.  Extracts work fine in the productive environment.  So 1 production BW system, and 1 production R/3 system.  We also have sandbox copies of each made from database copies recently.  The environment is as follows:
    sid     client     current logical system name     original logical system name after "copy"     system role       
    BW1     100     FINPBW1100     --     Productive BW system       
    LH1     100     FINPLH1100     --     Productive R/3 system       
    LHU     100     FINPLHU100     FINPBW1100     sandbox BW system       
    LHI     100     FINPLHI100     FINPLH1100     sandbox R/3 system     
    LHU is a copy of BW1.  LHI is a copy of LH1.  There is only 1 working client in all systems.
    We recently did the copies, creating the LHU/LHI systems.  we've completed our "post refresh" checklist on LHU/LHI, including the BDLS work. 
    BDLS was ran as follows on LHU/100:
    >> convert FINPBW1100 &#61664; FINPLHU100
    >> convert FINPLH1100 &#61664; FINPLHI100
    BDLS was ran as follows on LHI/100:
    >> convert FINPBW1100 &#61664; FINPLHU100
    >> convert FINPLH1100 &#61664; FINPLHI100
    In RSA1 on sandbox LHU/100, in the "source system" area, the source systems to the sandbox R/3 system LHI/100 tests out ok if you do the check connection and the technical name for the sm59 it points to is correct.
    If I check the RSA1 --> Infosources though, and search for ‘LHI’….it doesn't find all the "expected" infosources/infopackages.
    If instead I search for ‘LH1’ it finds the whole list of "expected" infosources/infopackages.  But the R/3 system i'm trying to do extracts from is called "LHI" not "LH1".
    QUESTION:
    does anyone know what needs to happen to “convert” what we see in RSA1 --> Infosources when searching for ‘LH1’ to infosources that we can use which point to ‘LHI’ – it looks like all the data is there in RSA1 -->infosources, it just is under the wrong sid….thanks in advance

    Hi Ben,
    Sorry to hear that my suggestion did not help.  We will have to see what the other experts say!
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/bff13df2-0c01-0010-6ba7-bc50346a6fd8
    That link is to the document that I followed when setting up a BWQ system new, and we didn't encounter the same problem that you are experiencing.  We are also BW 3.5.
    I started on Page 17 which is where Section 3.7 starts.
    Hopefully that might help, although that may have been what you were following.
    Nick

  • Change Object Server in SLD after system copy and SLD move?

    Hello,
    we did the following:
    - we migrated the SLD to the production system in our landscape
    - we copied the NWDI to a new system
    - the old object server was named sapsrv88 (object server attribute in the SLD) which was the hostname of the old SLD server
    Do I have to change the object server attribute to the new hostname of the SLD? Does this have any influence on the software components that we allready developed?
    Thanks and best regards
    Jens

    Hello Jens,
    you can rename the object server - details you'll find in SAP note 935245
    When you rename it, the ID of the objects in the SLD is changed to the new ID, so normally you shouldn't have any problems with that.
    If you're unsure about it, you can backup your SLD content using "Administration => Content => Backup => All Instances" - that backs up everything under /sld/active
    or backup the software components you devoped using http://<hostname>:5<instance-no.>00/SCD/SCDownload
    Best regards
    Cornelia

  • DB13 problems after system copy

    Dear support,
    I have done system copy and followed post installation steps but i am not able to execute any job through DB13 even after setting ops$ mechanism.
    i get below job logs for any action started from DB13
    Job started
    Step 001 started (program RSDBAJOB, variant &0000000000002, user name SAP*)
    Execute log. command SAPDBA on host cssl-020
    __Parameters: -u / -checkopt PSAP%  -method E
    External program terminated with exit code 128
    SAPDBA returned error status E
    Job finished
    changes i made:
    I have deleted all ops$PRD users and created new ones as below for DEV
    DROP USER OPS$PRDADM CASCADE;
    create user OPS$DEVADM default tablespace psapuser1d
    temporary tablespace psaptemp identified externally;
    GRANT CONNECT, RESOURCE TO "OPS$DEVADM";
    DROP TABLE "OPS$PRDADM".SAPUSER;
    CREATE TABLE "OPS$DEVADM".SAPUSER
      (USERID VARCHAR2(256), PASSWD VARCHAR2(256));
    INSERT INTO "OPS$DEVADM".SAPUSER VALUES ('SAPR3','sap');
    alter user SAPR3 identified by sap;
    what else i should perform after this to get through , i have folllowed these steps from sap standard note.
    <b>Please let me know procedure in detail.</b>
    Best Regards,
    AjitR

    Hi Ajit,
    I beleive you made a copy form PRD to DEV system.
    Seems you missed out on creating OPS$ORADEV user.Execute the below steps again.
    sqlplus "/ as sysdba"
    shutdown
    startup open
    drop table ops$prdadm.sapuser;
    drop table ops$prdadm.cascade;
    drop table ops$oraprd.sapuser;
    drop table ops$oraprd.cascade;
    Now Setup OPS$CONNECT for ORADEV(with default password  for sapr3)
    CREATE USER OPS$ORADEV IDENTIFIED EXTERNALLY DEFAULT TABLESPACE PSAPUSER1D TEMPORARY TABLESPACE PSAPTEMP;
    GRANT CONNECT,RESOURCE,DBA TO OPS$ORADEV WITH ADMIN OPTION;
    CREATE TABLE "OPS$DEVADM".SAPUSER (USERID VARCHAR2(256),PASSWD VARCHAR2(256):
    INSERT INTO "OPS$DEVADM".SAPUSER VALUES ( 'sapr3', 'sap');
    <b>Now Setup OPS$CONNECT for DEVADM</b>
    CREATE USER OPS$DEVADM IDENTIFIED EXTERNALLY DEFAULT TABLESPACE PSAPUSER1D TEMPORARY TABLESPACE PSAPTEMP;
    GRANT CONNECT,RESOURCE,DBA TO OPS$DEVADM WITH ADMIN OPTION;
    COMMIT WORK;
    EXIT
    <b>Change the password of szstem/sapr3 to default</b>
    brconnect -u / -p initDEV.sap -1 D -f chpass -o system -p manager
    continue(press c)
    brconnect -u / -p initDEV.sap -1 D -f chpass -o sapr3 -p manager
    you need to initialise  ops$ for sap connection
    also start the DB in archive log mode and later remove the obsolete redo logs from oraarch .Check if your listener is up and running
    **Reward points accrodingly
    Junaid

  • J2ee engine does not start up after system copy

    Dear All,
    I have done a system copy of BW3.5 (NW04). I installed the BW.3.5 and then replaced the data and control files.
    This has ABAP + java.
    Now after system copy when i am starting the server, the J2ee instance doesnt start up.
    ABAP is running and DB is up too.
    I am getting the following error in log_bootstrap file:-
    Exception occured:
    com.sap.engine.bootstrap.SynchronizationException: Database initialization failed! Check database properties!
            at com.sap.engine.bootstrap.Bootstrap.initDatabaseConnection(Bootstrap.java:422)
            at com.sap.engine.bootstrap.Bootstrap.<init>(Bootstrap.java:144)
            at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:813)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
            at java.lang.reflect.Method.invoke(Method.java:391)
            at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
    ==[ Caused by: ]==----
    com.sap.engine.bootstrap.SynchronizationException: No such Dialog Instance (ID1125100) in the database! Check
    database consistency or local Bootstrap properties!
            at com.sap.engine.bootstrap.Synchronizer.getElementType(Synchronizer.java:81)
            at com.sap.engine.bootstrap.Bootstrap.initDatabaseConnection(Bootstrap.java:420)
            at com.sap.engine.bootstrap.Bootstrap.<init>(Bootstrap.java:144)
            at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:813)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
            at java.lang.reflect.Method.invoke(Method.java:391)
            at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
    [Aug 26, 2008 2:00:26 PM ] [Bootstrap module]> Problem occured while performing synchronization.
    [Aug 26, 2008 2:00:42 PM ] -
    [Aug 26, 2008 2:00:42 PM ] Bootstrap MODE:
    [Aug 26, 2008 2:00:42 PM ] <INSTANCE GLOBALS>
    [Aug 26, 2008 2:00:42 PM ]  determined by parameter [ID0011251].
    [Aug 26, 2008 2:00:42 PM ] -
    [Aug 26, 2008 2:00:46 PM ] Exception occured:
    com.sap.engine.frame.core.configuration.NameNotFoundException: A configuration with the path "cluster_data/di
    spatcher/ID1125100" does not exist.
            at com.sap.engine.core.configuration.impl.ConfigurationDataCacheAllImpl.getSubConfiguration(Configura
    tionDataCacheAllImpl.java:107)
            at com.sap.engine.core.configuration.impl.ReadAccessConfiguration.getSubConfiguration(ReadAccessConfi
    guration.java:715)
            at com.sap.engine.bootstrap.Synchronizer.getConfiguration(Synchronizer.java:365)
            at com.sap.engine.bootstrap.Synchronizer.getElementType(Synchronizer.java:78)
            at com.sap.engine.bootstrap.Bootstrap.initDatabaseConnection(Bootstrap.java:420)
            at com.sap.engine.bootstrap.Bootstrap.<init>(Bootstrap.java:144)
            at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:813)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
            at java.lang.reflect.Method.invoke(Method.java:391)
            at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
    What could the problem?. Do I need to do some other settings for system copy of JVA instance?
    Kindly help
    Thanks
    Tajinder

    Hi,
    I already checked that note. It did not help.
    I am pasting mine dev_jcontrol file:--
    trc file: "/usr/sap/BD1/DVEBMGS00/work/dev_jcontrol", trc level: 1, release: "640"
    node name   : jcontrol
    pid         : 868524
    system name : BD1
    system nr.  : 00
    started at  : Tue Aug 26 16:27:10 2008
    arguments   :
        arg[00] : jcontrol
        arg[01] : pf=/usr/sap/BD1/SYS/profile/BD1_DVEBMGS00_BWQAS
        arg[02] : -DSAPSTART=1
        arg[03] : -DCONNECT_PORT=64380
        arg[04] : -DLISTEN_PORT=64381
        arg[05] : -DSAPSYSTEM=00
        arg[06] : -DSAPSYSTEMNAME=BD1
        arg[07] : -DSAPMYNAME=BWQAS_BD1_00
        arg[08] : -DSAPPROFILE=/usr/sap/BD1/SYS/profile/BD1_DVEBMGS00_BWQAS
        arg[09] : -DFRFC_FALLBACK=ON
        arg[10] : -DFRFC_FALLBACK_HOST=localhost
    JStartupReadInstanceProperties: read instance properties [/usr/sap/BD1/DVEBMGS00/j2ee/cluster/instance.proper
    ties:/usr/sap/BD1/DVEBMGS00/SDM/program/config/sdm_jstartup.properties]
    -> ms host    : BWQAS
    -> ms port    : 3601
    -> OS libs    : /usr/sap/BD1/DVEBMGS00/j2ee/os_libs
    -> Admin URL  :
    -> run mode   : NORMAL
    -> run action : NONE
    -> enabled    : yes
    Used property files
    -> files [00] : /usr/sap/BD1/DVEBMGS00/j2ee/cluster/instance.properties
    -> files [01] : /usr/sap/BD1/DVEBMGS00/SDM/program/config/sdm_jstartup.properties
    Instance properties
    -> ms host    : BWQAS
    -> ms port    : 3601
    -> os libs    : /usr/sap/BD1/DVEBMGS00/j2ee/os_libs
    -> admin URL  :
    -> run mode   : NORMAL
    -> run action : NONE
    -> enabled    : yes
    Bootstrap nodes
    -> [00] bootstrap            : /usr/sap/BD1/DVEBMGS00/j2ee/cluster/instance.properties
    -> [01] bootstrap_ID1125100  : /usr/sap/BD1/DVEBMGS00/j2ee/cluster/instance.properties
    -> [02] bootstrap_ID1125150  : /usr/sap/BD1/DVEBMGS00/j2ee/cluster/instance.properties
    Worker nodes
    -> [00] ID1125100            : /usr/sap/BD1/DVEBMGS00/j2ee/cluster/instance.properties
    -> [01] ID1125150            : /usr/sap/BD1/DVEBMGS00/j2ee/cluster/instance.properties
    -> [02] sdm                  : /usr/sap/BD1/DVEBMGS00/SDM/program/config/sdm_jstartup.properties
    [Thr 01] Tue Aug 26 16:27:10 2008
    [Thr 01] SigISetDefaultAction : default handling for signal 20
    [Thr 01] JControlExecuteBootstrap: execute bootstrap process [bootstrap]
    [Thr 258] JControlDPMessageFunc: Thread 258 started as handler thread for R/3 dispatcher messages.
    [Thr 01] *** WARNING => Maximum Java heap size specified twice (through maxHeapSize and in javaParameters) -
    using -Xmx512m [jstartxx_mt. 2282]
    [Thr 01] [Node: bootstrap] java home is set by profile parameter
            Java Home: /usr/java14_64
    JStartupIReadSection: read node properties [bootstrap]
    -> node name       : bootstrap
    -> node type       : bootstrap
    -> java path       : /usr/java14_64
    -> java parameters : -Djco.jarm=1 -Djco.jarm=1
    -> java vm version : J2RE 1.4.2 IBM AIX 5L for PowerPC (64 bit JVM) build caix64142-20060421 (SR5) (JIT enabl
    ed: jitc)
    -> java vm vendor  : Classic VM (IBM Corporation)
    -> java vm type    : <default>
    -> java vm cpu     : ppc64
    -> heap size       : 512M
    -> root path       : /usr/sap/BD1/DVEBMGS00/j2ee/cluster
    -> class path      : ./bootstrap/launcher.jar
    -> OS libs path    : /usr/sap/BD1/DVEBMGS00/j2ee/os_libs
    -> main class      : com.sap.engine.offline.OfflineToolStart
    -> framework class : com.sap.bc.proj.jstartup.JStartupFramework
    -> registr. class  : com.sap.bc.proj.jstartup.JStartupNatives
    -> framework path  : /usr/sap/BD1/DVEBMGS00/j2ee/os_libs/jstartup.jar
    -> parameters      : com.sap.engine.bootstrap.Bootstrap ./bootstrap ID0011251
    -> debuggable      : yes
    -> debug mode      : no
    -> debug port      : 60000
    -> shutdown timeout: 120000
    JStartupStartJLaunch: program = /usr/sap/BD1/DVEBMGS00/j2ee/os_libs/jlaunch
    -> arg[00] = /usr/sap/BD1/DVEBMGS00/j2ee/os_libs/jlaunch
    -> arg[01] = pf=/usr/sap/BD1/SYS/profile/BD1_DVEBMGS00_BWQAS
    -> arg[02] = -DSAPINFO=BD1_00_bootstrap
    -> arg[03] = -file=/usr/sap/BD1/DVEBMGS00/j2ee/cluster/instance.properties
    -> arg[04] = -nodeName=bootstrap
    -> arg[05] = -nodeId=-1
    -> arg[06] = -syncSem=12582961
    -> arg[07] = -jvmOutFile=/usr/sap/BD1/DVEBMGS00/work/jvm_bootstrap.out
    -> arg[08] = -stdOutFile=/usr/sap/BD1/DVEBMGS00/work/std_bootstrap.out
    -> arg[09] = -locOutFile=/usr/sap/BD1/DVEBMGS00/work/dev_bootstrap
    -> arg[08] = -stdOutFile=/usr/sap/BD1/DVEBMGS00/work/std_bootstrap.out
    -> arg[09] = -locOutFile=/usr/sap/BD1/DVEBMGS00/work/dev_bootstrap
    -> arg[10] = -mode=BOOTSTRAP
    -> arg[11] = pf=/usr/sap/BD1/SYS/profile/BD1_DVEBMGS00_BWQAS
    -> arg[12] = -DSAPSTART=1
    -> arg[13] = -DCONNECT_PORT=64382
    -> arg[14] = -DLISTEN_PORT=64381
    -> arg[15] = -DSAPSYSTEM=00
    -> arg[16] = -DSAPSYSTEMNAME=BD1
    -> arg[17] = -DSAPMYNAME=BWQAS_BD1_00
    -> arg[18] = -DSAPPROFILE=/usr/sap/BD1/SYS/profile/BD1_DVEBMGS00_BWQAS
    -> arg[19] = -DFRFC_FALLBACK=ON
    -> arg[20] = -DFRFC_FALLBACK_HOST=localhost
    -> lib path = LIBPATH=/usr/java14_64/jre/bin:/usr/java14_64/jre/bin/classic:/usr/java14_64/jre/bin:/usr/sap/B
    D1/DVEBMGS00/j2ee/os_libs:/usr/sap/BD1/SYS/exe/run:/usr/sap/BD1/SYS/exe/runU:/usr/lib:/usr/sap/BD1/DVEBMGS00/
    j2ee/os_libs:/usr/sap/BD1/DVEBMGS00/j2ee/os_libs:/usr/lib:/lib:/usr/sap/BD1/SYS/exe/run:/usr/sap/BD1/SYS/exe/
    runU
    -> exe path = PATH=/usr/java14_64/bin:/usr/sap/BD1/DVEBMGS00/j2ee/os_libs:/oracle/BD1/920_64/bin:/usr/java14_
    64/bin:/home/bd1adm:/usr/sap/BD1/SYS/exe/runU:/usr/sap/BD1/SYS/exe/run:/usr/bin:/etc:/usr/sbin:/usr/ucb:/home
    /bd1adm/bin:/usr/bin/X11:/sbin:.
    [Thr 01] JStartupICreateProcess: fork process (pid 893002)
    [Thr 01] Tue Aug 26 16:27:18 2008
    [Thr 01] *** ERROR => invalid return code of process [bootstrap] (exitcode=66) [jstartxx_mt. 1433]
    [Thr 01] JControlExecuteBootstrap: error executing bootstrap node [bootstrap] (rc=66)
    [Thr 01] JControlCloseProgram: started (exitcode = 66)
    [Thr 01] JControlCloseProgram: good bye... (exitcode=66)
    DO i have to change the some settingdsin any file for java instance after system copy.
    Thanks
    Tajinder

  • After system copy u0131 see PSAPTEMP size is 0 from db02

    hi
    our system is sap ecc6 on oracle 10g  (aix 5.3)
    after system copy ı see psaptemp table size is 0.original size is 2gb from prod system
    using brtools ı added a new file for psaptemp then  ı did a  stop/start  and ı saw 2gb for psaptemp
    ı checked file location for psaptemp in file system  that it is ok.
    after every system copy should  I  did  this action ?
    have you got any ideas?

    Hi,
    Sounds like you did a tape restore from prod to QA
    Did you use  alter database backup controlfile to trace from your prod system for the rebuild ?
    At the base of the trace file there would  be the syntax to create the PSAPTEMP file.
    Looks like you have deleted that bit....
    No big worries if it's missing as long as you put it in before using the system in anger....
    Put in your notes to add the PSAPTEMP file in after  you opened the database sucessfully.
    Mark

  • Read sharing violation after System.exit in oracle lite DLL

    I am using JRE 1.3 and successfully managed running some sql statements over jdbc.
    When the java class is finished (implicit exit) then no error appears.
    When I exit the code using System.exit(0) there is a windows dialog
    showing a read access error AFTER the java class finished.
    probably there is some cleanup the oracle DLL wants to do after the JVM exited?
    Please help mailto:[email protected]
    The sample code below can be used.
    * Title:
    * Description:
    * Copyright: Copyright (c) 2001
    * Company:
    * @author Ivan Motsch
    * @version 1.0
    import java.util.*;
    import java.io.*;
    import java.sql.*;
    public class TestOracleLite{
    public TestOracleLite(){
         public void start(){
              Statement stm=null;
              Connection conn=null;
              try{
                   Properties p=new Properties();
                   p.setProperty("user","system");
                   p.setProperty("password","manager");
                   p.setProperty("DataDirectory","..\\..\\..\\TEMP\\ora4\\db");
                   p.setProperty("Database","ORS");
                   p.setProperty("IsolationLevel","Read Committed");
                   p.setProperty("Autocommit","Off");
                   p.setProperty("CursorType","Forward Only");
                   String ps=getPropertiesAsString(p);
              Class.forName("oracle.lite.poljdbc.POLJDBCDriver");
                   conn=DriverManager.getConnection("jdbc:polite:whatever"+ps);
                   execSql(conn,
                        "drop table test1 cascade"
                   execSql(conn,
                        "create table test1(pk number(32),ncol number(32),scol varchar2(2000),dcol date,rcol long raw)"
                   conn.commit();
                   execSql(conn,
                        "insert into test1(pk,ncol,scol,dcol,rcol) values(?,?,?,?,?)",
                        new Object[]{new Integer(1),new Integer(1111),"Test Text",new java.sql.Date(System.currentTimeMillis()),new byte[]{0,1,2,3,4,5,6,7,8,9,10}}
                   conn.commit();
                   readSql(conn,"select * from test1");
              catch(Exception e){
              e.printStackTrace();
              finally{
                   if(conn!=null){
                        try{
                        conn.close();
                             conn=null;
                        catch(Exception e){e.printStackTrace();}
         private static String getPropertiesAsString(Properties p){
              StringBuffer buf=new StringBuffer();
         for(Iterator it=p.keySet().iterator();it.hasNext();){
              String key=(String)it.next();
                   String val=p.getProperty(key);
                   buf.append(";"+key+"="+val);
              return buf.toString();
         public boolean execSql(Connection conn,String s){
              return execSql(conn,s,(Collection)null);
         public boolean execSql(Connection conn,String s,Object[] binds){
              ArrayList list=new ArrayList();
              if(binds!=null) list.addAll(Arrays.asList(binds));
         return execSql(conn,s,list);
         public boolean execSql(Connection conn,String text,Collection binds){
              PreparedStatement stm=null;
              try{
                   stm=conn.prepareStatement(text);
                   if(binds!=null){
                        int i=1;
                        for(Iterator it=binds.iterator();it.hasNext();){
                             Object o=it.next();
                             if(o==null){
                                  stm.setNull(i,Types.VARCHAR);
                             else if(o instanceof byte[]){
                                  stm.setBytes(i,(byte[])o);
                             else{
                                  stm.setObject(i,o);
                             i++;
                   boolean b=stm.execute();
                   System.out.println("status: "+(b?"ok":"failed"));
                   return b;
              catch(SQLException e){
                   System.out.println("status: "+"error"+" "+e);
                   return false;
              finally{
                   if(stm!=null) try{stm.close();}catch(Exception e){}
         public boolean readSql(Connection conn,String text){
              PreparedStatement stm=null;
              try{
                   stm=conn.prepareStatement(text);
                   ResultSet rs=stm.executeQuery();
                   ResultSetMetaData meta=rs.getMetaData();
                   System.out.print("col: ");
                   for(int i=1,n=meta.getColumnCount();i<=n;i++){
                        System.out.print(""+meta.getColumnName(i)+", ");
                   System.out.println();
                   while(rs.next()){
                        System.out.print("row: ");
                   for(int i=1,n=meta.getColumnCount();i<=n;i++){
                             System.out.print(""+rs.getObject(i)+", ");
                        System.out.println();
                   return true;
              catch(SQLException e){
                   System.out.println("status: "+"error"+" "+e);
                   return false;
              finally{
                   if(stm!=null) try{stm.close();}catch(Exception e){}
         static public void main(String[] args) {
              TestOracleLite t=new TestOracleLite();
              t.start();
              t=null;
              System.exit(0);

    Hi
    After system copy you need to do post system copy activities...
    Please follow according to the installation Guide..
    for example: your sld connection of your new system will be pointing to your source system. So you need to go to VA where in you can find SLD Data Supplier and change the host name, port no relavent to this  i.e. your destination system...i.e.
    new system.. In the same way you can follow doing the post installation activites will solve your issue.
    Regards
    Hari

  • Logical System Name after System Copy

    Hello,
    I have three questions about the logical system name after system copy.
    Q1) When I change SID D22 to S11 during system copy,
    do I have to change the logical system name of all clients in the target system? The target system is used for test, and the landscape has S11 and Virtial system. The target system S11 does not communicate with the source system D22.
    Q2)  If the answer for Q1 is YES, is it correct that the following procedure for changing logical system name?
    1.Tr-CD:BD54
       Add new logical system name for all clients in the target system.
    2.Tr-CD:SCC4
       As for all clients, select new logical system name with F4 help.
    Q3) If the answer for Q1 is YES, do I have to add new RFC connection entries with SM59 for all clients in the target system?
    I refer to the guide "Homogeneous and Heterogeneous
    System Copy for SAP Systems Based
    on SAP Web Application Server
    ABAP 6.40 SR1".
    thanks,
    Keishi

    Hi Keishi,
    As a good and ideal practice the answer to your first question Q1 is yes. Infact I would say that in case you are using ALE then it is must
    For Q2 there has to be an additional step which is most important one. Running BDLS transaction which would allow you to change logical systems in relevant tables from the one of source system to target system.
    For Q3  the answer is agaain yes and you can have two approaches>
    1. manually recreate all the RFC destinations after sys. copy.
    2. Export all the RFC destination data relevant tables before system copy and then reimport them after sys. copy.
    Regards.
    Ruchit.

  • User password problem in RFC after system copy

    HEllo,
    we have a problem in ECC6.0 after system copy (refresh QUAL system by PRD data).
    BEfore doing this copy, we export RFC data (SM59 tables) of our QUAL system and after the refresh we reimport these RFC in our QUAL system. We don't want RFC comming from productive system.
    After this reimport, RFC configuration is ok but we have a problem with RFCuser password. In the password box we have "inconsistent"...
    Have you an idea to reimport succesfully these informations ?
    Thanks
    lionel

    Hello,
    We performed another refresh yesterday. But unfortunatly it was not working. Password are still inconsistent.
    This are exactly way we perform it:
    Before restoring DB :
    export table via R3trans for tables:
    RFCDES, RFCDOC, RFCATTRIB, RFCCHECK, RFCDESSECU, RFCSYSACL, RFCTRUST, RFCCMC, RFCGO, SXRFC, IBSSI_RFCDEST, PARAMVALUE, RSECACTB where ident LIKE '___/RFC%'
    export users via scc8
    Restore DB, truncate upper rfc tables,  import rfc Tables
    Check SM59 => inconsistent
    Migrate Secstore => still inconsistent
    Import Users via transport generated by scc8
    run scc7 as post actions
    Tuncatate/re-import rfc tables
    Check SM59 => inconsistent
    Migrate Secstore => still inconsistent
    What else could be done ?
    We have a lot of RFC. so re-enter all password is really a hudge task ..
    Thanks a lot for help

  • Problems with Java dialog instance after System Copy

    Hi Folks,
    I've performed a System Copy from PRD to QAS both ABAP and JAVA Stack (Netweaver 2004s SEM-BW). The ABAP is up and running and the central instance JAVA too. But there was two applications (dialog instances JAVA) that desappeared after the HSC. I can't see them in Visual Administrator and can' t start them as well.
    Will you give a hand on it? I know this is a pretty weird situation but if somebody experienced this please help me. As far as I know I've double-check the procedure used for this System Copy and everything has been followed.
    Best regards,

    Hi Prem,
    Yes, this sap note is very useful, but there is no reference to Java Dialog Instance, which in this case SAP said that we need to re-install all Dialog instance, in my case I have two Appl Servers which has Java Dialog Instance installed so I have to re-install twice.
    Regards,
    Washington Neves

  • Cube is still assigned to original system after system copy

    Hello Experts,
    After system copy (BW and ECC), some cubes are still assigned to the original system.
    Displaying the flow, the cube is assigned to the new system and the original one and the error message RSAR203 "Source system & (old one) does not exist" is araised.
    I see that RFC connexion with original system are still in the system (were not deleted by basis team).
    I have this problem only for cubes.
    Any idea how can i fix this issue?
    Thank you in advance.
    Edited by: SALHI Amal on Oct 13, 2011 11:37 AM

    HI,
    You can try the tcode 'bdls'. in this tcode you copy all tables to new source system.
    Regards,
    AleX

  • License Error after system copy

    Hi,
         After system copy licensing the sap giving this error.
    MLICHECK0 in *LIBL type *FILE not found.            
    MLICHECK__0 in *LIBL type *FILE not found.          
    MLICHECK~I1 in *LIBL type *FILE not found.          
    MLICHECK in R3BDDDATA type *FILE already exists.    
    Alternative name for file MLIC0002 not allowed.     
    "MLICHECK~0" in R3BDDDATA type *FILE already exists.
    Help me to solve the issue.
    Thanks and Regards
    G Singh

    Hi G Singh,
    this error message "smells" extremly like RCLSTG *DBXREF !
    If this problem is still your pronblem, I would run this command - in restricted mode - takes only about 30-60 minutes ...
    Regards
    Volker Gueldenpfennig, consolut international ag
    http://www.consolut.net - http://www.4soi.de - http://www.easymarketplace.de

  • Post processing after system copy from standalone to cluster enviornment

    Hi,
    I have done a system copy(Backup restore method) from a standalone quality BW (QBW) system to cluster environment (TBW).
    The steps I have followed as follows.
    . setup the machines in the cluster environment  ( Windows 2003 EE server,sql 2005 SP3)
    . Backup the current database in the source system
    . Given a different SID (TBW) during the System copy installation .its a dual stack installation.
    . Restore the database in the target system and select the back up restore method during the system copy database installation step.
    .The installation completed successfully and i m having some doubts regarding the post processing steps after this .
    We want to retain the same client in the target system ,for this i need to rename the  logical name .Kindly assist me for changing the logical name for the extraction of BW delta process from extraction server to BW system and also the other steps I have to follow after system copy.
    Thanks
    Arun Padikkal

    Hi Arun,
    You should probably post this question in a basis forum.
    Cheers,
    Diego

  • Errors after system copy ...

    Dear all,
    envi---         AIX 5.3 & oracle 10.2  -
      ECC 6.0SR1    ABAP ........only
    I have restored a backup of PRD to QAS successfully ... for system copy...
    I have created ops$ users with following statments..
    create user ops$qlyadm identified externally default tablespace PSAPSR3USR temporary tablespace PSAPTEMP quota unlimited on PSAPSR3USR  (  sidadm)
    create user ops$oraqly identified externally default tablespace PSAPSR3USR temporary tablespace PSAPTEMP quota unlimited on PSAPSR3USR  ( orasid  )
    Successfully created control file & managed to take the database up...
    Enter user-name: / as sysdba
    Connected to an idle instance.
    SQL> startup
    ORACLE instance started.
    Total System Global Area 1728053248 bytes
    Fixed Size                  2071840 bytes
    Variable Size             872415968 bytes
    Database Buffers          838860800 bytes
    Redo Buffers               14704640 bytes
    Database mounted.
    Database opened.
    SQL>
    after the following action when i tried to startsap. with user sidadm the following is the message..
    Checking QLY Database
    ABAP Database is not available via R3trans
    Starting SAP-Collector Daemon
    Start of saposcol failed
    Running /usr/sap/QLY/SYS/exe/run/startdb
    Trying to start QLY database ...
    Log file: /home/qlyadm/startdb.log
    /usr/sap/QLY/SYS/exe/run/startdb: Terminating with error code 12
    DB startup failed
    athomedev:qlyadm 26>
    As a result when i checked startdb.log the following is the message.......
    Fri May 29 16:03:32 IST 2009
    starting database
    SQL*Plus: Release 10.2.0.2.0 - Production on Fri May 29 16:03:32 2009
    Copyright (c) 1982, 2005, Oracle.  All Rights Reserved.
    Connected to an idle instance.
    ORA-10997: another startup/shutdown operation of this instance inprogress
    ORA-09967: unable to create or open lock file
    IBM AIX RISC System/6000 Error: 13: Permission denied
    Disconnected
    Fri May 29 16:03:32 IST 2009
    Connect to the database to verify, that the database is now open
    R3trans check finished with return code: 12
    ERROR: Startup of database failed
        Notify Database Administrator.
    /usr/sap/QLY/SYS/exe/run/startdb: Terminating with error code 12
    Request to advice me on the following  & also advice me the way i created ops$ users is that right way or not..
    rgds,
    rahul...
    Edited by: Rahul on May 29, 2009 4:21 PM

    Dear all,
    thanx for sharing,, I have actually odnea mistake after system copy. I tried to make the system up with  out creating ops$ suer.
    I have followed notes
    361641 Creating OPS$ users on UNIX & created ops$ created ops$ user with automated script & from attchment provided in Note 50088 - Creating OPS$ users on Windows NT/Oracle
    after that
    alter sytem sapr3 account unlock;
    system is up & runnig.
    regards
    ravi kiran

  • Change logical system names after system copy

    Hi!
    We successfully installed SAP ECC 6.0 system as system copy.
    All the logical system names of old system have been copied to new system.
    Question
    What is the approach to change the logical system names for new SAP system?
    a) just via tcode SCC4
    b) via BDLS
    c) other tcodes, reports
    Thank you very much!
    regards
    Jürgen

    Hi,
    Go though the system copy guide.
    http://service.sap.com/instguides
    After system copy,
    If you need to change logical system names in the system that results from the copy, change the logical system names as described in SAP Notes 103228 and 544509.
    https://service.sap.com/sap/support/notes/103228
    https://service.sap.com/sap/support/notes/544509
    Before running BDLS to change the logical system name, you have to define the correct logical system name in the new copied system. in tcode BD54.
    - while running BDLS, execute in background.
    Regards,
    Debasis.

Maybe you are looking for

  • Trying to understand the issue

    Under 10.5.1 I used TM to back to a external USB drive off my PC. It worked fine. Along comes 10.5.2 and that fails. Finally heard about creating the sparse image on my machine and copied it to the drive and then the backups went well again. Unfortun

  • NFS: server reboot - client problem with "file handle" - no unmont

    Hello, when I restart a NFS-server and a client has a NFS-share on it still mounted, that NFS-share becomes unusable on the client: everything causes the client complain about an old "file handle", even trying to unmount that share! So my question is

  • Filter Data with Date range.Dates are selected in user form

    Does anybody could help me to create a user form, that user could select the date and time from either calendar or other control button (from Userform control Toolbox) and the VBA code would filter the data on Excel SpreadSheet depending on input...

  • IPod crashes in the background

    Has anyone experienced music abruptly stopping in the background when you're using other applications such as Safari while listening to music? I can consistently repro this issue even after I power cycle the phone. I wonder if this is a bug or a prob

  • One password, three sets of bookmarks

    Friends, I have an ipad and am the computer guy in the family.  I am giving my wife my old ipad and we are going to buy our son and ipad mini.  I would like to use my username/password combination for all three devices to keep them synced, etc.  Howe