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

MaxDB 32 bits on Windows 7 64 bits

$
0
0

I folks,

I use a 32 bits IDE witch connect to MaxDB using ODBC, so i need the 32 bit driver to create a 32 bits ODBC datasource.

Everything was OK, until ia receive a brand new computer, running... Windows 7 64 bits.

When i try to install MaxDb client (7.6.06.22), i have this message:

 

Cannot create package tree: unresolved dependency: package "Database connectivity" not found.

 

I've also tried version 7.8.02.21, and i get another message:

 

Software isn't runnable on your system.

 

What must i do ?

 

TIA

 

Frédéric.


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

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

Access to MAXDB SAP Schema tables

$
0
0

HI Guys ,

 

I am trying to reset SAP* password in my MAXDB DB 7.6.  I know that is a very simple operation and I did it many times in other DBs , but here I  have stuck  during whole day .

 

I have connected to SQL Studio as SUPERDBA .

My SAP Schema  is "SAPIDS" .

 

To access usr02 table I run the following SQL :

 

select MANDT, BNAME, UFLAG from SAPIDS.USR02 where MANDT='000' and BNAME='SAP*'

, but I got the error thet the table does not exist .

 

I also tried:

 

 

select MANDT, BNAME, UFLAG from "SAPIDS"."USR02" where MANDT='000' and BNAME='SAP* ,

 

select * from SAPIDS.USR02 ; select * from "SAPIDS"."USR02" ;

 

I switch to Oracle mode also , but Nothing is working !

 

Also important to say that sql :

 

select * from tables where owner='SAPIDS'and tablename='USR02'

 

shows the USR02 table as well .

 

Any ideas ?

 

thanks in advance,

 

Evgeny

Livecache backup failing with 'Too many open files' (24)

$
0
0

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.

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

MaxDB Database Studio is not launching

$
0
0

Hi,

I had an old version of MaxDB Studio 7_9_08_01 which was running very well.

Since a couple of days, the studio desn't want to launch anymore. I can see the process coming up in Task Manager and it dissapears.

I have also tried using a newser version MaxDB Studio 7_9_08_32, but no change.

I have see some XServer in the services which is related to MaxDB, does it needs to be running?

Thanks for your help.

disp+work.EXE of SAP Instance stopped and DB connection failed.

$
0
0

Hi~

I have trouble starting instance in SAPMMC.

 

As soon as start instance, gateway in 00 instance shutdown first.

And then disp+work.EXE stopped.

 

I don't know really why it happend.

I attatched - R3trans -d.

                  - SAPMMC.

 

Please help me.

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

I attached trans.log file below.

 

4 ETW000 r3trans version 6.24 (release 740 - 04.02.14 - 20:14:02 ).

4 ETW000 unicode enabled version

4 ETW000 ===============================================

4 ETW000

4 ETW000 date&time   : 01.09.2015 - 13:38:07

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 Sep 01 13:38:08 2015                                                 118  0.000118

4 ETW000  [     dev trc,00000]  db_con_init called                                                        49  0.000167

4 ETW000  [     dev trc,00000]  set_use_ext_con_info(): usage of ssfs switched off (rsdb/ssfs_connect=0)

4 ETW000                                                                                                  73  0.000240

4 ETW000  [     dev trc,00000]  determine_block_commit: no con_hdl found as blocked for con_name = R/3

4 ETW000                                                                                                  27  0.000267

4 ETW000  [     dev trc,00000]  create_con (con_name=R/3)                                                 16  0.000283

4 ETW000  [     dev trc,00000]  Loading DB library 'dboraslib.dll' ...                                    57  0.000340

4 ETW000  [     dev trc,00000]  DlLoadLib success: LoadLibrary("dboraslib.dll"), hdl 0, count 1, addr 00007FF8E9640000

4 ETW000                                                                                                 631  0.000971

4 ETW000  [     dev trc,00000]      using "C:\usr\sap\ooo\SYS\exe\uc\NTAMD64\dboraslib.dll"               20  0.000991

