Sapdba

Hi,
We are performing system refresh from Production system. Our admin guy did backup part and stored in IBM Tivoli. Now we have to restore to our sandbox.
we are using sapdba utility (brbackup, brrestore) (R/3 4.7, Oracle 8i).  How to setup sapdba in sandbox? Please help me step by step to restore data or Please tell me, If any document available.
Thanks in advance
Regards
Srinivas.

Hi,
Look at the below link to setup the SAPDBA
http://help.sap.com/saphelp_crm50/helpdata/en/d1/a9fd324b8a11d189510000e829fbbd/content.htm
http://help.sap.com/saphelp_crm50/helpdata/en/d1/a9fdf24b8a11d189510000e829fbbd/content.htm
It is better to ask the question in Basis/Security forum
Regards
Sudheer

Similar Messages

  • Steps to empty SAPDB (MaxDB) log file

    Hello All,
    i am on Redhat Unix Os with NW 7.1 CE and SAPDB as Back end. I am trying to login but my log file is full. Ii want to empty log file but i havn't done any data backup yet. Can anybody guide me how toproceed to handle this problem.
    I do have some idea what to do like the steps below
    1.  take databackup (but i want to skip this step if possible) since this is a QA system and we are not a production company.
    2. Take log backup using same methos as data backup but with Log type (am i right or there is somethign else)
    3. It will automatically overwrite log after log backups.
    or should i use this as an alternative, i found this in note Note 869267 - FAQ: SAP MaxDB LOG area
    Can the log area be overwritten cyclically without having to make a log backup?
    Yes, the log area can be automatically overwritten without log backups. Use the DBM command
    util_execute SET LOG AUTO OVERWRITE ON
    to set this status. The behavior of the database corresponds to the DEMO log mode in older versions. With version 7.4.03 and above, this behavior can be set online.
    Log backups are not possible after switching on automatic overwrite. Backup history is broken down and flagged by the abbreviation HISTLOST in the backup history (dbm.knl file). The backup history is restarted when you switch off automatic overwrite without log backups using the command
    util_execute SET LOG AUTO OVERWRITE OFF
    and by creating a complete data backup in the ADMIN or ONLINE status.
    Automatic overwrite of the log area without log backups is NOT suitable for production operation. Since no backup history exists for the following changes in the database, you cannot track transactions in the case of recovery.
    any reply will be highly appreciated.
    Thanks
    Mani

    Hello Mani,
    1. Please review the document u201CUsing SAP MaxDB X Server Behind a Firewallu201D at MAXDB library
    http://maxdb.sap.com/doc/7_7/44/bbddac91407006e10000000a155369/content.htm
               u201CTo enable access to X Server (and thus the database) behind a firewall using a client program such as Database Studio, open the necessary ports in your  firewall and restrict access to these ports to only those computers that need to access the database.u201D
                 Is the database server behind a Firewall? If yes, then the Xserver port need to be open. You could restrict access to this port to the computers of your database administrators, for example.
    Is "nq2host" the name of the database server? Could you ping to the server "nq2host" from your machine?
    2. And if the database server and your PC in the local area NetWork you could start the x_server on the database server & connect to the database using the DB studio on your PC, as you already told by Lars.
    See the document u201CNetwork Communicationu201D at
    http://maxdb.sap.com/doc/7_7/44/d7c3e72e6338d3e10000000a1553f7/content.htm
    Thank you and best regards, Natalia Khlopina

  • Adding data file with out using  brtools /sapdba

    Hi all,
    How to add data file to table spaces with out using  brtools /sapdba.Please let meknow.
    Satya.

    why would you do that? whats your requirement?
    You can use sql commands (I prefer doing it via brtools),
    example
    alter tablespace <name of the tablespace> add datafile '<path of the datafile>' size <size in Mb>M autoextend <on/off> next <size> maxsize <size>;
    regards
    Juan

  • Tried to reinstall sapnw7.01 trail several times but sapdb\NSP not created

    *Hi everyone
    I  have been trying to install sap netweaver7.01 trail without any success, First time the directory C:\sapdb\ was created and database was installed. Because of the problem that i have, i had to unstall the sapnw trail but when trying reinstall  sapnw trail that directory does not created, what maid be problem and how to fix it?
    Database management system is looking for that directory  to start and can't find it.
    Also i have problem with the disp+work.exe starts and then ends after a few seconds?
    Thanks

    Hi,
    Try creating that folder structure and proceed with installation.
    Regards,
    Suneel

  • How to replace sapdba with brtools after upgrade database to 10.2

    All,
        I have update our database to oracle 10.2,my brtools version is 7.0 now ,
    but can't run analyze table and dbcheck in db13,
    seems to still use SQLDBA when run analyze table and dbcheck.
    please refer to the below informations.
    Detail log:                    0810080300.aly
    *****                 SAPDBA - SAP Database Administration for ORACLE     *****
    SAPDBA V6.10    Analyze tables
    SAPDBA release: 6.10
    Patch level   : 1
    Patch date    : 2001-05-25
    ORACLE_SID    : PRD
    ORACLE_HOME   : /oracle/PRD/102_64
    ORACLE VERSION: 10.2.0.2.0
    Database state: 'open'
    SAPPRD       : 46C
    SAPDBA DB USER:  (-u option)
    OS login user : prdadm
    OS eff.  user : prdadm
    SYSDBA   priv.: not checked
    SYSOPER  priv.: not checked
    Command line  : sapdba -u / -analyze DBSTATCO
    HOST NAME     : sapprd1
    OS SYSTEM     : HP-UX
    OS RELEASE    : B.11.31
    OS VERSION    : U
    MACHINE       : ia64
    Log file      : '/oracle/PRD/sapcheck/0810080300.aly'
    Log start date: '2008-10-08'
    Log start time: '03.00.09'
    ----- Start of deferred log ---
    SAPDBA: Can't find the executable for SQLDBA/SVRMGR. Please, install one of
            them or enter one of them in the SAPDBA profile (parameter
            sqldba_path).
            (2008-10-08 03.00.06)
    SAPDBA: Error - running temporary sql script
            '/oracle/PRD/sapreorg/dbacmd.sql' with contents:
    CONNECT /******** AS SYSDBA
    SAPDBA: Couldn't check SYSDBA privilege.
    SAPDBA: Can't find the executable for SQLDBA/SVRMGR. Please, install one of
            them or enter one of them in the SAPDBA profile (parameter
            sqldba_path).
            (2008-10-08 03.00.06)
    SAPDBA: Error - running temporary sql script
            '/oracle/PRD/sapreorg/dbacmd.sql' with contents:
    CONNECT /******** AS SYSOPER
    SAPDBA: Couldn't check SYSOPER privilege.
    ----- End of deferred log ---
    Analyze parameters:
    Object: All tables in table DBSTATC ( for DB optimization run )
    Method: E ( Default )
    Option: P10 ( Default )
    Time frame: 100 hours
    Refresh   : All objects
    Option: DBSTATCO ( for the DB optimizer: Tables with Flag DBSTATC-TOBDO = 'X' )
    ** Refresh Statistics according control table DBSTATC **
    Total Number of Tables in DBSTATC to be analyzed:                           170
    Number of Tables with forced statistics update (ACTIV = 'U'):                 0
    SAPDBA: SELECT USER# FROM SYS.USER$ WHERE NAME='SAPPRD'
    ORA-00942: table or view does not exist
               (2008-10-08 03.00.09)
    SAPDBA: Error - getting size of segment 'SAPPRD.D010INC'
    SAPDBA: Error - during table analysis - table name: ->D010INC
    SAPDBA: No tables analyzed ( No entries in DBSTATC with TOBDO = X or errors ).
    SAPDBA: 0 table(s) out of 170 was (were) analyzed
            Difference may be due to:
               - Statistics not allowed ( see DBSTATC in CCMS )
               - Tables do not exist on database and were skipped
    Detailed summary of Step 1:
    Number of Tables that needed new statistics according to DBSTATC:             1
    Number of Tables marked in DBSTATC, but non-existent on the Database:         0
    Number of Tables where the statistics flag was resetted:                      0
    ******* Creating statistics for all tables without optimizer statistics *******
    SAPDBA: Using control table DBSTATC
            for taking optimizer settings into account
    SAPDBA: 0 table(s) without statistics were found.
    SAPDBA: 0 table(s) ( out of 0 ) was (were) analyzed/refreshed.
            0 table(s) was (were) explicitely excluded or pool/cluster table(s).
    SAPDBA: 0 index(es) without statistics was (were) found.
    SAPDBA: 0 index(es) ( out of 0 ) was (were) analyzed/refreshed.
            0 index(es) was (were) explicitely excluded or pool/cluster indexe(s).
    SAPDBA: 157 table statistics from 157 tables were dropped.
            They are either explicitely excluded in DBSTATC,
            or R/3 Pool- or Cluster- tables
            that must not have CBO Statistics
    SAPDBA: The whole operation took 10 sec
    SAPDBA: Step 1 was finished unsuccessfully
    SAPDBA: Step 2 was finished successfully
    Date:   2008-10-08
    Time:   03.00.19
    *********************** End of SAPDBA statistics report ****************
    How to replace sapdba by brtools?please give me support,thanks.
    Best Regards,
    Mr.chen

    >     I have update our database to oracle 10.2,my brtools version is 7.0 now ,
    > but can't run analyze table and dbcheck in db13,
    > seems to still use SQLDBA when run analyze table and dbcheck.
    Yes, it does so, because somebody forgot to upgrade the BASIS SP as well...
    What BASIS SP are you using?
    regards
    Lars

  • Error in analyzer Log file (/sapdb/data/wrk/ACP/analyzer--- DBAN.err)

    Hello All,
    I am getting the following Error message in analyzer Log file (/sapdb/data/wrk/ACP/analyzer---> DBAN.err).
    the details are as follows:-
    =====================================================
    <i>2006-07-24 08:55:59
    ERROR 5: Cannot execute SQL statement.
    [MySQL MaxDB][LIBSQLOD SO][MaxDB] General error;-4008 POS(1) Unknown user name/password combination
    SELECT YEAR(NOW()),MONTH(NOW()),DAY(NOW()),HOUR(NOW()),MINUTE(NOW()),SECOND(NOW()) FROM DUAL
    2006-07-26 12:15:39
    ERROR 20: Database Analyzer not active in directory "/sapdb/data/wrk/ACP/analyzer".
    2006-08-03 12:33:08
    ERROR 5: Cannot execute SQL statement.
    [MySQL MaxDB][LIBSQLOD SO][MaxDB] Communication link failure;-709 CONNECT: (database not running: no request pipe)
    SELECT YEAR(NOW()),MONTH(NOW()),DAY(NOW()),HOUR(NOW()),MINUTE(NOW()),SECOND(NOW()) FROM DUAL</i>
    =====================================================
    can you please tell me what does that mean for my Database.
    The main problem that I am facing is I am not able to start my SAP application. when I issue startsap from <SID>adm login then I get error messag saying not able to connect to the database. Although the database is already up and running.
    Please help me !
    Regards,
    Premkishan chourasia

    Hi,
    well, the error -4008 denotes that the user/password combination used by the DB Analyzer for accessing the DB are incorrect. The DB Analyzer tries to issue SQL commands with the SYSDBA user.
    Do you know the user/password combination of your SYSDBA user?
    Regards,
    Roland

  • Sapdb (maxdb) and jdbc adapter problem

    Hi,
    i have installed this jdbc file:
    http://sapdb.org/7.4/sap_db_jdbc.htm
    like in this how-to:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/xi-how-to-guides/how to install and configure external drivers for jdbc and jms adapters.pdf
    then i set up an jdbc to file szenario to test the adapter.
    Driver is: com.sap.dbtech.jdbc.DriverSapDB
    connection is: jdbc:sapdb://sapdb-host/XI_DATA
    with sapdb-host is the db server and XI_DATA ist the database
    user and pw is dba
    sql statement is: SELECT * FROM "AAA_XI_DATA" WHERE "number" = 50
    with AAA_XI_DATA is the table with test data.
    the statment works in the sapdb studio. (No ; in sapdb and the XI)
    but when i have a look at the runtime monitor at the af
    messages there is no message genereated. where can i
    check, if the jdbc driver is working and where do i find
    error messages?
    Regards
    J.
    Message was edited by: Jörg Pieper

    You can check if there is some kind of error with the JDBC Adapter in the Runtime Workbench. Inside the RWB, open "Component Monitoring", "tree view", "Adapter Monitoring", and in the adapter listing you'll find the "JDBC Adapter". It should have a green light. If not, the error will be displayed.

  • Dispatcher dies after startup - sapdb / libpcr

    We have a NW04 server on Windows whose primary purpose is as an XI hub. 
    It was recently moved from one network to another (same machine name) and initially worked properly, but is now not starting up.
    I just had to extend the data volume, as it was full, if thats of any relevance.
    It seems to be having issue loading "libpcr".  I did some searches, and re-registered the library, as well as setting the SABDBLIBDIR env variable.  To no avail.
    Here's the trace of dev_w3, which seems to be the first process that dies:
    trc file: "dev_w3", trc level: 1, release: "640"
    ACTIVE TRACE LEVEL           1
    ACTIVE TRACE COMPONENTS      all, M

    B Mon Oct 30 14:22:49 2006
    B  create_con (con_name=R/3)
    B  Loading DB library 'C:\usr\sap\FXI\SYS\exe\run\dbadaslib.dll' ...

    B Mon Oct 30 14:22:50 2006
    B  Library 'C:\usr\sap\FXI\SYS\exe\run\dbadaslib.dll' loaded
    B  Version of 'C:\usr\sap\FXI\SYS\exe\run\dbadaslib.dll' is "640.00", patchlevel (0.120)
    B  New connection 0 created
    M sysno      00
    M sid        FXI
    M systemid   560 (PC with Windows NT)
    M relno      6400
    M patchlevel 0
    M patchno    129
    M intno      20020600
    M make:      multithreaded, Unicode
    M pid        3892
    M
    M  ***LOG Q0Q=> tskh_init, WPStart (Workproc 3 3892) [dpxxdisp.c   1158]
    I  MtxInit: -2 0 0
    M  DpSysAdmExtCreate: ABAP is active
    M  DpShMCreate: sizeof(wp_adm)          15792     (1316)
    M  DpShMCreate: sizeof(tm_adm)          2969176     (14772)
    M  DpShMCreate: sizeof(wp_ca_adm)          24000     (80)
    M  DpShMCreate: sizeof(appc_ca_adm)     8000     (80)
    M  DpShMCreate: sizeof(comm_adm)          290000     (580)
    M  DpShMCreate: sizeof(vmc_adm)          0     (424)
    M  DpShMCreate: sizeof(wall_adm)          (38456/34360/64/184)
    M  DpShMCreate: SHM_DP_ADM_KEY          (addr: 05D60040, size: 3386944)
    M  DpShMCreate: allocated sys_adm at 05D60040
    M  DpShMCreate: allocated wp_adm at 05D61B88
    M  DpShMCreate: allocated tm_adm_list at 05D65938
    M  DpShMCreate: allocated tm_adm at 05D65960
    M  DpShMCreate: allocated wp_ca_adm at 0603A7B8
    M  DpShMCreate: allocated appc_ca_adm at 06040578
    M  DpShMCreate: allocated comm_adm_list at 060424B8
    M  DpShMCreate: allocated comm_adm at 060424D0
    M  DpShMCreate: allocated vmc_adm_list at 060891A0
    M  DpShMCreate: system runs without vmc_adm
    M  DpShMCreate: allocated ca_info at 060891C8
    M  DpShMCreate: allocated wall_adm at 060891D0
    X  EmInit: MmSetImplementation( 2 ).
    X  <ES> client 3 initializing ....
    X  Using implementation flat
    M  <EsNT> Memory Reset disabled as NT default
    X  ES initialized.

    M Mon Oct 30 14:22:51 2006
    M  calling db_connect ...

    C  DBADASLIB : version 640.00, patch 0.120 (Make PL 0.129)
    C  SAPDB shared library (dbadaslib) patchlevels (last 10)
    C    (0.120) SAPDB precompiler 7.4.3 b42 (note 850826)
    C    (0.120) DB50 perm block defect (note 934194)
    C    (0.119) Explain aborts with signal 11 (note 932516)
    C    (0.093) Disable LVC codepage checking (note 882788)
    C    (0.093) SAPDB_FIX_STRG_LENGTH, only active DDIC tables (note 857506)
    C    (0.089) Use SAPLOCALHOST for local hostname (UPDSTAT) (note 870327)
    C    (0.086) UPDSTAT optimized (note 870327)
    C    (0.080) Internal procedure SAPDB_FIX_STRG_LENGTH (note 857506)
    C    (0.077) DbSlLobLength corrected (note 850827)
    C    (0.075) Support of SDBUPDEXCL (note 847616)


    C  INFO : SQLOPT= -I 0 -t 0 -F SAPDB.3892.pct

    C Mon Oct 30 14:22:53 2006
    C  *** ERROR => Get of the precompiler version failed : sqlcode=-888 (Could not load libpcr (C:\sapdb\programs\runtime\7403\pgm\libpcr-The))
    [dbadautl.c   796]
    B  ***LOG BY2=> sql error -888   performing CON [dbsh#3 @ 1204] [dbsh    1204 ]
    B  ***LOG BY0=> Could not load libpcr (C:\sapdb\programs\runtime\7403\pgm\libpcr-The) [dbsh#3 @ 1204] [dbsh    1204 ]
    B  ***LOG BY2=> sql error -888   performing CON [dblink#2 @ 419] [dblink  0419 ]
    B  ***LOG BY0=> Could not load libpcr (C:\sapdb\programs\runtime\7403\pgm\libpcr-The) [dblink#2 @ 419] [dblink  0419 ]
    M  ***LOG R19=> tskh_init, db_connect ( DB-Connect 000256) [thxxhead.c   1284]
    M  in_ThErrHandle: 1
    M  *** ERROR => tskh_init: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c   9559]

    M  Info for wp 3

    M    stat = 4
    M    reqtype = 1
    M    act_reqtype = -1
    M    rq_info = 0
    M    tid = -1
    M    mode = 255
    M    len = -1
    M    rq_id = 65535
    M    rq_source = 255
    M    last_tid = 0
    M    last_mode = 0
    M    int_checked_resource(RFC) = 0
    M    ext_checked_resource(RFC) = 0
    M    int_checked_resource(HTTP) = 0
    M    ext_checked_resource(HTTP) = 0
    M    report = >                                        <
    M    action = 0
    M    tab_name = >                              <

    M  *****************************************************************************
    M  *
    M  *  LOCATION    SAP-Server fc-sap_FXI_00 on host fc-sap (wp 3)
    M  *  ERROR       tskh_init: db_connect
    M  *
    M  *  TIME        Mon Oct 30 14:22:53 2006
    M  *  RELEASE     640
    M  *  COMPONENT   Taskhandler
    M  *  VERSION     1
    M  *  RC          13
    M  *  MODULE      thxxhead.c
    M  *  LINE        9735
    M  *  COUNTER     1
    M  *
    M  *****************************************************************************

    M  PfStatDisconnect: disconnect statistics
    M  Entering TH_CALLHOOKS
    M  ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
    M  *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c   730]
    M  *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c  254]
    M  Entering ThSetStatError
    M  Entering ThReadDetachMode
    M  call ThrShutDown (1)...
    M  ***LOG Q02=> wp_halt, WPStop (Workproc 3 3892) [dpnttool.c   357]

    dbm_version:
    OK
    VERSION    = 7.6.00
    BUILD      = DBMServer 7.6.00   Build 029-123-128-338
    OS         = WIN32
    INSTROOT   = c:\sapdb\fxi\db
    LOGON      = True
    CODE       = ASCII
    SWAP       = full
    UNICODE    = (unknown)
    INSTANCE   = (unknown)
    SYSNAME    = Windows Server 2003 family
    sdbregview -l:
    SAP Utilities       c:/sapdb/programs    7.6.00.29     32 bit    valid
    DB Analyzer         c:/sapdb/programs    7.6.00.29     32 bit    valid
    Server Utilities    c:/sapdb/programs    7.6.00.29     32 bit    valid
    PCR 7300            c:/sapdb/programs    7.3.00.55               valid
    Redist Python       c:/sapdb/programs    7.6.00.29     32 bit    valid
    Base                c:/sapdb/programs    7.6.00.29     32 bit    valid
    PCR 7301            c:/sapdb/programs    7.3.01.20               valid
    JDBC                c:/sapdb/programs    7.6.00.24               valid
    Messages            c:/sapdb/programs    MSG 0.3347              valid
    PCR 7500            c:/sapdb/programs    7.5.00.33     32 bit    valid
    ODBC                c:/sapdb/programs    7.6.00.29     32 bit    valid
    Database Kernel     c:/sapdb/fxi/db      7.6.00.29     32 bit    valid
    Loader              c:/sapdb/programs    7.6.00.29     32 bit    valid
    PCR 7104            c:/sapdb/programs    7.1.04.45               valid
    SQLDBC              c:/sapdb/programs    7.6.00.29     32 bit    valid
    SQLDBC 7600         c:/sapdb/programs    7.6.00.29     32 bit    valid
    PCR 7403            c:/sapdb/programs    7.4.03.41     32 bit    valid
    sdbverify:
    SAP Utilities 7.6.00.29 32 bit in c:/sapdb/programs
    check files... ok
    check dependencies... ok
    package data is consistent
    DB Analyzer 7.6.00.29 32 bit in c:/sapdb/programs
    check files... ok
    check dependencies... ok
    package data is consistent
    Server Utilities 7.6.00.29 32 bit in c:/sapdb/programs
    check files... ok
    check dependencies... ok
    package data is consistent
    PCR 7300 7.3.00.55 in c:/sapdb/programs
    check files... ok
    check dependencies... ok
    package data is consistent
    Redist Python 7.6.00.29 32 bit in c:/sapdb/programs
    check files... ok
    check dependencies... ok
    package data is consistent
    Base 7.6.00.29 32 bit in c:/sapdb/programs
    check files... ok
    check dependencies... ok
    check rte registration of package... ok
    package data is consistent
    PCR 7301 7.3.01.20 in c:/sapdb/programs
    check files... ok
    check dependencies... ok
    package data is consistent
    JDBC 7.6.00.24 in c:/sapdb/programs
    check files... ok
    check dependencies... ok
    package data is consistent
    Messages MSG 0.3347 in c:/sapdb/programs
    check files... ok
    check dependencies... ok
    package data is consistent
    PCR 7500 7.5.00.33 32 bit in c:/sapdb/programs
    check files... ok
    check dependencies... ok
    check rte registration of package... ok
    package data is consistent
    ODBC 7.6.00.29 32 bit in c:/sapdb/programs
    check files... ok
    check dependencies... ok
    package data is consistent
    Database Kernel 7.6.00.29 32 bit in c:/sapdb/fxi/db
    check files... ok
    check dependencies... ok
    check rte registration of package... ok
    package data is consistent
    Loader 7.6.00.29 32 bit in c:/sapdb/programs
    check files... ok
    check dependencies... ok
    package data is consistent
    PCR 7104 7.1.04.45 in c:/sapdb/programs
    check files... ok
    check dependencies... ok
    package data is consistent
    SQLDBC 7.6.00.29 32 bit in c:/sapdb/programs
    check files... ok
    check dependencies... ok
    package data is consistent
    SQLDBC 7600 7.6.00.29 32 bit in c:/sapdb/programs
    check files... ok
    check dependencies... ok
    package data is consistent
    PCR 7403 7.4.03.41 32 bit in c:/sapdb/programs
    check files... ok
    check dependencies... ok
    check rte registration of package... ok
    package data is consistent
    VERIFICATION SUMMARY:
    INVALID PACKAGES:                   0 
    VALID PACKAGES:                     17
    INCONSISTENT PACKAGES:              0 
    TOTAL FILES:                        458
    MISSED FILES:                       0 
    MODIFIED FILES:                     0 
    FILES WITH MODIFIED PERMISSIONS:    0

  • SAPDB Migration for Content server

    Hi Experts
    we have a SAP content server 6.3 running on 32 bit windows on SAPDB 7.3 .
    We are planning to move this to a Unix box ( AIX or Solaris .. not decided yet). Is there a comprehensive guide available about the procedure we need to follow ?
    1. Do we need to upgrade the source DB before migration ?
    2. As per MaxDB admin guide database copy from IA32 to unix does not work and as per note 962019 we need to use loadercli. Any tips on loadercli use would be welcome
    3. Any relevant information from past experience of similar exercise
    4. Does SAP support this migration if we do not buy the MaxDB migration service from SAP ?

    Hi there,
    > Note"962019" mentions that:
    >
    > "Note that the target system must be installed at least with 7.6.05 build 11. An upgrade to this version does not help. Stop the target system (shutdown) and delete the database instance (drop database). SAPinst provides the option 'uninstall'. Here, you are led through the uninstalling process. The repeat the software installation with 7.6.05 build 11 or higher."
    Yep, this is necessary to make the handling of source databases possible, that still have the _UNICODE parameter set to FALSE.
    > I can only find MAXDB 7.6.03 installation CD on SAP SWDC, no 7.6.05 build 11 or higher, can I install 7.6.03 first, then update patch to 7.6.05 or higher?
    Actually you don't need the installation CD.
    The "patch" package contains everything you need to perform a full installation.
    MaxDB patches are not really patches but always full installations.
    Therefore you can either use the SDBSETUP or SDBINST tool (make sure to get the path-settings for <indep_data>/<indep_programs>/<dependend_programs> right then!) or you replace the installation package on the 7.6.03 CD you have with the 7.6.05 installation package from the patch download page in the service marketplace [http://service.sap.com/swcenter-3pmain].
    Ok, hope that answers your questions.
    Make sure to test the procedure before actually trying to perform the migration.
    Very often questions and problems come up during the first time the process is done - and if that happens to be your productive migration weekend, well, cross-fingers that you get a MaxDB expert supporter on weekend duty then ...
    regards,
    Lars

  • ABAP trial NW7 SP12: problem with SAPDB

    Hello,
    I have to reinstall ABAP NetWeaver7 Sp12.
    After the installation I can't find the c:\sapdb directory. During the first intallation system has intalled SAPDB.
    Probably I did something wrong durring unistall procedure.
    After the reinstallation I get message: Installaction completed

    I removed the content of diretory:
    C:\Program Files\Common Files\Installshield\Universal\SAP
    It helped.

  • Cannot access sapdb backend from Content Server?

    I am unable to access my sapdb from my Content Server via CSADMIN or with the /ContentServer.dll?serverInfo page.
    I run a Content Server on Unix - version 640, build 16. Here's what I've verified thus far:
    - SAPDB is up and running.
    - x_server process is running
    - apache is running (httpd processes)
    - Standalone gateway on same server is running.
    In the apache error logs I find the following message:
    ErrorDescription: Cannot start Document request, reason: SQLConnect
    failed, [MySQL MaxDB][LIBSQLOD SO][MaxDB] Invalid authorization specification;-4008 POS
    (1) Unknown user name/password combination, Error
    Code: -4008\r\nX-ServerId: server="nwkwcs";serverPort="1090"\r\nX-
    ServerType: SAP HTTP Content Server\r\n
    I had not changed my SAPR3 user or password in the database, so I am confused why this started happening all of a sudden?
    In an attempt to fix, I reset SAPR3 to custom password and ran report
    RSCMSPWS to store the new password in the cs.conf file. However, the
    same error is still a result.
    So, I deleted and recreated SAPR3 based upon SUPERDBA profile with default "SAP" password.  
    Then, I commented out DBNAME and PASSWORD in cs.conf file.  So, it should be using the default SAPR3/SAP login to the database. 
    However, this did not help either.
    I looked at note 706664, however I cannot even get the repositories to a defined status. I cannot connect via CSADMIN?
    Here's an excerpt from the http://server:port/ContentServer/ContentServer.dll?serverInfo page for
    further analysis:
    serverType="SAP HTTP Content Server";serverVendorId="SAPAG";
    serverVersion="640"; serverPatch="0";serverBuild="16";
    pVersion="0046";serverStatus="running";serverDate="2008-07-
    10";serverTime="13:58:28";startUpDate="2008-07-10";
    startUpTime="13:58:20";lastAccessDate="2008-07-
    10";lastAccessTime="13:58:20";
    contRep="Z_EKM_IWBHELP";contRepStatus="offline";contRepStatusDescription="SQLConnect failed, [MySQL MaxDB][LIBSQLOD SO]
    [MaxDB] Invalidauthorization specification;-4008 POS(1) Unknown user name/passwordcombination, Error Code: -
    4008";storageVersion="17";storage="SAPDB";buildLevel="1";contentStorageName="SDB";contentStorageHost="localhost"; security="1";contRepDescription="Content Repository for IWBHELP";
    I am unsure why the Content Server will not connect to the database?
    Points to all helpful answers!
    Thanks,
    Jeff

    Hi,
    How did you resolve this problem ?
    Thanks,
    Hemant

  • SAPDB : Archive the Log and Data files

    Hi,
    I am running a SAP WAS JAVA on my laptop with SAPDB as the database. Its used for my local developments.
    I have 3 log files and 3 data files of 1 GB each. I want to reduce this to 1 log file and 1 data file to free some space on my Laptop.
    How can this be done.
    Regards,
    Shubham

    Hi,
    well, you should check the <b>current filling level</b> of your database instance to see how large your single data volume should become.
    Then, I would recommend you put your db in <b>admin</b> state and make a full data <b>backup</b>.
    Then, you would need to do do a <b>recovery with initialization</b>. This is most conveniently done using the newest available version of the Database Manager GUI.
    During this process, you should be able to specify your desired new volume setup (please keep the filling level from your the beginning in mind). For the backup to recover, choose the one you just made.
    Hope that helps.
    Kind regards,
    Roland

  • DB Migration from SAPDB to Oracle 10g - Archive access after migration?

    Hi!
    Our customer plans to move his SAP system landscape from one Service Provider to another. During this not only new hardware is used but also a DB migration will be done using the procedure described in the SAP System Copy Guide (SAPDB -> Oracle - Offline Export in source system,
    Import in target system).
    SAPSID and client will be the same in the new environment, but of course HW key, IP-adress, Server name, Domain name and obviously Installation no. will change. SAP Note 153433 as well as System Copy Guide do not completely clearly tell me, whether we will face problems when trying to access our archived data after the migration. It's not completely clear to me, how the Archive References are
    built: Only using SAPSID and client? Then everything should be okay, because here we plan no changes.
    So do we have to face any problems when trying to access and/or reload the archived files and objects after the movement to the new service provider? Are there any pitfalls concerning archviving and archive access we have to take in mind?
    Add. info: The archvied files and objects are stored in an IBM Common Store which will be moved physically from location A to B. So here nothing changes.
    Thanx in advance for any hint.
    BTW: SAP Notes 153433, 460620 and 53068 were already studied. SAP support said this is a consulting issue ... ;-(
    Regards,
    Volker Kolberg

    Hi Volker,
    I haven't worked much on archiving, however Archived files are flat files ( I think) and hence these files should be common for all databases.
    However a good strategy is to first test. I think you must have already thought about it however still here is what you could do.
    Take system copy of the system you want to migrate ( you could choose a development system where there is not much data)
    Delete data the production clients in the copied system.
    Archive some data using object something like WORKITEM which is harmless workflow object.
    Migrate the system and try to reload the object
    Hope that helps.
    Regards,
    Siddhesh

  • Installation halts - probably because of sapdb.inf

    Hello fellow SAP admins
    I'm trying to install SAP solution manager/netweaver 7.0 on a Sun Sparc T2000 with Solaris 10. The installation works fine until I get to phase 13 of 47: "Create database schema". I don't get an error message, but the installation halts and I can read the following from the promt:
    "File sapdb.inf does exist. Will use the commands in file sapdb.inf."
    Everything seems to work and I cannot locate logfiles that tell me otherwise.
    XCMDOUT.log ends with the following:
    > Subprocess starts at 20080513084428
    Execute Command : /sapdb/programs/bin/dbmcli -n SunT2000 -d BDS -u control,********
    Start subprocess as user with uid: root
    Execute Session Command : sql_connect superdba,********
    Execute Session Command : sql_execute SELECT VALUE FROM DBPARAMETERS WHERE DESCRIPTION='_UNICODE'
    Execute Session Command : exit
    > Subprocess stops at 20080513084430
    OK
    OK
    END
    'YES'
    Any ideas?
    NB: You can find a similiar unsolved post by David Ingersoll from Mar 31, 2008 3:30 PM by searching the term "sapdb.inf".
    Thanks in advance..
    /Peter

    Here goes:
    'ptree' returs (amongst other):
    982   /usr/lib/ssh/sshd
        985   /usr/lib/ssh/sshd
          987   -sh
            1004  bash
              1093  ksh
                1094  bash
                  1096  ./sapinst
                    1097  /sap/tmp/sapinst_exe.1096.1210759752/sapinstexe
    sapdb/data/wrk includes a number of files, amongst other MaxDBServer_install-13.05.2008-08.26.log which end by:
    MSG: net install registry size = 214322 bytes
    MSG: wrote install registry (277768 bytes)
    STDOUT: installation of MaxDB Server finished successfully Tu, May 13, 2008 at
    08:26:14
    MSG: packagedata of package Base not changed
    MSG: packagedata of package SQLDBC not changed
    MSG: packagedata of package SQLDBC 76 not changed
    MSG: packagedata of package Fastload API not changed
    MSG: packagedata of package PCR 7300 not changed
    MSG: packagedata of package PCR 7301 not changed
    MSG: packagedata of package PCR 7403 not changed
    MSG: packagedata of package PCR 7500 not changed
    MSG: packagedata of package SAP Utilities not changed
    MSG: packagedata of package DB Analyzer not changed
    MSG: packagedata of package JDBC not changed
    MSG: packagedata of package Server Utilities not changed
    MSG: packagedata of package Database Kernel changed
    MSG: packagedata of package Redist Python not changed
    MSG: packagedata of package Loader not changed
    MSG: packagedata of package Messages not changed
    MSG: packagedata of package ODBC not changed
    MSG: writing 19 packages
    MSG: net install registry size = 214695 bytes
    MSG: wrote install registry (278425 bytes)
    MSG: install registry successfully unlocked
    /sapdb/data/wrk/<SID> have both knldiag and knldiag.err
    knldiag ends like this:
    2008-05-13 08:44:30    13     11561 COMMUNIC Connecting T109 local 325
    2008-05-13 08:44:30    30     12929 TASKING  Task T109 started
    2008-05-13 08:44:30    30     11007 COMMUNIC wait for connection T109
    2008-05-13 08:44:30    30     11561 COMMUNIC Connected  T109 local 325
    2008-05-13 08:44:30    30     11560 COMMUNIC Releasing  T109
    2008-05-13 08:44:30    30     12827 COMMUNIC wait for connection T109
    2008-05-13 13:35:22     8     12852 DBSTATE  Caught STOP signal
    2008-05-13 13:35:22     8     12696 DBSTATE  Change DbState to 'STOP'(28)
    2008-05-13 13:35:22     8     12697 DBSTATE  Resuming tracewriter
    2008-05-13 13:35:22    24     12825 TASKING  state 28 before shutkill(1)
    2008-05-13 13:35:22     7     12696 DBSTATE  Change DbState to 'TRACE_WRITER_WA
    IT'(28)
    2008-05-13 13:35:22    24     12825 TASKING  state 28 before shutkill(1)
    2008-05-13 13:35:22    24     12825 TASKING  state 28 before shutkill(1)
    2008-05-13 13:35:22    24     20000 Trace    Start flush kernel trace
    2008-05-13 13:35:27    29     12825 TASKING  state 28 before shutkill(1)
    2008-05-13 13:35:27    29     12768          UKT6 stopped
    2008-05-13 13:35:27    24     20001 Trace    Stop flush kernel trace
    2008-05-13 13:35:27    24     12619 TASKING  Releasing tracewriter
    2008-05-13 13:35:27     1     12611 DBSTATE  SERVERDB is being stopped
    +++++++++++++++++++++++++++++++++++++++ Kernel Exit +++++++++++++++++++++++++++
    +
    2008-05-13 13:35:31     0     12845 DBSTATE  Kernel exited normal
    2008-05-13 13:35:31     0     12696 DBSTATE  Change DbState to 'OFFLINE '(28)
    --------------------------------------- current write position ----------------
    knldiag.err file:
    Date       Time       TID Typ MsgID Label    Message-Text
    2008-05-13 08:27:48                          --- Starting GMT 2008-05-13 06:27:48           7.6.00   Build 035-123-139-084
    2008-05-13 13:35:31                          ___ Stopping GMT 2008-05-13 11:35:31           7.6.00   Build 035-123-139-084

  • Migration from SAPDB 7.4 to MaxDB 7.6 (7.7)

    Hello,
    I hope I'm right here to find a solution for my migration problem.
    I have the SAPDB 7.4 in my own application. Now I want to migrate it to a newer Community version 7.6 or 7.7. Since MaxDB is back to SAP I will post my question here.
    In a MySQL mailing list I found a comment that the migration from 7.4 to 7.6 should be done by simplify make a backup from 7.4 and restore it into 7.6 (http://lists.mysql.org/maxdb/26124)
    I tried this with the DBM GUI. When I start a recovery with initialisation it says "Recovery has completed sucessfully". But than I can't restart the database instance:
    -24988 SQL errir [info STATE -d]; -4004,Unknown table name:INFO_STATE
    After this the instance is in online mode, but when I try to load the system tables I get:
    -24964 error in program execution [load_systab ...]; 3,""C:\test\sapdb\depend\bin\x_python" "C:\test\sapdb\depend\env\lsystab.py" -R "C:\test\apdb\depend" -d MYDB -u dbam*"
    I also found a post where some steps described for a migration from 7.3 to 7.6 (http://lists.mysql.com/maxdb/28720), but my source database is 7.4 and the command util_execute migrate give my a SQL error on 7.4
    -24988,ERR_SQL: sql error
    Is there any HowTo  or tutorial how to migrate from SAPDB 7.4 to 7.6 or 7.7?
    I hope, someone can help me....
    Thanks in advanced and best regards,
    Thomas

    THuebner wrote:>
    > Hello,
    >
    > I hope I'm right here to find a solution for my migration problem.
    >
    > I have the SAPDB 7.4 in my own application. Now I want to migrate it to a newer Community version 7.6 or 7.7. Since MaxDB is back to SAP I will post my question here.
    Good choice.
    > In a MySQL mailing list I found a comment that the migration from 7.4 to 7.6 should be done by simplify make a backup from 7.4 and restore it into 7.6 (http://lists.mysql.org/maxdb/26124)
    Well - actually this is not the recommended procedure.
    In fact this it not tested at all. It should work, yep - but there's no guarantee for it.
    Why don't you simply use the standard way to upgrade your database?
    Use SDBUPD or SDBSETUP and all necessary steps will be done automatically.
    > I tried this with the DBM GUI. When I start a recovery with initialisation it says "Recovery has completed sucessfully". But than I can't restart the database instance:
    >
    -24988 SQL errir [info STATE -d]; -4004,Unknown table name:INFO_STATE
    >
    > After this the instance is in online mode, but when I try to load the system tables I get:
    >
    -24964 error in program execution [load_systab ...]; 3,""C:\test\sapdb\depend\bin\x_python" "C:\test\sapdb\depend\env\lsystab.py" -R "C:\test\apdb\depend" -d MYDB -u dbam*"
    >
    > I also found a post where some steps described for a migration from 7.3 to 7.6 (http://lists.mysql.com/maxdb/28720), but my source database is 7.4 and the command util_execute migrate give my a SQL error on 7.4
    -24988,ERR_SQL: sql error
    >
    > Is there any HowTo  or tutorial how to migrate from SAPDB 7.4 to 7.6 or 7.7?
    Sure it's called 'documenation'.
    You may want to take a look... [Installation Manual|http://maxdb.sap.com/doc/7_7/44/dd1681a23819d9e10000000a422035/content.htm].
    In general it's a good idea to ensure that the system tables are properly loaded before you try the upgrade and that you use the most current patch of your old version (if available).
    regards,
    Lars

  • SAPDB in status STOPPED INCORRECTLY due to file system failure

    Hi community,
    we have a problem with our SAPDB server.
    The file system on which the whole database is installed disappeared form the list of filesystem mounted because of hardware problems,  the database instances crashed. Now the problem should be technically solved, the filesystem is mounted again and files should be not corrupted
    The first problem was to start the x server, If I tried to start it replied with the following error:
    en950_GetProgramExecPath failed:
    OS_ERROR  0: No system errortext for ERRNO 0
    RTE_ERROR 1: Open Registry:No such file or directoryIndepPrograms
    I resolved the problem looking at the file in directory /var/spool/sql/ini and changing the extensions of two files:
    SAP_DBTech.ini from Registry_dcom.ini.cnt01
    SAP_DBTech.ini from SAP_DBTech.ini.cnt01
    Now the x server starts correctly, but the state of the 2 SAPDB instances appears as STOPPED INCORRECTLY
    My questions:
    - Why the configuration files had that (wrong) extension ?
    - What is the correct procedure to try to start the instances in this case?
    Regards, Valerio

    > The file system on which the whole database is installed disappeared form the list of filesystem mounted because of hardware problems,  the database instances crashed. Now the problem should be technically solved, the filesystem is mounted again and files should be not corrupted
    SHOULD is the keyword of the last sentence!
    > The first problem was to start the x server, If I tried to start it replied with the following error:
    >
    >
    en950_GetProgramExecPath failed:
    > OS_ERROR  0: No system errortext for ERRNO 0
    > RTE_ERROR 1: Open Registry:No such file or directoryIndepPrograms
    >
    > I resolved the problem looking at the file in directory /var/spool/sql/ini and changing the extensions of two files:
    >
    > SAP_DBTech.ini from Registry_dcom.ini.cnt01
    > SAP_DBTech.ini from SAP_DBTech.ini.cnt01
    Hmm... one thing is for sure: the MaxDB software does not rename these files!
    > Now the x server starts correctly, but the state of the 2 SAPDB instances appears as STOPPED INCORRECTLY
    Did you had a look into the KNLDIAG files?
    > My questions:
    > - Why the configuration files had that (wrong) extension ?
    No idea? Storage/Filesystem issue?
    Bad user?
    > - What is the correct procedure to try to start the instances in this case?
    Depending on how much is broken here... reinstall the software from scratch and either re-register the instances or perform a restore and recovery of them.
    regards,
    Lars

Maybe you are looking for

  • Will Time Machine backup Time Capsule files to an attached usb drive?

    Hi Everyone, I want to put shared media files on my Time Capsule and then have Time Machine backup my imac and all the files on the TC to a usb drive attached to the Capsule. Possible? That way I have a shared media server that is being backup up reg

  • PO Doc Date is not Greater than MIGO Date.

    Dear All, I ahve Done PO with doc date 02.02.2009 & i create MIGO as 25.01.2009 System is accepting this document. so i want restriction of this procedure. PO date is not greater than MIGO date. Thanks Shital

  • Strange behavior of Planning manager

    Hi All, I am working on forecast interface, facing a strange behavior of Planning manager. Our application planning manager is in active status, we set MRP:Planning Manager Batch Size profile value as 2000 and MRP:Planning Manager Max Workers value a

  • Date in PreparedStatements

    Since the search is broken I apologize if this is a repeat. I am not using OraclePreparedStatement. I am using the thin client for Oracle 8i and all associated software (Driver, database, etc). I am using format {d '2002-04-04'} for date in parameter

  • Production enviroment deployment

    Hi there, Our company wants to substitute DECT phones with WP8 smartphones. After running a few tests we found that the Lync app was not the most practical of apps to communicate in a production enviroment, what do you guys suggest? Should we wait fo