Quantcast
Channel: SCN : Popular Discussions - SAP MaxDB
Viewing all 1545 articles
Browse latest View live

MAXDB Recovery Log Shipping

$
0
0

Hi All,

 

We have Build DR Standby System which we have restored from Prod System into a Standby System.

 

We have used the Log Shipping Script which is available in the below wiki Link

 

HowTo - Standby System (Recovery from Log Backup) - MaxDB - SCN Wiki

 

Our SAP Landscape Environment is Windows OS 2008 and MAXDB 7.6

 

 

Well, This Script  consist in 3 files: Standby.Bat, Recovery_Builder, Recovery_Apply. We have implemented these scripts in STANDBY SERVER,


We've tried to adapt the code for our system landscape but when we execute the script we're running into an error:


And we are facing issue in the 2nd Script RECOVERY_BUILDER, As per the script it will Set DB to Admin mode and then builds the import list and exports to script file.


I have tried this script but no success i.e i cannot generate the Script file, The Script is Working till : EXIT LOOP


Please find our adapted Script with changed LOG Path, DBMCLI, Passwords


RECOVERY BUILDER :


rem %%a = Logfile Name

rem %%b = log file number

rem %%j = Page number

Set LiveDB=SAPDMSPRD.domain.com

 

 

C:\sapdb\programs\pgm\dbmcli.exe -n localhost -d SDB -u SUPERDBA,XXXXX db_admin

 

 

for /f "usebackq tokens=1,2,3,4 delims= " %%a in (`"C:\sapdb\programs\pgm\dbmcli.exe -n localhost -d SDB -u SUPERDBA,XXXXXXX db_restartinfo |findstr /c:"Used LOG Page""`) do (set current_page=%%d)

 

 

for /f "usebackq tokens=1,2 delims=." %%a in (`"dir Z:\DR_DataBackup\Log_Bkp\. /b /o:e"`) do (

     for /f "usebackq tokens=1,2,3,4 delims= " %%g in (`"C:\sapdb\programs\pgm\dbmcli.exe -n SAPDMSPRD.domain.com -d SDB -u SUPERDBA,XXXXXXX medium_label SDB_log_bkp %%b |findstr /c:"Last LOG Page""`) do (

          call :find_backup_page  %%j %%a %%b

     )

)

 

 

:exit_loop

 

for /f "usebackq tokens=1,2 delims=." %%a in (`"dir Z:\DR_DataBackup\Log_Bkp\. /b /o:e"`) do

(

if %%b GTR %first_file% (

echo recover_replace SDB_log_bkp "Z:\DR_DataBackup\Log_Bkp" %%b >> c:\temp\import_script.txt))

 

 

 

goto end

 

:find_backup_page

          set /i backup_page="%1"

          if /i %current_page% EQU "%1" (

               echo db_connect > c:\temp\import_script.txt

               echo db_admin > c:\temp\import_script.txt

               echo recover_start SDB_log_bkp LOG %3  >> c:\temp\import_script.txt

               set first_file=%3

               pause

          goto exit_loop

          )

:end

 

 

The Live DB variable is PROD Server Hostname FQDN

LOG Backup Path = Z:\DR_DataBackup\Log_Bkp

Backup_Medium_Label = SDB_log_bkp

 

I have run the script manually with 3 log files generated manually, The Script is giving me values of Current USED log page and LAST LOG PAGE,

 

After this EXIT LOOP the script comes out of loop and doesn't generating the script file.

 

Could you provide me what are wrong in my adapted scripts and help me with them??


Thanks,

Karthick V


MaxDB database studio usermanagement errors

$
0
0

Hi,

 

I (succesfully, as far as I can tell) installed MaxDB on a Windows 7 Professional x64 Vmware virtual PC (maxdb-all-win-64bit-x86_64-7_8_02_28) and now want to also install MaxDB database studio (maxdb-studio-win-64bit-x86_64-7_9_08_01). While the installation seems to finish successfully, I'm running into errors after starting (as administrator). First error is

 

'Loading preference values failed; default values will be used

 

Reason:

Missing object type: :Loader'

 

then

 

'Could not read preferences

 

Reason:

Missing object type: :SQLSTUDIO'

 

The Event log viewer shows warnings about the utilities path not specified and again Errors about 'Missing object type:: preferences'

 

While Eclipse then starts up, it is not possible to work with the locally installed DB (which seems to be detectect, however). Again there are errors about

'Missing object type::preferences' as well as

