Hello,
Every time that Livecache is started the report SLCA_LCK_SYNCHOWNERS is executed.
Starting the livecache with the different start options (LC10, report RSLVCSTART, from O.S level) this report is always executed?
Regards.
Hello,
Every time that Livecache is started the report SLCA_LCK_SYNCHOWNERS is executed.
Starting the livecache with the different start options (LC10, report RSLVCSTART, from O.S level) this report is always executed?
Regards.
Hi experts,
I am trying to take a complete backup of one of my livecache database from DBA planning calender. It is failing with below error.
MEDIANAME 'Pre_index_rebuild'
*** SAVE/RESTORE request accepted:
OK
*** SAVE/RESTORE result:
ERR
-24988,ERR_SQL: SQL error
-903,Host file I/O error
3,Data backup failed
113,Open medium on /sapdb/LCA/sapdata/DISKD0006 for READ failed
1,Open file /sapdb/LCA/sapdata/DISKD0006 failed, open(READ,EXISTING) returned 'Too many open files' (24)
*** SAVE/RESTORE request:
SAVE DATA CANCEL
*** SAVE/RESTORE request accepted:
OK
*** SAVE/RESTORE result:
ERR
-24988,ERR_SQL: SQL error
-104,DBM command impossible at this time
*** DBA Action ends:
Timestamp: 20150829225656 State
I have tried by creating new media template but the result is same. I am not able to find much useful logs in livecache log files. Please suggest.
Thanks
Amar.
hi, expert ,
this issue happened after i initialized the Livecache and restore it back to fix a GATP running issue
but the bad news is this issue come out and that issue not fixed yet
The detailed information as below
Plz help if you can
thanks so much
'
General Connection Data
Connection Name....: LCA
Database Name......: LC2
Database Server....: localhost
tp Profiles........: no_longer_used
DBM User...........: SUPERDBA
Test Scope
1. Execute an external operating system command (DBMCLI)
2. Determine status using TCP/IP connection SAPDB_DBM (DBMRFC command mode)
3. Determine status using TCP/IP connection SAPDB_DBM_DAEMON (DBMRFC session mode)
4. Test the SQL connection (Native SQL at CON_NAME)
Application Server: sapscm_AP1_00 ( Windows NT )
1. Connect. test with "dbmcli db_state" Successful
2. Connect. test with command mode "dbmrfc db_state" Successful
3. Connect. test with session mode "dbmrfc db_state" Successful
4. Connect. test with "native SQL" ( LCA ) No connection
SQL Code: 10709
Connection failed (RTE:[2] too many database sessions active
For detailed information, see the developer trace for work process: 4
'
Regards
SL
We have applied Support Pack 09 to SCM 7.01 System. My question is do we need to apply latest patch for LiveCache as well. If yes where can I find the details. I checked PAM but it was not helpful or I was missing something. I have attached ST22 dump file.
Source: SCM 7.01 SP08
Source Live Cache: 7.7.07 BUILD 040-123-244-640
Target: SCM 7.01 SP09
We have not applied any patched to LiveCache.
/n/sapapo/om17 --> Consistency Check LiveCache - APO DB --> Execute; It throws Runtime Error.
Check Done so far:
LC10 --> Able to start, stop LiveCache
DB59 --> All good
Thanks in advance.
Hello,
I am trying to create a new SCM quality system by making a copy of production system using backup/restore. I am a basis person and this is my first time working on SCM system. Please note that we want to copy both SCM database and also the data in livecache database. The SIDs for both SCM and Live cache instance are changing. I have read multiple notes (1015489, 886103, 877203, 457425, 1030857, 1349272 etc) and some GREAT POSTS in this forum BY NATALIA KHLOPINA. Thanks to this info, I have done the following so far:
SCM version is 7.0 SP 11 and Livecache version is 7.7.7.
I first copied over the SCM database using backup restore.
Installed the SCM target system with the new SID
Installed Livecache instance for target system (on a separate host than SCM) using swpm
Then I initialized the maxdb instance via DB manager
then I did restore and initialize using the full backup that I had taken of source livecache system via DBM GUI (pretty much steps in note 457425)
Then ran the following command : load_systab -u superdba,admin
(ran into some issues in between but resolved one by one like upgrading kernel, re-restored the db afer change default_code to Unicode etc )
Then in LC10, LCA - I registered LCAPPS
Then in LC10, I did the integration configuration for LCA connection (it was blank due to some reason after the copy). Also reentered the u/p for LDA and LEA connections.
The LC10 connections are coming up green to livecache
Firstly, can you verify the steps above are correct so far ?
Secondly, I am trying to follow the notes 1015489, 886103, 877203, 457425 and 1030857, 1073954 to do post copy steps and have the following issues/questions:
1) In note 1015489 (connection problems after system copy), it says to run report SLCA_GET_SYSNAME to get system name in livecache. When I do so, It says "Table for system names does not yet exist". Is that normal ( I am on scm 7.0 SP11) ? If I go to dbmcli and try to drop table APPSYSPARAM or APPSYSNAME, it says table does not exist ?? How do I verify if correct system name is registered in livecache?
2) Note 886103 (system landscape copy for SCM) -- It says to change logical system name in /SAPAPO/ORDMAP but this table is not active in my dictionary !! same for table CIFRFCDES and table /sapapo/cifdistr does not exist ??
3) Note 886103 says that if you want to rename the user SAPR3 to SAPEL1, you run some dbmcli commands. Is this necessary ?? my Livecache id is changing from LIP to LIQ, so shall I change it ? The domain.users currently shows control , superdba and also SAPLIP user and SAPLIQ user (SAPLIQ user only started showing up after I registered LC APPS ). Do I need to do anything else or verify something ?
4) Note 877203 once again talks about SAPEL1 user and I am not sure if I need to run these steps or not
5) Note 1030857 tells to run this report zz_update_acckey to correct the external keys. Is this necessary even if we run BDLS ? Shall I ask the SCM functional person ?
6) Note 1073954 (effects of changing the standard livecache user) -- How do I know if I need to run this ? my livecache tables like /sapapo/ordmap are stil owned by SAP<OLDSID> but in LC10 connections I have changed the three connections to use SAP<NEWSID> user and the connetions are green and connection tests in db59 are also successful !!.
The note says that "Only change the standard liveCache user if the system does not contain any data or if you initialize the liveCache directly after the change"
My copied over livecache does contain data and If I initialize the livecache after changing this user id, I guess I will loose the data. So, Can I skip this step as long as connections in LC10 and db59 are working okay ?
7 ) How can I verify that APO optimizer is also installed in Production system. I thought it was optional to install it and I don't know if this client is using it ?
Sorry for this long long post. Hope someone out there has patience to clarify my doubts.
Thanks
BV
Hello Experts,
Whenever i execute LC10, i see 3 DB connections - LCA, LDA and LEA.
I do have some basic questions which i couldnt find answers for:
1. How to find out which DB connection is used in the system - LCA, LDA or LEA.
Or all the three will be used for LC to be functional?
2. If only LCA is used, how to uninstall or remove the connections for others?
Thanks,
Subbu
We have applied Support Pack 09 to SCM 7.01 System and updated LiveCache according to SAP Note 1751103. But still we are getting same error when we are trying to start LiveCache using program RSLVCSTART --> LCA
SCM 7.01 SP09
Live Cache: 7.7.07 BUILD 042-123-246-013
ST22 Dump:
Triggering SQL statement: "EXECUTE PROCEDURE "APS_PLAN_VERS_GET_ALL"" |
| Database error code: "-4016"
Work Process Trace:
C *** ERROR => prepare() of C_0050, rc=1, rcSQL=-4016 (POS(1) Unknown procedure name:LCK_LIST_OWNERS) [dbsdbsql.cpp 2601] C {root-id=519255317CF22030E10080000A0B024E}_{conn-id=519257767CF22030E10080000A0B024E}_1
C *** ERROR => SQL PREPARE on connection 2, rc=-4016 (POS(1) Unknown procedure name:LCK_LIST_OWNERS) [dbslsdb.cpp 8907]
We are able to start & stop Live Cache using DBM commands (dbmcli). We are able to see it in LC10 as well. But then we try to start it throws above errors.
DB59 --> All good
/n/sapapo/om17 --> Consistency Check LiveCache - APO DB --> Execute; It throws Runtime error as above
se38 --> RSLVCSTART --> LCA It throws above errors
Bhavin
I am trying to perform the SAP SCM migration from AnyDB to HANA DB.
During the import configuration I get the below error popup.
"AFL__SYS_AFL_LCAPPS_EXECUTE , AFL Role does not exist. This role is automatically created during the installation of SAP liveCache Applications (SAP LCA). Proceed with the installation of SAP liveCache Applications following the description in the guide 'Installation and Upgrade Information SAP HANA Installation Guide with Unified Installer', chapter 'Installing SAP liveCache Applications (SAP LCA) on a SAP HANA System'. This guide is available on SAP Service Marketplace at http://help.sap.com/hana_appliance,under 'Installation and Upgrade Information SAP HANA Installation Guide with Unified Installer'. "
I have deployed the LCAPP LiveCache component as described in the SAP HANA GUIDE " SAP HANA Update and Configuration Guide"
Steps :
I am unable to overcome this issue and go ahead with the integrated LiveCache scenario.
Current HANA DB Version : 1,0 SP06 Rev 66
LCAPP component deployed : IMDB_LCAPPS100_70_1-20010426
Kindly let me know how i could resolve this issue and proceed with the system migration.
Hello,
We have a SCM 7.0 system with EHP 3 with a liveCache (MaxDB 7.9.08) .
If I click the button "liveCache Monitoring with DBA Cockpit" in the TX LC10, I get the following error for each database connection (LCA, LDA and LEA) :
LCA | SQL not possible |
LCA | SQL Error: 10709 |
LCA | Connection failed (RTE:[1] cannot connect to server socket) SBAC | |
LCA | DBM not possible |
LCA | Error when calling function module DBM_EXECUTE_SDB |
LCA | Command: dbm_version |
LCA | Name and Server : LCD - <IP-Address> |
LCA | Function : DBM_EXECUTE |
LCA | Command : dbm_version |
LCA | Error : DBM Error |
LCA | Return Code : -4 |
LCA | Error Message : cannot connect to server socket |
LCA | DBM Error 8 - DBM System Error |
In the TX SM21 you can see the error message below:
Database error -10709 at CON
> Connection failed (RTE:[1] cannot connect to server socket)
Im Trace-File dev_w0 I found the following:
Connect to LCA as SAPLCD with <IP-Address>-LCD
Try to connect as SAPLCD/<pwd>@<IP-Address>-LCD on connection 1 ...
*** ERROR => Connect to database failed, rc = -10709 (Connection failed (RTE:[1] cannot conn
bmaxsql.cpp 607]
{root-id=54217256A7094810E1008000AC110048}_{conn-id=00000000000000000000000000000000}_0
***LOG BY2=> sql error -10709 performing CON [dbds 919]
***LOG BY0=> Connection failed (RTE:[1] cannot connect to server socket) [dbds 919]
I would like to mention, that I have maintained the liveCache Integration as follows:
Name of Database Connection: LCA (or LDA or LEA)
liveCache Name: LDA
liveCache Server: here I tried with the IP-address and also with the physical hostname, but none of them worked
DBM User:
User Name: CONTROL
Password: xxx
Standard liveCache User:
User Name: SAPLCD
Password: xxx
Furthermore, I have checked at database-level, the liveCache is up and running and the passwords are correct:
dbmcli -d LCD -u control,<password> db_state
OK
State
ONLINE
dbmcli -d LCD -u saplcd,<password>
dbmcli on LCD>
But in the TX LC10 the buttons "Start liveCache" and "Stop liveCache" are watermarked.
I have already tried to restart the liveCache and the SCM-system, but without success.
In my opinion the cause is, that the liveCache cannot be reached from the SCM-system.
Could you please advise?
Thanks a lot in advance.
Kind regards,
Noémi
Hi,
I would need to do SCM 7.0 EHP3 upgrade from SCM 7.0.
Is it possible to upgrade livecache also to 7.9 in the SUM upgrade SUM along with SCM? if yes, please let me know the steps.
As of now, I have done livecache upgrade manually.
Thanks in advance
Hi,
A newbie question. I'm getting the following error when starting livecache. Please help
more lcinit.log
************************ START *****************************
liveCache SID (restart)
25.11.2015
03:41
------------------------------------------------------------
Installation path is /sapdb/SID/db
Operating system is SunOS
The liveCache state is OFFLINE
DBMServer 7.7.07 Build 045-123-247-303
Starting SID into ADMIN
Starting SID into ONLINE
Creating liveCache application procedures
ERR
-24964,ERR_EXECUTE: error in program execution
65280,/sapdb/SID/db/bin/sdbsysload -R /sapdb/SID/db -d SID -u superdba,*
----------Command----------------
USE USER superdba * SERVERDB "SID"
-----------Error-----------------
ERR
-25005
User (SUPERDBA) logon to database SID failed: SQL error -4008 = Unknown user name/password combination (error position: 1)
---------------------------------
MaxDB Installer Runtime Error:
perl runtime error:
Can't call method "loaderCmd" on an undefined value at installib.pm line 574.
ERROR : liveCache SID not started
------------------------------------------------------------
25.11.2015
03:42
************************* END ******************************
Hi,
We are testing migration of SCM to SCM on HANA with integrated LiveCache in our lab box & now migrating
external LiveCache to Integrated LiveCahce migration.We have done all the steps upto step 5 as specified in the note 1825703. Not able to validate step number 6. We dont see APS_ORDER_GET_DATA under "Catalog => Public Synonyms" in the SAP HANA Studio and also we dont see role AFL__SYS_AFL_LCAPPS_EXECUTE. The LC installation step number 5 completed successfully without any error. The HANA DB connection (created in step 4) from DBACOCKPIT is working fine LCA,LDA and LEA.
Thanks
Vipin
Hi,
During SAP ECC6.0 installation(We are doing import) i am getting error at phase 11 of 27 for MaxDB database instance creation.
I am using RDBMS_MAXDB_7.7.04_Build_28 on HP-UX 11i V3 (11.31) Itanium blade server.
I tried finding knldiag but unable to find on the system.
ERR
-24994,ERR_RTE: Runtime environment error
20089,Check knldiag! Kernel died before reaching ADMIN state
Please let me know how to resolve this problem.
Thanks,
Narendra
HI,
We have an issue with the SAP APO Standard Background Job "/SAPAPO/OM_REORG_DAILY".
Current ABAP SP | SCM 702: SP 0007 | |
liveCache Version | RTE | 7.9.08 Build 003-123-245-361 |
Release | 100 |
Build | 8 |
Patch | 1 |
OpSys | AIX RS6000 5.1 |
1. Job Scheduled in the Right client.
2. Job Terminating with the error as below.
Please help.
03.11.2014 15:20:13 Job started | 00 | 516 | |
03.11.2014 15:20:13 Step 001 started (program /SAPAPO/OM_REORG_DAILY, variant , user ID P50INBATCH) | 00 | 550 | |
03.11.2014 15:20:14 Delete | 0 old transactional simulations | /SAPAPO/OM | 012 |
03.11.2014 15:20:14 Delete Containers from Multilevel ATP Check | /SAPAPO/OM | 076 | |
03.11.2014 15:20:14 Check Trace Settings | /SAPAPO/OM | 076 | |
03.11.2014 15:20:14 Reorganization of Initial Stocks | /SAPAPO/OM | 076 | |
03.11.2014 15:20:14 Optimization: Old Log Files, Delete Lock Entries | 00 | 001 | |
03.11.2014 15:20:14 Error when trying to delete data from destination CS01 | RCC_CLEANUP | 010 | |
03.11.2014 15:20:14 Error when trying to delete data from destination CTM01 | RCC_CLEANUP | 010 | |
03.11.2014 15:20:14 Error when trying to delete data from destination DPS01 | RCC_CLEANUP | 010 | |
03.11.2014 15:20:14 Error when trying to delete data from destination MMP01 | RCC_CLEANUP | 010 | |
03.11.2014 15:20:14 Error when trying to delete data from destination SEQ01 | RCC_CLEANUP | 010 | |
03.11.2014 15:20:14 Error when trying to delete data from destination SNP01 | RCC_CLEANUP | 010 | |
03.11.2014 15:20:14 Error when trying to delete data from destination VSR01 | RCC_CLEANUP | 010 | |
03.11.2014 15:20:14 Delete Forecast Orders | 00 | 001 | |
03.11.2014 15:20:14 Correct Period Profile and Time Period Pattern | 00 | 001 | |
03.11.2014 15:20:14 Delete Marked Models and Planning Versions | 00 | 001 | |
03.11.2014 15:20:14 User: ******* | /SAPAPO/DM_VERS_MGMT | 078 | |
03.11.2014 15:20:14 Date: 03.11.2014 | /SAPAPO/DM_VERS_MGMT | 079 | |
03.11.2014 15:20:14 Time: 15:20:14 | /SAPAPO/DM_VERS_MGMT | 080 | |
03.11.2014 15:20:15 Deleted in planning version TST_13_12: fixing intervals | /SAPAPO/DM_VERS_MGMT | 082 | |
03.11.2014 15:20:15 Deleted in planning version TST_13_12: Matrices | /SAPAPO/VM | 018 | |
03.11.2014 15:20:15 Deleted in planning version TST_13_12 : Values for auxiliary key figures | /SAPAPO/VM | 065 | |
03.11.2014 15:20:15 Deleted in planning version TST_13_12: MSP orders | /SAPAPO/MVM_SVC | 047 | |
03.11.2014 15:20:15 Deleted in planning version TST_13_12: Orders and stocks | /SAPAPO/VM | 007 | |
03.11.2014 15:20:15 Deleted in planning version TST_13_12: Transport orders | /SAPAPO/VM | 070 | |
03.11.2014 15:20:15 Deleted in planning version TST_13_12: Campaigns | /SAPAPO/VM | 019 | |
03.11.2014 15:20:15 Deleted in planning version TST_13_12: CTM data | /SAPAPO/VM | 038 | |
03.11.2014 15:20:15 Deleted in planning version TST_13_12: DP data | /SAPAPO/VM | 034 | |
03.11.2014 15:20:16 Internal session terminated with a runtime error CONNE_IMPORT_WRONG_OBJECT_TYPE (see ST22) | 00 | 671 | |
03.11.2014 15:20:16 Job cancelled | 00 | 518 |
Hi All,
Background job for program "/SAPAPO/SDRQCR21" is failing in SAP SCM 7.0 system due to below error message.
"Problems accessing SAP liveCache"
There was no dump or any error message in SM21 at the time job failure or durig the job run. I have also checked the live cache availability and live cache was up and running during this time. Trace log shows that SCM system was able to connect live cache successfully.
******************************************************************************
07:48:21 2015
B Connect to LCA as XXXADM with XXX.XX.XXX.com
C Try to connect as XXXADM/<pwd>@XXX.XX.XXX.com on connection 1 ...
C Attach to SAP DB : Kernel 7.7.07 Build 045-123-247-303
C Database release is SAP DB 7.7.07.045
C INFO : Database 'XXX' instance is running on 'XXXXX'
C DB max. input host variables : 2000
C DB uses MVCC support : 0
C INFO : LVC DEFAULTCODE = UNICODE
C INFO : Connect to DB as 'XXXADM'
C Command info enabled
C Now I'm connected to SAP DB
C 01: XXXXX-XXX, since=20150807074821, ABAP= /SAPAPO/SAPLOM_CORE (5250)
B Connection 1 opened (DBSL handle 1)
*******************************************************************************
But later batckground job was cancelled automatically and in next 3 seconds WP got restarted. SCM system was disconnected from Livecache.
*******************************************************************************
09:52:16 2015
M ThNeedWpRestart: abap strategy == kill, restart
M ThWpRestart: restart wp (pid=12864) automatically
B Disconnecting from ALL connections:
B Wp Hdl ConName ConId ConState TX HC PRM RCT FRC TIM MAX OPT Date Time DBHost
B 003 000 R/3 000000000 INACTIVE NO NO YES NO NO 000 255 255 20150807 045113 YYYYY
B 003 001 LCA 003034031 INACTIVE NO NO NO NO NO 004 255 255 20150807 074821 XXXXX
C Disconnecting from connection 0 ...
C Closing user session (con=0,svchp=0x969c3d8,usrhp=0x96de3f0)
C Detaching from DB Server (con=0,svchp=0x969c3d8,srvhp=0x969ee68)
C Disconnected (con=0) from ORACLE.
B Disconnected from connection 0
C Disconnecting from connection 1 ...
C Now I'm disconnected from SAP DB
B Disconnected from connection 1
********************************************************************************
I suspect this is a heap memory issue. As heap memory got exausted, work process was restarted automatically and when it tried to connect Livecache, it couldn't connect and job failed with an error "Problems accessing SAP liveCache". But the log doesn't show any reference to it.
Another blog Report /sapapo/sdrqcr21 - problem accessing liv... | SCN talks about the simliar problem, but I could not see function module /SAPAPO/OM_PEG_CAT_GET_ORDERS, so not sure whether it is relevant or not.
Kindly request you to suggest on this.
Regards,
Suhas
Hi experts,
I am trying to take a complete backup of one of my livecache database from DBA planning calender. It is failing with below error.
MEDIANAME 'Pre_index_rebuild'
*** SAVE/RESTORE request accepted:
OK
*** SAVE/RESTORE result:
ERR
-24988,ERR_SQL: SQL error
-903,Host file I/O error
3,Data backup failed
113,Open medium on /sapdb/LCA/sapdata/DISKD0006 for READ failed
1,Open file /sapdb/LCA/sapdata/DISKD0006 failed, open(READ,EXISTING) returned 'Too many open files' (24)
*** SAVE/RESTORE request:
SAVE DATA CANCEL
*** SAVE/RESTORE request accepted:
OK
*** SAVE/RESTORE result:
ERR
-24988,ERR_SQL: SQL error
-104,DBM command impossible at this time
*** DBA Action ends:
Timestamp: 20150829225656 State
I have tried by creating new media template but the result is same. I am not able to find much useful logs in livecache log files. Please suggest.
Thanks
Amar.
Hello I am trying to figure out if its possible to copy the entire database of SAP at a specific cut off day/time and add daily. After the database is backed up on a Friday at 7PM, Can you take the data from the weekend and Monday and add it to the original back up? Then again Tuesday and so on?
Hi Experts,
We are planning to refresh one of our old test SCM system with production data. Versions are as below.
Target SCM - SCM 7 EHP2. Target LC - 7.7.07
Source SCM - SCM 7 EHP3. Source LC - 7.9.21
For SCM version part I think target will automatically get the source version after ABAP system refresh. But for LC according to note 457425 versions should be same on source & target. I am planning to install LC 7.9 on target server then upgrade patch to 7.9.21 & then restore the backup from production.
So if i follow this course of action still do I need to follow the step1 'Select the menu option Instance -> Install' from DBMGUI or I can directly go to backup restore from production.
Also I am taking a complete LC backup from production using db studio. So I think I need to restore it again using DB studio only. Note 457425 is giving steps for DBMGUI so can I get the simillar steps for dbstudio anywhere?
I am taking a complete backup of production. So is there any specific requirement while taking a backup for LC refresh to restore on other system than the same database.
Kindly let me know if you have any inputs on these queries as I am bit confused at this point for this refresh activity
Thanks
Amar.
I am working with a customer who is replatforming from Physical to Virtual. They completed their sizing exercise, but for liveCache, the sizing came back with some large numbers. They anticipate as much as 56,000 SAPS needed for liveCache, and as many as 48 CPUs required.
I have been reading over various notes and documents in regards to liveCache system requirements and sizing. I am looking for some experiences people have with virtualizing liveCache, especially in large systems, with large SAPS and high utilization.
Is there any formal documenation in regards to virtualizing liveCache, and do others often recommend liveCache to remain Physical?
Thanks for any advice, experiences, or help with this topic.
Ricky