Quantcast
Channel: SCN : Unanswered Discussions - SAP MaxDB
Viewing all 543 articles
Browse latest View live

Problem With MaxDB When i install Sap Abap Application Server in window 7

$
0
0

An error occurred while processing option SAP NetWeaver 7.0 including Enhancement Package 2 > SAP Application Server ABAP > MaxDB > Central System > Central System( Last error reported by the step :The system is inconsistent. Registry or SAP_DBTech information is available, but software is not complete.). You can now:

Choose Retry to repeat the current step.

Choose View Log to get more information about the error.

Stop the option and continue with it later.

Log files are written to D:\Program Files/sapinst_instdir/NW702/AS-ABAP/ADA/CENTRAL/

 

I change System Directory with this valuse %rootsystem%\system32.

 

remain problem occur.


Other Windows 2008 users cannot connect to my MaxDB database

$
0
0

I've created a database using the administrator account on a Windows SBS2008 server. Other users get this error when trying to connect :

 

[SAP AG][SQLOD32 DLL][SAP DB]Unable to connect to data source;-709 CONNECT: (could not create comm. shared memory [5]).

 

I'm running db version 7.6.6.10

Eventdispatcher: no events triggered

$
0
0

Hi,

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

But i don't get the maxDB to start the logbackup, when the event is triggered. I even don't know if the event is actually triggered.

 

System Specs:

  • Windows Server 2012
  • MaxDB 7.9.08.05
  • Db-Studio 7.9.08.11

What i did:

  • Create D:\sapdb\DBE\data\wrk\DBE\dbm_whitelist.cfg with the entry "backup_start"
  • db-studio --> administration --> Configure Database events --> Activate
  • --> create DB-Event
    • Event LogAboveLimit
    • Prio: Low
    • Value2: >=4 (value2 = %)
    • Command: backup_start adsm_log
  • dbm.prt shows this, when the db-event is configured:
    2013-07-15 10:29:53   5460 INF     33 DBMEdAs of now, the following event mapping is active
    5460 INF     34 DBMEd0000000000.((Name == "LogAboveLimit") && (Priority == 1) && (Value2 >= 4)) = backup_start adsm_log
    2013-07-15 10:29:53    852 INF    419 DBMSrv   Command 'event_dispatcher' has ended with return code 0.

 

When the Log Area is 3,4 or 5% full - nothing happens.

What could I have done wrong? Where can I see a log? dbm.prt doesn't show more than the above.

 

best regards,

Peter

SQL Scripts in MaxDB and SAP HANA

$
0
0

Hi everybody,

 

I have an application that is deployed on SAP HANA Cloud and I want to execute SQL scripts to create tables and fill them with data on SAP HANA Cloud database whether it is MaxDB or SAP HANA... what are the possibilities to achieve this? are there any command line tool/commands to connect to database (MaxDB/SAP HANA) in the Cloud ?

SAP MaxDB ODBC Driver SSIS Connection Error

$
0
0

I installed a SAP MaxDB ODBC driver (maxdb-all-win-64bit-x86_64-7_8_02_35) and I created a user DSN called MaxDB_Source. But every time I test the source in the SSIS connection manager, this error in the attachment always pops out:

Test connection failed because of an error in initializing provider.

ERROR [HY000] [SAP AG] [SDBODBC DLL] [Max DB] General error; -400

ERROR [HY000] [SAP AG] [SDBODBC DLL] [Max DB] General error; -400

 

The strange thing is, when I choose the connection from the 'Use user or system data source name' drop down list in the connection manager, test connection would always fail and the "Use connection string" would look something like this:

< Dsn=MaxDB_Source;uid=xxxxx >

However if I choose the "Use connection string" and build it, test connection succeeds and "Use connection string" looks like this:

<Dsn=MaxDB_Source;servernode=xxxx.xxxx.net;serverdb=xxx;uid=xxxxx>

But it only works when I build it. It won't work even if I copy this exact connection string and paste it in the "Use connection string" blank.

I've also tried the configuration file, import and export wizard, and connection string like this:

Dsn=MaxDB_Source;Driver={SAP MaxDB MaxDB (Unicode)};servernode=xxxxxxx.xxxxxx.net;serverdb=xxx;uid=xxxx;pwd=********

and still none of these worked.

I can't build the connection string every time I use this connection, so I wonder if there's any way to solve this so I could just select the source from the drop down list just like any other connection? I've been struggling for over a week and I'm really frustrated right now. I really appreciate any help.

Thank you.

Where to see the question I asked and the replies?

SAP MaxDB ODBC Driver SSIS Connection Error

$
0
0

Test connection failed because of an error in initializing provider.

ERROR [HY000] [SAP AG] [SDBODBC DLL] [Max DB] General error; -400

ERROR [HY000] [SAP AG] [SDBODBC DLL] [Max DB] General error; -400

 

 

