Quantcast
Channel: SCN: Message List - SAP MaxDB
Viewing all 2539 articles
Browse latest View live

Upgrading Maxdb from 7.6 to 7.7

$
0
0

Hi Folks,

 

I need to upgrade my Maxdb 7.6 to Maxdb 7.7.

 

I just installed a NW 7.0 SR3 with MAXDB and now this to be upgraded to 7.7 for further upgrade my NW 7.0 system to EHP 1.

 

But  while running the script DBUPDATE.BAT

 

(#) $Id: //bas/46D/src/db/ada/dbupdate77.bat#1 $ SAP

The usage parameter db_name is not set.

The system cannot find the batch label specified - wrong_usage

1

The usage parameter dba_user is not set.

The usage parameter dba_pwd is not set.

 

 

could some body please help me on this ...


MaxDB Studio: dbstudio.exe corrupted

$
0
0

Hi,

 

after i have executed Dbstudio.exe -vm "java path" the file dbstudio.exe seems corrupted, now it's 0 KB.

 

who i can repair the software?

 

when i try to execute the installer it don't have "reinstall" o "repair".

 

tnx

Re: Upgrading Maxdb from 7.6 to 7.7

$
0
0

Hi Pranendu,

 

As per upgrade manual you need to use following command

 

DBUPDATE.BAT -d <DB SID> -u control,<password for control user>

 

Please check whether you are using the same command or not.

 

Hope this helps.

 

Regards,

Deepak Kori 

Re: MaxDB Studio: dbstudio.exe corrupted

$
0
0

Hi Davide,

 

I would suggest you to download the software once again and start the setup.

 

Regards,

Deepak Kori

Re: dbmcli does not support external commands anymore

$
0
0

Hello Günter,

I have checked this and find out that the symbol ZN20RTEIPC_ObjectManager8InstanceEv is missing in 7.9.08.03 dbmmodule.so.

With 7.9.08.08 and 7.8.02.35 it works, You should install a newer version

 

The python package is not installed as default for a client with SAPINST. But you can install it separate by download the server or client and calling

SDBINST -package "Redist Python"

 

Kind regards,

Burkhard

Re: Limit offset

$
0
0

Hi,

the LIMIT clause with offset works only with 'forward only cursor'.

 

To switch to forward only cursor in Databbase Studio select

Windows->Preferences->Database Studio->Query Results

and enable the "Use forward only result cursor" Checkbox.

 

Kind regards,

B*

Re: Upgrading Maxdb from 7.6 to 7.7

$
0
0

Hi Deepak,

 

While running that script ...I am getting the following error.

 

here DBSID is PRA

 

 

C:\my_soft\Maxdb\RDBMS_MAXDB_7.7.04_Build_28\DATA_UNITS\MAXDB_WINDOWS_I386>DBUPD

ATE.BAT -d PRA -u control,control

 

C:\my_soft\Maxdb\RDBMS_MAXDB_7.7.04_Build_28\DATA_UNITS\MAXDB_WINDOWS_I386>rem @

(#) $Id: //bas/46D/src/db/ada/dbupdate77.bat#1 $ SAP

1

 

 

INFORMATION : This program upgrades the SAP DB / MaxDB database

              from at least version 7.3.00.25

              to MaxDB version 7.7.

 

              Note:

              As of version 7.5.00,

              the SAP DB database system is now called MaxDB.

 

              Upgrade strategy:

              In-Place Upgrade with SDBUPD

 

              To prepare for the upgrade you need a data backup

              as described in the upgrade guide:

              'Upgrade to MaxDB version 7.7' !

              You can find this on SAP Service Marketplace at:

              service.sap.com/instguides - Other Documentation

              - Database Upgrades - MaxDB

 

Press any key to continue . . .

dbmcli connect with control,control failed

Error! Connection failed to node (local) for database PRA: ERR_USRFAIL: User aut

horization failed

ERROR on PRA

Check input of DBM user and password

 

I am getting this error continuously ...pls suggest on this.

Re: Upgrading Maxdb from 7.6 to 7.7

$
0
0

Hello Pranendu,

 

Did you use password longer than 8 characters for dbm user?

Are the xusers updated?

 

Do you have any problems with the following commands?

 

sdbregview -l

sdbverify

 

Regards,

Eduardo Rezende


Re: Upgrading Maxdb from 7.6 to 7.7

$
0
0

Hi Pranendu,

 

Does this command work

dbmcli -d <SID> -u control, control

 

Secondly share trans.log results from R3trans -d command.

 

Regards,

Deepak Kori

Re: Upgrading Maxdb from 7.6 to 7.7

$
0
0

Hi Pranendu,

 

Additionally request you to verify XUSER configuration for Default and SAPSerive<SID> user as per SAP note 39439.

 

Hope this helps.

 

Regards,

Deepak Kori

Re: Limit offset

$
0
0

Hi Burkhard,

 

Thank you for helping me once again, you help is always much appreciated.

 

unfortunately i was misunderstood.

 

I am asking about Limit with offfset in SQL statment, since i am selecting huge Data for the website, i would like to trancute it into parts which makes the results faster for the website.

 

thanks alot

 

regards

Limit offset

Re: upgrade maxdb from 7.8.02.023 to 7.9.07.010 with SAP ERP 6.0 EhP5

$
0
0

Hello Adam,

I saved the db enviroment and the db data and I upgraded the db (7.9.07.10) version without problems.

(after them I upgraded from EhP5 on EhP6 and then the db upgrade on 7.9.07.14)

 

I wish you all the best!

Best regards,

Richard

Re: Eventdispatcher: no events triggered

$
0
0

Hi Peter,

 

facing the problem, Adint+TSM+MaxDB doesn't allow Automatic Log Backup, I want to use the eventdispatcher for a workaround.

What is the configuration done which stops you from Automatic log backup ?

 

 

For database logs refer files dbm.ebf/dbm.mdf

These files contain further information about created backups.

File dbm.ebf is written in case an external backup tool is used for a backup. It then contains the command ID, the backup label, and the external backup id (EBID).

File dbm.mdf contains the command ID, the backup label and current backup medium definition of each backup.

 

Hope this helps.

 

Regards,

Deepak Kori

Re: Upgrading Maxdb from 7.6 to 7.7

$
0
0

Hi Deepak,

 

I have logged into the system with user <DBSIDADM> here PRAADM...and ran this command :

 

and got the below error....

 

C:\Documents and Settings\praadm>dbmcli -d PRA -u control,control

Error! Connection failed to node (local) for database PRA: ERR_USRFAIL: User aut

horization failed

 

I will check the note now and update you very shortly...


Re: MaxDB: Server performance

$
0
0

Hi ,

 

so if the database Analyzer is showing only a few warnings the system configuration is ok. But you are talking abotu a join which does not perform best. Sio first - run update Statistics on the tables involved into the join. Update Statistics table and update statistic column on all indexed columns.

Then please insert the explain plan of the join -> only write the key word explain before the Join Statement. Send the SQL of the join as well. Add the table definition of the tables involved into the join and the index definition of tables.

 

If you want to learn more about the MaxDb Optimizer please check our Expert Session:

  •   Session 16: SAP MaxDB SQL Query Optimization (Part 1)  -> Single Table Optimization
  • Session 16: SAP MaxDB SQL Query Optimization (Part 2) -> Join Optimization

 

There are slides avaialble and recording of the sessions.

 

You'll find the sessions using the following link: http://maxdb.sap.com/training/

 

Regards, Christiane

Re: Limit offset

$
0
0

Hi,
the error message you have posted comes from JDBC or Database Studio so I guess you have change the Interface ;-)

 

I am sorry the cursor modeI in MaxDB PHP is always SCROLL_SENSITIVE. 


We need scrollable cursor for PHP data_seek function. Try it with data_seek and pass the offset.

 

Regards,

B*

Re: Upgrading Maxdb from 7.6 to 7.7

$
0
0

Hi Deepak,

 

find the trans.log below for R3trans -d :

 

4 ETW000 R3trans version 6.14 (release 700 - 24.07.12 - 20:12:04 ).

4 ETW000 unicode enabled version

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

4 ETW000

4 ETW000 date&time   : 16.07.2013 - 15:39:24

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 Jul 16 15:39:28 2013                                                   0  0.000000

4 ETW000  [     dev trc,00000]  db_con_init called                                                         0  0.000000

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

4 ETW000  [     dev trc,00000]  Loading DB library 'dbsdbslib.dll' ...                                     0  0.000000

4 ETW000  [     dev trc,00000]  DlLoadLib success: LoadLibrary("dbsdbslib.dll"), hdl 0, addr 10000000

4 ETW000                                                                                               18632  0.018632

4 ETW000  [     dev trc,00000]      using "C:\usr\sap\PRA\SYS\exe\uc\NTI386\dbsdbslib.dll"                44  0.018676

4 ETW000  [     dev trc,00000]  Library 'dbsdbslib.dll' loaded                                            46  0.018722

4 ETW000  [     dev trc,00000]  function DbSlExpFuns loaded from library dbsdbslib.dll                    93  0.018815

4 ETW000  [     dev trc,00000]  Version of 'dbsdbslib.dll' is "700.08", patchlevel (0.68)                256  0.019071

4 ETW000  [     dev trc,00000]  function dsql_db_init loaded from library dbsdbslib.dll                   49  0.019120

4 ETW000  [     dev trc,00000]  function dbdd_exp_funs loaded from library dbsdbslib.dll                  84  0.019204

4 ETW000  [     dev trc,00000]  } DbSlSdbControl(rc=0)                                                    96  0.019300

