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

MaxDB 7.6.06.24 crashed and is unstartable even in restored Backup

$
0
0

Today our Database crashed and is now in a similar state like described here http://scn.sap.com/thread/1669772. It seems to keep crashing on log recovery during db_online. It for sure has at least one bad index, but since we are unable to bring it online, we seem to have no chance to fix this. I would be thankfull for any hints.

 

Here are some facts:

 

  • The first crash (somewhat shortened) looked something like:

VERSION  'X64/LIX86 7.6.06   Build 024-123-246-595'
[...]
ERR 53419 B*TREE   BD600: predsep.k > sep.k: 0
ERR 53000 B*TREE   Index Root  13113447
ERR 53000 B*TREE   bd600BuildSeparator: lef: 13553565
ERR 53000 B*TREE   bd600BuildSeparator: rig: 14665430
ERR          0 B*TREE   m_Node: 13553565
ERR          0 B*TREE   m_Node1: 14665430
ERR 11599 BTRACE   ----> Symbolic Stack Back Trace <----
ERR 11599 BTRACE      0: 0x0000000000f216ad eo670_UnixTraceStack +0x01ad
ERR 11599 BTRACE      1: 0x0000000000f22079 eo670_CTraceContextStackOCB +0x0009
ERR 11599 BTRACE      2: 0x0000000000f2216a vtracestack +0x003a
ERR 11599 BTRACE      3: 0x0000000000a64ecb _ZN19cbd502_ReorgContext13ErrorHandlingEPKci +0x002b
ERR 11599 BTRACE      4: 0x0000000000a72178 _ZN11cbd500_Tree14bd520_OverflowER19cbd502_ReorgContextPhiibbiRi +0x0908
ERR 11599 BTRACE      5: 0x0000000000a727ab _ZN11cbd500_Tree17bd520LeafOverflowEPhibiRi +0x03ab
ERR 11599 BTRACE      6: 0x0000000000a3de71 _Z17bd400AddToInvTreeR17cbd300_InvCurrentPhiS1_iRb +0x1181
ERR 11599 BTRACE      7: 0x00000000009a6a1f b03add_inv +0x01ff
ERR 11599 BTRACE      8: 0x0000000000b4538c _ZNK14Log_InvDescMap6AddInvER18tgg00_TransContextbbbRK12tgg00_FileIdPK9tgg00_Rec

+0x016c
ERR 11599 BTRACE      9: 0x0000000000b4345e _ZNK15Log_InvHandling6AddInvER18tgg00_TransContext +0x003e
ERR 11599 BTRACE     10: 0x000000000092f669 kb611inv_AddInv +0x0009
ERR 11599 BTRACE     11: 0x000000000092dbe1 kb61insert_rec +0x0201
ERR 11599 BTRACE     12: 0x000000000092e887 k61ins_del_upd +0x0267
ERR 11599 BTRACE     13: 0x00000000008dba3a k05functions +0x058a
ERR 11599 BTRACE     14: 0x000000000065fb97 a06lsend_mess_buf +0x0297
[...]
ERR 53250 INDEX    Bad Index 13113447 (Root)
ERR 53250 INDEX    Reason "System error: BD Invalid leave"
         12853 DBSTATE  Caught signal 11(SIGSEGV)
ERR 11330 COREHAND ABORTING due to signal 11
ERR 11599 BTRACE   ----> Symbolic Stack Back Trace <----
ERR 11599 BTRACE      0: 0x0000000000f216ad eo670_UnixTraceStack +0x01ad
ERR 11599 BTRACE      1: 0x0000000000f22079 eo670_CTraceContextStackOCB +0x0009
ERR 11599 BTRACE      2: 0x0000000000f22097 eo670_CTraceContextStack +0x0017
ERR 11599 BTRACE      3: 0x0000000000f65718 en81_CrashSignalHandler +0x00e8
ERR 11599 BTRACE      4: 0x00007f40e100b6b0 __restore_rt +0x0000
ERR 11599 BTRACE      5: 0x0000000000a74f20 _ZNK11cbd600_Node14bd600LeafCountEii +0x00b0
ERR 11599 BTRACE      6: 0x0000000000a42728 _Z23bd401CalculatePageCountR17cbd300_InvCurrentPhiS1_ibRiS2_S2_ +0x0658
ERR 11599 BTRACE      7: 0x00000000009ab093 b03calculate_page_count +0x02b3
ERR 11599 BTRACE      8: 0x000000000065d9f1 a06eval_page_count +0x0171
ERR 11599 BTRACE      9: 0x0000000000878292 ak720indexeval +0x0142
ERR 11599 BTRACE     10: 0x0000000000878b5a ak720eval_one_index +0x016a
ERR 11599 BTRACE     11: 0x0000000000878e73 ak720index_decision +0x0183
+++++++++++++ Kernel Exit ++++++++++++++++++++++++++++

  • So whenever we try to now switch to db_online (LOCAL_REDO_LOG_BUFFER_SIZE is 0 as it was before) it immediately crashes with
      ERR
      -24994,ERR_RTE: Runtime environment error
      4,connection broken server state 4


VERSION  'X64/LIX86 7.6.06   Build 024-123-246-595'
[...]

Log      0 queues, flushmode is 'MaximizeSafety', devstate is 'Okay'
Log      Oldest not saved is ioseq 296996736 @ off 775686
Log      First known on LogVolume is ioseq 295948220 @ off 775741
Log      Restart from ioseq 296996789 @ off 775739 to ioseq 296996790 @ off 775740
Log      Result after checking the log device: 'Ok'
Log      The number of active logging-queues has been increased to 4
OBJECT   Restarted Garbage coll: 1
Rst      968 redo transactions readable and 32 redo tasks available.
RESTART  Previous restart was interrupted.
Restart  recovering log from log_volume from IOSeq: '296996789'
Log      normal end of log found at off 775740 lastseq 296996790.
Log      last-redo-read empty errlist#13:TR907215147(11)[296996790]@775740.1608'Commit':20140128:135616
DBSTATE  Caught signal 11(SIGSEGV)
ERR 11330 COREHAND ABORTING due to signal 11

