Quantcast
Channel: SCN : All Content - SAP MaxDB
Viewing all 322 articles
Browse latest View live

MaxDB Livecache Rename error

$
0
0

Hi All,

 

I have been renaming my maxBD livecache manually as per the SAP note 1427931 - Renaming an SAP MaxDB/liveCache database as of 7.8.

System details: SCM Live cache 7.9.07 (SP9) on MaxDB 7.9.07(SP9).

 

Initially had to change the contents of /etc/opt/sdb file as the path specified there does not exist.

 

Original content:

# cat sdb

[Globals]

IndepPrograms=/sapdb/programs

IndepData=/sapdb/data

SdbOwner=sdb

SdbGroup=sdba

 

Changed content:

# cat sdb

[Globals]

IndepPrograms=/db2/TLE/sapdb/programs

IndepData=/db2/TLE/sapdb/data

SdbOwner=sdb

SdbGroup=sdba

 

However during Register the database installation and the X server i am encountering the below issue:

 

 

# cd /db2/TLE/sapdb/programs/bin

# ./sdbreg -r -d TLE -path /db2/TLE/sapdb/TLE/db -sw_kernel -

start_listener

Registering software installation...

Starting listener...

Registering database...

ERR: Failed

ERR: Cannot register database

ERR: Error performing dbmreg

INFO: Starting external program /db2/TLE/sapdb/TLE/db/pgm/dbmreg

INFO: Command line is: /db2/TLE/sapdb/TLE/db/pgm/dbmreg TLE

INFO: Output line 1: The SAP MaxDB Database Registerer,

Version

7.9.07.09

INFO: Output line 2: Copyright 2000-2011 by SAP AG

INFO: Output line 3:

INFO: Output line 4: Error: Can not determine location of

dbmcli

INFO: Output line 5: Error while using the file ID

'DBMCliExecutable'.

INFO: Output line 6: Error while using the file ID

'ClientSoftwareBin'.

INFO: Output line 7: Error while using the file ID

'ClientSoftwarePath'.

INFO: Output line 8: Error during determination of software

path

INFO: Output line 9: could not read from registry, error

message:

INFO: Output line 10:

INFO: Program terminated with exit code 1

 

 

 

 

Could you please advise how to proceed on this.

 

thanks,

Soumya


CONTROL & SUPERDBA password reset

$
0
0

Hi,

 

I've just restore a virtual machine with K-PRO with SAPdb 7.3 but no one remember CONTROL and SUPERDBA password.

How can I reset CONTROL and SUPERDBA password?

 

Thank you.

Restore file in SAP DMS (MAXDB)

$
0
0

Hello,

 

we use SAP DMS system with content server in MAX DB. Is there some possibility to restore deleted file by user? I read a lot information on internet about it, but everywhere is information, it's not possible. I'm a little surprised, because restore of deleted file in standard DMS system is necessity. Without this possibility is very big risk use this DMS in company.

 

I believe, there is some way. Please, help me.

 

Thanks

 

Andrej

SAP Content Server Upgrade from 6.3 to 6.4 & MaxDB 7.3 to 7.8

$
0
0

Dear Experts,

 

We are in planning of upgrade SAP Content server from 6.3 to 6.4 and MaxDB from 7.3 build 35 to 7.8.

 

For Content server upgrade is that we need to install the Content server 6.4 and install the latest MaxDB 7.8 and export and import the data.

 

We are on Win 2003 32 Bit and we are migrating to win 2008 R2 64 Bit.

 

Is it possible directly using database copy and restoring in MaxDB 7.8 version?

 

Or we need to use loadercli for migrating the data.

 

As per the SDN Link http://forums.sdn.sap.com/thread.jspa?threadID=1649661

for content server upgrade is by replacing latest dll files at the respective dir.

 

Pls let me know your views and known issues.

 

Thank You,

Mahesh

dbmcli does not support external commands anymore

$
0
0

My backup script doesn't work with dbmcli version 7.9.08.10.

 

If you store your MaxDB data sets on NetApp-Filer volumes you can use NetApp-Snapshots to backup them. Since MaxDB version 7.8 this is supported by MaxDB with device type EXTERNAL.

 

