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

MaxDB does not start after backup/restore: duplicate_invkey

$
0
0

Hi

I use MaxDB 7.8.02.35 on SLES 11.2 (Kernel 3.0) OLTP & DBStudio 7.9.08.12

 

I wanted to resize (shrink) & relocate the logfiles. As I found out this is only possible with a backup/restore with initialization (Note 869267 - FAQ: SAP MaxDB log area  ). Before backup the DB had Redo-Management deactivated for performance-reasons.

The Backup went fine as did the Recovery with initialization, all done through DBStudio.

But if I try to start the DB with db_online I get the following error:

 

-24988,ERR_SQL: SQL error

250,Duplicate secondary key

3,Database state: OFFLINE

Internal errorcode, Error code 3320 "duplicate_invkey"

 

db_admin works fine.

 

I tried the approach from Lars mentioned in  http://scn.sap.com/thread/1803992  but it didn't help.

Also, as I didn't change any parameters during initialization, usernames and passwords should be the same as before, as is the DBSID and everything else.

 

 

Any ideas?

 

Best regards

Michael


How to set Automatic Schedule backup in MaxDB?

$
0
0

HI All

 

I need to set automatic backup in MaxDB, i have seen automatic option for logs but not for Full database, Can anyone explain how we can do this.

 

I want Full backup on daily basis along with logs.

 

Welcome for suggestion and directions.

 

Regards,

 

YR

LiveCache ERROR => DlLoadLib()==DLENOACCESS - LoadLibrary

$
0
0

Hi,

 

I have upgraded my SCM 4.1 Systems to 7.02. During the upgrade I have come to a stage where Upgrade tool SUM is asking me to upgrade the LiveCache DB.

LiveCache database upgrade is from 7.5 to 7.9. I have done the Livecache upgrade and also the database client on SCM server.

But I am facing the problem with connecting the SCM system with LiveCache database. It is giving the below error:

 

In SM21 --> No shared library found for the database with ID LCA

 

When I went to check the Work Process Trace I found the below error:

 

B Loading DB library 'F:\USR\SAP\DSC\dvebmgs00\exe\dbsdbslib.dll' ...

M *** ERROR => DlLoadLib()==DLENOACCESS - LoadLibrary

("F:\USR\SAP\DSC\dvebmgs00\exe\dbsdbslib.dll")

Error 126 = "The specified module could not be found." [dlnt.c

255]

M {root-id=005056A674CA1EE28EFC8BC11EA771F8}_{conn-

id=70E43BE2E057F1E7B1F8005056A674CA}_1

B *** ERROR => Couldn't load library 'F:\USR\SAP\DSC\dvebmgs00

\exe\dbsdbslib.dll'

[dbcon.c 5767]

 

 

Though I can see that the required files are present in the kernel

directory. I have also done the Database client upgrade. I have also

referred to the SAP Notes# 649814 & 822239 but to no avail.

Though I did not have any problem while upgrading the Sandbox.

 

In DB59 --> Connection Test, It is giving the below error:

 

SDBINFO:

Name and Server : DLC - ctnhsapdlc

Function : DBM_GETF

Command : SDBINFO

Error : DBM Error

Return Code : -24589

Error Message : ERR_FILENOEXIST: File 'H:\sapdb\data\wrk

 

Please also find the result of the command SDBREGVIEW -L as below:

 

Installation: Global F:\sapdb\programs

Global Listener 7.9.07.09 valid 64 bit

Installation Compatibility 7.9.07.09 valid 64 bit

Installer 7.9.07.09 valid

SAP Utilities Compatibility 7.9.07.09 valid 64 bit

 

Installation: Legacy F:\sapdb\programs

JDBC F:\sapdb\programs 7.6.00.12 valid

Loader F:\sapdb\programs 7.5.00.31 valid 64 bit

ODBC F:\sapdb\programs 7.5.00.31 valid 64 bit

PCR 7301 F:\sapdb\programs 7.3.01.19 valid

PCR 7500 F:\sapdb\programs 7.5.00.31 valid 64 bit

 

Installation: CL_DSC F:\sapdb\clients\DSC

Base 7.9.08.03 valid 64 bit

Fastload API 7.9.08.03 valid 64 bit

JDBC 7.6.06.09 valid

Loader 7.9.08.03 valid 64 bit

Messages MSG 0.10302 valid

ODBC 7.9.08.03 valid 64 bit

Redist Python 7.9.08.03 valid 64 bit

SAP Utilities 7.9.08.03 valid 64 bit

SQLDBC 7.9.08.03 valid 64 bit

SQLDBC 76 7.6.06.22 valid 64 bit

SQLDBC 77 7.9.08.03 valid 64 bit

 

I have already gone through the various SAP Notes# 822239, 649814 and have applied all the recommendations like updating the DB library and Environment variable but to no avail. I did the same upgrade in the Sandbox environment but could not face the same problem.

 