[...]
ERR 11599 BTRACE   ----> Symbolic Stack Back Trace <----
ERR 11599 BTRACE      0: 0x0000000000f216ad eo670_UnixTraceStack +0x01ad
ERR 11599 BTRACE      1: 0x0000000000f22079 eo670_CTraceContextStackOCB +0x0009
ERR 11599 BTRACE      2: 0x0000000000f22097 eo670_CTraceContextStack +0x0017
ERR 11599 BTRACE      3: 0x0000000000f65718 en81_CrashSignalHandler +0x00e8
ERR 11599 BTRACE      4: 0x00007f1f4412f6b0 __restore_rt +0x0000
ERR 11599 BTRACE      5: 0x0000000000a3ac49 _Z20bd400_DeleteSubTreesR17cbd300_InvCurrentR11cbd600_Node+0x0109
ERR 11599 BTRACE      6: 0x0000000000a3b490 _Z16bd400DropInvTreeR17cbd300_InvCurrent +0x0370
ERR 11599 BTRACE      7: 0x00000000009a9a4e bd03ReleaseInvTree +0x013e
ERR 11599 BTRACE      8: 0x000000000096d7d3 bd01destroy_file +0x0233
ERR 11599 BTRACE      9: 0x000000000096e7b9 b01pdestroy_perm_file +0x00d9
ERR 11599 BTRACE     10: 0x0000000000b2c0a4 _ZNK14Log_ActionFile13RemoveGarbageER18tgg00_TransContextR20SAPDBErr_MessageList +0x02f4
ERR 11599 BTRACE     11: 0x0000000000b2c5bc _ZNK14Log_ActionFile7ExecuteER18tgg00_TransContextNS_13ExecutionTypeE +0x039c

ERR 11599 BTRACE     12: 0x0000000000b2d78e _ZNK14Log_ActionFile4RedoER18tgg00_TransContextR10Log_IImageR20SAPDBErr_MessageList +0x000
ERR 11599 BTRACE     13: 0x0000000000b39d2b _Z10RedoActionR15Log_TransactionR10Log_IImageR11Log_IActionR15Data_IBreakableR21Data_Split
ERR 11599 BTRACE     14: 0x0000000000b3bd11 _Z21Log_ActionExecuteRedoR15Log_TransactionR14Log_AfterImage16Log_IOSequenceNoR21Data_Spli
ERR 11599 BTRACE     15: 0x0000000000b544b5 _ZN15Log_Transaction4RedoER20SAPDBErr_MessageList +0x02e5
+++++++++++++ Kernel Exit ++++++++++++++++++++++++++++

  • If we try a consistency check in admin mode it stumbles over one bad index complaining on root node 13113447, but of course we cannot repair that in admin state or even find out which index is to blame (can we?):

    >db_execute check data with update
    ERR
    -24988,ERR_SQL: SQL error
    -9041,System error: BD Index not accessible
    17,Servertask Info: because b01pverify_participant() failed
    10,Job 0 (Check Data) [executing] WaitingT206 Result=OK
    6,b01pverify_participant() failed, Error code 715 "index_not_accessible"

  • We even tried to recover our last backup (with AUTO_RECREATE_BAD_INDEXES set to YES) but as soon as we try to for instance drop the index we assume to be bad it immediately crashes and is unstartable again like above.

 

 

Is there any way to restore without indexes or to have all indexes recreated? Any hints how to still bring the original DB back online?

 

 

Cheers,

Urs


Hai, would like to start learning sap so what kind of modules does it suite my profile

$
0
0

Hai,

 

Would like to start learning sap so what kind of modules does it suite my profile.

 

Can any one suggest me i have been working as a technical consultant in a client location. Would like to change my domain into SAP, so can anyone suggest me or advice me what are the modules does it suites my profile.

 

Regards,

Charan Sharma

SQL error "-10401" when accessing table "RSEUMOD".

$
0
0

Hi,

 

We are trying a migration of a system from DB2 to MaxDB.

The import was successful, however once we login to the system we get the below dump.

 

Category               Installation Errors

Runtime Errors         DBIF_RSQL_SQL_ERROR

Except.                CX_SY_OPEN_SQL_DB

Date and Time          2014-05-27 13:42:16

 

 

 

 

 

 

Short text

     SQL error "-10401" when accessing table "RSEUMOD".

 

 

 

 

 

 

What happened?

     Error Text of the Database: "Conversion of parameter/column (49) would truncate

      data"

 

 

 

 

 

 

Error analysis

     An exception occurred that is explained in detail below.

     The exception, which is assigned to class 'CX_SY_OPEN_SQL_DB', was not caught

      in

     procedure "RS_WORKBENCH_CUSTOMIZING" "(FUNCTION)", nor was it propagated by a

      RAISING clause.

     Since the caller of the procedure could not have anticipated that the

     exception would occur, the current program is terminated.

     The reason for the exception is:

     Error Text of the Database: "Conversion of parameter/column (49) would truncate

      data"

 

 

 

 

 

 

Missing RAISING Clause in Interface

     Program                                 SAPLWB_CUSTOMIZING

     Include                                 LWB_CUSTOMIZINGU01

     Row                                     1

     Module type                             (FUNCTION)

     Module Name                             RS_WORKBENCH_CUSTOMIZING

 

 