'Could not load mounted Local Folders'

'Can not get registration preferences'

'Get login attributes failed'

'User management exception: Missing object tye::UM_CONNECTION_KEY_REPLACE_WITH_DATABASE_NAME'

 

Searching the web using these errors does result in too much help, , unfortunately, for UM_CONNECTION_KEY_REPLACE_WITH_DATABASE_NAME I do net get a single hit with google.

 

First I thought my Java SDK 1.7, is too recent, so I uninstalled DB studio and Java and tried again with Oracle jdk-6u37-windows-x64, but I'm getting the same errors. I also noted that, as it seems, the DB Studio remembered the password from the previous installation. It did not ask for a new one during the new installation but asked for the old one after I started it (I consider this a bug).

 

Any ideas anyone? Any help would be appreciated.

 

Maybe I should also note that at first I had a broken MaxDB installation (it failed to load the system tables), which I uninstalled, however and reinstalled (then succesfully).

 

Thanks in advance and best regards,

 

Thomas

Uninstalling MaxDB

$
0
0

Hi,

I have installed SAP Netweaver developer Studio 6.40 which installed MAXDB database also. Due to some reason I had to unistall the trial version of Developer studio, in this process developer studio got unistalled but not MAXDB.

*----


I use Add/Remove programs and uninstall MaxDB. I get the messages like this.....

 

Start uninstallation now (y/n) : Y (resoponse)

 

then message displays

found instance of J2E, cannot remove package..first remove all instances...

*----


 

I have stopped all the services, even then Iam getting such error message. How do I uninstall?

 

Help needed.

 

-Suresh

SAP Max Database Studio 7.9.08 64 bit installation failed

$
0
0

Hello Colleagues,

 

I tried to install the SAP Max Database Studio 7.9.08 in a 64 bit version on a Windows 7 64bit (Intel) PC.

The newest version as SAP package "MAXDBSTDDSK7908_4-20006288.SAR" downloaded at Service Market Place.

After unzip with SAPCAR I executed the Setup "SDBSETUP.exe" with the default values.

Standard path "C:\sapdb\...

I tried es with different path like "C:\Program Files\sapdb\ ... with the same error situation

 

At SAPMax - XML Log Viewer I found serveral error's

 

ERR: Invalid value for type "path"

...

 

ERR: install registry not found

ERR: Cannot open install registry

...

ERR: Service check failed

ERR: Cannot open "C:\Windows\SysWOW64\drivers\etc\services" to write: No such file or directory

...

 

After check with "SAP Note 1097311 - SAP MaxDB Database Studio installation" I asume the issue is related to the Registry-Key path.

 

This ist the SAP requirement:

 

HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ Windows \

SystemDirectory

Wert: "%SystemRoot%\system32" (type REG_EXPAND_SZ)

 

 

I have following values on the client PC:

 

SystemDirectory     REG_SZ     C:\Windows\SysWOW64

 

 

I don't think I can change the Windows 7 standard value/path here to the SAP value?!

 

Does anyone know the problem and how I am able to solve it?

 

Many thanks advance!

 

Regards,

 

Jochen

MAXDB Recovery Log Shipping

$
0
0

Hi All,

 

We have Build DR Standby System which we have restored from Prod System into a Standby System.

 

We have used the Log Shipping Script which is available in the below wiki Link

 

HowTo - Standby System (Recovery from Log Backup) - MaxDB - SCN Wiki

 

Our SAP Landscape Environment is Windows OS 2008 and MAXDB 7.6

 

 

Well, This Script  consist in 3 files: Standby.Bat, Recovery_Builder, Recovery_Apply. We have implemented these scripts in STANDBY SERVER,


We've tried to adapt the code for our system landscape but when we execute the script we're running into an error:


And we are facing issue in the 2nd Script RECOVERY_BUILDER, As per the script it will Set DB to Admin mode and then builds the import list and exports to script file.


I have tried this script but no success i.e i cannot generate the Script file, The Script is Working till : EXIT LOOP


Please find our adapted Script with changed LOG Path, DBMCLI, Passwords


RECOVERY BUILDER :


rem %%a = Logfile Name

rem %%b = log file number

rem %%j = Page number

Set LiveDB=SAPDMSPRD.domain.com

 

 

C:\sapdb\programs\pgm\dbmcli.exe -n localhost -d SDB -u SUPERDBA,XXXXX db_admin

 

 

