System Refresh in SQL
I am doing a Homogeneous PRD to QA refresh in R/3 4.7 . The database is SQL server 2000. Can somebody please tell me ASAP the steps needed for this refresh. Thank you
You question is a bit away from the main subject of this forum. Unfortunately I don't know if there is a forum that deals with R/3 Installation/Upgrade issues.
PS: From my time in installation group I know that what you want to do is called "R3COPY" and consists of sp_detach_db / sp_attach_db and a couple of reports that allign to the new SID. But I no clue if/how this is supported by SAPINST.
Similar Messages
-
Dear All;
I am in the post activities of SAP system refresh.
I restored the system using brtools successfully as you can see below:
then I went with the rest of the steps based on sap recomendations, and reached to SAP sql queries:
CREATE USER "OPS$<DOMAIN>\<SID>ADM" DEFAULT TABLESPACE SYSTEM TEMPORARY TABLESPACE PSAPTEMP IDENTIFIED EXTERNALLY;
CREATE USER "OPS$<DOMAIN>\SAPSERVICE<SID>" DEFAULT TABLESPACE SYSTEM TEMPORARY TABLESPACE PSAPTEMP IDENTIFIED EXTERNALLY;
GRANT CONNECT, RESOURCE, SAPDBA TO "OPS$<DOMAIN>\<SID>ADM";
GRANT CONNECT, RESOURCE, SAPDBA TO "OPS$<DOMAIN>\SAPSERVICE<SID>";
CREATE TABLE "OPS$<DOMAIN>\<SID>ADM".SAPUSER (USERID VARCHAR2(256), PASSWD VARCHAR2(256));
INSERT INTO "OPS$<DOMAIN>\<SID>ADM".SAPUSER VALUES ('SAPSR3', '<Password>');
CREATE SYNONYM "OPS$<DOMAIN>\SAPSERVICE<SID>".SAPUSER FOR "OPS$<DOMAIN>\<SID>ADM".SAPUSER;
CONNECT /
GRANT SELECT, UPDATE ON "OPS$<DOMAIN>\<SID>ADM".SAPUSER TO "OPS$<DOMAIN>\SAPSERVICE<SID>";
CONNECT /as sysdba
GRANT CONNECT, RESOURCE TO "OPS$<DOMAIN>\SAPSERVICE<SID>";
GRANT CONNECT, RESOURCE TO "OPS$<DOMAIN>\<SID>ADM";
I checked if all users are on opened state using select USERNAME,ACCOUNT_STATUS from dba_users;
The database is running file, and it is opened, but when I run R3trans -d it gives me RC 12 and i get this error:
*** ERROR => CONNECT failed with sql error '1017'
set_ocica() -> SQL error code 1017
-->oci_get_errmsg (con=0, rc=1017)
OCIErrorGet -> SQL error code: 1017
ORA-01017: invalid username/password; logon denied
DbSlConnect(con=0) -> orc=0, 99=DBSL_ERR_DB
***LOG BY2=>sql error 1017 performing CON
***LOG BY0=>ORA-01017: invalid username/password; logon denied
I used brconnect -u / -f chpass -o PSAPSR3 -p sap so i can reset the password, but still I am getting the same invalid username or password error.
I checked the listener status, and it is running.
Kindly let me know how I can fix my error
Best Regards
~Amal AlounDear Gaurav;
I am running SAP Kernel 720 64bit unicode PL300
The content of my trans log file is the following:
4 ETW000 r3trans version 6.23 (release 720 - 15.05.12 - 20:12:03).
4 ETW000 unicode enabled version
4 ETW000 ===============================================
4 ETW000
4 ETW000 date&time : 05.08.2014 - 17:50:30
4 ETW000 control file: <no ctrlfile>
4 ETW000 R3trans was called as follows: r3trans -d
4 ETW000 trace at level 2 opened for a given file pointer
4 ETW000 [ dev trc,00000] Tue Aug 05 17:50:30 2014 149 0.000149
4 ETW000 [ dev trc,00000] db_con_init called 27 0.000176
4 ETW000 [ dev trc,00000] set_use_ext_con_info(): rsdb/ssfs_connect not set => ssfs not used 41 0.000217
4 ETW000 [ dev trc,00000] determine_block_commit: no con_hdl found as blocked for con_name = R/3
4 ETW000 28 0.000245
4 ETW000 [ dev trc,00000] create_con (con_name=R/3) 14 0.000259
4 ETW000 [ dev trc,00000] Loading DB library 'dboraslib.dll' ... 44 0.000303
4 ETW000 [ dev trc,00000] DlLoadLib success: LoadLibrary("dboraslib.dll"), hdl 0, addr 000007FEF1650000
4 ETW000 947 0.001250
4 ETW000 [ dev trc,00000] using "E:\usr\sap\TST\SYS\exe\uc\NTAMD64\dboraslib.dll" 18 0.001268
4 ETW000 [ dev trc,00000] Library 'dboraslib.dll' loaded 19 0.001287
4 ETW000 [ dev trc,00000] function DbSlExpFuns loaded from library dboraslib.dll 23 0.001310
4 ETW000 [ dev trc,00000] Version of 'dboraslib.dll' is "720.00", patchlevel (0.215) 242 0.001552
4 ETW000 [ dev trc,00000] function dsql_db_init loaded from library dboraslib.dll 26 0.001578
4 ETW000 [ dev trc,00000] function dbdd_exp_funs loaded from library dboraslib.dll 34 0.001612
4 ETW000 [ dev trc,00000] New connection 0 created 237 0.001849
4 ETW000 [ dev trc,00000] 0: name = R/3, con_id = -000000001, state = DISCONNECTED, tx = NO , bc = NO , hc = NO , perm = YES, reco = NO , frco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO , prog =
4 ETW000 56 0.001905
4 ETW000 [ dev trc,00000] db_con_connect (con_name=R/3) 20 0.001925
4 ETW000 [ dev trc,00000] determine_block_commit: no con_hdl found as blocked for con_name = R/3
4 ETW000 25 0.001950
4 ETW000 [ dev trc,00000] find_con_by_name found the following connection: 16 0.001966
4 ETW000 [ dev trc,00000] 0: name = R/3, con_id = 000000000, state = DISCONNECTED, tx = NO , bc = NO , hc = NO , perm = YES, reco = NO , frco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO , prog =
4 ETW000 36 0.002002
4 ETW000 [ dev trc,00000] -->DbSlConnect(vers=-1, type=0, env='[default env]', userid='[default usr]')
4 ETW000 53 0.002055
4 ETW000 [ dev trc,00000] DIR_CLIENT_ORAHOME is not set as profile nor env. parameter. 574 0.002629
4 ETW000 Assuming using instant client with unspecified location.
4 ETW000 [ dev trc,00000] Register application info. 97 0.002726
4 ETW000 [ dev trc,00000] Oracle client version: 10.2.0.4.0, (dbsl 720 220612, UNICODE[2]) 10033 0.012759
4 ETW000 [ dev trc,00000] Detailed Oracle client (patch) info not available. 30 0.012789
4 ETW000 [ dev trc,00000] Default connection: tnsname ='TST' 73 0.012862
4 ETW000 [ dev trc,00000] -->oci_initialize(con=0, char='UTF16', nchar='AL16UTF16', nls=-1),uc_ln=2
4 ETW000 50 0.012912
4 ETW000 [ dev trc,00000] OCIEnvCreate(mode=16384=OCI_UTF16) returned 0 (for default NLS handle)
4 ETW000 1828 0.014740
4 ETW000 [ dev trc,00000] OCIHandleAlloc(OCI_HTYPE_ERROR, con=0, ErrHp=027944B0) 58 0.014798
4 ETW000 [ dev trc,00000] OCIHandleAlloc(OCI_HTYPE_ERROR, con=0, ErrBt=02796088) 36 0.014834
4 ETW000 [ dev trc,00000] NLS env. settings: lang=41004D00450052004900430041004E00 167 0.015001
4 ETW000 [ dev trc,00000] terr=41004D0045005200490043004100 29 0.015030
4 ETW000 [ dev trc,00000] char=55005400460031003600 22 0.015052
4 ETW000 [ dev trc,00000] Client NLS setting (by OCINlsGetInfo(con=0)): 'AMERICAN_AMERICA.UTF16'
4 ETW000 43 0.015095
4 ETW000 [ dev trc,00000] charset='UTF16', ncharset='AL16UTF16', UNI_ASC=FALSE 19 0.015114
4 ETW000 [ dev trc,00000] Logon as OPS$-user to get SAPSR3's password 28 0.015142
4 ETW000 [ dev trc,00000] Connecting as /@TST on connection 0 (nls 0) ... (dbsl 720 220612, UNICODE[2])
4 ETW000 61 0.015203
4 ETW000 [ dev trc,00000] OCIHandleAlloc(OCI_HTYPE_SVCCTX, con=0, svchp=02795F48) 370 0.015573
4 ETW000 [ dev trc,00000] Allocating server context handle 31 0.015604
4 ETW000 [ dev trc,00000] Attaching to database server TST (con=0, svchp=02795F48, srvhp=0279EFF8)
4 ETW000 74 0.015678
4 ETW000 [ dev trc,00000] Assigning server context 0279EFF8 to service context 02795F48 30008 0.045686
4 ETW000 [ dev trc,00000] OCIHandleAlloc(OCI_HTYPE_SESSION, con=0, usrhp=027ABBE0) 86 0.045772
4 ETW000 [ dev trc,00000] Starting user session: OCISessionBegin(con=0, usr='/', svc=02795F48, srv=0279EFF8, usr=027ABBE0)
4 ETW000 40 0.045812
4 ETW000 [ dev trc,00000] OCISessionBegin(OCI_DEFAULT) failed with -1=OCI_ERROR 28164 0.073976
4 ETW000 [ dev trc,00000] OCISessionBegin(OCI_DEFAULT) failed with SQL error 1017: 95 0.074071
4 ETW000 [ dev trc,00000] ORA-01017: invalid username/password; logon denied
4 ETW000 39 0.074110
4 ETW000 [ dbsloci.,00000] *** ERROR => CONNECT failed with sql error '1017' 38 0.074148
4 ETW000 [ dev trc,00000] set_ocica() -> SQL error code 1017 19 0.074167
4 ETW000 [ dev trc,00000] -->oci_get_errmsg (con=0, rc=1017) 20 0.074187
4 ETW000 [ dev trc,00000] OCIErrorGet -> SQL error code: 1017 57 0.074244
4 ETW000 [ dev trc,00000] ORA-01017: invalid username/password; logon denied
4 ETW000 39 0.074283
4 ETW000 [ dev trc,00000] Info: 99=DBSL_ERR_DB, oerr=1017, try to connect with default password.
4 ETW000 38 0.074321
4 ETW000 [ dev trc,00000] Connecting as SAPSR3/<pwd>@TST on connection 0 (nls 0) ... (dbsl 720 220612, UNICODE[2])
4 ETW000 30 0.074351
4 ETW000 [ dev trc,00000] Assigning username to user session: con=0, usrhp= 027ABBE0 23 0.074374
4 ETW000 [ dev trc,00000] Assigning password to user session: con=0, usrhp=027ABBE0 36 0.074410
4 ETW000 [ dev trc,00000] Starting user session: OCISessionBegin(con=0, usr='SAPSR3', svc=02795F48, srv=0279EFF8, usr=027ABBE0)
4 ETW000 133 0.074543
4 ETW000 [ dev trc,00000] Tue Aug 05 17:50:40 2014 9992977 10.067520
4 ETW000 [ dev trc,00000] OCISessionBegin(OCI_DEFAULT) failed with -1=OCI_ERROR 33 10.067553
4 ETW000 [ dev trc,00000] OCISessionBegin(OCI_DEFAULT) failed with SQL error 1017: 85 10.067638
4 ETW000 [ dev trc,00000] ORA-01017: invalid username/password; logon denied
4 ETW000 37 10.067675
4 ETW000 [ dbsloci.,00000] *** ERROR => CONNECT failed with sql error '1017' 29 10.067704
4 ETW000 [ dev trc,00000] set_ocica() -> SQL error code 1017 19 10.067723
4 ETW000 [ dev trc,00000] -->oci_get_errmsg (con=0, rc=1017) 18 10.067741
4 ETW000 [ dev trc,00000] OCIErrorGet -> SQL error code: 1017 55 10.067796
4 ETW000 [ dev trc,00000] ORA-01017: invalid username/password; logon denied
4 ETW000 52 10.067848
4 ETW000 [ dev trc,00000] DbSlConnect(con=0) -> orc=0, 99=DBSL_ERR_DB 22 10.067870
4 ETW000 [ dblink ,00000] ***LOG BY2=>sql error 1017 performing CON 58 10.067928
4 ETW000 [ dblink ,00000] ***LOG BY0=>ORA-01017: invalid username/password; logon denied 22 10.067950
2EETW169 no connect possible: "DBMS = ORACLE --- dbs_ora_tnsname = 'TST'"
Best Regards
~Amal Aloun -
System Refresh SAPINST.exe error ExeProcs was executed with status Error
Hi Everyone,
As part of system refresh, our QA ECC is restored with Production Data backup. In this process, sapinst.exe is executed to perform homogeneous system copy steps. This process is being terminated with error at the step *"Create SAP stored procedures"*.
The error being displayed is as follows:
An error occurred while processing option SAP Toools for MS SQL Server > Database Copy Completion( Last error reported by the step: Errors when executing sql command: [Microsoft][ODBC SQL Server Driver][SQL Server]The specified @job_name ('SAP CCMS_qpe_QPE_Update_Tabstats') does not exist.
SOLUTION: If this message is displayed as a warning, you can ignore it. If this is an error, contact SAP support.
). You can now:
Choose Retry to repeat the current step.
Choose View Log to get more information about the error.
Stop the option and continue with it later.
Log files are written to C:\Program Files/sapinst_instdir/MSS/CPY.
sapinst.log file contains following information:
INFO 2010-11-06 17:40:30
Copied file 'C:/Program Files/sapinst_instdir/ERP/LM/COPY/MSS/SYSTEM/DISTRIBUTED/AS-ABAP/DB/inifile.xml' to 'C:/Program Files/sapinst_instdir/ERP/LM/COPY/MSS/SYSTEM/DISTRIBUTED/AS-ABAP/DB/inifile.4.xml'.
INFO 2010-11-06 17:40:30
Copied file 'C:/Program Files/sapinst_instdir/ERP/LM/COPY/MSS/SYSTEM/DISTRIBUTED/AS-ABAP/DB/inifile.xml' to 'C:/Program Files/sapinst_instdir/ERP/LM/COPY/MSS/SYSTEM/DISTRIBUTED/AS-ABAP/DB/inifile.5.xml'.
INFO 2010-11-06 17:40:31
Execute step
Component W2K_ServicePack_Check|ind|ind|ind|ind
Preprocess of component |NW_ABAP_DB|ind|ind|ind|ind|0|0|NW_First_Steps|ind|ind|ind|ind|0|0|W2K_ServicePack_Check|ind|ind|ind|ind|2|0.
INFO 2010-11-06 17:40:41
Copied file 'C:/Program Files/sapinst_instdir/ERP/LM/COPY/MSS/SYSTEM/DISTRIBUTED/AS-ABAP/DB/keydb.xml' to 'C:/Program Files/sapinst_instdir/ERP/LM/COPY/MSS/SYSTEM/DISTRIBUTED/AS-ABAP/DB/keydb.3.xml'.
INFO 2010-11-06 17:40:41
Execute step ExeProcs of component |NW_ABAP_DB|ind|ind|ind|ind|0|0|NW_CreateDBandLoad|ind|ind|ind|ind|8|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_MSS_DB|ind|ind|ind|ind|2|0|MssSysCopy|ind|ind|ind|ind|10|0|MssProcs|ind|ind|ind|ind|4|0.
ERROR 2010-11-06 17:40:58
FCO-00011 The step ExeProcs with step key |NW_ABAP_DB|ind|ind|ind|ind|0|0|NW_CreateDBandLoad|ind|ind|ind|ind|8|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_MSS_DB|ind|ind|ind|ind|2|0|MssSysCopy|ind|ind|ind|ind|10|0|MssProcs|ind|ind|ind|ind|4|0|ExeProcs was executed with status ERROR .
Our Environment details:
SAP Version : ECC6
OS : Microsoft windows server 2003
DB : Microsoft SQL Server 2005.
Can some please guide me in debugging this issue. Your help is highly appreciated.
Thanks a lot in advance.
Kind Regards,
Bharani.Hi Satya,
Thank you for the reply. QA in our landsacpe was in use since 2008. Serveral times system refresh is carried out on our QA with production data but never came accross this issue.
Usually if the SAPINST.exe run is successfull, temperory licence will be installed and we will be allowed to login into the sytem with our user names normally and carry out post installation steps.
As the SAPISNT.exe is being terminated, temperory license is not being installed and we got to work around by including parameter to allow default sap* userid and password to login and install license and carry on with the post installation steps. To be frank this issue is not really a show stopper, but there seems to be an issue that is to be resolved.
Thank you,
Kind Regards,
Bharani. -
System Refresh Precautions?
Hi,
During system refresh, are all types of data - master data, transaction data as well as <b>customising data</b> get refreshed from prouduction environment?
Could you please suggest what is best way to get back project specific new customising data on a refreshed environment? Is there some sap recommended best practice on this.
regards,
KarthikHi Please go through. This will give you exhaustive information. After refresh we used this to get back the required system specific customizations.
Refresh from PR1 to QA1
1. Before the copy
 Note down customer key, Installation number and license key - Done