Line  SourceCde

 

 

   25       IF sy-subrc = 0.

   26         IF rseumod-wb99 IS INITIAL.

   27           rseumod-wb99 = 'X'.

   28           IF rseumod-editcntrl IS INITIAL.

   29             rseumod-editcntrl = 'X'.

   30           ELSE.

   31             if rseumod-editcntrl ne 'A'.

   32               CLEAR rseumod-editcntrl.

   33             endif.

   34             IF rseumod-pcmode IS INITIAL.                   "HT9905

   35               rseumod-pcmode = '2'.

   36             ENDIF.                                          "HT9905

   37           ENDIF.

   38 *          endif.

   39         ELSE.

   40           CLEAR rseumod-wb99.

   41         ENDIF.

   42         rseumod-ch_html   = 'X'.

   43         rseumod-ch_busi   = 'X'.

   44         EXPORT rseumod TO MEMORY ID 'RSEUMOD'.

   45       ELSE.

   46         CLEAR entry_found.

   47 *       Noch keine Einstellungen vorhanden

   48         rseumod-uname     = sy-uname.

   49         rseumod-wb99      = 'X'.

   50         rseumod-editcntrl = 'A'.           "HT200710 neues Frontend default

   51         rseumod-motif     = 'X'.

   52         rseumod-style     = space.

   53         rseumod-lowercase = 'X'.

   54         rseumod-line_size = 255.

>>>>>         INSERT rseumod.

   56       ENDIF.

   57     ENDIF.

   58   ENDIF.

 

 

   59

   60 * initialize browser selection

   61   IF rseumod-rep_start IS INITIAL   AND

   62      rseumod-ris_start IS INITIAL   AND

   63      rseumod-rl_start  IS INITIAL   AND

   64      rseumod-wmr_start IS INITIAL   AND

   65      rseumod-wcb_start IS INITIAL   AND

   66      rseumod-whb_start is initial   AND

   67      rseumod-twb_start is initial   AND

   68      rseumod-br_init is initial.

   69     rseumod-rep_start = 'X'.

   70     rseumod-ris_start = 'X'.

   71     rseumod-rl_start  = 'X'.

   72     rseumod-wmr_start = 'X'.

   73     rseumod-wcb_start = 'X'.

   74     rseumod-whb_start = 'X'.

 

Active Calls/Events

 

 

No.   Ty.          Program                             Include                             Line

      Name

 

 

    4 FUNCTION     SAPLWB_CUSTOMIZING                  LWB_CUSTOMIZINGU01                     55

      RS_WORKBENCH_CUSTOMIZING

    3 FUNCTION     SAPLSTR3                            LSTR3U01                               30

      TRINT_FAULTY_TRANSPORTS

    2 FUNCTION     SAPLSUSF                            LSUSFU01                               40

      SUSR_LOGON_USER_EXIT

    1 MODULE (PAI) SAPMSYST                            SAPMSYST                              500

      D020_USER_EXIT

 

 

 

There are other dumps occurring in the system as well when we execute any transaction.

(see attached file).

 


Tha

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

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.

LiveCache complete data backup on FILE is failing.

$
0
0

Hello Experts.

 

liveCache Version         KERNEL    7.7.04   BUILD 029-123-196-543

DBMServer Version         DBMServer 7.7.04   Build 029-123-196-543

Operating System          Linux

SCM/APO 7.0

 

I wanted to keep AUTOLOG mode on. so, when i was scheduling, it has mentioned that "complete data backup" is missing. which i found is the right away.

so I have set the media backup as "FILE". on my file system. my run directory is /sapdb/wrk/data/<SID>.

overwritable - NO

Type - FILE

Backup Template - DATA

 

it failed. here is the log from DB13.

Hello Experts.

 

I wanted to keep AUTOLOG mode on. so, when i was scheduling, it has mentioned that "complete data backup" is missing. which i found is the right away.

so I have set the media backup as "FILE". on my file system. my run directory is /sapdb/wrk/data/<SID>.

overwritable - NO

Type - FILE

Backup Template - DATA

 

it failed. here is the log from DB13.

Job started

Step 001 started (program RSDBAJOB, variant &0000000000016, user ID )

Execute logical command DBMCLI On host helsid01

Parameters:-d SID -n helsid01 -uUTL -tpi SID -tpp no_longer_used -tpc LCA backup_start COM RECOVERY DATA AUTOIG

NORE

ERR

-24988,ERR_SQL: SQL error

-903,Host file I/O error

3,Data backup failed

Servertask Info: because Error in backup task occured

Job 1 (Backup / Restore Medium Task) [executing] WaitingT152 Result=3700

Error in backup task occured, Error code 3700 "hostfile_error"

Backupmedium #1 (SID_COM) cannot open xparam file

Backup error occured, Error code 3700 "hostfile_error"

External program terminated with exit code 1

DBMCLI returned error status E

Job finished

 

 

this is from OS level

more /sapdb/wrk/data/SID/dbahist/dba20130303090443.sda
*** DBA Action starts:
Timestamp: 20130303090443   Function: sda   Object: DATA
*** SAVE/RESTORE request:
SAVE DATA QUICK TO 'SID_COM' FILE BLOCKSIZE 8 NO CHECKPOINT MEDIANAME 'COM'
*** SAVE/RESTORE request accepted:
OK

*** SAVE/RESTORE result:
ERR
-24988,ERR_SQL: SQL error
-903,Host file I/O error
3,Data backup failed
Servertask Info: because Error in backup task occured
Job 1 (Backup / Restore Medium Task) [executing] WaitingT152 Result=3700
Error in backup task occured, Error code 3700 "hostfile_error"
Backupmedium #1 (SID_COM) cannot open xparam file
Backup error occured, Error code 3700 "hostfile_error"

*** 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
3,Data backup failed
Servertask Info: because Error in backup task occured
Job 1 (Backup / Restore Medium Task) [executing] WaitingT152 Result=3700
Error in backup task occured, Error code 3700 "hostfile_error"
Backupmedium #1 (SID_COM) cannot open xparam file
Backup error occured, Error code 3700 "hostfile_error"