for /f "usebackq tokens=1,2,3,4 delims= " %%a in (`"C:\sapdb\programs\pgm\dbmcli.exe -n localhost -d SDB -u SUPERDBA,XXXXXXX db_restartinfo |findstr /c:"Used LOG Page""`) do (set current_page=%%d)

 

 

for /f "usebackq tokens=1,2 delims=." %%a in (`"dir Z:\DR_DataBackup\Log_Bkp\. /b /o:e"`) do (

     for /f "usebackq tokens=1,2,3,4 delims= " %%g in (`"C:\sapdb\programs\pgm\dbmcli.exe -n SAPDMSPRD.domain.com -d SDB -u SUPERDBA,XXXXXXX medium_label SDB_log_bkp %%b |findstr /c:"Last LOG Page""`) do (

          call :find_backup_page  %%j %%a %%b

     )

)

 

 

:exit_loop

 

for /f "usebackq tokens=1,2 delims=." %%a in (`"dir Z:\DR_DataBackup\Log_Bkp\. /b /o:e"`) do

(

if %%b GTR %first_file% (

echo recover_replace SDB_log_bkp "Z:\DR_DataBackup\Log_Bkp" %%b >> c:\temp\import_script.txt))

 

 

 

goto end

 

:find_backup_page

          set /i backup_page="%1"

          if /i %current_page% EQU "%1" (

               echo db_connect > c:\temp\import_script.txt

               echo db_admin > c:\temp\import_script.txt

               echo recover_start SDB_log_bkp LOG %3  >> c:\temp\import_script.txt

               set first_file=%3

               pause

          goto exit_loop

          )

:end

 

 

The Live DB variable is PROD Server Hostname FQDN

LOG Backup Path = Z:\DR_DataBackup\Log_Bkp

Backup_Medium_Label = SDB_log_bkp

 

I have run the script manually with 3 log files generated manually, The Script is giving me values of Current USED log page and LAST LOG PAGE,

 

After this EXIT LOOP the script comes out of loop and doesn't generating the script file.

 

Could you provide me what are wrong in my adapted scripts and help me with them??


Thanks,

Karthick V

Error while doing SP update on PI 7.1 dual stack

$
0
0

Hi All,

 

We are in process of doing support pack update for PI 7.1 to stack 19 using SUM on Win 2003 R2 server with Maxdb 7.9 db. We are stuck with a error in the execution phase and below is the error,

 

Deployment of archive D:\usr\sap\trans\EPS\in\ETPRJSCHEDULER19_0-10006469.SCA --> scheduler-dblayer-sda.sda for component redwood.com/scheduler-dblayer-sda aborted

Detailed message: 1. [ERROR CODE DPL.DBC.204] failed to deploy dbschemacontainer : scheduler-dblayer-sda.sda  D:\usr\sap\NPI\DVEBMGS00\j2ee\cluster\server0\temp\deploy\work\deploying\scheduler-dblayer-sda.sda1436281991203\scheduler-dblayer-sda.sda. Return code from dictionary library is ERROR.

  -> [ERROR CODE DPL.DBC.901] Deploy operation finished with ERROR code.

The following messages were collected by DBModificationController during deployment:

 

 

ERROR SUMMARY:

 

 

E R R O R ******* (DbSapTable dev 30.07.2013 13:00:00)

8:13:12 2015-07-07 sap-Error:  checkWidth JCS_JOBDEFPARAM0: total width(8514) greater than allowed maximum (8088)

 

 

E R R O R ******* (DbSapTable dev 30.07.2013 13:00:00)

8:13:13 2015-07-07 sap-Error:  checkWidth JCS_OPERMESSAGE0: total width(8183) greater than allowed maximum (8088)

 

 

More details can be found in the trace and log files.

See Deploy Controller log D:\usr\sap\SUM\sdt\log\SUM\deploy_api.0.log for details.

.

Kindly help me out.

 

Regards,

Nikilesh

User event dispatcher is configured but still not receiving alert mails

$
0
0

Hi Folks,

 

We have configured the user event dispatcher on livecache system with MAX DB database though dispatcher is activated but we are not receiving alerts on mail. In run directory M:\sapdb\SID\data\wrk\SID dbm.cfg is created with the following parameters

 

DBADTL              =1

AUTOSAVE            =1

RunEventDispatcher  =yes

SDBED_SMTPSENDERAD  =SID-Sandbox-LiveCache@company.com

SDBED_SMTPSERVERS   =smtphost.company.com:25

RunUserDispatcher   =yes

 