4 ETW000  [     dev trc,00000]  { DbSlSdbControl(con_hdl=-1,command=39,arg_p=00000000)                    49  0.019349

4 ETW000  [     dev trc,00000]  } DbSlSdbControl(rc=0)                                                    52  0.019401

4 ETW000  [     dev trc,00000]  { DbSlSdbControl(con_hdl=-1,command=10,arg_p=0221FB08)                    46  0.019447

4 ETW000  [     dev trc,00000]  } DbSlSdbControl(rc=0)                                                    37  0.019484

4 ETW000  [     dev trc,00000]  New connection 0 created                                                  35  0.019519

4 ETW000  [     dev trc,00000]  000: name = R/3, con_id = -000000001, state = DISCONNECTED, tx = NO , hc = NO , perm = YES,

4 ETW000                             reco = NO , frco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO

4 ETW000                                                                                                 113  0.019632

4 ETW000  [     dev trc,00000]  { DbSlSdbControl(con_hdl=-1,command=10,arg_p=018DF7A4)                    63  0.019695

4 ETW000  [     dev trc,00000]  } DbSlSdbControl(rc=0)                                                    45  0.019740

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

4 ETW000  [     dev trc,00000]  find_con_by_name found the following connection for reuse:                38  0.019813

4 ETW000  [     dev trc,00000]  000: name = R/3, con_id = 000000000, state = DISCONNECTED, tx = NO , hc = NO , perm = YES,