LICENSE system: QA1
Customer key: L1985917776
Expiration_date: 99991231
Installation no: 0020065063
Key: GKRZ25H353129JYX8HCJRS13
Productid: R3_ORA
license useable ***
(directory: \usr\sap\QA1\SYS\exe\run)
(run command: saplicense show)
Team Involved: SAPDBA
 Download RFC tables - To be done
Tables rfcattrib, rfcdes and rfcdoc have been exported using sapdba on QA1 and the corresponding files are kept in a new temporary directory: /oracle/QA1/rfc_dest. After the system copy, these files have to be moved from /oracle/QA1/rfc_dest to /oracle/QA1/sapreorg and then the tables can be imported into QA1, to revert back to the RFC destination information as it is now.
Steps : 1)login with oraqa1
2) type sapdba
3) select e - Export/import
Perform this step two days before the scheduled refresh.
Team Involved: SAPDBA
 Backup user master records in QA1 - To be done
Procedure : login to QA1 400.
Execute Transaction code: SCC8 (CLIENT EXPORT)
Selected profile: SAP_USER
Target system: QA1/DV1(safety backup)
Perform this step two days before the scheduled refresh.
Team Involved: SAPDBA
 Compare filesystem spaces - Done
Team Involved: SAPDBA
 Compare transports To be done