Also dbm_whitelist.cfg is created using user SIDADM but there is no entry in file it is empty. We have configured the following alerts

 

0000000001.((Name == "Offline") && (Priority == 3))=sdbmail "<subject>Test</subject> <body>The database name is $DBNAME$</body> <recipient>ashans@company.com</recipient>";

0000000002.((Name == "Online") && (Priority == 3))=sdbmail "<subject>Test</subject> <body>The database name is $DBNAME$</body> <recipient>ashans@company.com</recipient>";

FILEVERSION=7.9.08.29

 

entries are there in dbm_ed_user.cfg file.

 

Whenever i bring down/up the MAXDB database i supposed to get an alerts but I am not receiving any alert on recipient address and in logs i did not find any error. Can you please let me know if i missed any point.

 

Thanks

Ashish

SAP DBTech JDBC: [-9205]: System error: AK Catalog information not found

$
0
0

DB-Version: 7.9.08.27  and  7.9.08.32

 

For most of our tables - not all - we get an error when trying to open the definition in Database-Studio.

 

A jdbc-program trying to call DatabaseMetaDataMaxDB.getPrimaryKeys also crashes:

 

com.sap.dbtech.jdbc.exceptions.JDBCDriverException: SAP DBTech JDBC: [-9205]: System error: AK Catalog information not found:000000000003F5F5000A000F

    at com.sap.dbtech.jdbc.exceptions.SQLExceptionSapDB.createException(SQLExceptionSapDB.java:300)

    at com.sap.dbtech.jdbc.exceptions.SQLExceptionSapDB.generateDatabaseException(SQLExceptionSapDB.java:146)

    at com.sap.dbtech.jdbc.packet.ReplyPacket.createException(ReplyPacket.java:69)

    at com.sap.dbtech.jdbc.ConnectionSapDB.throwSQLError(ConnectionSapDB.java:1100)

    at com.sap.dbtech.jdbc.ConnectionSapDB.execute(ConnectionSapDB.java:723)

    at com.sap.dbtech.jdbc.ConnectionSapDB.execute(ConnectionSapDB.java:565)

    at com.sap.dbtech.jdbc.CallableStatementSapDB.execute(CallableStatementSapDB.java:454)

    at com.sap.dbtech.jdbc.CallableStatementSapDB.execute(CallableStatementSapDB.java:319)

    at com.sap.dbtech.jdbc.CallableStatementSapDB.executeQuery(CallableStatementSapDB.java:763)

    at com.sap.dbtech.jdbc.DatabaseMetaDataMaxDB.getPrimaryKeys(DatabaseMetaDataMaxDB.java:298)

    at com.sap.dbtech.jdbc.trace.DatabaseMetaData.getPrimaryKeys(DatabaseMetaData.java:582)

    at org.apache.tomcat.dbcp.dbcp.DelegatingDatabaseMetaData.getPrimaryKeys(DelegatingDatabaseMetaData.java:456)

 

 

We already tried to import a backup into a new server with the latest 7.9.08.32 - but the error remains the same.

 

In the Db Error File we get:

 

Thread 0x6D22 Task285  2015-10-07 09:08:08 ERR AK CACHE   51105:  000000000003F5F5000A000F0000000000000000
Thread 0x6D22 Task285  2015-10-07 09:08:08 ERR SYSERROR   51080:  -9205 AK Catalog information not found:0
Thread 0x6D22 Task285  2015-10-07 10:10:32 ERR AK CACHE   51105:  000000000003F5F5000A000F0000000000000000
Thread 0x6D22 Task285  2015-10-07 10:10:32 ERR SYSERROR   51080:  -9205 AK Catalog information not found:0

 

Running the "Structural Consistency Check" returned:

OK

Your database structure is consistent.

Pages Used: 31.546 Pages (252.368 KB)

 

All applications (beside those that access MetaData) work fine.

Access to the data itself works without problems.

Is there a way to repair the catalog information?

 

Any help is really appreciated.

Regards,

Bernhard


Reset superdba password for MAXDB

$
0
0

Hello

 

After migrating a sapdb instance (7.3 system) to maxdb 7.6 I have problems with the superdba and the control user.s The password that I think they should be the right do not work.

 

Now I'm looking for the possibility to reset the password of superdba and/or control user.

 

Please do not send me the notes

25591 - Changing the DBM, SYSDBA and DBA user passwords

and

39439 - XUSER entries for SAP DB and MaxDB

