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

MAXDB recovery

$
0
0

Hi All,

 

Our SAP DMS Dev server SDB DISKD001 file deleted by mistake .(Please Don't ask how)But have a copy of that file. We copy it original location and set file permission .DB_start command give this error .

 

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

-24950,ERR_USRFAIL: User authorization failed

 

 

 

bobjdms2:sqdsdb 3> dbmcli -d SDB -u control,control

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

-24950,ERR_USRFAIL: User authorization failed

 

 

 

This is a AIX server .

 

Please help to recover this .. We are very new to MAX DB...


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

Database Studio in LC10 is throwing error

$
0
0

Dear Experts,

                      When I am launching Tools->Database studio in LC10 ,it is throwing following errors.

 

LCA     Could not find dbstudio.exe on PC

LCA     Error in DBMCLI inst_enum

LCA     Error! Connection failed to node 10.1.160.129 for database (no dbname):

LCA     connection refused: x_server not runnin

LCA     External program terminated with exit code 2

 

                     I have already installed Database studio in my WTS(Windows Terminal Box) and from there I have

 

                     successfully added and register the Livecache instance LCA.But the problem is coming when I am

 

                    launching Database Studio from SAP system in Tcode LC10.

 

                    Don't know where I am getting wrong.

 

Thanks and Regards

Kunal Gahlot

 

Edited by: Kunal Gehlot on Sep 14, 2011 7:26 AM

Livecache Homogeneus system copy - Restore it or Initialize it

$
0
0

Hi,

 

I'm creating a Test environment of SCM 4.1 + Livecache 7.5 based on PRD Homogeneous system copy.

 

I'm aware of specific procedures do copy Livecache, but is that really needed in an Test environment. Can't I only initialize livecache running  /SAPAPO/DELETE_LC_ANCHORS.

 

Livecache, as the name says is a cache, so there should be some reports to flush it and build it again from the SCM master/transactional data.  Ok loosing some data resulting from livecache processing and not yet integrated in SCM ond the system backup time, but this is a Test environment,no?  If yes, what are those reports?

 

 

Regards to all

 

Edited by: HP SUPPORT on Apr 6, 2009 5:25 PM

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

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


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

-2 ERR_USRFAIL: User authorization failed

$
0
0

Hello guys,

First to mention my system:

OS: Windows 2003 server

DB: MaxDB  7_7_06_17

 

I have one problem to connect through Database Manager to one DB instance that  just now I have installed.

What I want to do is to install one MDM server.

The bellow are the steps that were already performed:

-installed Java server with sapinst (this created its database ZJD)

-after this Java server was finished installed I started to create one DB MDM instance using SDBSETUP.exe

-I was able to create this MDM instance successful

 

And the problem is here: This MDM database instance that was created with defaults users DBA and DBM. When the creation of this MDM was finished I tried to connect with both Database Manager and DBMCLI to MDM instance using these users but I am not able to connect. I get the   "-2 ERR_USRFAIL: User authorization failed" error. Can you tell me which is the reason?

I am sure that I typed the right user and password. I tried to uninstall all and installed again inclusive OS and the same error. I mention that to instance ZJD I am able to connect.

I tried with default users for Maxdb (DBA with pass: SECRET and DBA and DBM with pass: SECRET and DBM) but this doesn't work.

Can you help me to solve this problem?

Best regards,

Florin Radulea

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

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.

Getting error while applying logs to MaxDB standby database.

$
0
0

Hi,

I have created the MaxDB standby instance on other server and copied all the logs from Production instance to Standby instance. I tried applying logs from DBMCLI as below,

recover_start Log LOG 020

But getting error as below in dbm.prt

9 DBMKnl   Statement:  RESTORE LOG FROM '/oracle/SMD/sapdata5/saparch/BE1_LOG.020' FILE  BLOCKSIZE 8 MEDIANAME 'Logu2019

10 DBMKnl   Returncode: -7075

 

I also tried checking the log file using recover_check from DBMCLI getting error as below,

    283 DBMSrv   Command 'recover_check Log LOG 020' is being executed.

-24580 DBMSrv   ERR_COMMAND_FAILED: Command 'recover_check' has ended and failed with return code -24933.

-24933 DBMSrv   ERR_NOSERVICESESSION: No service session active

 

I also tried restoring the log files through DBMGUI but getting error as below in dbm.prt

 

     283 DBMSrv   Command 'backup_restore "Log" LOG 021' is being executed.

       1 DBMKnl   Sending an administrative statement to the database

       8 DBMKnl   Statement:  RESTORE LOG FROM '/oracle/SMD/sapdata5/saparch/BE1_LOG.021' FILE  BLOCKSIZE 8 MEDIANAME 'Logu2019

 

       3 DBMKnl   Received the result of an administrative statement from the database

       9 DBMKnl   Statement:  RESTORE LOG FROM '/oracle/SMD/sapdata5/saparch/BE1_LOG.021' FILE  BLOCKSIZE 8 MEDIANAME 'Logu2019

 

      10 DBMKnl   Returncode: -7075

       5 DBMKnl   Errortext:  Current save skipped, next is ready to take on this tape

     419 DBMSrv   Command 'backup_restore' has ended with return code 0.

     283 DBMSrv   Command 'backup_restore "Log" LOG 022' is being executed.

       1 DBMKnl   Sending an administrative statement to the database

       8 DBMKnl   Statement:  RESTORE LOG CANCEL

       3 DBMKnl   Received the result of an administrative statement from the database

       9 DBMKnl   Statement:  RESTORE LOG CANCEL

      10 DBMKnl   Returncode: -104

       5 DBMKnl   Errortext:  DBM command impossible at this time

       1 DBMKnl   Sending an administrative statement to the database

       8 DBMKnl   Statement:  RESTORE LOG FROM '/oracle/SMD/sapdata5/saparch/BE1_LOG.022' FILE  BLOCKSIZE 8 MEDIANAME 'L

 

       1 DBMSrvCo A DBM Server client connection was established at 2011-01-31 21:24:47 (client process has process ID 5052 on computer testsap14

 

     421 DBMSrv   Command 'backup_restore_state' was executed since 2011-01-31 21:24:50.

  -24580 DBMSrv   ERR_COMMAND_FAILED: Command 'backup_restore_state' has ended and failed with return code -24994.

  -24994 DBMSrv   ERR_RTE: Runtime environment error

  -24778 DBMSrv   1,wrong connection state:requested

  -24580 DBMSrv   ERR_COMMAND_FAILED: Command 'backup_restore' has ended and failed with return code -24994.

  -24994 DBMSrv   ERR_RTE: Runtime environment error

  -24778 DBMSrv   4,connection broken server state 4

       2 DBMSrvCo A DBM Server client connection was released (client process has process ID 5052 on computer testsap14

 

     283 DBMSrv   Command 'backup_restore_cancel' is being executed.

       1 DBMKnl   Sending an administrative statement to the database

       8 DBMKnl   Statement:  RESTORE LOG CANCEL

  -24580 DBMSrv   ERR_COMMAND_FAILED: Command 'backup_restore_cancel' has ended and failed with return code -24994.

  -24994 DBMSrv   ERR_RTE: Runtime environment error

  -24778 DBMSrv   1,wrong connection state:requested

 

And also can I do the switchover like oracle dataguard in MaxDB standby database. Before bringing the MaxDB standby as production instance I will do the log switch on production MaxDB database and apply that last log to standby MaxDB and then put the Production MaxDB database into Admin mode and then I will bring the MaxDB standby as production instance and shipped the log from standby to production and apply the logs as production is now standby is it possible to apply logs on production standby?

 

Thanks,

Narendra

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


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

Maxdb 7.9 SQL Question (+) operator

$
0
0

Hi, I am slightly stumped on an sql query that ran without problems on

maxdb 7.6.027 for many years, but now returns error

-5010  Missing value specification on maxdb 7.9.27:

 

SELECT    v.id, v.modul, v.version, m.rechte, m.rechte2, m.rechte3, m.rechte4

FROM    versions v, menurechte m

WHERE    v.id >= 0 AND v.id = m.id ( +)

AND m.login ( +) = 'SCHWARTZ'   

ORDER BY v.id

 

The database server (7.9.27) runs under linux and the application is run on a

WIN-XP-client, unsing the original maxdb 7.6. ODBC driver.

Is there a compatibility setting that will allow me to execute the join syntax above

on a 7.9.27 server?

 

Any hint on how to deal with this would be greatly appreciated, as I cannot modify the

client (XP) application.

Recovery of MaxDB 7.5 content server 6.40 to MaxDB 7.9 content server 6.50

$
0
0

Hi,

 

I am trying to upgrade from SAP Content Server 6.40 with MaxDB 7.5 on 32-bit platform, to SAP Content Server 6.50 with MaxDB 7.9 on 64bit architecture.

 

I have DBStudio 7.9.08.25 and 7.9.08.8 MaxDB instance for the SDB and CDB on the target server

 

I have also created backups of the SDB and CDB on the source server and copied the files to the target server. However, when I try to receover the medium, I get error message "-24994 Runtime environment error 1, wrong file or device name".

 

I have reviewed sap notes 129352 and 767598. I am trying to find the glossary entry "System Copy" as mentioned on the first page of 129352, but to no avail.

 

Any help as always greatly appreciated.

maxdb -complete data backup is failed

$
0
0

Hi experts,

 

 

backups (complete and log ) are failing on livecache system.in our envorment we are using backup tool Backint for maxdb

 

please find the error logs and assist on this

 

2015-02-27 00:05:04

Filling reply buffer.

    Have encountered error -24920:

        The database request was canceled and ended with error -903. The backup tool ended with 0 as sum of exit codes.

 

 

    Constructed the following reply:

        ERR

        -24920,ERR_BACKUPOP: backup operation was unsuccessful

        The database request was canceled and ended with error -903. The backup tool ended with 0 as sum of exit codes.

Reply buffer filled.

 

 

Thanks,

siva

MaxDB dbmcli db_online InconsistentLogInfoPage

$
0
0

hi All,

I am getting the following error when I try to start the MaxDB database.

 

bash-3.00# /sapdb/programs/bin/dbmcli -d BI1 -n sapbi1db -u control,vcs12345 db_admin

OK

 

bash-3.00# /sapdb/programs/bin/dbmcli -d BI1 -n sapbi1db -u control,vcs12345 db_online

ERR

-24988,ERR_SQL: Sql error

-9407,System error: unexpected error

3,Database state: OFFLINE

20002,Expected ioseq 193064, found 193087-193112 on off 131435

20022,LastKnown not found on log

20025,Initialization of log for 'restart' failed with 'InconsistentLogInfoPage'

 

Please let me know if you know the issue?

 

Any help will be appreciated!

 

Thanks & Regards,

Venkat

 

-


Here are logs from few files  -


 

bash-3.00# tail /sapdb/data/wrk/BI1/dbm.prt

 

2008-06-23 19:05:16 0x000031c1 INF        283 DBMSrv   command db_offline

2008-06-23 19:05:25 0x000031c1 INF        226 DBMSrv   DBM Server client disconnect: PID 12735 on computer sapbi1db

2008-06-23 19:05:37 0x000031f8 INF        216 DBMSrv   DBM Server client connection (established at 2008-06-23 19:05:37): PID 12790 on computer sapbi1db

2008-06-23 19:05:37 0x000031f8 INF        283 DBMSrv   command db_online

2008-06-23 19:05:46 0x000031f8 ERR     -24988 DBMSrv   ERR_SQL: Sql error

                    0x000031f8 ERR     -24778 DBMSrv   3,Database state: OFFLINE

                    0x000031f8 ERR     -24778 DBMSrv   20002,Expected ioseq 193064, found 193087-193112 on off 131435

                    0x000031f8 ERR     -24778 DBMSrv   20022,LastKnown not found on log

                    0x000031f8 ERR     -24778 DBMSrv   20025,Initialization of log for 'restart' failed with 'InconsistentLogInfoPage'

2008-06-23 19:05:46 0x000031f8 INF        226 DBMSrv   DBM Server client disconnect: PID 12790 on computer sapbi1db

 

 

 

bash-3.00# more /sapdb/data/wrk/BI1/dbm.utl

-


Date       Time     Message-Text

-


2008-06-04 13:08:35 4846467B0001 0000   IC1 CREATE INSTANCE SYSDBA SUPERDBA

2008-06-04 13:10:50 4846467B0001 0001   RET RETURNCODE     0

2008-06-04 14:22:02 484657B20004 0000   SHT SHUTDOWN

2008-06-04 14:22:18 484657C20001 0000   RST RESTART

2008-06-04 14:22:19 484657C20001 0001   RET RETURNCODE     0

2008-06-04 14:28:31 484659370002 0000   SHT SHUTDOWN

2008-06-04 14:28:40 484659400001 0000   REQ SET LOG WRITER OFF

2008-06-04 14:28:40 484659400001 0001   RET RETURNCODE     0

2008-06-04 14:28:42 484659420003 0000   RST RESTART

2008-06-04 14:28:43 484659420003 0001   RET RETURNCODE     0

2008-06-04 16:14:02 484671F20004 0000   SHT SHUTDOWN

2008-06-04 16:14:12 484671FC0001 0000   REQ SET LOG WRITER ON

2008-06-04 16:14:12 484671FC0001 0001   RET RETURNCODE     0

2008-06-04 16:14:14 484671FE0002 0000   RST RESTART

2008-06-04 16:14:17 484671FE0002 0001   RET RETURNCODE     0

2008-06-04 16:18:55 484673170003 0000   SHT SHUTDOWN

2008-06-04 16:19:13 484673290001 0000   REQ SET LOG WRITER OFF

2008-06-04 16:19:13 484673290001 0001   RET RETURNCODE     0

2008-06-04 16:19:15 4846732B0003 0000   RST RESTART

2008-06-04 16:19:18 4846732B0003 0001   RET RETURNCODE     0

2008-06-04 17:54:37 484689850004 0000   SHT SHUTDOWN

2008-06-04 17:57:09 48468A1D0001 0000   RST RESTART

2008-06-04 17:57:12 48468A1D0001 0001   RET RETURNCODE     0

2008-06-04 21:21:43 4846BA0F0002 0000   SHT SHUTDOWN

2008-06-04 21:21:57 4846BA1D0001 0000   REQ SET LOG WRITER ON

2008-06-04 21:21:57 4846BA1D0001 0001   RET RETURNCODE     0

2008-06-04 21:21:59 4846BA1F0002 0000   RST RESTART

2008-06-04 21:22:02 4846BA1F0002 0001   RET RETURNCODE     0

2008-06-23 17:52:32 485F95880001 0000   RST RESTART

2008-06-23 17:56:02 485F965A0001 0000   RST RESTART

2008-06-23 18:12:34 485F9A3A0001 0000   RST RESTART

2008-06-23 18:57:27 485FA4BF0001 0000   RST RESTART

2008-06-23 18:59:25 485FA5350001 0000   RST RESTART

2008-06-23 19:05:44 485FA6B00001 0000   RST RESTART

-


current write position -


 

 

bash-3.00# tail /sapdb/data/wrk/BI1/knldiag.err

2008-06-23 19:05:38                          --- Starting GMT 2008-06-23 13:35:38           7.6.00   Build 018-123-119-055

2008-06-23 19:05:46    22 ERR 51080 SYSERROR -9407 unexpected error

2008-06-23 19:05:46    22 ERR     3 Admin    Kernel_Administration.cpp:606

2008-06-23 19:05:46    22 ERR     3 Admin    2008-06-23 19:05:46 Admin Error 3

2008-06-23 19:05:46    22 ERR     3 Admin    Database state: OFFLINE

2008-06-23 19:05:46    22 ERR     3 Admin     + Log_Volume.cpp:1048

2008-06-23 19:05:46    22 ERR     3 Admin     + 2008-06-23 19:05:46 Log Info 20002

2008-06-23 19:05:46    22 ERR     3 Admin     -   Expected ioseq 193064, found 193087-193112 on off 131435

2008-06-23 19:05:46    22 ERR     3 Admin     + Log_Volume.cpp:747

2008-06-23 19:05:46    22 ERR     3 Admin     + 2008-06-23 19:05:46 Log Error 20022

2008-06-23 19:05:46    22 ERR     3 Admin     -   LastKnown not found on log

2008-06-23 19:05:46    22 ERR     3 Admin     + Kernel_Administration.cpp:762

2008-06-23 19:05:46    22 ERR     3 Admin     + 2008-06-23 19:05:46 Admin Warning 20025

2008-06-23 19:05:46    22 ERR     3 Admin     -   Initialization of log for 'restart' failed with 'InconsistentLogInfoPage'

2008-06-23 19:05:54     0 ERR 12009 DBCRASH  Kernel exited due to signal 0(Killed after timeout with state SERVER_KILL)

2008-06-23 19:05:54                          ___ Stopping GMT 2008-06-23 13:35:54           7.6.00   Build 018-123-119-055

 

 

bash-3.00# more /sapdb/data/wrk/BI1/knldiag

 

2008-06-23 19:05:42    22     11007 COMMUNIC wait for connection T121

2008-06-23 19:05:42    22     12929 TASKING  Task T120 started

2008-06-23 19:05:42    22     11007 COMMUNIC wait for connection T120

2008-06-23 19:05:42    22     12929 TASKING  Task T119 started

2008-06-23 19:05:42    22     11007 COMMUNIC wait for connection T119

2008-06-23 19:05:42    22     12929 TASKING  Task T118 started

2008-06-23 19:05:42    22     11007 COMMUNIC wait for connection T118

2008-06-23 19:05:42    22     12929 TASKING  Task T117 started

2008-06-23 19:05:42    22     11007 COMMUNIC wait for connection T117

2008-06-23 19:05:42    22     12929 TASKING  Task T116 started

2008-06-23 19:05:42    22     11007 COMMUNIC wait for connection T116

2008-06-23 19:05:42    22     12929 TASKING  Task T115 started

2008-06-23 19:05:42    22     11007 COMMUNIC wait for connection T115

2008-06-23 19:05:42    22     12929 TASKING  Task T114 started

2008-06-23 19:05:42    22     11007 COMMUNIC wait for connection T114

2008-06-23 19:05:43     9         3 RunTime  State changed from STARTING to ADMIN

2008-06-23 19:05:43    21        31 SrvTasks Permanently reserved 13 servertasks for 'Backup / Restore'.

2008-06-23 19:05:43    21        31 SrvTasks Permanently reserved 2 servertasks for 'Backup / Restore'.

======================================= end of startup part ====================

2008-06-23 19:05:43     9     11570 startup  complete

2008-06-23 19:05:44    10     11561 COMMUNIC Connecting T113 local 12792

2008-06-23 19:05:44    22     11561 COMMUNIC Connected  T113 local 12792

2008-06-23 19:05:44    27     12821 TASKING  Thread 27 starting

2008-06-23 19:05:44    27     11597 IO       Open '/sapdb/BI1/sapdata/DISKD0001' successfull, fd: 10

2008-06-23 19:05:44    27     11565 startup  DEVi started

2008-06-23 19:05:44    28     12821 TASKING  Thread 28 starting

2008-06-23 19:05:44    28     11597 IO       Open '/sapdb/BI1/sapdata/DISKD0001' successfull, fd: 18

2008-06-23 19:05:44    28     11565 startup  DEVi started

2008-06-23 19:05:44    22     11000 vattach  '/sapdb/BI1/sapdata/DISKD0001' devno 1 T113 succeeded

2008-06-23 19:05:44    29     12821 TASKING  Thread 29 starting

2008-06-23 19:05:44    29     11597 IO       Open '/sapdb/BI1/sapdata/DISKD0002' successfull, fd: 20

2008-06-23 19:05:44    29     11565 startup  DEVi started

2008-06-23 19:05:44    30     12821 TASKING  Thread 30 starting

2008-06-23 19:05:44    30     11597 IO       Open '/sapdb/BI1/sapdata/DISKD0002' successfull, fd: 21

2008-06-23 19:05:44    30     11565 startup  DEVi started

2008-06-23 19:05:44    22     11000 vattach  '/sapdb/BI1/sapdata/DISKD0002' devno 2 T113 succeeded

2008-06-23 19:05:44    31     12821 TASKING  Thread 31 starting

2008-06-23 19:05:44    31     11597 IO       Open '/sapdb/BI1/sapdata/DISKD0003' successfull, fd: 23

2008-06-23 19:05:44    31     11565 startup  DEVi started

2008-06-23 19:05:44    32     12821 TASKING  Thread 32 starting

2008-06-23 19:05:44    32     11597 IO       Open '/sapdb/BI1/sapdata/DISKD0003' successfull, fd: 24

2008-06-23 19:05:44    32     11565 startup  DEVi started

2008-06-23 19:05:44    22     11000 vattach  '/sapdb/BI1/sapdata/DISKD0003' devno 3 T113 succeeded

2008-06-23 19:05:44    33     12821 TASKING  Thread 33 starting

2008-06-23 19:05:44    33     11597 IO       Open '/sapdb/BI1/sapdata/DISKD0004' successfull, fd: 26

2008-06-23 19:05:44    33     11565 startup  DEVi started

2008-06-23 19:05:44    34     12821 TASKING  Thread 34 starting

2008-06-23 19:05:44    34     11597 IO       Open '/sapdb/BI1/sapdata/DISKD0004' successfull, fd: 27

2008-06-23 19:05:44    34     11565 startup  DEVi started

2008-06-23 19:05:44    22     11000 vattach  '/sapdb/BI1/sapdata/DISKD0004' devno 4 T113 succeeded

2008-06-23 19:05:44    35     12821 TASKING  Thread 35 starting

2008-06-23 19:05:44    35     11597 IO       Open '/sapdb/BI1/saplog/DISKL001' successfull, fd: 29

2008-06-23 19:05:44    35     11565 startup  DEVi started

2008-06-23 19:05:44    36     12821 TASKING  Thread 36 starting

2008-06-23 19:05:44    36     11597 IO       Open '/sapdb/BI1/saplog/DISKL001' successfull, fd: 30

2008-06-23 19:05:44    36     11565 startup  DEVi started

2008-06-23 19:05:44    22     11000 vattach  '/sapdb/BI1/saplog/DISKL001' devno 5 T113 succeeded

2008-06-23 19:05:44    22     20017 Pager    Start Read Converter

2008-06-23 19:05:45    21     20003 KernelDB  70 percent of data area occupied, 614398 pages free

2008-06-23 19:05:45    22     20018 Pager    Stop Read Converter, Pages: 872 IO: 872

2008-06-23 19:05:45    22     53000 DATACACH Begin data cache restart

2008-06-23 19:05:45    22     54003 dynpool  DATA_CACHE_REGIONS     :     32

2008-06-23 19:05:45    22     54003 dynpool  B20_DATACACHE_HEAD     : 173296

2008-06-23 19:05:45    22     54003 dynpool  DATACACHE head num item:  10831

2008-06-23 19:05:45    22     54003 dynpool  DATACACHE head item siz:     16

2008-06-23 19:05:45    22     54003 dynpool  DATACACHE task queue   :   3912

2008-06-23 19:05:45    22     54003 dynpool  US + SV + DW +  8      :    163

2008-06-23 19:05:45    22     54003 dynpool  DATACACHE taskq elem   :     24

2008-06-23 19:05:45    22     54003 dynpool  B20_DATACACHE_TASKQ    : 177208

2008-06-23 19:05:45    22     54003 dynDATA  DATA_CACHE_PAGES       :   2704

2008-06-23 19:05:45    22     54003 dynpool  B20_DATACACHE_CB       : 324480

2008-06-23 19:05:45    22     54003 dynpool  DATACACHE num cblocks  :   2704

2008-06-23 19:05:45    22     54003 dynpool  DATACACHE cblock size  :    120

2008-06-23 19:05:45    22     54003 dynpool  DYNP_B20_DATACACHE     : 16054016

2008-06-23 19:05:45    22     54003 dynDATA  DYND_B20_DATACACHE     :  86528

2008-06-23 19:05:45    22     53000 DATACACH Finish data cache restart

2008-06-23 19:05:45    22     53000 B*TREE   Blob file directory restart successful

2008-06-23 19:05:45    22         7 FileDir  File directory restarting

2008-06-23 19:05:46    22         8 FileDir  File directory restart completed

2008-06-23 19:05:46    22     20061 Log      History: 50 (50) files existing

2008-06-23 19:05:46    22     20064 Log      History: all history files registered, GC is ready

2008-06-23 19:05:46    22     54003 dynpool  DYNP_K51_LOCK_LIST     : 82757136

2008-06-23 19:05:46    22     54003 dynpool  LOCK maxlocks          : 300000

2008-06-23 19:05:46    22     54003 dynpool  LOCK items             : 902400

2008-06-23 19:05:46    22     54003 dynpool  LOCK Regions           :     24

2008-06-23 19:05:46    22     54003 dynpool  LOCK TransRegions      :      8

2008-06-23 19:05:46    22     54003 dynpool  LOCK RegionGlob+Space  :   3840

2008-06-23 19:05:46    22     54003 dynpool  LOCK TransGlob         :    768

2008-06-23 19:05:46    22     54003 dynpool  LOCK SupplyItemsPerRgn :    100

2008-06-23 19:05:46    22     54003 dynpool  LOCK SupplySize        : 211200

2008-06-23 19:05:46    22     54003 dynpool  LOCK RowHash entries   : 300000

2008-06-23 19:05:46    22     54003 dynpool  LOCK TabHash entries   :  60000

2008-06-23 19:05:46    22     54003 dynpool  LOCK Row+Tab hash size :2880000

2008-06-23 19:05:46    22     54003 dynpool  LOCK Trans entries     :    304

2008-06-23 19:05:46    22     54003 dynpool  LOCK trans_list size   :  80256

2008-06-23 19:05:46    22     54003 dynpool  LOCK TransPtrList      :   2432

2008-06-23 19:05:46    22     54003 dynpool  LOCK TransHash entries :    304

2008-06-23 19:05:46    22     54003 dynpool  LOCK TransHash size    :   2432

2008-06-23 19:05:46    22     54003 dynpool  LOCK SupplyPoolSegments:   9000

2008-06-23 19:05:46    22     54003 dynpool  LOCK SupplyPoolSize    : 79416000

2008-06-23 19:05:46    22     54003 dynpool  LOCK ObjColl_list size :   9728

2008-06-23 19:05:46    22     54003 dynpool  LOCK ObjReq_list size  :   6080

2008-06-23 19:05:46    22     11000 vdetach  '/sapdb/BI1/saplog/DISKL001' devno 5 T113

2008-06-23 19:05:46    11     12822 TASKING  Thread 35 joining

2008-06-23 19:05:46    35     11566 stop     DEVi stopped

2008-06-23 19:05:46    11     12822 TASKING  Thread 36 joining

2008-06-23 19:05:46    36     11566 stop     DEVi stopped

2008-06-23 19:05:46    22 ERR 51080 SYSERROR -9407 unexpected error

2008-06-23 19:05:46    22 ERR     3 Admin    Kernel_Administration.cpp:606

2008-06-23 19:05:46    22 ERR     3 Admin    2008-06-23 19:05:46 Admin Error 3

2008-06-23 19:05:46    22 ERR     3 Admin    Database state: OFFLINE

2008-06-23 19:05:46    22 ERR     3 Admin     + Log_Volume.cpp:1048

2008-06-23 19:05:46    22 ERR     3 Admin     + 2008-06-23 19:05:46 Log Info 20002

2008-06-23 19:05:46    22 ERR     3 Admin     -   Expected ioseq 193064, found 193087-193112 on off 131435

2008-06-23 19:05:46    22 ERR     3 Admin     + Log_Volume.cpp:747

2008-06-23 19:05:46    22 ERR     3 Admin     + 2008-06-23 19:05:46 Log Error 20022

2008-06-23 19:05:46    22 ERR     3 Admin     -   LastKnown not found on log

2008-06-23 19:05:46    22 ERR     3 Admin     + Kernel_Administration.cpp:762

2008-06-23 19:05:46    22 ERR     3 Admin     + 2008-06-23 19:05:46 Admin Warning 20025

2008-06-23 19:05:46    22 ERR     3 Admin     -   Initialization of log for 'restart' failed with 'InconsistentLogInfoPage'

2008-06-23 19:05:46    22     11560 COMMUNIC Releasing  T113

2008-06-23 19:05:46    22     12696 DBSTATE  Change DbState to 'SHUTDOWN'(25)

2008-06-23 19:05:46     6     12696 DBSTATE  Change DbState to 'KILL'(29)

2008-06-23 19:05:46     6     12697 DBSTATE  Resuming tracewriter

2008-06-23 19:05:46     6     12696 DBSTATE  Change DbState to 'TRACE_WRITER_WAIT'(29)

2008-06-23 19:05:46    16     12825 TASKING  state 29 before shutkill(1)

2008-06-23 19:05:46    16     12825 TASKING  state 29 before shutkill(1)

2008-06-23 19:05:46    16     12825 TASKING  state 29 before shutkill(1)

2008-06-23 19:05:46    16     20000 Trace    Start flush kernel trace

2008-06-23 19:05:48    21     12825 TASKING  state 29 before shutkill(1)

2008-06-23 19:05:48    21     12768          UKT6 stopped

2008-06-23 19:05:53    16     20001 Trace    Stop flush kernel trace

2008-06-23 19:05:53    16     20002 Trace    Start flush kernel dump

2008-06-23 19:05:53    16     20003 Trace    Stop flush kernel dump

2008-06-23 19:05:53    16     12619 TASKING  Releasing tracewriter

+++++++++++++++++++++++++++++++++++++++ Kernel Exit ++++++++++++++++++++++++++++

2008-06-23 19:05:54     0 ERR 12009 DBCRASH  Kernel exited due to signal 0(Killed after timeout with state SERVER_KILL)

2008-06-23 19:05:54     0     12890 DIAGHIST Backup of diagnostic files will be forced at next restart

2008-06-23 19:05:54     0     12808 DBSTATE  Flushing knltrace pages

2008-06-23 19:05:54     0     12696 DBSTATE  Change DbState to 'OFFLINE '(29)

-


current write position -


 

Viewing all 1545 articles
Browse latest View live