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

unixODBC connection ok but no Data !

$
0
0

Hi out there,

 

I Installed unixODBC and the maxDB Driver on a Client machine and try to get Data from my server.

 

I followed this Howto: http://wiki.scn.sap.com/wiki/display/MaxDB/HowTo+-+MaxDB+ODBC+and+unixODBC

 

I get a connection and It looks like I get the Information about Tables and Colums and even the count of rows but no Data Content.

 

Example using isql:

 

SQL> select * from ZF_TYP

+-------+-----------------------------------------------------------------+---------------------------+------------+------+

| ZFTMTD| NAME                                                            | WANN                      | WER        | STATE|

+-------+-----------------------------------------------------------------+---------------------------+------------+------+

|       |                                                                 |                           |            |      |

|       |                                                                 |                           |            |      |

+-------+-----------------------------------------------------------------+---------------------------+------------+------+

SQLRowCount returns 2

2 rows fetched

SQL> select now() from dual

+---------------------------+

| EXPRESSION1               |

+---------------------------+

|                           |

+---------------------------+

SQLRowCount returns 1

1 rows fetched

SQL> select TIMESTAMP FROM DUAL

+---------------------------+

| EXPRESSION1               |

+---------------------------+

|                           |

+---------------------------+

SQLRowCount returns 1

1 rows fetched

 

my .odbc.ini content:

 

cat ~/.odbc.ini
[db01dcw]
ServerDB=MAXDB
ServerNode=db01.team.etb
SQLMode=ORACLE
IsolationLevel=Committed
TraceFileName=/home/jph/odbctrace.log
Driver=/opt/sdb/JPH/lib/libsdbodbc.so

 

anyone any Idea ??

 

regards

jph

 

P.S.

 

Client:

 

openSUSE 12.3 "Dartmouth" ( x86_64 GNU/Linux )

/opt/sdb/globalprograms/bin/sdbregview -l
Installation: Global    /opt/sdb/globalprograms
Global Listener               7.9.08.21    valid    64 bit
Installation Compatibility    7.9.08.21    valid    64 bit
Installer                     7.9.08.21    valid

Installation: JPH    /opt/sdb/JPH
Base         7.9.08.21      valid    64 bit
JDBC         7.6.09.00      valid
Messages     MSG 0.10302    valid
ODBC         7.9.08.21      valid    64 bit
SQLDBC       7.9.08.21      valid    64 bit
SQLDBC 77    7.9.08.21      valid    64 bit

Server :

MaxDB 7.8.02.28

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

Import ABAP:Installation Error Migration Monitor' exits with error code 103

$
0
0

Hi Colleagues,

I am facing an issue with my Dual stack installation of system

YX2.Host:ldciyx2,Linux64/MaxDB/

Message Number 0120031469 0002606750 2011

I am doing the DB installation and its shoeing the below error at the

step Import ABAP.

An error occurred while processing option SAP NetWeaver 7.3 including

Enhancement Package 1 > SAP Systems > Process Integration > Distributed

System > Database Instance( Last error reported by the step: Program

'Migration Monitor' exits with error code 103. For details see log

file(s) import_monitor.java.log, import_monitor.log.). You can now:

Choose Retry to repeat the current step.

Choose Log Files to get more information about the error.

Stop the option and continue with it later.

Log files are written to /usr/sap/YX2/sapinst/DB.

Please see below the entry in import_monitor.java.log

 

lddbyx2:/usr/sap/YX2/sapinst/DB # more import_monitor.java.log

java version "1.6.0_26"

Java(TM) SE Runtime Environment (build 6.1.031)

SAP Java Server VM (build 6.1.031 17.0-b16, Aug 11 2011 00:22:26 -

61_REL - optU - linux amd64 - 6 - bas2:158131 (mixed mode))

 

Import Monitor jobs: running 1, waiting 28, completed 0, failed 0, total

29.

Loading of 'SAPNTAB' import package: ERROR

Import Monitor jobs: running 0, waiting 28, completed 0, failed 1, total

29.

 

 

Please see below the entry in import_monitor.log

 

 

ERROR: 2011-11-14 09:59:28 com.sap.inst.migmon.LoadTask run

Loading of 'SAPNTAB' import package is interrupted with R3load error.

Process '/usr/sap/YX2/SYS/exe/uc/linuxx86_64/R3load -i SAPNTAB.cmd

-dbcodepage 4103 -l SAPNTAB.log -nolog -c 50000 -force_repeat -para_cnt

12' exited with return code 139.

For mode details see 'SAPNTAB.log' file.

Standard error output:

sapparam: sapargv(argc, argv) has not been called!

sapparam(1c): No Profile used.

sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline

sh: mc: line 1: syntax error: unexpected end of file