as done in many other SDN threads. This doesn't work for me because you can change the password only if you know the actual password (standarlogins superdba/admin and control/control do not work btw).

 

Does anyone know how to reset those passwords?

 

Thanks and regards

 

Marco

-24950,ERR_USRFAIL: User authorization failed

$
0
0

Hi everyone

I have SAP Solution Manager 7.1 On Linux suse 11 and MaxDB 7.8 with SID ZZZ. The password of dba user SAPZZZ was changed.

The old password was for example'XxHh$115' (with special caracter $) and the new password is 'XxSYy2015'.

 

I change the password in Database studio following the instructions of the sap notes:

25591 - Password change for DBM and DBA users

39439 - XUSER entries for SAP MaxDB

 

The change of the password was succesfully.

 

I obtain an error in the transactioN DB13 and using dbmcli command:

 

dbmcli: hostname_xx:ssmadm 69> dbmcli -d ZZZ -u SAPZZZ,XxSYy2015

Error! Connection failed to node (local) for database ZZZ:

-24950,ERR_USRFAIL: User authorization failed

 

In DB13: Name and Server    :

ZZZ - hostname_xx Function          

: DBM_GETF Command          

: DBAHIST DATE=20141010 Error            

: DBM Error Return Code        :        -2 Error Message    

: ERR_USRFAIL: User authorization failed

 

I try to change the password via dbmcli with the following command:

dbmcli -u SAPZZZ,XxHh\$115 -uk DEFAULT -us SAPZZZ,XxSYy2015 -d ZZZ -n hostname_xx

 

but the error is: Error! wrong username or password!

 

Database studio is working fine, I can to execute backups with the user SAPZZZ.

 

Please help us to solve it, I need schedule the database backup using the transaction DB13 but the job ended with message: -24950,ERR_USRFAIL: User authorization failed.

 

Thanks in advanced for your help.

Best Regards,

Osmany Martínez

dbanalyzer ERROR 25: SQLDBC error -4008, POS(1) Unknown user name/password combination (SQL state "28000").

$
0
0

Hello Gurus,

 

we have a unusual problem with our MaxDB 7.9.8.25

We want to check the parameter like discribed in note 1111426, but dbanalyzer throws the following error.

 

tttadm >/sapdb/TTT/db/bin/dbanalyzer -d TTT -u superdba,****** -f dbanalyzer_InstanceParameterCheck.cfg -o /tmp -i -c 1 -t 1,1

SAP MaxDB Database Analyzer, The Performance Analysis Tool, Version 7.9.08.25

Copyright 2000-2014 by SAP AG

 

 

ERROR 25: SQLDBC error -4008, POS(1) Unknown user name/password combination (SQL state "28000").

But with dbmcli we can connect with the same user.

 

tttadm >  dbmcli -d TTT -u superdba,******

dbmcli on KBP>

Has anyone a suggestion?!

20090 check knldiag kernel exited with '0' before reaching admin state

$
0
0

Hello,

when i'm trying to start the database on my Linux machine i'm getting the following error:

Trying to start database...

Log file: /home/ewmadm/startdb.log

Databse start failed

DB startup failed

 

In the startdb.log:

-24994,ERR_RTE: Runtime environment error

20090 check knldiag kernel exited with '0' before reaching admin state

 

In the KnlMsg i can't find any obvious errors.

MaxDB 7.9 DB connection failed DB50/DB59

$
0
0

Hello,

 

i have installed a new ERP 6.06 SAP System on MaxDB 7.9/Sles 11 Linux. After successful installation i have tested the database connection.

The database connection failed. What could i do to solve the problem?

 

SAP transaction DB59 Test:

Result:

p01_P01_02 (p01 )

SAP Kernel Release : 720_EXT_REL

SAP Kernel Patch : 401

DBMRFC Release : 7.9.07.14

DBMCLI Release : 7.9.07.14

DBSL Release : 720.00

DBSL Patch : 421

SQLDBC Version : 7.8.02.17

SQLDBC Runtime : 7.9.07.14

1.DBSL Library Availability -Connection test successful

2.Client Software Availability -Connection test successful

3.Execute an external operating system command (DBMCLI) -Connection test successful

4.Determine status using SQL connection -Error in connection test

5.Test the SQL connection (Native SQL at CON_NAME) -Connection test successful

 

 

 