After creating an new backup template (e.g. NETAPP) with device type EXTERNAL you can use the dbmcli commands

"backup_start NETAPP DATA"

and

"backup_finish NETAPP ExternalBackupID $SNAPSHOT"

 

The first command "backup_start NETAPP DATA" tells maxdb to do a savepoint and take a temporay MaxDB snapshot. Now you can backup the database with operating system tools e.g. draw a NetApp-Filer snapshot. The second dbmcli command registers the backup in the backup history list and deletes the temporay MaxDB snapshot.

 

Unfortunatly you have to submit the two dbmcli commands within the same database session. This is no problem if you do the backup of your MaxDBs in dialog mode. But if you want to script the backup you need to sumbit the NetApp snapshot command from within one dbmcli session between backup_start and backup_finish. I have done it until now with a HERE script:

 

dbmli -Uc -d <SID> >/dev/null 2>&1 <-HERE

db_connect

backup_start NETAPP DATA

!ssh sapfiler snap create dbvol $SNAPSHOT

backup_finish NETAPP ExternalBackupID $SNAPSHOT

db_release

quit

HERE

 

Earlier versions of MaxDB knew the statement "exec_command". This is long gone. But the undocumented feature "!" to start os commands survived in dbmcli until  7.9.08.05. Now they declared this bitter needed feature to a security risk. Since 7.9.08.06 you get an error (unkown command).

 

Searching for a solution I tried the "background_server" commands. But they only usable in dialog mode.

 

Any suggestions?

 

Regards

Günter Hoeth

SAP MAXDB backup problem

$
0
0

Hello All,

I have a question regarding MAXDB backup.

 

Our configuration of MaxDB is: all Maxdb executables are on disk d: and all data files are on disk e:.

We created the following backup templates:

 

dbmcli.exe -d CSD -u superdba,<PASSWORD> -uUTL -c medium_put CSD_DATA E:\sapdb\BACKUP\CSD\DATA\DAT0001 FILE DATA

(for full online backup)

dbmcli.exe -d CSD -u superdba,<PASSWORD> -uUTL -c medium_put CSD_LOG E:\sapdb\BACKUP\CSD\LOG\LOG0001 FILE LOG

(for log backups)

 

We also backed up our database with the following commands:

 

dbmcli.exe -d CSD -u superdba,<PASSWORD> -uUTL -c backup_start CSD_DATA

dbmcli.exe -d CSD -u superdba,<PASSWORD> -uUTL -c backup_start CSD_LOG

 

The operation was successful. 

 

Now we want to simulate data loss and recovery operation. We deleted all data/log files on disk e: (just to simulate the loss of the disk).

 

During the recovery process the transition to state "ADMIN" is successful. But when i click the button "NEXT" i have the following error:

 

Command 'db_restartinfo' has ended and failed with return code -24988.

                          4944 ERR     -24988 DBMSrv   ERR_SQL: SQL error

                          4944 ERR     -24778 DBMSrv   -902,I/O error

 

ERROR.jpg

 

Can You kindly point me to right recover process? Should I restore my data-files from cold backup before recover database from online full backup?

 

Thanks

Wrong Results in simple max() Statement

$
0
0

Hello,

 

We use MaxDB 7.8.02.28

 

On our Datbase I used the following Query :

 

select max(ROID) FROM READOUT WHERE AMID = 101721 AND STATE IN ( 'K','M','C' )

 

and got the Result:

 

EXPRESSION1

2153087

 

This is wrong what I checked via :

 

select * FROM READOUT WHERE AMID = 101721 AND STATE IN ( 'K','M','C' )

ORDER BY ROID DESC

 

 

my quick solution was to use:

 

 

select max(ROID),max(ROWANN) FROM READOUT WHERE AMID = 101721 AND STATE IN ( 'K','M','C' )

 

with the result:

 

EXPRESSION1     EXPRESSION2

7235411               2013-11-22 09:02:38.0

 

And the Value 7235411 was the one I expected and is obviosly greater than 2153087

 