Please help me on this.

 

With Regards, Ashish Sureka

RFCEXEC program

$
0
0

Hi Gurus,

 

One of our development systems was recently upgraded to EHP5. We had also completed the upgrade using one sandbox system which is a copy of DEV system.

After the systems were upgraded to EHP5, we are finding that the Program RFCEXEC vanishing from EXE directory. And Because of this, XI connectivity fails. Is this due to the EHP5 upgrade? Please help me in this.

 

Thanks

Ranga

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

SAP MaxDB Database Studio 7.8.02.21 - Installtion Error

$
0
0

When I am installing MaxDB database Studio 7.8.02.21 , I am getting Installation failed message and it stops , no other details error msg on the screen.

 

But in log it is like

 

ERR:  Invalid value for type "path"

INFO:  Parameter "PrivateData" is not set

ERR:  No global installation found

ERR:  Cannot open install registry:

 

ERR:    install registry not found

 

ERR:  Service check failed

ERR:    cannot find systemdirectory in windows registry

 

Any solution?

 

SAP / DB is not installed in this pc , installing MaxDB Database Studio in this PC to maintain DB on the server located at DC.

OS : Win XP - 32 Bit

 

Regards,

Vignesh P

MaxDB Upgrade error from version 7.3 to 7.5

$
0
0

Hi,

 

we have done upgrade for MaxDB version from 7.3 to 7.5 (windows 2003), it seems upgrade done successfully but when i check the DB version it showing old version like 7.3. before run the upgrade command i took the full DB backup also and i switched DB mode from online to offline. even i don't find any kind of upgrade log file also. please check below error screenshot and help us to resolve this issue.

 

DMS_ERROR.jpg

Regards,

Vino

MaxDB Database Startup Error

$
0
0

The maxDB database is not starting,

 

When I type

 

dbmcli -n mgiusdgrc1 -d CME -u superdba,<passwd> db_online, I get the following error.

 

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

-24700, ERR_DBMSRV_NOSTART: Could not start DBM Server.

-24832, ERR_SHMNOTAVAILABLE: Shared memory not available.

-24827, ERR_SHMALLOCFAILED: ID E:\sapdb\data\wrk\CME.dbm.shi, requested size 260010,

Opening shared memory file E:\sapdb\data\wrk\CME.dbm.shi failed, rc = 5.

 

I tried to rename the file CME.dbm.shi, but it did not work.

 

Currently we have 8 GB of physical memory RAM allocated on Wndows 2008 Server and paging size specified is 16 GB.

 

1- Can anyone help in resolving the above shared memory error?

2- Are there any logfiles and specific error messages that I need to check, to resolve the MaxDB startup issue error.

 

Thanks in advance.


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

Need MAXDB port, dafault database username and password to connect

$
0
0

Hi,

I am new to MAXDB and installed SAP system on Windows XP on local machine.

I have installed SAP Netweaver and while connecting to MAXDB via MAXDB Database Manager facing issue.

I am getting error as -2 ERR_USRFAIL:User authorization failed. Please check attached screenshot for more details.

 

I tried to connect via credentials provided in this thread http://scn.sap.com/thread/95219  but failed to do so.

I used following ports for connection:

 

           7200

           7210

           7269

           7270

           7575

 

Can anyone provide port, default username and password.?

 

Feedback appreciated.

DlLoadLib()==DLENOACCESS - dlopen dbsdbslib.o

$
0
0

Hello experts,

 

We are doing our SCM upgrade from 4.1 to 7.0 with migration. We have completed with the upgrade but before doing the LC upgrade we need to upload the data to the LC using the  /SAPAPO/OM_LC_UPGRADE_70, while doing this it gives an error for connectivity to the LC. From DB59, i checked the connection test fails for "Native SQL" (LCA) step.

 

+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:+   +Error creating a secondary database connection+   +Set up of a secondary connection to the database system failed. It is possible that the data required for setting up the con+   +SQL code:+   +For detailed information, see the developer trace for work process:            4+

From the workprocess we get the below error

 

 

B  Loading DB library '/usr/sap/EAD/DVEBMGS59/exe/dbsdbslib.o' ...
M  *** ERROR => DlLoadLib()==DLENOACCESS - dlopen("/usr/sap/EAD/DVEBMGS59/exe/dbsdbslib.o") FAILED  "#0509-130 Symbol resolution failed for /usr/sap/EAD/DVEBMGS59/exe/dbsdbslib.o because:
#0509-136   Symbol getData__Q2_6SQLDBC10SQLDBC_LOBFPvPLLT3T1T3T2b (number 197) is not exported from
##   dependen"  (errno=8,Exec format error) [dlux.c       445]
M  {root-id=4D87070E166501B0E1008002A7E41451}_{conn-id=00000000000000000000000000000000}_0
B  *** ERROR => Couldn't load library '/usr/sap/EAD/DVEBMGS59/exe/dbsdbslib.o'
 [dbcon.c      5263]