Report: RSSDBCHECKDBMRFC

 

 

  Main Analysis

       SMGW - Checking existence and correctness of registered client

       WARNING: dbmrfc@sapdb not registered. Trying to start the SAPDB_DBM_DAEMON

 

       SM59 - Checking existence and connection of RFC destinations SAPDB_DBM and SAPDB_DBM_DAEMON

       SAPDB_DBM exists

       SAPDB_DBM_DAEMON exists

       SAPDB_DBM connection successful

       WARNING: SAPDB_DBM_DAEMON connection not successful. Trying to start SAPDB_DBM_DAEMON

       SM59 - Checks were successful

 

       CONN - Determining database state via TCP/IP connection SAPDB_DBM and SAPDB_DBM_DAEMON

  DBM_EXECUTE_SDB error: dbm_execute_error

  Name and Server     : P01 - p01

  Function            : DBM_EXECUTE

  Command             : db_state

  Error               : DBM Error

  Return Code         : -24941

  Error Message       : ERR_NEEDLOGON: DBM server logon required

  ERR

  -24941,ERR_NEEDLOGON: DBM server logon required

       ERROR: Error in determination via command mode "dbmrfc db_state"

  DBM_EXECUTE_SDB: dbm_execute_error

  Name and Server     : P01 - p01

  Function            : DBM_EXECUTE

  Command             : db_state

  Error               : DBM Error

  Return Code         : -24941

  Error Message       : ERR_NEEDLOGON: DBM server logon required

  ERR

  -24941,ERR_NEEDLOGON: DBM server logon required

       ERROR: Error in determination via session mode "dbmrfc db_state"

       CONN - Check was not successful

 

       TP - Get connection information and existence of program

       Connection information used by DBMRFC:

       dbnode: p01 ; dbname: P01 ; sysid: P01 ; conn: P01 ; profile: no_longer_used

       Transport profile is not specified, trying to determine it

       ERROR in TMS_CFG_READ_LOCAL_CONFIG:  tms_is_not_configured

       ERROR in TMS_CFG_READ_LOCAL_CONFIG: Could not get transport domain.

       Executing command: dbmcli -d P01 -n p01 -tpp no_longer_used -tpi P01 -tpc P01 db_state

       TP - Checks were successful

 

 

 

Detail Analysis

       Checking MAXDB Version and searching independent program path via SDBREGVIEW

       Independent program path exists: /sapdb/programs

       Client installation path exists: /sapdb/clients/P01

 

       Checking paths in environment variables

       Checking correctness of environment variable "path"

       /sapdb/programs/bin  exists

       ERROR: Set the following path before all other paths in environment variable: /sapdb/clients/P01/bin

       /usr/sap/P01/DVEBMGS02/exe (DIR_EXECUTABLE) exists

       Checking correctness of environment variable "ld_library_path"

       /usr/sap/P01/DVEBMGS02/exe (DIR_EXECUTABLE) exists

       ERROR: Set the following path before all other paths in environment variable: /sapdb/programs/lib

       ERROR: Set the following path before all other paths in environment variable: /sapdb/clients/P01/lib

       Error found in one step

 

       Checking existence of necessary libraries in /sapdb/programs/lib

       libicudata.so.<version> exists

       libicui18n.so.<version> exists

       libicuuc.so.<version> exists

       libsapni.so exists

       WARNING: libsapu16.so was not found

       Check your MAXDB installation

 

       Checking existence of necessary executables

       tp exists in /usr/sap/P01/DVEBMGS02/exe

       sapdbmrfc exists in /usr/sap/P01/DVEBMGS02/exe

       dbmrfc exists in /sapdb/programs/bin

       sdbregview exists in /sapdb/programs/bin

       sdbverify exists in /sapdb/programs/bin

       dbmcli exists in /sapdb/programs/bin

 

 

Xuser test on OS:

 

p01:p01adm 57> dbmcli -U c

dbmcli on p01 : P01>exit

OK

 

---

p01:p01adm 58> dbmcli -U w

dbmcli on p01 : P01>exit

OK

 

---

p01:p01adm 59> dbmcli -d P01 -u control,<password>

dbmcli on P01>exit

OK

 

---

p01:p01adm 59> dbmcli -d P01 -u superdba,<password>

dbmcli on P01>exit

OK

 

---

 

p01:p01adm 61> R3trans -d

This is R3trans version 6.23 (release 720 - 31.10.12 - 20:12:06).

unicode enabled version

R3trans finished (0000).

p01:p01adm 62> R3trans -x

This is R3trans version 6.23 (release 720 - 31.10.12 - 20:12:06).

unicode enabled version

R3trans finished (0000).