*** DBA Action ends:
Timestamp: 20130303090944   State:    Failure


tail -100 /sapdb/wrk/data/SID/dbm.prt

2013-03-03 09:02:31 0x00004ed8 INF        283 DBMSrv   Command 'backup_start COM RECOVERY DATA AUTOIGNORE' is being executed.

2013-03-03 09:02:31 0x00004ed8 ERR     -24580 DBMSrv   ERR_COMMAND_FAILED: Command 'backup_start' has ended and failed with return code -24958.

                    0x00004ed8 ERR     -24958 DBMSrv   ERR_BAOVERWRITE: file already exists, cannot overwrite

2013-03-03 09:02:31 0x00004ed8 INF          2 DBMSrvCo A DBM Server client connection was released (client process has process ID 8404 on computer helsid01.fiskars.com).

2013-03-03 09:04:43 0x00004f29 INF          1 DBMSrvCo A DBM Server client connection was established at 2013-03-03 09:04:43 (client process has process ID 9391 on computer .

2013-03-03 09:04:43 0x00004f29 INF        283 DBMSrv   Command 'backup_start COM RECOVERY DATA AUTOIGNORE' is being executed.

2013-03-03 09:04:43 0x00004f29 INF          1 DBMKnl   Sending an administrative statement to the database

                    0x00004f29 INF          8 DBMKnl   Statement:  SAVE DATA QUICK TO 'SID_COM' FILE BLOCKSIZE 8 NO CHECKPOINT MEDIANAME 'COM'

2013-03-03 09:09:44 0x00004f29 ERR          3 DBMKnl   Received the result of an administrative statement from the database

                    0x00004f29 ERR          9 DBMKnl   Statement:  SAVE DATA QUICK TO 'SID_COM' FILE BLOCKSIZE 8 NO CHECKPOINT MEDIANAME 'COM'

                    0x00004f29 ERR         10 DBMKnl   Returncode: -903

                    0x00004f29 ERR          5 DBMKnl   Errortext:  Host file I/O error

2013-03-03 09:09:44 0x00004f29 ERR     -24580 DBMSrv   ERR_COMMAND_FAILED: Command 'backup_start' has ended and failed with return code -24988.

                    0x00004f29 ERR     -24988 DBMSrv   ERR_SQL: SQL error

                    0x00004f29 ERR     -24778 DBMSrv   -903,Host file I/O error

                    0x00004f29 ERR     -24778 DBMSrv   3,Data backup failed

                    0x00004f29 ERR     -24778 DBMSrv   Servertask Info: because Error in backup task occured

                    0x00004f29 ERR     -24778 DBMSrv   Job 1 (Backup / Restore Medium Task) [executing] WaitingT152 Result=3700

                    0x00004f29 ERR     -24778 DBMSrv   Error in backup task occured, Error code 3700 "hostfile_error"

                    0x00004f29 ERR     -24778 DBMSrv   Backupmedium #1 (SID_COM) cannot open xparam file

                    0x00004f29 ERR     -24778 DBMSrv   Backup error occured, Error code 3700 "hostfile_error"

2013-03-03 09:09:44 0x00004f29 INF          2 DBMSrvCo A DBM Server client connection was released (client process has process ID 9391 on computer ).

2013-03-03 09:09:44 0x00004f29 INF          1 DBMKnl   Sending an administrative statement to the database

                    0x00004f29 INF          8 DBMKnl   Statement:  SAVE DATA CANCEL

2013-03-03 09:09:44 0x00004f29 ERR          3 DBMKnl   Received the result of an administrative statement from the database

                    0x00004f29 ERR          9 DBMKnl   Statement:  SAVE DATA CANCEL

                    0x00004f29 ERR         10 DBMKnl   Returncode: -104

                    0x00004f29 ERR          5 DBMKnl   Errortext:  DBM command impossible at this time

2013-03-03 10:33:00 0x00006404 INF        283 DBMSrv   Command 'dban_stop' is being executed.

2013-03-03 10:33:06 0x00006404 INF        419 DBMSrv   Command 'dban_stop' has ended with return code 0.

2013-03-03 10:33:07 0x00005b36 INF          1 DBMSrvCo A DBM Server client connection was established at 2013-03-03 10:33:07 (client process has process ID 23295 on computer .

 

so backup is failing because "cannot open xparam file". i have searched the whole system. couldn't fine anything releant there. i have searched service marketplace and understood that X_PARAM is used for APO 1.1. this in SCM 7.0 . so not relevant.

google is also failed for this.

 

so this is the last resort. please help.

 

BR

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.

Maxdb connection error during system build

$
0
0

Hi All,

 

I am performing a system copy of Live cache from production to an FDR landscape. We are on AIX 7.1 and maxdb 7.9. I have been performing the system copy as per the SAP notes 886103 and post cloning as per 877203.

Status till now: I have copied the file systems from source machine to target machine one on one.

When i try unregistering the live cache instance it's throwing the error as below:

 

# pwd

/sapdb/programs/bin

# ./dbmcli -d TLP -u control,Twining1

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

-24950,ERR_USRFAIL: User authorization failed

 

The above was performed as root user.

However if i try performing the same using sidadm i get a different error and thats as below:

 

$ sudo su - tlcadm

Password:

$ cd /sapdb/programs/bin

$ ./dbmcli -d TLP -u control,Twining1

Bad path '/db2/TLP/sapdb/TLP/db/pgm/starter/sdbstarter'

Wanted (UserId     0, GroupId   254, Mode 104510 '-r-s--x---')

Got    (UserId   255, GroupId   254, Mode 104510 '-r-s--x---')

RTE_CallSdbStarter(): Wrong ownership for starter program absolute path

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

Reading header from pipe:closed by serv

 

I have performed this kind of system copy for 2 other landscapes and both the times i have used root only as the user.

 

Could anybody assist me as how to proceed further.

This is critical as we are in the middle of the build and need to hand over the system by tomorrow.

 

Thanks,

Soumya


how to start maxdb on linux

$
0
0

hi all,

 

    how do i start maxdb on linux.

 

very urgent,

 

thanks and regards

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

Can't start Shadowinstance during EHP Upgrade

$
0
0

Hello SCN,

 

i'm trying to Upgrade ERP6.0 EHP5 to EHP6 on Windows 2008 and MaxDB 7.9.08.08.

In Phase MAIN_SHDPREPUT/START_SHDI_PREPUT i get Severe Error becuase the shadow instance won't get up.


Error

Severe error(s) occurred in phase MAIN_SHDPREPUT/START_SHDI_PREPUT!

 

 

Last error code set: Shadow instance couldn't be started, check 'STARTSSC.LOG' and 'DEVTRACE.LOG': RFC login to system EMT ashost SAPTEST01 nr 02 gwhost SAPTEST01 gwservice sapgw02 failed with code 1 key

RFC_COMMUNICATION_FAILURE: <br/> LOCATION CPIC (TCP/IP) on local host with Unicode<br/> ERROR partner '192.168.97.2:3302' not reached<br/> TIME Wed Nov 27 15:05:01 2013<br/> RELEASE 721<br/> COMPONENT NI (network interface)<br/> VERSION 40<br/> RC -10<br/> MODULE nixxi.cpp<br/> LINE 3285<br/> DETAIL NiPConnect2: 192.168.97.2:3302<br/> SYSTEM CALL connect<br/> ERRNO 10061<br/> ERRNO TEXT WSAECONNREFUSED: Connection refused<br/> COUNTER 66<br/>


dev_w0 of shadow instance says:

 

"

C  *** ERROR => Connect to database failed, rc = -10757 (XUSER error (the USERKEY is unknown))

[dbsdbsql.cpp 115]

C  Try to connect (SQLOPT) on connection 0 ...

C  *** ERROR => Connect to database failed, rc = -10709 (Connection failed (RTE:Authentication failed (Cannot eval connect packet.).))

[dbsdbsql.cpp 139]

B  ***LOG BV3=> severe db error -10709    ; work process is stopped [dbsh        1241]

B  ***LOG BY2=> sql error -10709 performing CON [dblink      544]

B  ***LOG BY0=> Connection failed (RTE:Authentication failed (Cannot eval connect packet.).) [dblink      544]

M  ***LOG R19=> ThInit, db_connect ( DB-Connect 000256) [thxxhead.c  1497]

M  in_ThErrHandle: 1

M  *** ERROR => ThInit: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c  11348]

M  "

 

i did some research and found SAP Note 1444798:

 

 

 

Note 1444798

I) Creating the XUSER key "UPGSHD" on the remote shadow instance

 