but what happens there, and how could we make shure that we dont have same effects in other ends of our Application

 

I guess it might be tha case if alle Values could be catched out if the index.

 

The Query Plan is:

 

SCHEMANAME     TABLENAME     COLUMN_OR_INDEX     STRATEGY                                   PAGECOUNT

MDR                    READOUT          RO_STATE                    RANGE CONDITION FOR INDEX;     14229

                                                                                          ONLY INDEX ACCESSED;

                                                                                          MIN/MAX OPTIMIZATION;

                                                                                          AMID;     (USED INDEX COLUMN);

                                                                                          STATE;     (USED INDEX COLUMN);

                             JDBC_CURSOR_218                              RESULT IS COPIED   , COSTVALUE IS;         3

 

 

With index :

 

create index "RO_STATE" on "MDR"."READOUT" ("AMID" ASC,"STATE" ASC)

//

 

 

Any Idea ?

MAXDB log file how to recover, By mistake i deleted

$
0
0

Hi all,

 

My SAP server was not opening means after starting from SAP Management Console it went to yellow state and then i read in blogs that LOG file is fulled thats why its not working make another one log file using MAXDB DBM after taking database back but how could i do this its size is 300GB, i couldnot make backup and log file got deleted. now what to do please help.

 

Please HELP...!!


MaxDB 7.6 ECC 5 installation

$
0
0

Hello all

 

I am doing an installation for ECC 5. So I install the CI and then the DB. And at "MaxDB server installation, there is an error and the log sdbinst says "

package "SQLDBC 7600" exists more than once in installation kit

installation exited abnormally  at Mo, Dec 02, 2013 at 19:52:27"

 

Any idea where this is failing? How can I verify the package?

 

Thanks in advance

 

Cheers - Ray

MaxDB backup problem

$
0
0

Good day all

I'm not sure what I amy be doing wrong. A few days ago I installed a Solution Manager 71 (MaxDB 78) system on Win 2012. I am trying to get data and log backups configured with DB Studio but getting errors that I cant find too much information on. When I go into the backup function and try to define a backup medium, I am presented with the message "Saving backup template <name> has encountered a problem". Quite a lot of stuff but the popup displays:

 

And this doesnt mean anything to me. I also find very vague reference to it on the internet.

 

Can anyone give some direction please?

 

Regards

Ray Phillips

SAP LiveCache / MaxDB error

$
0
0

hi,

 

We are migrating from Solaris 10 to solaris10-Zone / Solaris-11 global configuration. While moving existing LiveCache to new h/w, we experiencing issues of Bad Page / Bad data / Bad log etc. Not sure, if this is due to new h/w and zone config. LiveCache is 7.7.07.46 / Build25. I have gone over Solaris related LiveCache / MaxDB notes.

 

If any of you had similar issue, would appreciate, if you could share your experience.

 

Thanks,

Raj

 

=============This is when taking data backup=================================================

ERR Data       20008:  Bad page - page type 'nil' is invalid,_FILE=Data_BasePage+noPIC.cpp,_LINE=292

ERR SAVE       52012:  error occured, basis_err 6433

ERR SYSERROR   51080:  -9407 unexpected error

ERR Backup         3:  Data backup failed,_FILE=Kernel_Administration+noPIC.cpp,_LINE=1497

ERR IOMan          5:  Failed consistency check on read page,NUMBER3=3,NUMBER2=1,NUMBER1=7,NUMBER=7,BLOCK_NO_1=362254,VOLUME_ID_1=1,BLOCK_NO=362257,VOLUME_ID=1,VOLUME_TYPE=data,_FILE=IOMan_DataVolume+noPIC.cpp,_LINE=160

SrvTasks      17:  Servertask Info: because Error in backup task occured

SrvTasks      10:  Job 6 (Backup / Restore Volume Task) [executing] WaitingT310 Result=6433

KernelComm     6:  Error in backup task occured, Error code 6433 "system_error"

 

 

=====================this is when autolog saved log file to filesystem==============================

ERR Kernel     20000:  Bad page - checksums not maching,_FILE=Kernel_Page74+noPIC.cpp,_LINE=46