p01:p01adm 63>

 

p01:p01adm 58> dbmcli -d P01 -U c db_enum

OK

P01     /sapdb/P01/db                           7.9.07.14       fast    running

P01     /sapdb/P01/db                           7.9.07.14       quick   offline

P01     /sapdb/P01/db                           7.9.07.14       slow    offline

P01     /sapdb/P01/db                           7.9.07.14       test    offline

p01:p01adm 59>

 

 

p01:p01adm 60> x_server start

2013-10-19 12:17:28 30139 44640 INF  12916          Found running XServer on port 7200

2013-10-19 12:17:28 30139 44640 INF  13011            version 'U64/LIX86 7.9.07   Build 014-123-244-287'

2013-10-19 12:17:28 30139 44640 INF  13010            installation P01  - path: /sapdb/P01/db

2013-10-19 12:17:28 30141 86336 ERR  11931 XSERVER  Open update pipe '/sapdb/data/fifo/xserver_p01_update' failed:No such file or directory

2013-10-19 12:17:28 30141 86336 INF  12916          Found running sdbgloballistener on port 7210

2013-10-19 12:17:28 30141 86336 INF  13011            version 'UNKNOWN'

2013-10-19 12:17:28 30141 86336 ERR  11941 XSERVER  Version string conversion failed:expected format %-9.9s %-8.8s Build %-3.3s-%-11.11s

p01:p01adm 60>

 

p01:p01adm 60> cd /sapdb/data/fifo/

p01:p01adm 61> ls -altr

total 8

drwxrwxr-x 12 sdb sdba 4096 Oct 18 18:30 ..

prw-rw----  1 sdb sdba    0 Oct 19 12:05 xserver_p01_7200_logger

prw--w--w-  1 sdb sdba    0 Oct 19 12:05 P01

prw-rw----  1 sdb sdba    0 Oct 19 12:17 xserver_p01_7200_update

drwxrwxr-x  2 sdb sdba 4096 Oct 19 12:17 .

p01:p01adm 62>

 

There´s no entry with "xserver_p01_update"

How can i create this entry?

 

 

I have no idea to solved this problem. Who can help?

 

Best regards

Dennis

Uninstalling MaxDB

$
0
0

Hi,

I have installed SAP Netweaver developer Studio 6.40 which installed MAXDB database also. Due to some reason I had to unistall the trial version of Developer studio, in this process developer studio got unistalled but not MAXDB.

*----


I use Add/Remove programs and uninstall MaxDB. I get the messages like this.....

 

Start uninstallation now (y/n) : Y (resoponse)

 

then message displays

found instance of J2E, cannot remove package..first remove all instances...

*----


 

I have stopped all the services, even then Iam getting such error message. How do I uninstall?

 

Help needed.

 

-Suresh

Error "-9400 AK Cachedirectory full"

$
0
0

Hello,

 

I'm writing back following an old thread in 2009 on this forum, related to a problem with MaxDB and "AK Cachedirectory full" problems. You can find the previous thread here: What can we so against Error "-9400 AK Cachedirectory full"?

 

The problem was actually never resolved: we could more or less live with it, and we managed to reduce it for a while, but we are having that problem again almost every day now. We actually fixed various points since 2009 and our system has changed quite a lot.

 

We use MaxDB 7.8.02 (BUILD 038-121-249-252) with the JDBC Driver sapdbc-7.6.09_000-000-010-635.jar. Note that we don't use MaxDB in a SAP environment as we have our own business application.

 

Following some very helpful feedback from Lars Breddemann, we fixed various points in our system: for example, result sets were not always properly closed, this is now done immediately after the query has been executed and the result rows were read. We also follow the advise from Elke Zietlow to always close a connection and its associated prepared statements when the error occurs. This also helps in most cases, but sometimes when the error occurs, even closing the connection and its prepared statements does not help and the problem "escalates" until we have to restart the db to fix the problem.

 

Back to the discussion in 2009, I used the two statements given by Lars to monitor the catalog cache usage: when I run this multiple times, I see that all result sets are properly closed as I only see the ones currently being used and they disappear.

 

One important point is that our java application keeps many prepared statements open in a cache, to have them ready to be reused. We can have up to 10'000 prepared statements open, with up to 100 jdbc connections. Actually the AK Cachedirectory full problem happens sometimes very soon after we restart our system and db, so at that time the number of prepared statements can be very low, which seems to indicate that the number of prepared statements being open is not necessarily linked to the problem.

 