Tried to use connection string in the connection but it's no good neither.  Configuration, import and export wizard, none of these seem to work. Really appreciate any advise. Thanks a lot.

Error - MAXDB SAX Parser during Backup Log

$
0
0

Hi Experts,

 

I am facing an error trying to backup logs from MaxDB

 

Error1.jpg

 

I think the problem could happened because of the path of the .xml file .. it has two slashs /var/sapdb/DEV/data//BackupTemplates.xml

 

How can I change this parameter?

 

Any clue?


Memory parameters settings

$
0
0

Hi,

     I have 8gb of ram where CI and DB are installed on the same server.

I would like to allocate 70/30% memory to CI and DB.

 

Which parameters need to change do this?  As I know that PHYS_MEMSIZ is used to set the memory for sap CI and which parameter is used for DB?

 

Thanks

Srikanth

How To Download MAXDB7802_35-10007785.SAR

$
0
0

Hi all

 

  How to Download  MAXDB7802_35-10007785.SAR from sap market place. iam un able to fine .sar file. please can any one help to fix this issues.

 

 

   Thanks and Regards

     SURESH CHIRRA

Two questions on liveCache I/O data in Database Analyzer

$
0
0

Apologies for the repost:  I deleted the original post by mistake.

 

To address a liveCache issue we're having on excusive locks, SAP advised me to look at IO performance per OSS note 748225.  I have two questions on this note (The system in question is on LC 7.7.07.33):

 

For log I/O time, the note says: 

"In the "Expert Analysis" menu bar, select the required analysis day in the "Bottlenecks" node. Double-click "TASK_IO". If the system issues the message "formatting error", proceed as described in Note 751975.

The following values declare the Log I/O times both for liveCache and for SAP DB/MaxDB: 

    • AvgWTime_LogPTask: average Log I/O time via Own IO in ms

               AvgWTimeLogPThread: average Log I/O time via devthread in ms"

 

In our liveCache version, the TASK_IO sheet does not contain the values listed.  Where would they be?

 

For datafile I/O time, the note says:

 

"If you notice frequent warning messages of level 3 (see example below) in the Alert Log of the Database Analyzer, contact SAP Support."

 

It would take forever to manually open every single day's results, open the red time periods, and see if there was a W3 message for I/O.  Is there any way to filter all of the bottleneck info to show all W3 messages across all reported days? 

 

Thanks very much.  

 

                              Gordon

UPD_DBCON_ENTRY_SDB not available as Remote-Enabled module

$
0
0

Hi guys,

 

This is my first question in here, so excuse me if i seem to be in outside of usual formats

 

Okay, my scenario is this::

     I have to call the function UPD_DBCON_ENTRY_SDB from a VBA applcation to update the passwords of CONTROL user of a MAXDB database in R3 connection data (DB11 transaction). The passwords are already changed from DB level. The R3 connection data needs to be updated accordingly with the new passwords. I wrote a piece of code calling the said entry and everything went fine when tested on a kernel release 720 system.

 

But when i tried testing on another system (i wouldt have gone for a second testing unless by the presure from my peers above ), which is on kernel release 701, it doesnt work. A little troubleshooting showed me that this function module is not Remote-Enabled, but is a Normal Function.

 

Now what i would like to know is that how do i get the change history for this module, so that i can say that my VBA application will work on a particular version since it has got a remote enabled UPD_DBCON_ENTRY_SDB module.

 

And thanks in advance for all the help.

 

Regards,

Lalu George

Size of document present in CV02N Transaction

$
0
0

Dear All,

 

We have a requirement wherein we have to calculate the Size of document present in SAP DMS.

 

I know that when we create a document through Transaction CV01N and suppose attach a TIFF file to it, and save it.

A unique document is created. All this data is stored in SAP DMS

 

I need to know is there any table where in the information related to file is stored i.e. What is total size of file / number of pages in file?

 

Suppose I need to migrate this file to External Repository and deleting the original from SAP DMS, how much used space will be freed??

 

What would be the impact on space of SAP DMS?

SAP system copy problem with the log file

$
0
0

Hallo,

 

currently I make an SAP system copy with the following components.

 

The source system (windows2003):

- SAP instance DEC

- MaxDB Version 7.8.02.23

- MaxDB Studio 7.9.08.00

- The logfile are in the D: drive

 

The installed target system (windows 2008):

- SAP instance NEW

- MaxDB version 7.8.02.23

- MaxDB Studio 7.9.08.12

- The installation is in the P: drive

 

The approach is the following:

Action in DEC:

1) DB backup via MaxDB Studio >> backup-file org_dec

Action in NEW:

2) Start with MaxDB Studio 7.9.08.12

3) Initialize the DB

4) Change the db data files from - d:\ ...... to p:\

5) Delete the log file