B  {root-id=4D87070E166501B0E1008002A7E41451}_{conn-id=00000000000000000000000000000000}_0
B  ***LOG BYG=> could not load library for database connection LCA        [dbds         886]

 

We have upgrade the sap kernel and also the above said dbsl library, and it exists in the exe directory, But still nothing seems to work...

 

Can someone give any ideas ??

 

Thx

Ananth

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

DB-Connect Failed, Return Code 000256

$
0
0

Hello All.

 

After restoring the DB while i m trying to bring the SAP Instance up, i m getting "DB-Connect Failed, Return Code 000256" in Syslog.

 

Can anyone tell me how this can be solved.

 

The DB is MaxDB 7.6.05.15 & SAP ECC 6.0.

 

Thanks.

 

Regards,

Mudassir.Imtiaz

 

P.S I tried to add the Developer Trace with this message but somehow i couldn't.

I guess its exceeding more than 15000 characters.

RFCEXEC program

$
0
0

Hi Gurus,

 

One of our development systems was recently upgraded to EHP5. We had also completed the upgrade using one sandbox system which is a copy of DEV system.

After the systems were upgraded to EHP5, we are finding that the Program RFCEXEC vanishing from EXE directory. And Because of this, XI connectivity fails. Is this due to the EHP5 upgrade? Please help me in this.

 

Thanks

Ranga

Specifying Schema in JDBC Connection

$
0
0

Hi Guys,

 

MaxDB provides the possibility to logically unite several database objects (e.g. Tables, Views, Indexes, ...) in so called "Schemas".

 

However, I couldn't find any documentation about how to connect to a certain schema via JDBC. How should the JDBC URL look like? Assuming I have this kind of URL jdbc:sapdb://localhost:7200/MAXDB. Is there a way to connect to the schema "DEMO"?

 

Thanks for the help.

 

Cheers,

 

Gerardo


MaxDB Upgrade, unable to establish DB instance session

$
0
0

Hi all, I am trying for to perform a SAP DB upgrade from 7.3.0.28 to version 7.5.0.21. My problem is that when I execute command SDBUPD the following messages appear on screen almost immediately and the update is terminated:

 

beginning to check sap db instances

start new instance update

cannot establish database instance session

 

I followed the instructions in the upgrade guide and notes mentioned but this issue is nowhere mentioned. I am not a database specialist so any help and/or suggestions are more then welcome.

 

Thanks in advance, Tiest

IOWait Deadlock 7.8.02.36

$
0
0

I've got IOWait (R) (041) and IOwait (W) (044). Cant login into the database to do a restart for example.

Cant log a SAP call right now as I don't have the pw for the correct S-user available at the moment.

 

I know it means a data read/write deadlock, but how to fix it ?

 

List of suspend reasons:

========================

 

total suspends:  522238

 

Vwait          :       3 (   0.00% ) k53wait