Team Involved: SAPDBA
 OPERATION MODES(RZ04) Done
Existing QA1 operation modes.
Team Involved: SAPDBA
 Successful backup of PR1 To be done
A successful offline backup has been scheduled on *** and that backup will be restored on to QA1 by the Unix team.
Team Involved: USTO
 System messages/E-mails To be done
SM02- CREATE A TEST MESSAGE IN PR1
Two days before the scheduled refresh perform this step.
Team Involved: SAPDBA
 Delete the existing datafiles on QA1 To be done
Login as qa1adm and execute stopsap
Login as oraqa1 and execute:
lsnrctl stop
rm rf sapdata?/*
Team Involved: SAPDBA
2. The copy To be done
Copy all the datafiles from /oracle/PR1/sapdata? To /oracle/QA1/sapdata?
Owner, group and permissions of the new files/directories to be maintained as before
Copy Command: rcp p /oracle/PR1/sapdata* Sierra: /oracle/QA1/sapdata*
(NOTE: If errors occur when restoring/copying the sapdata on the target system, the complete restore/copying has to be repeated.)
Team Involved: UNIX FOF/USTO
3. After the copy To be done
 Creating the control file on PR1 To be Done
Login as pr1adm and execute the following in svrmgrl
connect internal
alter database backup controlfile to trace;
exit
FILE created under the following Location: \ORACLE\PR1\saptrace\usertrace\ <pr1_ora_xxxx>.trc chose the latest run
ftp the file onto desktop
Team Involved: SAPDBA
 Edit the control file To be done
Here is the edited control file:
Team Involved: SAPDBA
 Creating the control file on QA1 - To be done
Login as oraqa1 ftp the file to /oracle/QA1 and execute the following in svrmgrl
connect internal
@control.sql
alter database open resetlogs;
lsnrctl start
exit
Login as qa1adm and execute startsap
Team Involved: SAPDBA
 Post system copy activities
License installation - to be done
Login with user qa1adm
Goto /usr/sap/QA1/SYS/exe/run
command: saplicense install
Installation check (Transaction SICK)
SE06 > Database Copy or Migration > Post Installation Processing
Delete entries from tables: DBSTATHORA, DBSTAIHORA, DBSTATIORA, DBSTATTORA, MONI, PAHI, OSMON, DBSNP, SDBAH, SDBAD, SDBAP, SDBAR, DDLOG, TPFET, TLOCK and TPFHT
Initial SAP consistency check (Transaction SM28)
Database consistency check (Transaction DB02)
Server check (Transaction SM51)
TMS configuration
Logon to the SAP R/3 System and goto TCODE SE06. Select "Database Copy or Migration" and execute "Post Installation Processing".
Delete old TMS configuration and make new configuration for TMS via STMS TCODE.
Logical system set-up and BDLS
Delete logical system for client 400 after system refresh and create new logicalsystem and assigned to client 400.
After refresh: LOGSYS400(logical system for client 400)
Delete this logical system and create new logical system
New logical system: QA1CLNT400 (logical system same before refresh in QA1)
ITS and Bugseye settings
RFC destinations as per Appendix (import the exported tables and then delete the temporary directory /oracle/QA1/rfc_dest)
Logon load balancing(Transaction SMLG)
Instance profiles
Import profiles from active servers using RZ10
Save and Activate instance profile. And restart the sap services.
CCMS configuration
Housekeeping jobs
Background jobs(daily jobs)
Application jobs
Printer/spool/TemSe set-up
User administration
The transports are imported implicitly in post processing with transaction
SCC7.
Transport sequence number set-up
Mass transport and Support package/patch application.
Re-import transports to QA1 from DV1 which are not available in PR1.
Manual configuration
Create the rest of the clients:
o 400 UAT/OAT Live Copy
New client 340 to be created with the following settings.
Source client: 400
Target client :340
Profile: SAP_UCSV
COPY MODE: local copy
Team Involved: SAPDBA -
System refresh of abap+java
Hi gurus,
I am trying to do the system refresh for ecc6.0 abap + java .I did the abap part with the oracle specific method where we restore the data files and run the control.sql command . But for the java part i am confused on what option i had tried to select abapJava and do an export and then when i am importing it with the abapJava option it is also doing the restoration of abap stack . If i select only java it is trying to create a instance JC00 which i dont want , Is there a method where i can only export the java stack and import into the abap system that was refreshed using the oracle restore method ?
Thanks in advancetry following this:
JAVA Refresh Procedure On SRC system
1) Execute the following command after navigating to the SAPinst directory to the JAVA export using SAPinst.
a. sapinst.exe product_cp.catalog
The export procedure is as follows
1) Specify the SID name and export directory
2) To take the export without stopping the JAVA process, uncheck the check box
On TRG System Preparations
1) Copy the export from the SRC export directory to the TRG system
2) The JAVA versions should be same on SRC and TRG
Import procedure is as follows
Execute the following command on the TRG system after navigating to the SAPinst in the Master DVD
sapinst.exe product_cp.catalog
Check for the TRG system SID for example TAJ
Note:
1) Ensure that the SAP system is up and running.
2) Ensure that temporary tablespace u201CPSAPTEMPu201D is not empty
After completing the import successfully, restart the SAP system.
Rohit -
Portal down after system refresh
Hello all,
We have done a system refresh for QAS from PROD for BI with export import of the backup into test. Everything was ok and refreshed BI is working fine but the SAP BI PORTAL is down. Nothing it is working. I can`t acces the link of the portal nor the visual admin nor configtool. Can you help us making the test working. I know a solution of reinstalling the portal with sapinst but i do not belive that this is the only solution.
The Test Portal have nothing changed. It is the same like it was but the BIT has changed a lot. Can anybody give some ideas how to make it work?
I give you some information found in logs:
dev_jrfc.trc : Return code: RFC_FAILURE(1)
error group: 102
key: RFC_ERROR_COMMUNICATION
Error> occured >Tue Aug 24 09:21:56,809<
RfcException:
message: Connect to SAP gateway failed
Connect_PM TYPE=A ASHOST=localhost SYSNR=11 GWHOST=localhost GWSERV=sapgw11 PCS=1
LOCATION CPIC (TCP/IP) on local host
ERROR partner '127.0.0.1:sapgw11' not reached
TIME Tue Aug 24 09:21:56 201
RELEASE 700
COMPONENT NI (network interface)
VERSION 38
RC -10
MODULE nixxi.cpp
LINE 2513
DETAIL NiPConnect
SYSTEM CALL connect
ERRNO 79
ERRNO TEXT A remote host refused an attempted connect operation.
COUNTER 8
Return code: RFC_FAILURE(1)
error group: 102
key: RFC_ERROR_COMMUNICATION
default trace: #2#================================== Connection ==================================
ID 502279030649651208
Type QueueConnection
Mode STOPPED
isClosed YES
com.sap.jms.server.SynchronousNetworkAdapter@32af32af isClosed = false waitTableSize = 0 conectionId = 8----
ConnectionMetaData -
JMSVersion Version 1.1
PorviderVersion Version 1.0
SupportedJMSXProperties JMSXGroupID, JMSXGroupSeqJMSXDeliveryCount
================================================================================
#javax.jms.JMSException: JMS Service is stopped
SO we can`t acces Visual Admin and configtool.
Thanks in advanceSo i have open both files services / hosts.. and everything seems to be ok. On services i found
sapgw11 3311/tcp # SAP System Gateway Port
The servers are AIX and the DB si Oracle. Nobody changed these files for more than 2 years and before refresh oh QAS the portal worked just fine. Practically the problem is that there is no connection between BI TST and TST portal. Nothing even at unix level. I think the problem is soewhere between DB and portal.. because he can`t find any connection.
Some other log files:
database.1.log :
#1.5 #001A64E912A200310000003B001570BE00048E8BC8337BDA#1282630917258#/System/Database/sql/jdbc/direct##com.sap.sql.jdbc.direct.DirectConnection#######SAPEngine_System_Thread[impl:5]_27##0#0#Error#1#com.sap.sql.jdbc.direct.DirectConnection#Java#com.sap.sql_0003#com.sap.sql.log.OpenSQLResourceBundle#SQL error occurred on connection beta:BIT:SAPBIPDB: code=17,002, state="null", message="Io exception: Connection reset";
SQL statement is "ROLLBACK".#5#17002#<null>#Io exception: Connection reset#beta:BIT:SAPBIPDB#ROLLBACK#
server0.log : #1.5 #001A64E912A200450000082C001570BE00048E8BC83E8D97#1282630917983#/System/Server##com.sap.caf.eu.cc.content.svc.CCServiceFrame#######SAPEngine_System_Thread[impl:5]_75##0#0#Error#1#com.sap.caf.eu.cc.content.svc.CCServiceFrame#Plain###Cannot instantiate class: com.sap.engine.services.jndi.InitialContextFactoryImpl
javax.naming.NoInitialContextException: Cannot instantiate class: com.sap.engine.services.jndi.InitialContextFactoryImpl. Root exception is java.lang.ClassNotFoundException: com.sap.engine.services.jndi.InitialContextFactoryImpl
at java.lang.Class.forNameImpl(Native Method)
1.5 #001A64E912A200680000003B001570BE00048E8BC82CCE12#1282630916813#/System/Security#sap.com/com.sap.workflow.j2eemoni#com.sap.engine.services.security#J2EE_GUEST#0#####SAPEngine_Application_Thread[impl:3]_7##0#0#Error#1#com.sap.engine.services.security#Java#security_3031#com.sap.engine.services.security.exceptions.SecurityResourceBundle#Cannot get run_as identity for the security role "".#1#MBeanCreator#
#1.5 #001A64E912A20009000006CF001570BE00048E8BC83BC936#1282630917802#/System/Security##com.sap.engine.services.userstore#######SAPEngine_System_Thread[impl:5]_64##0#0#Info#1#com.sap.engine.services.userstore#Plain###Service userstore stopped OK#
Thanks -
Hello All ,
I am trying to do system refresh from PRD to QAS , Windows 2003 / MSSQL 2005 database, need to know step by step procedure, DB restroe , recovery and rename SID , how to do all these. main I need to know DB activities.
Thanks
AtulHi,
Refer [SAP Note 151603 - Copying an SQL Server database|https://service.sap.com/sap/support/notes/151603] to get step by step information about your requirement.
Regards,
Bhavik G. Shroff -
Dear Friends,
I have planning to Change my PRD server. We bought new one server. Now i have plan to will do the system refresh. What are the steps are there in SAP system Refresh.
1. What can i do?
2. How many days will take?
SAP Version - ECC 6.0
DB - MS -SQL Server 2005
OS - Windows 2003 Server
Physical memory is - 8GB, Swap is - 24GB
DB Size is - 210 GB
Regards
keshavHi,
To be on the safer Side Just install the New system as you installed the Old PRD keeping in mind that the OSlevel the patch level and the Sap release should be same .
Once the installation Completes.you should go with the System Refresh.
Now here are the answer of your Question.
To install New PRD system it shall take 24 hour (appox).Once the base installation is completed you can go with the system Refresh.
Offline Backup will take 2 to 3 hours.(Number of hours depends on many more things).
If you have ABAP+JAVA then you beed to take the Java Export After the Backup.(1 hour)
Then you need to get the backup restored on the New Server(2 to 3 hours)
Then run Sapinst Import.(10 to 11 hours).
Post Refresh steps depends on the landscape configuration you have.
Thanks Rishi Abrol -
Hi Dear Gurus,
I have been given a task to do a system refresh for only java part for BI ( ABAP is already done).
please tell me what are all the precautions that to be taken while doing the java part.
we are running on windows and Mysql.
Please specify the steps that to be performed before doing the java part in the source system and target system.
Many thanks for your time guys.
Kind Regards,
Vamsi.
Edited by: vamsi koganti on Jan 23, 2008 1:11 PMHi Dear Rajesh
Many thanks for your reply and your time.
Few more questions
*deleting the contents of the global directory (pleasetell me where it is located)
where to give the CONTROL.SQL file?
and one more problem
I am getting the fallowing error when i start sapinst.exe
starting gui server process:
sapinstport: 21200
guiport : 21212
guistart : true
command : "C:\j2sdk1.4.2_12/bin\javaw.exe" -cp "C:/WINDOWS/TEMP/sapinst_exe.8596.1201160177\jar\instgui.jar;C:/WINDOWS/TEMP/sapinst_exe.8596.1201160177\jar\inqmyxml.jar" -Xmx256M -Dsun.java2d.noddraw=true SDTServer config=jar:sdtserver.xml guiport=21212 sapinsthost=localhost sapinstport=21200 guistart=true
guiengine: call to bind() for socket 21200 1800 failed . No error
103 guiengine.connection.failed 21200, 943
Exit status of child: 1
I look in some previous post they ask the person to check the port is being used or not? how to check the port is being used or not? and how to assign this to that port **************
Please help me rajesh.
Once again many thanks for your time.
kind Regards,
vamsi.
Edited by: vamsi koganti on Jan 24, 2008 8:49 AM -
Hi all
I am trying to do the system refresh of ECC 6 for the first time. The database part is done and database is up and running but the CI dies after sometime stating that the J2EE status info unavilable.
When I dig deep in it it feels like something is wrong with the SAPUSER table in the database thats having the sapecc user and the password for it. I did the R3TRANS -X and it created the log file that tells me that its not able to connect to the database.
Can anyone tell me the correct way to do the system refresh or how can I rectify this issue now.
Thanks in advance.I am trying to do the system refresh since the last 5 days and I am not able to do it. Here is what I did last night:
1) I restored the backup of the target server and make sure that everything is working the way its supposed to work before the refresh.
2) I exported SAPUSER table and other users who are database owners.
3) I refreshed the database of the target server with source server.
4) Bring up the Oracle database.
5) Imported the users and tables.
6) Now I dont see problem with the SAPUSER table but still I am not able to start the CI. When I execute the R3trans -X following is the log file generated. I am running ECC 6 with Oracle 10 G with ABAP and Java.
Thanks for all your help.
4 ETW000 r3trans version 6.14 (release 700 - 18.09.06 - 09:35:00).
4 ETW000 unicode enabled version
4 ETW000 ===============================================
4 ETW000
4 ETW000 date&time : 11.03.2007 - 15:52:03
4 ETW000 control file: <no ctrlfile>
4 ETW000 R3trans was called as follows: r3trans -x
4 ETW000 trace at level 2 opened for a given file pointer
4 ETW000 [dev trc ,00000] Sun Mar 11 15:52:05 2007 0.000000
4 ETW000 [dev trc ,00000] db_con_init called 0.000000
4 ETW000 [dev trc ,00000] create_con (con_name=R/3) 0.000000
4 ETW000 [dev trc ,00000] Loading DB library 'dboraslib.dll' ... 0.000000
4 ETW000 [dev trc ,00000] load shared library (dboraslib.dll), hdl 0 5068 0.005068
4 ETW000 [dev trc ,00000] using "E:\usr\sap\ECX\SYS\exe\uc\NTAMD64\dboraslib.dll"
4 ETW000 35 0.005103
4 ETW000 [dev trc ,00000] Library 'dboraslib.dll' loaded 11 0.005114
4 ETW000 [dev trc ,00000] function DbSlExpFuns loaded from library dboraslib.dll
4 ETW000 17 0.005131
4 ETW000 [dev trc ,00000] Version of 'dboraslib.dll' is "700.08", patchlevel (0.73)
4 ETW000 93 0.005224
4 ETW000 [dev trc ,00000] function dsql_db_init loaded from library dboraslib.dll
4 ETW000 15 0.005239
4 ETW000 [dev trc ,00000] function dbdd_exp_funs loaded from library dboraslib.dll
4 ETW000 24 0.005263
4 ETW000 [dev trc ,00000] New connection 0 created 17 0.005280
4 ETW000 [dev trc ,00000] 0: name = R/3, con_id = -000000001 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
4 ETW000 29 0.005309
4 ETW000 [dev trc ,00000] db_con_connect (con_name=R/3) 15 0.005324
4 ETW000 [dev trc ,00000] find_con_by_name found the following connection for reuse:
4 ETW000 14 0.005338
4 ETW000 [dev trc ,00000] 0: name = R/3, con_id = 000000000 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
4 ETW000 19 0.005357
4 ETW000 [dev trc ,00000] CLIENT_ORACLE_HOME is not set as environment variable or
4 ETW000 DIR_CLIENT_ORAHOME is not set as profile parameter.
4 ETW000 assuming using instant client with unspecified location.
4 ETW000 198 0.005555
4 ETW000 [dev trc ,00000] Oracle Client Version: '10.2.0.1.0' 6567 0.012122
4 ETW000 [dev trc ,00000] -->oci_initialize (con_hdl=0) 26 0.012148
4 ETW000 [dev trc ,00000] Client NLS settings: AMERICAN_AMERICA.UTF8 2394 0.014542
4 ETW000 [dev trc ,00000] Logon as OPS$-user to get SAPECC's password 30 0.014572
4 ETW000 [dev trc ,00000] Connecting as /@ECX on connection 0 (nls_hdl 0) ... (dbsl 700 110706)
4 ETW000 20 0.014592
4 ETW000 [dev trc ,00000] Nls CharacterSet NationalCharSet C EnvHp ErrHp ErrHpBatch
4 ETW000 19 0.014611
4 ETW000 [dev trc ,00000] 0 UTF8 1 0000000005524090 0000000004FB41C0 0000000004FB9988
4 ETW000 111 0.014722
4 ETW000 [dev trc ,00000] Allocating service context handle for con_hdl=0 18 0.014740
4 ETW000 [dev trc ,00000] Allocating server context handle 14 0.014754
4 ETW000 [dev trc ,00000] Attaching to DB Server ECX (con_hdl=0,svchp=0000000004FB9848,svrhp=00000000055430E8)
4 ETW000 38 0.014792
4 ETW000 [dev trc ,00000] Sun Mar 11 15:52:06 2007 19562 0.034354
4 ETW000 [dev trc ,00000] Assigning server context 00000000055430E8 to service context 0000000004FB9848
4 ETW000 27 0.034381
4 ETW000 [dev trc ,00000] Allocating user session handle 29 0.034410
4 ETW000 [dev trc ,00000] Starting user session (con_hdl=0,svchp=0000000004FB9848,srvhp=00000000055430E8,usrhp=0000000004FB49D8)
4 ETW000 26 0.034436
4 ETW000 [dboci.c ,00000] *** ERROR => OCI-call 'OCISessionBegin' failed: rc = 1045
4 ETW000 46843 0.081279
4 ETW000 [dev trc ,00000] server_detach(con_hdl=0,stale=1,svrhp=00000000055430E8)
4 ETW000 17 0.081296
4 ETW000 [dev trc ,00000] Detaching from DB Server (con_hdl=0,svchp=0000000004FB9848,srvhp=00000000055430E8)
4 ETW000 17 0.081313
4 ETW000 [dev trc ,00000] Deallocating server context handle 00000000055430E8
4 ETW000 415 0.081728
4 ETW000 [dbsloci. ,00000] *** ERROR => CONNECT failed with sql error '1045'
4 ETW000 26 0.081754
4 ETW000 [dev trc ,00000] Try to connect with default password 68 0.081822
4 ETW000 [dev trc ,00000] Connecting as SAPECC/<pwd>@ECX on connection 0 (nls_hdl 0) ... (dbsl 700 110706)
4 ETW000 16 0.081838
4 ETW000 [dev trc ,00000] Nls CharacterSet NationalCharSet C EnvHp ErrHp ErrHpBatch
4 ETW000 18 0.081856
4 ETW000 [dev trc ,00000] 0 UTF8 1 0000000005524090 0000000004FB41C0 0000000004FB9988
4 ETW000 21 0.081877
4 ETW000 [dev trc ,00000] Allocating server context handle 9 0.081886
4 ETW000 [dev trc ,00000] Attaching to DB Server ECX (con_hdl=0,svchp=0000000004FB9848,svrhp=00000000055430E8)
4 ETW000 29 0.081915
4 ETW000 [dev trc ,00000] Assigning server context 00000000055430E8 to service context 0000000004FB9848
4 ETW000 13391 0.095306
4 ETW000 [dev trc ,00000] Assigning username to user session 0000000004FB49D8
4 ETW000 21 0.095327
4 ETW000 [dev trc ,00000] Assigning password to user session 0000000004FB49D8
4 ETW000 28 0.095355
4 ETW000 [dev trc ,00000] Starting user session (con_hdl=0,svchp=0000000004FB9848,srvhp=00000000055430E8,usrhp=0000000004FB49D8)
4 ETW000 20 0.095375
4 ETW000 [dboci.c ,00000] *** ERROR => OCI-call 'OCISessionBegin' failed: rc = 1017
4 ETW000 20919 0.116294
4 ETW000 [dbsloci. ,00000] *** ERROR => CONNECT failed with sql error '1017'
4 ETW000 17 0.116311
4 ETW000 [dblink ,00431] ***LOG BY2=>sql error 1017 performing CON [dblink#3 @ 431]
4 ETW000 100 0.116411
4 ETW000 [dblink ,00431] ***LOG BY0=>ORA-01017: invalid username/password; logon denied [dblink#3 @ 431]
4 ETW000 15 0.116426
2EETW169 no connect possible: "DBMS = ORACLE --- dbs_ora_tnsname = 'ECX'" -
Retain background jobs and its variants before system refresh activity
Hello All,
I am going to perform system refresh activity on quaity system on monday. Customer wants to retain the background jobs and its variants in the quality system. Please guide me and let me know the steps to retain the background jobs and its variants before starting the system refresh activity.
Regards
SubbuDear Subbu,
You have to export the TBT* Tables to retain the jobs. You can do this with R3trans:
1. Make Export file
2. Make Import file
3. Make Export in Q System before Systemcopy
4. Start Database and not SAP
5. Make Import in Q after Systemcopy
6. Start sap
1. Make Export file /tmp/export_cmd
export
file='/tmp/export_Q.dmp'
client=<your client>
delete from TBTCA
delete from TBTCB
delete from TBTCCNTXT
delete from TBTCCTXTT
delete from TBTCCTXTTP
delete from TBTCI
delete from TBTCJCNTXT
delete from TBTCJSTEP
delete from TBTCO
delete from TBTCO_V01
delete from TBTCP
delete from TBTCPV
delete from TBTCR
delete from TBTCS
delete from TBTC_SPOOLID
delete from BTCEVTJOB
select * from TBTCA
select * from TBTCB
select * from TBTCCNTXT
select * from TBTCCTXTT
select * from TBTCCTXTTP
select * from TBTCI
select * from TBTCJCNTXT
select * from TBTCJSTEP
select * from TBTCO
select * from TBTCO_V01
select * from TBTCP
select * from TBTCPV
select * from TBTCR
select * from TBTCS
select * from TBTC_SPOOLID
select * from BTCEVTJOB
2. Make Import file /tmp/import_cmd
import
file='/tmp/export_Q.dmp'
3. Make Export in Q System before Systemcopy
R3trans -w /tmp/Q_export.log /tmp/export_cmd
4. Start Database and not SAP
sqlplus "/as sysdba"
SQL> startup
or
startsap
stopsap r3
5. Make Import in Q after Systemcopy
R3trans -w /tmp/Q_import.log /tmp/import_cmd
If you want to undo this, start the export script in P system and the Import script in Q system.
Don't be afraid of the delete statement but without delete it doesn't work!
6. Start sap
startsap
Best regards
Willi Eimler -
System Refresh getting error "Your System has corresponding JAVA stack"
Hello Experts,
I am trying to do a system refresh on my HCM system which is ABAP only.
When I run SWPM --> Generic Installation Options -->MS SQL Server --> Database Tools --> Database copy completion, I get the following error.
Version Information is as follows:
Kernal is 721
ECC 6.0 Basis 702 level 9 (Netweaver 7.02)
Windows server is 2008 R2 standard
MSSQL is 10.50.4000
Yes, I have done my research and failed also has a High OSS message open with SAP. This issue is very critical so any help as early as possible is highly appreciated.
Thank You.Hi Muhammad,
It looks like you have a Java schema in your database, and sapinst is finding that and therefore assuming it's a double-stack system. Perhaps this system used to be double-stack at one time, and then was split? In the trace file I saw the following entries, at different points:
SID: HCT
DbServer: USALSQLT01\HCMT
DbName: HCT
ABAP Schema: hct
Java Schema: SAPHCTDB
TRACE 2014-04-18 09:26:36.318
Found corresponding java schema SAPHCPDB. Aborting.
TRACE 2014-04-18 09:26:36.333 [iaxxgenimp.cpp:325]
CGuiEngineImp::showDialogCalledByJs()
showing dlg d_doubleStackSystemError
TRACE 2014-04-18 09:26:36.333 [iaxxgenimp.cpp:335]
CGuiEngineImp::showDialogCalledByJs()
<dialog sid="d_doubleStackSystemError">
<title>Unsupported System</title>
<dialog/>
So, that seems to be the cause. If you're sure this is only supposed to be a single-stack ABAP system, you might try deleting the SAPHCPDB schema using database tools and then re-running sapinst.
While you're at it, it looks like you might have an old copy of Sun JRE 1.4.2 still installed (perhaps from the old days when that version was required to run sapinst). In the environment variables in the trace I saw:
JAVA_HOME=C:\j2sdk1.4.2_29-x64
You might want to uninstall that if you don't need it anymore, and unset that environment variable. Also, your swap size looks low for a 64-bit system with 8 GB RAM, even for a test system:
Swap size (MB): 9998.18
Best regards,
Matt -
Unable to login in EP 6.0 after system refresh
After performing the system refresh of EP 6.0, completed the post system copy steps.
Imported the new certificated as well, when I try to login the page is getting refresh but remains on the same page.
please help me what could be the reason.Hi Abdul.
I think you have selected the Algorithm as RSA, which is the default one.<br />
Please change it to DSA and hope the issue will be solved.
Regards,
Satish -
Logical System Conversion after system refresh failed
Hello,
Logical System Conversion after system refresh couldn't complete as the printer was locked. This job was run in the background. In SM37, the job log of RBDLSMAP shows as job finished, but it took only 40 seconds. Now I see that the logical system got changed(Converted) in the client settings scc4 but I know that this client being a production client and would run for couple of hours. Here is the job log information.
02/18/2009 16:09:33 Job started 00 516 S
02/18/2009 16:09:33 Step 001 started (program RBDLSMAP, variant &0000000000000, user ID ABCD) 00 550 S
02/18/2009 16:09:33 Output device PRN1 is locked in the SAP system PO 349 I
02/18/2009 16:10:19 Job finished 00 517 S
When try to rerun bdls again, it shows that it is already available and it says "The new logical system name is already assigned to the current client".
Any suggestions on this?
Thanks,
MaheshHi ,
Rerun the BDLS again as this took very little time.
When you try to run again it popsup message saying it already exists just delete that and again put the Logical system name and run it will run that time.
May be while scheduling the job you gave for spool I am not sure why is it looking for Printer which is locked.
Thanks. -
How to handle the CRM Middleware after system refresh?
Guys,
We are using CRM 5.0 & R/3 4.6C. We have the middleware configured and set up. We finished all inital loads & delta loads are activated as well. The system works perfectly.
Now for some reason the client wants to refresh the R/3 system. (Basically they are copying over the R/3 Dev system to refresh the R/3 Sandbox system. Our connection is currently between the 2 sand box systems) What impact will this have on the CRM system? Will it cause mass delta downloads? I have already referred to notes 588701 & 765018. Any additional information or watch outs will be appreciated.
Secondly what's the best practice do a refresh in the future? Is there a SAP recomendation on how to go about with system refresh when CRM & R/3 are connected?
ARPHello ARP,
as always: It depends what to do:
a) do you have a CRM DEV System available? If possible you should get the connection working over there and then do a Landscape Copy of the R/3 DEV + CRM DEV to the Sandbox Landscape.
b) Let them copy the R/3 DEV to the R/3 Sandbox. Then use the Data Integrety Manager (Transaction SDIMA) to get the missing Customers, Transactions exchanged.
In the future they normally have to do a Landscape Copy.
Regards
Gregor
Maybe you are looking for
-
How do I find out where the link for a button points to?
I installed a Flash template that has a "Read More" button which is used in several locations of the site. The button corresponds to a single symbol called "button_more" and another symbol within that symbol called "area_more". It's a "Movie Clip"
-
Can't burn my artwork files with my music onto CD WHY?
I am a musician, so when I want burn a disc of all my tracks from my own playlist, for my friends and family, I want to burn my original artwork files (which are all jpgs, pngs, gifs or tiffs so they should be compatible), onto the CD as well! I have
-
Hi, New to 2012 and implementing a clustered environment for our File Services role. Have got to a point where I have successfully configured the Shadow copy settings. Have a large (15tb) disk. S: Have a VSS drive (volume shadow copy drive) V: Have
-
Will airport extreme allow me to connectwirelessly to Sony Bravia TV?
-
Hi All, My client needs a commissions report from COPA. I have been able to get the report but its in periods, but they need it to report by date or weekly. How can i configure the date variable at entry point on the report. Your assistance will be g