ERR Kernel     20001:  Bad page - calculated checksum [ 16161 ] header checksum [ 0 ] trailer checksum [ 16816 ],_FILE=Kernel_Page74+noPIC.cpp,_LINE=42

20000:  Bad page - checksums not maching,_FILE=Kernel_Page74+noPIC.cpp,_LINE=46

20029:  EMERGENCY SHUTDOWN,_FILE=IOMan_SingleLogGroup+noPIC.cpp,_LINE=74

Request to Register Max DB training.

$
0
0

Hi,

 

This is Jay. I am SCN member. I want to register for MAX DB training in Q1 2014. While I try to attempt register it prompts to enter userid and password. I could not login with SCN membership. I do not have any other membership other than SCN member.

 

Kindly advise how to enroll for MAX DB training.

 

 

Thanks

 

Regards

 

Jay.

trying to download maxdb database sudio 64 bit...file is 0kb

Backup history file error

$
0
0

For some time, error with backup history file is repeating. For example, I have MaxDB 7.9.07.10 on Suse SLES 11SP02. In Database Studio when I want to open backups I get error message:

 

7g9gq[1].jpg

The backup history file /sapdb/AED/data/wrk/AED/dbm.knl is corrupted in line 231

-24763,ERR_BHIST_INVALID_ENTRY: The line "5251A5280245|DAT_000000048|SAVE WARM|2013-10-06 20:00:08|2013-10-06 20:00:08|2013-10-06 20:00:10|2013-10-07 13:28:05|  19449604|          |NO |2_CompleteDataBackup                                            |  15867400|         1|      -903| " is an invalid line for the backup history

-24757,ERR_FORMAT_SEPARATORNOP: The separator '|' cannot be found 15 times within string "5251A5280245|DAT_000000048|SAVE WARM|2013-10-06 20:00:08|2013-10-06 20:00:08|2013-10-06 20:00:10|2013-10-07 13:28:05|  19449604|          |NO |2_CompleteDataBackup                                            |  15867400|         1|      -903| "

-24762,ERR_FORMAT_SEPARATORMISSING: String " " does not contain the expected separator '|'

The backup history file /sapdb/AED/data/wrk/AED/dbm.knl is corrupted in line 231

-24763,ERR_BHIST_INVALID_ENTRY: The line "5251A5280245|DAT_000000048|SAVE WARM|2013-10-06 20:00:08|2013-10-06 20:00:08|2013-10-06 20:00:10|2013-10-07 13:28:05|  19449604|          |NO |2_CompleteDataBackup                                            |  15867400|         1|      -903| " is an invalid line for the backup history

-24757,ERR_FORMAT_SEPARATORNOP: The separator '|' cannot be found 15 times within string "5251A5280245|DAT_000000048|SAVE WARM|2013-10-06 20:00:08|2013-10-06 20:00:08|2013-10-06 20:00:10|2013-10-07 13:28:05|  19449604|          |NO |2_CompleteDataBackup                                            |  15867400|         1|      -903| "

-24762,ERR_FORMAT_SEPARATORMISSING: String " " does not contain the expected separator '|'

 

When I check backup log in dbacockpit I see:

*** SAVE/RESTORE result:

ERR

-24988,ERR_SQL: SQL error

-903,Host file I/O error

3,Data backup failed

1,Backupmedium #1 (/mnt/backup/data/2_completeDataBackup.aed)                                     

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

 

 

*** DBA Action ends:

Timestamp: 20131230161007   State:    Failure

 

It disturbs our backup quite a bit, backup can't be continued until I manually delete wrong lines in file /sapdb/AED/data/wrk/AED/dbm.knl, for example:

5251A5280245|DAT_000000048|SAVE WARM|2013-10-06 20:00:08|2013-10-06 20:00:08|2013-10-06 20:00:10|2013-10-07 13:28:05|  19449604|          |NO |2_CompleteDataBackup

                           |  15867400|         1|      -903|^A^@^@^@^@^@^@^@305<U+05CD>^@^@^@^@^@ 1)322300^?^@^@'1)322300^?^@^@01)322300^?^@^@|

 