4 ETW000  [     dev trc,00000]  Library 'dboraslib.dll' loaded                                            22  0.001013

4 ETW000  [     dev trc,00000]  function DbSlExpFuns loaded from library dboraslib.dll                    21  0.001034

4 ETW000  [     dev trc,00000]  Version of 'dboraslib.dll' is "740.10", patchlevel (0.60)                131  0.001165

4 ETW000  [     dev trc,00000]  function dsql_db_init loaded from library dboraslib.dll                   26  0.001191

4 ETW000  [     dev trc,00000]  function dbdd_exp_funs loaded from library dboraslib.dll                  47  0.001238

4 ETW000  [     dev trc,00000]  -->DbSlControl(con=-1,cmd=47=DBSL_CMD_IMP_FUNS_SET) -> changed=30, tagset=1

4 ETW000                                                                                                 140  0.001378

4 ETW000  [     dev trc,00000]  -->DbSlControl(con=-1,cmd=39=DBSL_CMD_SET_SINGLETASK)                     26  0.001404

4 ETW000  [     dev trc,00000]  -->DbSlControl(con=-1,cmd=10=DBSL_CMD_DBCA_PTR_GET)                       23  0.001427

4 ETW000  [     dev trc,00000]  New connection 0 created                                                  16  0.001443

4 ETW000  [     dev trc,00000]  0: name = R/3, con_id = -000000001, state = DISCONNECTED, tx = NO , bc = NO , oc = 000, hc = NO , perm = YES, reco = NO , info = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO , prog = 

4 ETW000                                                                                                  39  0.001482

4 ETW000  [     dev trc,00000]  -->DbSlControl(con=-1,cmd=10=DBSL_CMD_DBCA_PTR_GET)                       35  0.001517

4 ETW000  [     dev trc,00000]  db_con_connect (con_name=R/3)                                             21  0.001538

4 ETW000  [     dev trc,00000]  determine_block_commit: no con_hdl found as blocked for con_name = R/3

4 ETW000                                                                                                  25  0.001563

4 ETW000  [     dev trc,00000]  find_con_by_name found the following connection:                          18  0.001581

4 ETW000  [     dev trc,00000]  0: name = R/3, con_id = 000000000, state = DISCONNECTED, tx = NO , bc = NO , oc = 000, hc = NO , perm = YES, reco = NO , info = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO , prog = 

4 ETW000                                                                                                  37  0.001618

4 ETW000  [     dev trc,00000]  -->DbSlConnect(vers=-1, type=0, env='[default env]', usr='[default usr]', kernel dbsl='740')

4 ETW000                                                                                                 174  0.001792

4 ETW000  [     dev trc,00000]  DIR_CLIENT_ORAHOME is not set as profile nor env. parameter.             334  0.002126

4 ETW000                        Assuming using instant client with unspecified location.

4 ETW000  [     dev trc,00000]  Register application info.                                                97  0.002223

4 ETW000  [     dev trc,00000]  Oracle client version: 11.2.0.4.0, (dbsl 740 140314, UNICODE[2])       46137  0.048360

4 ETW000  [     dev trc,00000]  Detailed Oracle client (patch) info not available.                        36  0.048396

4 ETW000  [dbsloci.c   ,00000]  *** ERROR => Connect via SAPUSER not supported for kernel >= 740.         43  0.048439

4 ETW000  [     dev trc,00000]     Only Secure Connect method possible.                                   19  0.048458

4 ETW000  [     dev trc,00000]     DbSlConnect(con=-1) -> orc=0, 15=DBSL_ERR_UNSUPPORTED                  28  0.048486

4 ETW000  [     dev trc,00000]  -->DbSlControl(con=-1,cmd=41=DBSL_CMD_RELINFO_GET)                        27  0.048513

4 ETW000  [     dev trc,00000]  -->DbSlControl(con=-1,cmd=14=DBSL_CMD_VERSION_GET)                        20  0.048533

4 ETW000  [     dev trc,00000]  -->DbSlControl(con=-1,cmd=50=DBSL_CMD_GET_PATCH_INFO)                     19  0.048552