IOWait(R)(041) :     100 (   0.02% ) b13get_node: await read              :-(

IOWait(W)(044) :       4 (   0.00% ) b13pfree_pno                         :-(

PagerWaitWritr :    5758 (   1.10% ) Pager_Controller::WaitForPagerWritReply

JobWait Redo   :       6 (   0.00% ) Rst_RedoManager::RedoLog

SVP-End  (230) :       1 (   0.00% ) Log_SavepointSync::LockSVPSyncEntry

NoRedoJob(231) :      12 (   0.00% ) Rst_RedoTrafficControl::ExecuteJobs()

LogIOwait(234) :   40378 (   7.73% ) Log_Queue::UserTaskEOTReady

SVP-wait (243) :       2 (   0.00% ) Log_Savepoint::StartSavepointAndWait

No-Work  (255) :  475974 (  91.14% ) Task is waiting for work

 

Environment:
NW 7.30 Java, MaxDB 7.8.02.036. Steps: SUM10SP08_06 patch preparation steps, Kernel 721_REL patch 100.

 

Thanks and Regards, Norbert

DBIF_DSQL2_SQL_ERROR -error 600 occurred in the current database connection

$
0
0

Hello All,

 

We are running SCM 5.0 on Wintel, livecache version is 7.6 (KERNEL 7.6.02  BUILD 014-123-152-175).

 

The following short dumps are logged on the test instance. Consistancy checks of livecache have been successful.

 

Runtime Errors         DBIF_DSQL2_SQL_ERROR

Exception              CX_SY_NATIVE_SQL_ERROR

 

Short text

    An SQL error occurred when executing Native SQL.

What happened?

    The error 600 occurred in the current database connection "LCA".

How to correct the error

    Database error text........: "POS(1) Work rolled back: BAD_ALLOCATION in

     SAPTS_AGGMULT"

    Database error code........: 600

    Triggering SQL statement...: "EXECUTE PROCEDURE SAPTS_AGGMULT_TIMESERIES"

    Internal call code.........: "[DBDS/NEW DSQL]"

    Please check the entries in the system log (Transaction SM21).

 

C Mon Aug 04 11:45:07 2008

C  *** ERROR =>   execute() of C_0752, #rec=0, rc=1, rcSQL=600 (POS(1) Work rolled back: BAD_ALLOCATION in SAPTS_AGGMULT)

[dbsdbsql.cpp 1570]

C  *** ERROR => EXECUTE on connection 1, rc=600 (POS(1) Work rolled back: BAD_ALLOCATION in SAPTS_AGGMULT)

[dbdssdb.cpp  2173]

C  sc_p=000000002ABF1DD0,no=752,idc_p=0000000000000000,con=1,act=1,slen=64,smax=256,#vars=0,stmt=000000002B007A30,table=      SAP

C  CALL USER.SAPTS_AGGMULT_TIMESERIES ( ?, ?, ?, ?, ?, ?, ?, ?, ? );

C  *** ERROR => dbdssdb: SQL Error 600, Message: POS(1) Work rolled back: BAD_ALLOCATION in SAPTS_AGGMULT

[dbdssdb.cpp  2403]

B  ***LOG BY2=> sql error 600        performing EXE        [dbds#1 @ 364] [dbds    0364 ]

B  ***LOG BY0=> POS(1) Work rolled back: BAD_ALLOCATION in SAPTS_AGGMULT [dbds#1 @ 364] [dbds    0364 ]

A  TH VERBOSE LEVEL FULL

 

All assistance will be useful.

 

Best Regards,

Nisch

DlLoadLib()==DLENOACCESS - dlopen dbsdbslib.o

$
0
0

Hello experts,

 

We are doing our SCM upgrade from 4.1 to 7.0 with migration. We have completed with the upgrade but before doing the LC upgrade we need to upload the data to the LC using the  /SAPAPO/OM_LC_UPGRADE_70, while doing this it gives an error for connectivity to the LC. From DB59, i checked the connection test fails for "Native SQL" (LCA) step.

 

+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:+   +Error creating a secondary database connection+   +Set up of a secondary connection to the database system failed. It is possible that the data required for setting up the con+   +SQL code:+   +For detailed information, see the developer trace for work process:            4+

From the workprocess we get the below error

 

 

B  Loading DB library '/usr/sap/EAD/DVEBMGS59/exe/dbsdbslib.o' ...
M  *** ERROR => DlLoadLib()==DLENOACCESS - dlopen("/usr/sap/EAD/DVEBMGS59/exe/dbsdbslib.o") FAILED  "#0509-130 Symbol resolution failed for /usr/sap/EAD/DVEBMGS59/exe/dbsdbslib.o because:
#0509-136   Symbol getData__Q2_6SQLDBC10SQLDBC_LOBFPvPLLT3T1T3T2b (number 197) is not exported from
##   dependen"  (errno=8,Exec format error) [dlux.c       445]
M  {root-id=4D87070E166501B0E1008002A7E41451}_{conn-id=00000000000000000000000000000000}_0
B  *** ERROR => Couldn't load library '/usr/sap/EAD/DVEBMGS59/exe/dbsdbslib.o'
 [dbcon.c      5263]
B  {root-id=4D87070E166501B0E1008002A7E41451}_{conn-id=00000000000000000000000000000000}_0
B  ***LOG BYG=> could not load library for database connection LCA        [dbds         886]

 

We have upgrade the sap kernel and also the above said dbsl library, and it exists in the exe directory, But still nothing seems to work...

 

Can someone give any ideas ??

 

Thx

Ananth

MaxDB does not start - dbmcli shows no reaction

$
0
0

Hello,

 

Since two weeks I'm not able to start a NW7.3 System. After several checks I figured out that the database (MaxDB 7.8 on Windows) does not start. There were no changes in Hardware or OS, Kernel was not updated/upgraded. The System was running since installation in May 2012.

 

dbmcli db_enum does work:

image_png.png

 

But my problem is, that when I run dbmcli -u superdba,***** -d NWD db_online, there is no further reaction. Unfortunatelly the MaxDB logfiles (knlmessage etc.) were not updated, so I have no hint what I should check as nect.

 

Here you can find the whole discussion in Netweaver group: http://scn.sap.com/thread/3333896

 

So my question would be: is there any other MaxDB tool or log file, which can help me to solve this issue - or get at least a hint on the reason why the database can't start any more? Or maybe is an update to 7.9 a possible solution?

 

Thanks in advance

 

Václav

Viewing all 1545 articles
Browse latest View live


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