Also in the discussion in 2009, Lars mentioned the fact that we use prepared statements of the type TYPE_SCROLL_INSENSITIVE and he was asking if we could not use TYPE_FORWARD_ONLY. Would this really make a difference? We need the TYPE_SCROLL_INSENSITIVE in many cases because we use some iterators to scroll up and down the result sets, so using TYPE_FORWARD_ONLY would require changing quite some code. I also saw in the MaxDB code that using the type TYPE_SCROLL_INSENSITIVE adds the string "FOR REUSE" to the sql statement, what does it exactly mean?

 

Amy help to fix that problem would be greatly appreciated.

Christophe


MAXDB connectivity to Solman 7.1

$
0
0

Hi,

 

I have standalone MAXDB 7.7 database on Linux. I want to connect it to Solman7.1 for monitoring. I have pushed the data of server to SLD after installing diagnostic agent and hostcontrol agent . XUSER entry is also mentained on server.  But SLD is only able identify host detail and not the maxdb database present on th servers.

On server, i could see log in file /usr/sap/hostctrl/work/XCMDOUT.LOG as:

"

Start subprocess as user with uid: sapadm

 

 

--------------------------------------------------------------

 

 

 

 

> Subprocess starts at 20150410144138

 

 

Execute Command : /sapdb/programs/bin/dbmcli -U SDB -U SDB -n <hostname> db_state

Error! Connection failed to node <hostname> for database SDB:

database instance not found

 

 

> Subprocess stops at 20150410144138

 

 

> Subprocess call failed

 

"

But when i directly execute command /sapdb/programs/bin/dbmcli -U SDB -U SDB -n <hostname> db_state on server, It able to fetch the db detail fine as:


OK

State

ONLINE

 

 

Please help me understand how to proceed and how to fix this issue.

MAXDB Installation error - Some Database application might still be running

$
0
0

Hi All ,

 

I am trying to install SAP  trial version . While installation of MAXDB serve , I am getting an error " Some database application might still be running"

 

I dont have any other database installed on my system .

 

Kindly reply what can be the possible reason for this .

 

Thanks n Regards

Manik L Dhakate

Loading SQLDBC client runtime

$
0
0

Hello,

 

While connecting through LC10 does it require SQLDBC client runtime.

As we try to start livecache through LC10 it hangs. Work process log says

 

Wed Jul  4 08:38:27 2007

create_con (con_name=LCA)

Loading DB library '/usr/sap/LPB/SYS/exe/run/dbsdbslib.sl' ...

Library '/usr/sap/LPB/SYS/exe/run/dbsdbslib.sl' loaded

Version of '/usr/sap/LPB/SYS/exe/run/dbsdbslib.sl' is "700.08", patchlevel

5)

New connection 1 created

Connect to LCA as SAPOPB with mou161-OPB

 

DBSDBSLIB : version 700.08, patch 0.095 (Make PL 0.95)

MAXDB shared library (dbsdbslib) patchlevels (last 10)

   (0.095) MaxDB DBSL patch collection 1 2007 (note 1014270)

   (0.082) MaxDB DBSL patch collection 3 2006 (note 991258)

   (0.079) MaxDB DBSL patch collection 2 2006 (note 984406)

   (0.068) MaxDB DBSL patch collection 1 2006 (note 962708)

   (0.051) DB50 perm block defect (note 934194)

   (0.046) ADBC: invalid data when fetching cursor with hold (note 925337)

   (0.045) Signal 11 during creation of BIA index (note 920743)

   (0.038) MaxDB DBSL patch collection 2 2005 (note 908602)

   (0.034) Livecache unicode connect (use SDK 7.6.0 b11) (note 901576)

   (0.028) Disable LVC codepage checking (note 882788)

 

 

Loading SQLDBC client runtime ...

 

What is the exact role of SQLDBC in LC10.

we are able to start livecache through dbmcli at os level

already applied correction note : 1041898

 

Regards,

Tushar

SAP MaxDB storage requirement

$
0
0

Hello,

 

Does anyone know where could I get the disk space/file system design requirements for initial installation of SAP ERP 6.0 with MaxDB 7.9 on Solaris SPARC 10?

 

 

Thank You

Edy

how to search coulumn name

$
0
0

hi

I have some problem, anybody can help  ?- how I can get all table name where have some column name, how I can in maxdb create this specific select sql request.

 

 

select "table_name" from DB where column_name = "%AAA%"

 

 

thank you.

Viewing all 1545 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>