4 ETW000  [     dev trc,00000]  -->DbSlControl(con=-1,cmd=13=DBSL_CMD_VENDOR_NAME_GET)                    42  0.048594

4 ETW000  [     dev trc,00000]  -->DbSlControl(con=-1,cmd=52=DBSL_CMD_GET_DBLIB_VERSION)                  19  0.048613

4 ETW000  [     dev trc,00000]                 -> 'OCI_11201_SHARE, 11.2.0.4.0'                           20  0.048633

2EETW169 no connect possible: "DBMS = ORACLE                           --- dbs_ora_tnsname = 'ooo'"


Option to pre-install MaxDB using SWPM or other for System Copy ?

$
0
0

Good day,

 

I am busy with a Unicode Conversion project which involves MaxDB and a System Copy.

 

During the import and installation of the target system we had several issues relating to parameters not being correct in MaxDB. This caused huge delays in the whole process and unnecessary downtime.

 

To avoid having to do these parameter changes after waiting for the target install to fail once it has built the database I want to pre-install MaxDB and upgrade it with the necessary parameter changes so that we can avoid issues experienced during the target installation and import of data. I also want to avoid having to wait for 1TB of database volumes to be built during the target install.

 

My question is then, where in SWPM or what is the best method to use to pre-install MaxDB so it can be used for SAP ? I do not see any option in SWPM to install MaxDB as a standalone database. Note, this is not a distributed system, just a standard Central instance installation. I just want the option to install and configure MaxDB first.

 

We will be using MaxDB 7.8 since this is what all databases are using in the landscape. After the Unicode Conversion we will upgrade to 7.9 and install the latest enhancements. I have the installation media for 7.8.02.31 - this will be patched to build 41 before the import.

 

Thanks.

 

Regards,

Nelis

Problem with differences DBStudio vs. SQL_Studio

$
0
0

Hello Everybody

 

We use MaxDB for our SAP Systems and non-SAP Applications.

 

On one MAXDB Instance(7.8) we have a group AAA and a user BBB that belongs to that group.

The user BBB can create,alter,drop tables and of course insert,delete,...

Wenn looking at the tables(more than 500), the schema is AAA and the owner is AAA

All own applications connect with user BBB.

(the database administrator who build the database more than 10 years ago left the company!)

Everything works as expected.

 

With SQL-Studio(7.6) we can connect as user BBB, select the schema AAA, see all the tables and do anything we want.

With Maxdb Maestro(another MaxDb Gui) we can connect as user BBB, select the schema AAA, see all the tables and do anything we want.

 

But with the new DBStudio we only can connect? We can't select the Schema AAA and we don't see any table that belongs to that schema?

 

What do we miss? What is the difference between SQL-Studio and DBStudio?

We would pefer to use DBStudio in future.

 

Any help welcomed.

 

Best regards

Albert

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

ERP 6.0 EHP7 with MAX DB on SUSE Linux 12

$
0
0

Hi,

 

We are planning to install ERP 6.0 EHP7 with MAX DB on SUSE Linux 12, first thing when i checked in PAM it is only showing SUSE Linux 11. No where it was mentioned for SUSE Linux 12.

 

Kindly let me know is SUSE Linux 12 is supported or not.

 

Regards,

Sreedhar

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 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

Access to MAXDB SAP Schema tables

$
0
0

HI Guys ,

 

I am trying to reset SAP* password in my MAXDB DB 7.6.  I know that is a very simple operation and I did it many times in other DBs , but here I  have stuck  during whole day .

 

I have connected to SQL Studio as SUPERDBA .

My SAP Schema  is "SAPIDS" .

 

To access usr02 table I run the following SQL :

 

select MANDT, BNAME, UFLAG from SAPIDS.USR02 where MANDT='000' and BNAME='SAP*'

, but I got the error thet the table does not exist .

 

I also tried:

 

 

select MANDT, BNAME, UFLAG from "SAPIDS"."USR02" where MANDT='000' and BNAME='SAP* ,

 