4 ETW000                             reco = NO , frco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO

4 ETW000                                                                                                  98  0.019911

4 ETW000  [     dev trc,00000]  { DbSlSdbConnect(con_info_p=00000000)                                     61  0.019972

4 ETW000  [     dev trc,00000]  DBSDBSLIB : version 700.08, patch 0.068 (Make PL 0.75)                    78  0.020050

4 ETW000  [     dev trc,00000]  MAXDB shared library (dbsdbslib) patchlevels (last 10)                    44  0.020094

4 ETW000  [     dev trc,00000]    (0.068) MaxDB DBSL patch collection 1 2006 (note 962708)                46  0.020140

4 ETW000  [     dev trc,00000]    (0.051) DB50 perm block defect (note 934194)                           405  0.020545

4 ETW000  [     dev trc,00000]    (0.046) ADBC: invalid data when fetching cursor with hold (note 925337)

4 ETW000                                                                                                  70  0.020615

4 ETW000  [     dev trc,00000]    (0.045) Signal 11 during creation of BIA index (note 920743)            46  0.020661

4 ETW000  [     dev trc,00000]    (0.038) MaxDB DBSL patch collection 2 2005 (note 908602)                44  0.020705

4 ETW000  [     dev trc,00000]    (0.034) Livecache unicode connect (use SDK 7.6.0 b11) (note 901576)

4 ETW000                                                                                                  60  0.020765

4 ETW000  [     dev trc,00000]    (0.028) Disable LVC codepage checking (note 882788)                     54  0.020819

4 ETW000  [     dev trc,00000]    (0.019) UPDSTAT optimized (note 870327)                                 42  0.020861

4 ETW000  [     dev trc,00000]    (0.010) MaxDB DBSL patch collection 1 2005 (note 850830)                44  0.020905

4 ETW000  [     dev trc,00000]    (0.009) New stream compression available with LVC 7.6.0 b12 (note 835809)

4 ETW000                                                                                                  60  0.020965

4 ETW000  [     dev trc,00000]                                                                            29  0.020994

4 ETW000  [     dev trc,00000]   -> init()                                                                46  0.021040

4 ETW000  [     dev trc,00000]   -> sdb_malloc(size=16) : 03B30EC8 (24 bytes allocated)                   75  0.021115

4 ETW000  [     dev trc,00000]    STATEMENT_CACHE_SIZE = 1000                                            217  0.021332

4 ETW000  [     dev trc,00000]   -> sdb_malloc(size=108000) : 03B34D48 (108032 bytes allocated)           99  0.021431

4 ETW000  [     dev trc,00000]   -> sdb_malloc(size=364000) : 03B4F540 (472040 bytes allocated)           62  0.021493

4 ETW000  [     dev trc,00000]   -> sdb_malloc(size=264000) : 03BA8538 (736048 bytes allocated)           57  0.021550

4 ETW000  [     dev trc,00000]   -> sdb_malloc(size=8072) : 03BE8E90 (744128 bytes allocated)             54  0.021604

4 ETW000  [     dev trc,00000]   -> sdb_malloc(size=16024) : 03BEB030 (760160 bytes allocated)            58  0.021662

4 ETW000  [     dev trc,00000]   -> loadClientRuntime()                                                  771  0.022433

4 ETW000  [     dev trc,00000]  Loading SQLDBC client runtime ...                                         49  0.022482

4 ETW000  [     dev trc,00000]  SQLDBC SDK Version : SQLDBC.H  7.6.0    BUILD 002-121-083-965            623  0.023105

4 ETW000  [     dev trc,00000]  SQLDBC Library Version : libSQLDBC 7.6.0    BUILD 018-123-119-055         55  0.023160

4 ETW000  [     dev trc,00000]  SQLDBC client runtime is MaxDB 7.6.0.018 CL 119055                       143  0.023303

4 ETW000  [     dev trc,00000]  SQLDBC supports new DECIMAL interface : 0                                 71  0.023374

4 ETW000  [     dev trc,00000]   -> getNewConnection()                                                    39  0.023413

4 ETW000  [     dev trc,00000]   -> sdb_malloc(size=1636) : 03BF2290 (761804 bytes allocated)             50  0.023463

4 ETW000  [     dev trc,00000]   -> sdb_malloc(size=344) : 03BF2B10 (762156 bytes allocated)              71  0.023534

4 ETW000  [     dev trc,00000]   <- getNewConnection(con_hdl=0)                                           77  0.023611

4 ETW000  [     dev trc,00000]   -> checkEnvironment(con_hdl=0)                                           52  0.023663

4 ETW000  [     dev trc,00000]   -> connect()                                                             51  0.023714

4 ETW000  [     dev trc,00000]  INFO : SQLOPT= -I 0 -t 0 -S SAPR3                                        113  0.023827

4 ETW000  [     dev trc,00000]  Try to connect (DEFAULT) on connection 0 ...                             144  0.023971

4 ETW000  [    dbsdbsql,00000]  *** ERROR => Connect to database failed, rc = -10709 (Connection failed (RTE:Database name is missing))

4 ETW000                                                                                                1019  0.024990

4 ETW000  [     dev trc,00000]   -> SetSapdbCA(errcode=-10709)                                            45  0.025035

4 ETW000  [     dev trc,00000]   -> freeConnection(con_hdl=0)                                             49  0.025084

4 ETW000  [     dev trc,00000]   -> sdb_free(p=03BF2B10, size=344 (761804 bytes allocated))               70  0.025154

4 ETW000  [     dev trc,00000]   -> sdb_free(p=03BF2290, size=1636 (760160 bytes allocated))             214  0.025368

4 ETW000  [     dev trc,00000]  } DbSlSdbConnect(rc=99)                                                   48  0.025416