For SAP upgrades or Enhancement Package installations with SAP kernel 7.20 or higher (that is, NetWeaver 7.0 or higher, Enhancement Package 2 as well as BS 7i2010e or higher), you must create the XUSER key UPGSHD in the remote shadow instance. This should occur immediately after the PREPARE.

To do so, execute the following command as the SAP system administrator sidadm on the host of the remote shadow instance:

  xuser -U UPGSHD -u SAP<SID>SHD,<password> -d <DBSID>

  -n <DBHostname> -S SAPR3 -t 0 -I 0 set

For Windows, you must also execute the following command:

  xuser -c SAPService<SID> -U UPGSHD -u SAP<SID>SHD,<password>

  -d <DBSID> -n <DBHostname> -S SAPR3 -t 0 -I 0 set

The password is the password specified in the phase INITSHD.

 

Check the existence of the XUSER key after its creation using:

  xuser -U UPGSHD list

For Windows, use the following also:

  xuser -c SAPService<SID> -U UPGSHD list

 

If the XUSER key does not exist,

starting the shadow instance leads to the following error (log file of

work processes):

  *** ERROR => Connect to database failed,

  rc = -10757 (XUSER error (the USERKEY is unknown))

 

After completing the SAP upgrade or the Enhancement Package installation, you must delete the XUSER key:

  xuser -U UPGSHD clear

For Windows, also:

  xuser -c SAPService<SID> -U UPGSHD clear

 

I tryed this Solution and added the Xuser Keys for UPGSHD

 

When i try to test connection i get this Error:

 

dbmcli -d EMT -U UPGSHD

 

Error! Connection failed to node SAPTEST01 for database EMT:

-24950, ERR_USRFAIL: User authorization failed.

 

 

do you have any ideas?

 

best regards

How can I use the C-Precompiler in Maxdb 7.6 (linux) or higher ?

$
0
0

Hi,

 

is there a way to use the Maxdb C-Precompiler in Maxdb 7.6 (linx) or higher ?

 

Our customer use Maxdb 7.5.00.44 (linux) and C-Precompiler,  they would like to migrate to 7.6 or higher Maxdb.

 

Thanks

 

Regards

Paula

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

Livecache crashes when starting dbanalyzer after 7.9.08 build 17 Upgrade

$
0
0

Hello,

We upgraded our livecache to 7.9 build 17. The scm side is upgraded 713 SP3. After we upgraded the livecache, when we start

livecache from LC10, livecache db starts up but when it starting dbnalyzer (dban_start ...), it crashes livecache and stop livecache. We can start

and stop livecache from dbmcli and livecache performs fine without dbanayzer. We also noticed after the upgrade, 7.9 does not like the maxcpu parameter =6. We had to lower that to 1 to start livecache as well.      

Steps for Reconstruction    

go to LC10 or dbanalyzer, try to start livecache or DB

analyzer:

WP_66 tracefile:

*** ERROR => EXECUTE C_0004 on connection 1, rc=-10807

bslsdb.cpp 9487]

SQLCODE : -10807