select * from SAPIDS.USR02 ; select * from "SAPIDS"."USR02" ;

 

I switch to Oracle mode also , but Nothing is working !

 

Also important to say that sql :

 

select * from tables where owner='SAPIDS'and tablename='USR02'

 

shows the USR02 table as well .

 

Any ideas ?

 

thanks in advance,

 

Evgeny


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

How to Recover Maxdb "control" user password?

$
0
0

Good day;

 

We are trying implementing the latest SAP LiveCache release.

Unfortunately, we canu2019t do this since the password of users control, superdba, and other maxdb database default users are not known. This is becoming a real problem by time since no one can login to this database using the database manager application, hence, no one can administer this database properly.

 

The LCA, LDA, LEA connection between SAP SCM instance DSC and liveCache instance DSL, however, are already set up correctly and connection is healthy between DSC and DSL but the password used for this connections is unknown.

 

Is there any way SAP could help us on recovering the lost passwords of the users control and superdba without the need to trash the liveCach database and recreate it again as this is not acceptable by the

business users.

 

 

Thanks,

 

Ahmad,,,

MaxDB databases in HP_UX Service Guard Cluster packages - Anyone?

$
0
0

Hi MaxDB People

 

Here is my second post/question. Hopefully somebody can help me out here.

 

I've installed a MaxDB database, and performed a Database migration from Oracle to create a SAP Java ADS instance called AQ3.

We use HP Service guard clusters, to allow us to move instances around between server nodes. Because if this, I have configured the file systems for the database and software as follows:

 

Node 1 (where the original install took place)

 

<Local to the server node>

 

/sapdb

/sapdb/data

/sapdb/programs

/sapdb/clients

 

 

<Installed as a movable package called 'sapaq3' and mounted in bold>

 

/sapdb/AQ3/  <and all subsequent directories>

/sapdb/client/AQ3<and all subsequent directories>

/usr/sap/AQ3

/sapmnt/AQ3


On the original server node this instance runs just fine.


 

Node 2

 

I installed the MaxDB software again locally

 

/sapdb

/sapdb/data

/sapdb/programs

/sapdb/clients

 

I then moved the package 'sapaq3' to run on node 2

 

/sapdb/AQ3/  <and all subsequent directories>

/sapdb/client/AQ3<and all subsequent directories>

/usr/sap/AQ3

/sapmnt/AQ3


 

I started the x_server from /sapdb/AQ3/db/bin

 

When I try to start the database however, I am getting the following error message:

 

dbmcli -d AQ3 -u control,xxxxxxxx db_online

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

database instance not found

 

 

I'm thinking there must be some need for a database registration on node 2, so that the central software knows about the database that has been previously installed elsewhere. I tried the sdbreg command but I am still getting the error.

 

Does anyone have any idea what the issue could be?

 

Thanks everyone.

 

Bill Dedman

 

 



Error in accessing via HTTP 500 (Internal Server Error) "CertBag::ReadCerts failed rc=3

$
0
0

Hi Expert,

                DMS configuration using  Tcode CSADMIN here when i Choose Certificate tab simply give error

Error in accessing via HTTP 500 (Internal Server Error) "CertBag::ReadCerts failed rc=3, The system cannot find the path specified.

how to solve it?

 

 

 

With regards,

Dinesh Kumar S(DK)

Does the Database Manager tool work with 7.9?

$
0
0

Hi Maxdb world.

 

This is my first post, so please be gentle. We;ve been running Maxdb on HP_UX for Content server for a number of years, and it remains on version 7.7.

 

However, as part of a drive to remove ORACLE DBs from our landscape, we are attempting to migrate all our Java instances to Maxdb 7.9. I've done the first one ok, but I can't get it to add to the Database manager tool so I can 'manage' it'. The tool is version 7.6.

 

So, my question is, has the database manager tool been replaced by Database Studio? Or, is the an issue connecting to a 7.9 database from a 7.6 tool, and is there a newer version of this tool available?

 

Thanks

 

Bill Dedman

Viewing all 1545 articles
Browse latest View live


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