Is this MaxDB error or is there something I can do to stop this error happening again?

shared memory problem : MaxDB

$
0
0

Hi

 

I am using SAP ABAP trial version. It was working well but now when i start server. it gives the error:

 

===================================================

============== Starting System NSP ================

===================================================

 

 

=============== Starting database instance ...

 

The requested service has already been started.

 

More help is available by typing NET HELPMSG 2182.

 

The MaxDB Database Starter, Version 7.6.02.14

Copyright 2000-2007 by SAP AG

 

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

-24700,ERR_DBMSRV_NOSTART: Could not start DBM server.

-24832,ERR_SHMNOTAVAILABLE: Shared memory not available

-24686,ERR_SHMNOCLEANUP: Could not cleanup the DBM server Shared Memory

-24827,ERR_SHMALLOCFAILED: ID E:\sapdb\data\wrk\NSP.dbm.shm, requested size 4287

037658

 

Error: Error while calling dbmcli

"E:\sapdb\programs\pgm\dbmcli"  -d NSP -u , db_online

 

 

 

============== Start database failed !

 

Press any key to continue . . .

 

 

can someone tell me the exact steps with command to handle this issue. I am dummie in database administration

 

Thanks

Vishal Kapoor


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

$
0
0

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

can someone help to solve this issue.

i have found below services:

SAP DBTech-.M780114

SAP DBTech-.M780114(slow)

MAX DB:NSP

MAX DB: NSP (Slow)

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

while starting mmc dispatcher is getting stopped.

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

Functional activities for LC upgrade

$
0
0

Hello All

 

We are planning to do a LC upgrade from 70.16 to the latest build.70.25 PL006.

 

From functional side are there any activities that are required to be done ? I mean at the top level. Putting this here as the tech persons might be aware of some important things.

 

Regards

KK

The 'c' XUSER key for the DBM user does not exist or could not be identified

$
0
0

Good day

 

I am busy with an upgrade endevour on our ECC 5 system. Braodly the steps that I have followed thus far are:

- System copy to a new server

- install and configure Solution Manager

- Run MOPZ and download siftware from Service Marketplace.

- Download SUM

 

I have now started and am running SUM (ST_Toolset) and reach a point in the process "Extraction - Initial Software Extraction" and am getting an error situation. When I look at the Trouble Ticket it says

 

"SAPup broke during phase INITPUT_PRE in module PREP_PRE_CHECK / Checks the system status

Error Message: The 'c' XUSER key for the DBM user does not exist or could not be identified."

 

I found note 39439 and tried commands:

 

C:\sapdb\programs\bin>xuser -U c -u CONTROL,control -d SID -n dsimsid001 -S INTERNAL set

 

C:\sapdb\programs\bin>xuser -u SAPservicesid -U c -u CONTROL,control -d SID -n dsimsid001 -S INTERNAL set

 

Where "SID" is my system id and dsimsid001 is the server. Please note that "SID" is in fact the system id. Both executed successfully but the error persists.

 

Can anyone give any information on what could be the problem here please?

 

Thanks and regards

Ray Phillips

Reminder: Tuesday 21, January - Next MaxDB Online Training - Expert Session

$
0
0

Hi Folks,

 

I would like to remind you the first free of chanrge online training will

take place soon.

 

Registration is necessary - end of registration is friday, 17th

 

SAP MaxDB & Content Server Architecture - January, 21 2014 9:00 - 10:00 GMT +1

Registration: https://websmp109.sap-ag.de/~sapidb/011000358700001169722013E

Non-S-Users: 2014_01_21_Sap_MaxDB_and_Content_09CET_EN - Adobe Connect

 

You are using the SAP Knowledge Provider? You are storing your documents in the SAP MaxDB Content Server?
We want to shed light on the blackbox Content Server storage database.

You want to know details about the involved components and the storage layout, how to check documents on the

database level, how to do a heterogenous system copy  ......then register for this session.

 

We are looking forward to teaching you.

 

Regards, Christiane

Viewing all 322 articles
Browse latest View live


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