SQLERRTEXT : Connection down: [4] connection broken by kernel CRASH

sc_p=1160ce650,no=4,idc_p=

(nil),con=1,astyle='font-family:courier'

style='font-family:courier'

style='font-family:courier'

ct=1,slen=24,smax=256,#vars=0,stmt=1161936d0,table=dual

select 'Ping' from dual ;

***LOG BY2=> sql

error -10807 performing OPC [dbds 437]

***LOG BY0=> Connection down: [4] connection broken by kernel

CRASH [dbds 437]

Disconnecting from connection 1 ...

connection 1 is already down :

rc=-10821

SQLCODE : -10821

SQLERRTEXT : Session not connected

Now

I'm disconnected from MaxDB

 

start dbanlyzer using dbmcli:

mdt2ds11:li3adm> dbmcli -d LI3 -u control,control dban_start

ERR

-24994,ERR_RTE: Runtime environment error

4,connection broken server state 4

 

We have created an oss message as well and waiting a response from SAP..

 

Thanks

Dinali

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.


MaxDB 7.6.06.24 crashed and is unstartable even in restored Backup

$
0
0

Today our Database crashed and is now in a similar state like described here http://scn.sap.com/thread/1669772. It seems to keep crashing on log recovery during db_online. It for sure has at least one bad index, but since we are unable to bring it online, we seem to have no chance to fix this. I would be thankfull for any hints.

 

Here are some facts:

 

  • The first crash (somewhat shortened) looked something like:

VERSION  'X64/LIX86 7.6.06   Build 024-123-246-595'
[...]
ERR 53419 B*TREE   BD600: predsep.k > sep.k: 0
ERR 53000 B*TREE   Index Root  13113447
ERR 53000 B*TREE   bd600BuildSeparator: lef: 13553565
ERR 53000 B*TREE   bd600BuildSeparator: rig: 14665430
ERR          0 B*TREE   m_Node: 13553565
ERR          0 B*TREE   m_Node1: 14665430
ERR 11599 BTRACE   ----> Symbolic Stack Back Trace <----
ERR 11599 BTRACE      0: 0x0000000000f216ad eo670_UnixTraceStack +0x01ad
ERR 11599 BTRACE      1: 0x0000000000f22079 eo670_CTraceContextStackOCB +0x0009
ERR 11599 BTRACE      2: 0x0000000000f2216a vtracestack +0x003a
ERR 11599 BTRACE      3: 0x0000000000a64ecb _ZN19cbd502_ReorgContext13ErrorHandlingEPKci +0x002b
ERR 11599 BTRACE      4: 0x0000000000a72178 _ZN11cbd500_Tree14bd520_OverflowER19cbd502_ReorgContextPhiibbiRi +0x0908
ERR 11599 BTRACE      5: 0x0000000000a727ab _ZN11cbd500_Tree17bd520LeafOverflowEPhibiRi +0x03ab
ERR 11599 BTRACE      6: 0x0000000000a3de71 _Z17bd400AddToInvTreeR17cbd300_InvCurrentPhiS1_iRb +0x1181
ERR 11599 BTRACE      7: 0x00000000009a6a1f b03add_inv +0x01ff
ERR 11599 BTRACE      8: 0x0000000000b4538c _ZNK14Log_InvDescMap6AddInvER18tgg00_TransContextbbbRK12tgg00_FileIdPK9tgg00_Rec

+0x016c
ERR 11599 BTRACE      9: 0x0000000000b4345e _ZNK15Log_InvHandling6AddInvER18tgg00_TransContext +0x003e
ERR 11599 BTRACE     10: 0x000000000092f669 kb611inv_AddInv +0x0009
ERR 11599 BTRACE     11: 0x000000000092dbe1 kb61insert_rec +0x0201
ERR 11599 BTRACE     12: 0x000000000092e887 k61ins_del_upd +0x0267
ERR 11599 BTRACE     13: 0x00000000008dba3a k05functions +0x058a
ERR 11599 BTRACE     14: 0x000000000065fb97 a06lsend_mess_buf +0x0297
[...]
ERR 53250 INDEX    Bad Index 13113447 (Root)
ERR 53250 INDEX    Reason "System error: BD Invalid leave"
         12853 DBSTATE  Caught signal 11(SIGSEGV)
ERR 11330 COREHAND ABORTING due to signal 11
ERR 11599 BTRACE   ----> Symbolic Stack Back Trace <----
ERR 11599 BTRACE      0: 0x0000000000f216ad eo670_UnixTraceStack +0x01ad
ERR 11599 BTRACE      1: 0x0000000000f22079 eo670_CTraceContextStackOCB +0x0009
ERR 11599 BTRACE      2: 0x0000000000f22097 eo670_CTraceContextStack +0x0017
ERR 11599 BTRACE      3: 0x0000000000f65718 en81_CrashSignalHandler +0x00e8
ERR 11599 BTRACE      4: 0x00007f40e100b6b0 __restore_rt +0x0000
ERR 11599 BTRACE      5: 0x0000000000a74f20 _ZNK11cbd600_Node14bd600LeafCountEii +0x00b0
ERR 11599 BTRACE      6: 0x0000000000a42728 _Z23bd401CalculatePageCountR17cbd300_InvCurrentPhiS1_ibRiS2_S2_ +0x0658
ERR 11599 BTRACE      7: 0x00000000009ab093 b03calculate_page_count +0x02b3
ERR 11599 BTRACE      8: 0x000000000065d9f1 a06eval_page_count +0x0171
ERR 11599 BTRACE      9: 0x0000000000878292 ak720indexeval +0x0142
ERR 11599 BTRACE     10: 0x0000000000878b5a ak720eval_one_index +0x016a
ERR 11599 BTRACE     11: 0x0000000000878e73 ak720index_decision +0x0183
+++++++++++++ Kernel Exit ++++++++++++++++++++++++++++

  • So whenever we try to now switch to db_online (LOCAL_REDO_LOG_BUFFER_SIZE is 0 as it was before) it immediately crashes with
      ERR
      -24994,ERR_RTE: Runtime environment error
      4,connection broken server state 4