6) Start the recovery

......but ..the DB disconnect and the recovery stoppt! The error message is:  Volume D:\sapdb\DEC\mirrsaplog\M_DISKL001 cannot be created.

 

The problem is, I can't create a new D: drive in the target system NEW. How is the solution for this problem?

 

Regards,

Richard

SAP Maxdb patch upgrade problems starting

$
0
0

Hi SAP,

 

 

Yesterday, I started patching our Solution Manager system SID with maxdb server patch from 7.8.01.14 to  7.8.02.35 however at the end of the upgrade, I ran into a problem.

 

 

I have added 3 data files before the upgrade. They got added fine as I can see from dbm.prt file however i got the error below at the end of the upgrade where its trying to detach the newly created data files. Now maxdb wont start on its own at the end of the upgrade and doesn't finish loading system tables and catalog check which happens at the end of the server upgrade. I can start db manually and checked R3trans -d connectivity it works fine. However when i start the SDBUPD command to finish the server patch upgrade, i am unable to get it to work due to the detach failing.

 

 

Do I need to delete the newly created data files ??. We have SPS upgrade planned and we are stuck with the problem. Your quick help

would be appreciated.

 

 

 

 

Error Message

 

 

------------------------------------------------------------------------------------------------------------------------------------------------

Checking upgrade...

Running finalize check...

Current database state is OFFLINE

Checking parameters...

Switching database state to ADMIN

Switching database state to ONLINE

ERR:  Upgrade failed

ERR:    error upgrading

ERR:      Finalize upgrade failed: Current database state is OFFLINE

Checking parameters...

Switching database state to ADMIN

Switching database state to ONLINE

Cannot switch database mode, error during dbm command:

db_online

ERR

-24988,ERR_SQL: SQL error

-902,I/O error

3,Database state: OFFLINE

Internal errorcode, Error code 9050 "disk_not_accessible"

20017,RestartFilesystem failed with 'I/O error'

Looking for error messages in knldiag

 

------------------------------------------------------------------------------------------------------------------------------------------------

 

 

 

 

The volumes I added just before starting patching are sapdb/SID/sapdata/DISKD0017,/sapdb/SID/sapdata/DISKD0018,/sapdb/SID/sapdata/DISKD0019.  I can see the new data files via DBM and also dbmcli command line so there is no discrepancy with respect to the data files that got added. I dont think it got registered correctly. When I check dbm.prt it shows return code zero when i actually executed the volume additions however i see error below repeatedly in the dbm.prt file

 

2013-07-29 15:17:58      12669 INF        421 DBMSrv   Command 'param_getvolume ...' was executed since 2013-07-29 15:17:58.

2013-07-29 15:17:58      12669 ERR     -24580 DBMSrv   ERR_COMMAND_FAILED: Command 'param_getvolume' has ended and failed with return code -24979.

                         12669 ERR     -24999 DBMSrv   ERR_ERR: Common error

 

 

 

Already logged a call but thought try my luck here as well.

 

Regards

Kalyan


how to create multiple copy of maxdb data backup on file ?

$
0
0

Dear All

 

how to create multiple copies of maxdb DATA backup on the same directory using device type "FILE" ?

 

Best Regards ,

Ahmed

MaxDB with Hibernate and autogenerated IDs

$
0
0

Hello,

 

i tried to migrate an existing Hibernate Application from PostgreSQL to MaxDB.

The first problem, i already solved, was that Hibernates default SAPDBDialect doesn't supports identity columns.

After searching a while, i found the following solution to provide MaxDBs serial support with hibernate: https://hibernate.atlassian.net/browse/HHH-7324

 

Now the schema update runs successfully and all tables were created, but when i try to persist the first entity, the following error occurs:

 

2013-09-02 09:42:35,040 WARN  [Thread-3] org.hibernate.engine.jdbc.spi.SqlExceptionHelper: SQL Error: 0, SQLState: null

2013-09-02 09:42:35,040 ERROR [Thread-3] org.hibernate.engine.jdbc.spi.SqlExceptionHelper: An SQLException was provoked by the following failure: java.lang.UnsupportedOperationException: Method prepareStatement() is not yet implemented.

2013-09-02 09:42:35,050 ERROR [Thread-3] seetec.logistic.modules.server.hibernate.HibernateEntityManager: Exception in HibernateEntityManagerImpl.save!