4 ETW000  [    dblink  ,00433]  ***LOG BY2=>sql error -10709 performing CON [dblink#8 @ 433]              84  0.025500

4 ETW000  [    dblink  ,00433]  ***LOG BY0=>Connection failed (RTE:Database name is missing) [dblink#8 @ 433]

4 ETW000                                                                                                  70  0.025570

4 ETW000  [     dev trc,00000]  { DbSlSdbControl(con_hdl=0,command=41,arg_p=0081C7C0)                     96  0.025666

4 ETW000  [     dev trc,00000]  } DbSlSdbControl(rc=0)                                                    53  0.025719

4 ETW000  [     dev trc,00000]  { DbSlSdbControl(con_hdl=0,command=14,arg_p=02215FF0)                     48  0.025767

4 ETW000  [     dev trc,00000]  } DbSlSdbControl(rc=0)                                                    38  0.025805

4 ETW000  [     dev trc,00000]  { DbSlSdbControl(con_hdl=0,command=50,arg_p=02216000)                     53  0.025858

4 ETW000  [     dev trc,00000]  } DbSlSdbControl(rc=0)                                                    57  0.025915

4 ETW000  [     dev trc,00000]  { DbSlSdbControl(con_hdl=0,command=13,arg_p=02215F6C)                     46  0.025961

4 ETW000  [     dev trc,00000]  } DbSlSdbControl(rc=0)                                                    37  0.025998

4 ETW000  [     dev trc,00000]  { DbSlSdbControl(con_hdl=0,command=52,arg_p=02215FB0)                     46  0.026044

4 ETW000  [     dev trc,00000]  } DbSlSdbControl(rc=0)                                                    37  0.026081

2EETW169 no connect possible: "DBMS = ADABAS D                         --- DBNAME = ''"

4 ETW000  [     dev trc,00000]   -> sdb_free(p=03B30EC8, size=16 (760136 bytes allocated))              4986  0.031067

SAP VERSION : -4001,Unknown user name/password combination in operational state ADMIN

$
0
0

Hi experts,

 

i'm getting the following error when performing an In-place upgrade from 7.7 to 7.9.

 

SAP VERSION     : -4001,Unknown user name/password combination in operational state ADMIN

 

The db is in admin mode, the user and password of the control user are Ok, they where checked in dbmcli and in SAP.

 

It's a single DB instance, SAP is shut down.

 

If i skip this error then i get another error

 

ERR:  Upgrade failed

ERR:    Error checking Upgrade

ERR:      There are files locked by the following processes:

ERR:      | Process Id | Command Line

ERR:      | 243        | /sapdb/<SID>/db/pgm/kernel <SID> -diagpipe 14

ERR:      | 244        | /sapdb/<SID>/db/pgm/kernel <SID> -diagpipe 14

ERR:      Terminate all locking processes and rerun the installer.

 

I'm pretty sure that the second error is because of the first one.

 

Could it be that the control user doesn't have permision to work on ADMIN mode?

 

thanks a lot.

Rafael.

Re: Upgrading Maxdb from 7.6 to 7.7

$
0
0

Hi Pranendu,

 

Looks like issue with XUSER.

 

Refer the steps in the link http://scn.sap.com/docs/DOC-40842

Also request you to verify the XUSER configuration based on SAP note 39439

 

Hope this helps.

 

Regards,

Deepak Kori

Viewing all 2539 articles
Browse latest View live


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