VERSION  'X64/LIX86 7.6.06   Build 024-123-246-595'
[...]

Log      0 queues, flushmode is 'MaximizeSafety', devstate is 'Okay'
Log      Oldest not saved is ioseq 296996736 @ off 775686
Log      First known on LogVolume is ioseq 295948220 @ off 775741
Log      Restart from ioseq 296996789 @ off 775739 to ioseq 296996790 @ off 775740
Log      Result after checking the log device: 'Ok'
Log      The number of active logging-queues has been increased to 4
OBJECT   Restarted Garbage coll: 1
Rst      968 redo transactions readable and 32 redo tasks available.
RESTART  Previous restart was interrupted.
Restart  recovering log from log_volume from IOSeq: '296996789'
Log      normal end of log found at off 775740 lastseq 296996790.
Log      last-redo-read empty errlist#13:TR907215147(11)[296996790]@775740.1608'Commit':20140128:135616
DBSTATE  Caught signal 11(SIGSEGV)
ERR 11330 COREHAND ABORTING due to signal 11

[...]
ERR 11599 BTRACE   ----> Symbolic Stack Back Trace <----
ERR 11599 BTRACE      0: 0x0000000000f216ad eo670_UnixTraceStack +0x01ad
ERR 11599 BTRACE      1: 0x0000000000f22079 eo670_CTraceContextStackOCB +0x0009
ERR 11599 BTRACE      2: 0x0000000000f22097 eo670_CTraceContextStack +0x0017
ERR 11599 BTRACE      3: 0x0000000000f65718 en81_CrashSignalHandler +0x00e8
ERR 11599 BTRACE      4: 0x00007f1f4412f6b0 __restore_rt +0x0000
ERR 11599 BTRACE      5: 0x0000000000a3ac49 _Z20bd400_DeleteSubTreesR17cbd300_InvCurrentR11cbd600_Node+0x0109
ERR 11599 BTRACE      6: 0x0000000000a3b490 _Z16bd400DropInvTreeR17cbd300_InvCurrent +0x0370
ERR 11599 BTRACE      7: 0x00000000009a9a4e bd03ReleaseInvTree +0x013e
ERR 11599 BTRACE      8: 0x000000000096d7d3 bd01destroy_file +0x0233
ERR 11599 BTRACE      9: 0x000000000096e7b9 b01pdestroy_perm_file +0x00d9
ERR 11599 BTRACE     10: 0x0000000000b2c0a4 _ZNK14Log_ActionFile13RemoveGarbageER18tgg00_TransContextR20SAPDBErr_MessageList +0x02f4
ERR 11599 BTRACE     11: 0x0000000000b2c5bc _ZNK14Log_ActionFile7ExecuteER18tgg00_TransContextNS_13ExecutionTypeE +0x039c

ERR 11599 BTRACE     12: 0x0000000000b2d78e _ZNK14Log_ActionFile4RedoER18tgg00_TransContextR10Log_IImageR20SAPDBErr_MessageList +0x000
ERR 11599 BTRACE     13: 0x0000000000b39d2b _Z10RedoActionR15Log_TransactionR10Log_IImageR11Log_IActionR15Data_IBreakableR21Data_Split
ERR 11599 BTRACE     14: 0x0000000000b3bd11 _Z21Log_ActionExecuteRedoR15Log_TransactionR14Log_AfterImage16Log_IOSequenceNoR21Data_Spli
ERR 11599 BTRACE     15: 0x0000000000b544b5 _ZN15Log_Transaction4RedoER20SAPDBErr_MessageList +0x02e5
+++++++++++++ Kernel Exit ++++++++++++++++++++++++++++

  • If we try a consistency check in admin mode it stumbles over one bad index complaining on root node 13113447, but of course we cannot repair that in admin state or even find out which index is to blame (can we?):

    >db_execute check data with update
    ERR
    -24988,ERR_SQL: SQL error
    -9041,System error: BD Index not accessible
    17,Servertask Info: because b01pverify_participant() failed
    10,Job 0 (Check Data) [executing] WaitingT206 Result=OK
    6,b01pverify_participant() failed, Error code 715 "index_not_accessible"

  • We even tried to recover our last backup (with AUTO_RECREATE_BAD_INDEXES set to YES) but as soon as we try to for instance drop the index we assume to be bad it immediately crashes and is unstartable again like above.

 

 

Is there any way to restore without indexes or to have all indexes recreated? Any hints how to still bring the original DB back online?

 

 

Cheers,

Urs

Backup failed - ERR -24920 (-903, Host file I/O error,access denied [5]).

$
0
0

Hi guru,

 

Recently we are facing some backup issues with backup tool COMMVAULT backing up database MAXDB. This problem is really strange as it happens intermittent. Below is the log that i found and suspect it could be due to security issue. Has any one face such problem before? Really appreciate your help. Thank you.

 

 

2010-01-05 10:20:05 0x00002328              0 DBM      command backup_start BackLog LOG AUTOIGNORE

2010-01-05 10:20:06 0x00002328 ERR     -24920 DBM      ERR_BACKUPOP: backup operation was unsuccessful

                    0x00002328 ERR     -24920 DBM      The database was unable to fulfill a request (-903, Host file I/O error,access denied [5]).

2010-01-05 14:00:05 0x000033bc              0 DBM      command backup_start BackPages1 RECOVERY PAGES AUTOIGNORE

2010-01-06 10:20:05 0x000010e4              0 DBM      command backup_start BackLog LOG AUTOIGNORE