sh: error importing function definition for `mc'

sh: mc: line 1: syntax error: unexpected end of file

sh: error importing function definition for `mc'

 

WARNING: 2011-11-14 09:59:56

Cannot continue import because not all import packages with data

conversion tables are loaded successfully.

 

 

Kernel is on

 

kernel release                720

 

kernel make variant           720_EXT_REL

 

DBMS client library           MAXDB_782_b17

 

DBSL shared library version   720.00

 

compiled on                   Linux GNU SLES-11 x86_64 cc4.3.4  forlinuxx86_64

 

compiled for                  64 BIT

 

compilation mode              Non-Unicode

 

compile time                  Aug 11 2011 20:03:24

 

update level                  0

 

patch number                  92

 

source id                     0.100

 

i uninstalled the whole installation twice and tried.Tried SAPJVM parametets in the .csrch file.

but not getting solved.

 

can someone please help me

 

Regards,

Suvarna

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

System copy Maxdb

$
0
0

We dit a Systemcopy from a 32 bit system to a 64 bit. The SID changed. My question now is. How can I check the SID Name in the new System?

Right now we got stuck at the step Starting instance. The Problem now is that the dist+work.exe is not getting a connection to the database.

 

PLEASE HELP

Healthy values in IOTHREADS?

$
0
0

We're encountering severe problems with our MaxDB instances and want to define thresholds in order to convince our hoster to move data volumes from NFS to SAN devices. In peak times, WriteTime goes up to 2000 ms which is not acceptable for us. Which values for ReadTime / WriteTime are healthy?

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


Cache_size parameter changes

$
0
0

Hello,

 

For a MaxDB system, the cache_size parameter was changed depending upon the hardware. Later, the hardware was moved to a small box due to a db crash and then we have observed that the parameter got changed to a new value.

As far as the time stamp show, it got changed during the DB restart.

Please let me know if the MaxDB system automatically changes the parameter.

 

Thanks a lot in advance!

 

Regards,

Ankit

MaxDB ODBC driver for Windows

$
0
0

Hi,

 

I'd looked at the download section and also with google - but I'm not able to find ODBC drivers for Windows for download anyware ... Can somebody please gie me an URL for?

 

Thanks

 

Andre

dbmcli command to check the data area used size in maxdb

$
0
0

Hi,

         I would like to know what is the command to be executed to check the data area size in maxdb?

 

 

Thanks in advance         

 

 

Regards

Srikanth

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

Remove log volumes in 7.7 version

$
0
0

Hi experts!

 

I need to remove log volumes. I have 7.7 version MaxDB. Is there any improvement in this version in comparasion to the previous process (backup and restore in a different configured db) of removing log volumes?

 

Thanks in advance...

Rob

ERR_SHMPLATFORMMISMATCH error occuring on an active system

$
0
0

Hi

 

One of our databases has started to log the following error:

 

ERR_DBMSRV_NOSTART: Could not start DBM server.

ERR_SHMNOTAVAILABLE: Shared memory not available

ERR_SHMPLATFORMMISMATCH: Shared Memory from different platform Unknown (0x00) (expected WIN32, AMD64)

 

The database is still running (and has been for a couple of weeks prior to the start of the error)  but we can't connect with the DBMGui and DBMcli.  All SQL connections are OK (SQLCli and SAP).

 

Two questions:

 

1) How is the best way to restart the system???  I thought, stop maxdb and all other maxdb services.  Remove the shm and shi files (posted in another thread) and then restart.

 

2) What may have caused this error??

 

Regards

 

Doug

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.


info command errors with "Unknown user name/password combination"

$
0
0

Hi,

 

I have 2 new MaxDB installations on Linux, Rel. 7.8.02.28. If I connect as control user and run any info command (i.e. info state), the system throws "Unknown user name/password combination".

 

Systems with Rel. 7.8.02.27 don't show this behaviour. Is this a bug? Can anyone please check with the same version? Any hints to solve this?

 

dbmcli on IHP>user_getrights control serverrights

OK

UserMgm                 +       User management

InstallMgm              +       Installation management

SystemCmd               +       Execute operating system commands

DBFileRead              +       Database file access (read only)

AccessUtility           +       Access to utility session

Recovery                +       Restoring backups

Backup                  +       Saving backups

ParamFull               +       Parameter access (read and write)

ParamCheckWrite         +       Parameter access (checked write)

ParamRead               +       Parameter access (read only)

AccessSQL               +       Access to SQL session

ExecLoad                +       Execute the LOAD program

LoadSysTab              +       Load the system tables

DBStop                  +       Stop database instance

DBStart                 +       Start database instance

DBInfoRead              +       Request status data

SharedMemoryMgm         +       Shared memory management

SchedulerMgm            +       Scheduler management