org.hibernate.exception.GenericJDBCException: An SQLException was provoked by the following failure: java.lang.UnsupportedOperationException: Method prepareStatement() is not yet implemented.

  at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:54)

  at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:125)

  at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:110)

  at org.hibernate.engine.jdbc.internal.proxy.ConnectionProxyHandler.continueInvocation(ConnectionProxyHandler.java:146)

  at org.hibernate.engine.jdbc.internal.proxy.AbstractProxyHandler.invoke(AbstractProxyHandler.java:81)

  at $Proxy26.prepareStatement(Unknown Source)

  at org.hibernate.engine.jdbc.internal.StatementPreparerImpl$2.doPrepare(StatementPreparerImpl.java:105)

  at org.hibernate.engine.jdbc.internal.StatementPreparerImpl$StatementPreparationTemplate.prepareStatement(StatementPreparerImpl.java:166)

  at org.hibernate.engine.jdbc.internal.StatementPreparerImpl.prepareStatement(StatementPreparerImpl.java:103)

  at org.hibernate.id.insert.AbstractSelectingDelegate.performInsert(AbstractSelectingDelegate.java:55)

  at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2768)

  at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3279)

  at org.hibernate.action.internal.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:81)

  at org.hibernate.engine.spi.ActionQueue.execute(ActionQueue.java:362)

  at org.hibernate.engine.spi.ActionQueue.addResolvedEntityInsertAction(ActionQueue.java:203)

  at org.hibernate.engine.spi.ActionQueue.addInsertAction(ActionQueue.java:183)

  at org.hibernate.engine.spi.ActionQueue.addAction(ActionQueue.java:167)

  at org.hibernate.event.internal.AbstractSaveEventListener.addInsertAction(AbstractSaveEventListener.java:320)

  at org.hibernate.event.internal.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:287)

  at org.hibernate.event.internal.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:193)

  at org.hibernate.event.internal.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:126)

  at org.hibernate.event.internal.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:208)

  at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:151)

  at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:78)

  at org.hibernate.internal.SessionImpl.firePersist(SessionImpl.java:844)

  at org.hibernate.internal.SessionImpl.persist(SessionImpl.java:819)

  at org.hibernate.internal.SessionImpl.persist(SessionImpl.java:823)

...

Caused by: java.sql.SQLException: An SQLException was provoked by the following failure: java.lang.UnsupportedOperationException: Method prepareStatement() is not yet implemented.

  at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:106)

  at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:65)

  at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:62)

  at com.mchange.v2.c3p0.impl.NewPooledConnection.handleThrowable(NewPooledConnection.java:369)

  at com.mchange.v2.c3p0.impl.NewProxyConnection.prepareStatement(NewProxyConnection.java:416)

  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

  at java.lang.reflect.Method.invoke(Unknown Source)

  at org.hibernate.engine.jdbc.internal.proxy.ConnectionProxyHandler.continueInvocation(ConnectionProxyHandler.java:138)

  ... 29 more

Caused by: java.lang.UnsupportedOperationException: Method prepareStatement() is not yet implemented.

  at com.sap.dbtech.jdbc.ConnectionSapDB.prepareStatement(ConnectionSapDB.java:1499)

  at com.sap.dbtech.jdbc.trace.Connection.prepareStatement(Connection.java:262)

  at com.mchange.v2.c3p0.impl.NewProxyConnection.prepareStatement(NewProxyConnection.java:399)

  ... 34 more

 

 

I'm  using Hibernate 4.1.5 SP1 with MaxDB 7.7.06 and it seems that the class "ConnectionSapDB" in the MaxDB JDBC-Dirver doesn't implement the method prepareStatement( sql, autoGeneratedKeys );

Manually inserting records with sql and a normal PreparedStatement works and the id is also generated automatically.

 

Has someone an idea how to solve this problem?

Thank you.

How to Remove LiveCache Data files

$
0
0

Hi,

 

We had an emergency over the weekend, where massive processing was taking plave in the SCM system and we had to allocate an additional 300GB to the LiveCache database.

 

Now that the processing is complete the LiveCache database is running a 5% Capacity.

 

How can we reclaim the 6 x 50Gb Datafiles we added.

 

We obtained the space from the storage team on the understanding that it was temporary.

 

Regards

MaxDB Demo License for SAP Demo Installations is Free of cost or not?

$
0
0

Hi All,

 

We planned to use SAP MaxDB database for our SAP Demo Installations to save Database licensing cost.

Right now we are using Oracle DB for SAP Demo applications.

 

Is SAP charging for MaxDB database for Demo license? I think MaxDB database is free of cost for SAP Demos.

 

Anyone please help me to get calrity on MaxDB Free license for SAP Demo applications.

 

Thanks,

Sathish.

MAXDB odbc drivers issue

$
0
0

Hi,

 

We are trying to build connection from Microsoft visual studio on window 64 bit to Maxdb 7.8 on Unix server using ODBC connection.

 

We have installed odbc drivers (64 bit) on window server, created and tested odbc data source successfully. But while using that data source in visual studio throws following error.

 

"specified DSN contains architecture mismatch between driver and application"

 

 

 

Could someone help us to resolve this issue?

 

 

Regards

Santosh

Viewing all 543 articles
Browse latest View live


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