2010-01-06 10:20:59 0x000010e4 ERR     -24920 DBM      ERR_BACKUPOP: backup operation was unsuccessful

                    0x000010e4 ERR     -24920 DBM      The database was unable to fulfill a request (-903, Host file I/O error,access denied [5]).

2010-01-06 14:00:04 0x000014a4              0 DBM      command backup_start BackPages1 RECOVERY PAGES AUTOIGNORE

2010-01-07 10:20:04 0x00000720              0 DBM      command backup_start BackLog LOG AUTOIGNORE

2010-01-07 10:20:52 0x00000720 ERR     -24920 DBM      ERR_BACKUPOP: backup operation was unsuccessful

                    0x00000720 ERR     -24920 DBM      The database was unable to fulfill a request (-903, Host file I/O error,access denied [5]).

 

 

Regards,

Kent

Can't start Shadowinstance during EHP Upgrade

$
0
0

Hello SCN,

 

i'm trying to Upgrade ERP6.0 EHP5 to EHP6 on Windows 2008 and MaxDB 7.9.08.08.

In Phase MAIN_SHDPREPUT/START_SHDI_PREPUT i get Severe Error becuase the shadow instance won't get up.


Error

Severe error(s) occurred in phase MAIN_SHDPREPUT/START_SHDI_PREPUT!

 

 

Last error code set: Shadow instance couldn't be started, check 'STARTSSC.LOG' and 'DEVTRACE.LOG': RFC login to system EMT ashost SAPTEST01 nr 02 gwhost SAPTEST01 gwservice sapgw02 failed with code 1 key

RFC_COMMUNICATION_FAILURE: <br/> LOCATION CPIC (TCP/IP) on local host with Unicode<br/> ERROR partner '192.168.97.2:3302' not reached<br/> TIME Wed Nov 27 15:05:01 2013<br/> RELEASE 721<br/> COMPONENT NI (network interface)<br/> VERSION 40<br/> RC -10<br/> MODULE nixxi.cpp<br/> LINE 3285<br/> DETAIL NiPConnect2: 192.168.97.2:3302<br/> SYSTEM CALL connect<br/> ERRNO 10061<br/> ERRNO TEXT WSAECONNREFUSED: Connection refused<br/> COUNTER 66<br/>


dev_w0 of shadow instance says:

 

"

C  *** ERROR => Connect to database failed, rc = -10757 (XUSER error (the USERKEY is unknown))

[dbsdbsql.cpp 115]

C  Try to connect (SQLOPT) on connection 0 ...

C  *** ERROR => Connect to database failed, rc = -10709 (Connection failed (RTE:Authentication failed (Cannot eval connect packet.).))

[dbsdbsql.cpp 139]

B  ***LOG BV3=> severe db error -10709    ; work process is stopped [dbsh        1241]

B  ***LOG BY2=> sql error -10709 performing CON [dblink      544]

B  ***LOG BY0=> Connection failed (RTE:Authentication failed (Cannot eval connect packet.).) [dblink      544]

M  ***LOG R19=> ThInit, db_connect ( DB-Connect 000256) [thxxhead.c  1497]

M  in_ThErrHandle: 1

M  *** ERROR => ThInit: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c  11348]

M  "

 

i did some research and found SAP Note 1444798:

 

 

 

Note 1444798

I) Creating the XUSER key "UPGSHD" on the remote shadow instance

 

For SAP upgrades or Enhancement Package installations with SAP kernel 7.20 or higher (that is, NetWeaver 7.0 or higher, Enhancement Package 2 as well as BS 7i2010e or higher), you must create the XUSER key UPGSHD in the remote shadow instance. This should occur immediately after the PREPARE.

To do so, execute the following command as the SAP system administrator sidadm on the host of the remote shadow instance:

  xuser -U UPGSHD -u SAP<SID>SHD,<password> -d <DBSID>

  -n <DBHostname> -S SAPR3 -t 0 -I 0 set

For Windows, you must also execute the following command:

  xuser -c SAPService<SID> -U UPGSHD -u SAP<SID>SHD,<password>

  -d <DBSID> -n <DBHostname> -S SAPR3 -t 0 -I 0 set

The password is the password specified in the phase INITSHD.

 

Check the existence of the XUSER key after its creation using:

  xuser -U UPGSHD list

For Windows, use the following also:

  xuser -c SAPService<SID> -U UPGSHD list

 

If the XUSER key does not exist,

starting the shadow instance leads to the following error (log file of

work processes):

  *** ERROR => Connect to database failed,

  rc = -10757 (XUSER error (the USERKEY is unknown))

 

After completing the SAP upgrade or the Enhancement Package installation, you must delete the XUSER key:

  xuser -U UPGSHD clear

For Windows, also:

  xuser -c SAPService<SID> -U UPGSHD clear

 

I tryed this Solution and added the Xuser Keys for UPGSHD

 

When i try to test connection i get this Error:

 

dbmcli -d EMT -U UPGSHD

 

Error! Connection failed to node SAPTEST01 for database EMT:

-24950, ERR_USRFAIL: User authorization failed.

 

 

do you have any ideas?

 

best regards

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

Can we drop a 7.6 MaxDB into a 7.9 MaxDB?

$
0
0

Hi,

 

I've got to migrate a 6.3 Content Server (based on 7.6 MaxDB) on Windows 2003 (which according to the PAM isn't supported but has been working ok). Into a 7.9 MaxDB on Windows 2012 R2. We might have to go to 2008 first, then 2012

 

There is very little info out there on whether The Content Server 6.3 currently (6.4 maintenance will soon end) will be supported on 2008, but I'm not sure that this will matter as long as the MaxDB side is correct.

 

I've read somewhere that from 7.5 you can drop a any version into 7.9? - is this true?...could someone help out on a possible upgrade path, strategy?

 

Regards

 

Neil

Viewing all 1545 articles
Browse latest View live