Scheduling              +       Scheduler use

EvtDispMgm              +       Event Dispatcher management

EvtDisp                 +       Event Dispatcher use

 

dbmcli on IHP>user_name_get

OK

control

 

dbmcli on IHP>info state
ERR
-24988,ERR_SQL: SQL error
-4008,Unknown user name/password combination

 

Thanks a lot.

Best regards,

Dirk

SAP MMC - Dispatcher is getting stopped even max db: nsp started in services

$
0
0

SAP MMC - Dispatcher is getting stopped even max db: nsp started in services.actually after installation it's worked fine. recently hapening this problem.

can someone help to solve this issue.

i have found below services:

SAP DBTech-.M780114

SAP DBTech-.M780114(slow)

MAX DB:NSP

MAX DB: NSP (Slow)

i have disbaled all services only started Max DB: NSP and connected to SQL Studio.

while starting mmc dispatcher is getting stopped.

how to start maxdb on linux

$
0
0

hi all,

 

    how do i start maxdb on linux.

 

very urgent,

 

thanks and regards

Cancel active MaxDB backup

$
0
0

How can one cancel an active MaxDB backup that was scheduled via DB13?

 

MaxDB 7.6.04.16

Linux

ECC 6.0

 

Thanks!

RUN_RSAIMMERGE_TRANSFER: Long runtime during upgrade to EhP7 MaxDB

$
0
0

Hi gurus,

 

We are in downtime phase of our PRD system.

We are in phase RUN_RSAIMMERGE_TRANSFER. We still in this phase during 4 hours. In others RDBMS (Oracle - SQL Server), this phase is very quickly (lower to 1 hour)

 

Server Name     No. Type PID      Status  Reason Sem Start Error CPU Time   User   Report   Action          Table Sem Sem Sem Sem Sem CurrSem. Mutex Mutex Mutex

<server>_<SID>_00  41 BTC      6870 Running            Yes            14154 DDIC   CL_AIMME Sequential Read E071   0   0   0   0   0        0     0     0     0

 

We are using SUM 1.0 SP08. Our system has SAP Kernel 7.40 lvl 27 with MaxDB 7.9.08.008, and we go to SAP BASIS 740 SP04. SAP Note 1442150 is implemented by SPS level...., Note 1460004 also implemented

 

WP log:

 

A Sat Jul  5 23:23:20 2014

A  AppServerTimeSync, checkLocalTime():

A    Initializing local WP variables:

A    zdate_LastLocalTime with 1404595400

A    zdate_LastLocalBias with 0

A  ***GENER* Trace switched off ***

B  dbrda: Redirect database access is disabled via rsdb/rda profile parameter setting.

E  Enqueue Info: enque/use_pfclock2 = FALSE

M

M Sat Jul  5 23:23:21 2014

M  SecAudit(rsauinit): WP attached to existing shared memory.

M  SecAudit(RsauShmInit): addr of SHM for Audit.. = 7f6fb646d000

M  SecAudit(RsauShmInit): addr of RSAUSHM........ = 7f6fb646e000

M  SecAudit(RsauShmInit): addr of RSAUSLOTINFO... = 7f6fb646e9d0

M  SecAudit(RsauShmInit): addr of RSAUSLOTS...... = 7f6fb646e9e0

A

A Sat Jul  5 23:23:43 2014

A  WP has reached abap/heaplimit = 40000000 bytes

 

Instance parameters:

abap/buffersize = 900000

ztta/roll_area = 10000000

ztta/roll_extension = 4000000000

abap/heap_area_dia = 4000000000

abap/heap_area_nondia = 4000000000

abap/heap_area_total = 8000000000

gw/max_conn = 2000

gw/max_sys = 2000

rdisp/appc_ca_blk_no = 2000

rdisp/max_arq = 2000

rdisp/max_comm_entries = 2000

rdisp/tm_max_no = 2000

rdisp/wp_ca_blk_no = 2000

rsdb/cua/buffersize = 15000

rsdb/ntab/entrycount = 90000

rsdb/ntab/ftabsize = 90000

rsdb/ntab/irbdsize = 18000

rsdb/ntab/sntabsize = 3000

rsdb/obj/buffersize = 130000

rsdb/obj/large_object_size = 45000

rsdb/obj/max_objects = 40000

rtbb/buffer_length = 60000

sap/bufdir_entries = 10000

zcsa/db_max_buftab = 35000

zcsa/presentation_buffer_area = 20000000

zcsa/table_buffer_area = 250000000

em/global_area_MB = 2048

em/initial_size_MB = 12288

em/address_space_MB = 4096

abap/heaplimit=40000000

 

Any idea for speed up the phase?

 

Regards

Viewing all 1545 articles
Browse latest View live