-4001 Unknown name/pw comb in state ADMIN when recovering a DB

Hi,  (Yes, this is a SAP system - ECC6 / MaxDB / SLES Linux.)
============
I'm trying to restore a database while reconfiguring the logs.  I currently have 2 log files, and I want to configure just 1 smaller file.  I can recover this DB from the same backup file without difficulties if I don't make any changes.  When I follow the documented procedure (see below), I get an authentication error.
============
The full error message is this:
-4001 Unknown user name/password combination in operational state ADMIN
============
The DB really is in ADMIN state.  I can connect from DB Studio on Linux and DB Manager on XP.  I have verified the passwords for users SUPERDBA and CONTROL work.  For example:
============
gepadm> dbmcli -d GEP -u control,control user_get control
OK
SERVERRIGHTS=DBInfoRead,SystemCmd,ExecLoad,UserMgm,DBFileRead,Backup,InstallMgm,LoadSysTab,ParamCheckWrite,ParamFull,ParamRead,DBStart,DBStop,Recovery,AccessSQL,AccessUtility,SharedMemoryMgm,SchedulerMgm,Scheduling,EvtDispMgm,EvtDisp
GUIRIGHTS=
SECONDPASSWORD=YES
DISABLED=NO
COMMENT=
USERTYPE=
============
Interesting that the CONTROL user has a blank USERTYPE.
============
gepadm> dbmcli -d GEP -u control,control user_get SUPERDBA
OK
SERVERRIGHTS=DBInfoRead,SystemCmd,ExecLoad,UserMgm,DBFileRead,Backup,InstallMgm,LoadSysTab,ParamCheckWrite,ParamFull,ParamRead,DBStart,DBStop,Recovery,AccessSQL,AccessUtility,SharedMemoryMgm,SchedulerMgm,Scheduling,EvtDispMgm,EvtDisp
GUIRIGHTS=
SECONDPASSWORD=NO
DISABLED=NO
COMMENT=
USERTYPE=DBM
============
I know the 1 password for SUPERDBA and both passwords for CONTROL.
============
Does anyone know what's happening or how to get past this?
============
Thanks in advance,
Jim
====================================================================================
Here is the procedure I found in the help (on my machine at http://127.0.0.1:63846/help/index.jsp?topic=/com.sap.sdb.tools.help/htmhelp-out-en/18/1dedd0833b4957b68d34360814514e/content.htm )  I read that this cannot be done (currently) using DB Studio, so I used DB Manager - which I otherwise never use.
====================================================================================
Prerequisites
The database instance is in the ADMIN operational state.
Procedure
       1.      Choose Instance ® Recovery ® Recovery with Initialization.
       2.      If necessary, transfer the database instance to the ADMIN operational state.
       3.      The Recovery Wizard always proposes the quickest procedure for recovering lost data. You may need to choose a procedure that is adapted to your situation.
       4.      The wizard guides you through the entire process of recovering the database instance. The subsequent recovery steps are described under the relevant recovery procedure.
Restoring after initializing a database instance with the option of changing the database parameters and volume configuration
Prerequisites
The log files dbm.knland dbm.mdf exist and are not damaged. This means that the backup history is complete. The database instance is in the OFFLINE operational state.
Procedure
       5.      Initialize the database instance. All data from the old version is then lost.
       6.      During the initialization process, choose Create instance for recovery (not Create and start instance), since this is the only option that lets you recover the data.
Once it has been created, the database instance is in the ADMIN operational state. The Database Manager opens the Recovery Wizard automatically.
       7.      The Recovery Wizard always proposes the quickest procedure for recovering lost data. You may need to choose a procedure that is adapted to your situation.
       8.      The wizard guides you through the entire process of recovering the database instance. The subsequent recovery steps are described under the relevant recovery procedure.

Natalia Khlopina wrote:Hi Natalia,
>
> From the posted information, the problem could be because you created the target
> database with DBM user SUPERDBA.
How do I know which user created the DB?  As I mentioned, I used DBMGUI (on Windows) to initialize and restore the DB (many times!).  I tried disconnecting and reconnecting as both SUPERDBA and CONTROL, so I thought I had tried both users already.
> By the default SAP installation the control user is DBM user and the SUPERDBA user
> is SYSDBA. Please see more details in SAP note 25591
Can this note please be updated to include Database Studio - which is what I use.  (I run a Linux desktop, so using DB Manager is extremely inconvenient!)
When will the "Create instance for recovery" functionality be in DB Studio?  This is a very important function!!!
> or MAXDB documentation
> < SAP note 767598 >. In UPC containers the control user has the u201CUSERTYPE=DBMu201D
> and superdba user has USERTYPE=DBA. You will see it when run the dbm command u201Cuser_get controlu201D
> or u201Cuser_get superdbau201D.
I posted the output from these commands in my original post.  Is it not useful?  (Or did I do this wrong?)
> Do you know the database users of the source database?
SUPERDBA, CONTROL and SAP<SID>.
This system was originally created as a homogeneous copy of a production ECC6 system.  (It is not Unicode.)  Then I ran the system for a while (generating a few log backup files), and when I tried a test restore, I get these errors.
> Did you create the SAP ticket where this issue was reported?
Not yet.
> If you would like to solve the problem by yourself, I recommend to create the target database
> instance with DBM user < Database Manager Operator > control when you run the initialization
> process with Create instance for recovery.
(repeating from above) Am I creating the DB as a particular user if I connect (using DBMGUI) as a particular user?
One final question, the "preview" feature shows my posts looking OK, but my actual posts (and many other people's) have very long lines and no line breaks.  Is there a FAQ on how to post to the SDN forum?  (Or perhaps this is a firefox setting...)
Thanks,  Jim

Similar Messages

  • Dbanalyzer ERROR 25: SQLDBC error -4008, POS(1) Unknown user name/password combination (SQL state "28000").

    Hello Gurus,
    we have a unusual problem with our MaxDB 7.9.8.25
    We want to check the parameter like discribed in note 1111426, but dbanalyzer throws the following error.
    tttadm >/sapdb/TTT/db/bin/dbanalyzer -d TTT -u superdba,****** -f dbanalyzer_InstanceParameterCheck.cfg -o /tmp -i -c 1 -t 1,1
    SAP MaxDB Database Analyzer, The Performance Analysis Tool, Version 7.9.08.25
    Copyright 2000-2014 by SAP AG
    ERROR 25: SQLDBC error -4008, POS(1) Unknown user name/password combination (SQL state "28000").
    But with dbmcli we can connect with the same user.
    tttadm >  dbmcli -d TTT -u superdba,******
    dbmcli on KBP>
    Has anyone a suggestion?!

    Have you tried, if you can actually do SQL with that user? Maybe there is a problem with the SQL authorization?
    Does the following work for you?
    >sqlcli -d tz79 -u dba,dba select * from dual
    | DUMMY |
    | ----- |
    | a   
    1 row selected (1318 usec)
    dbmcli -d tz79 -u dba,dba sql_execute select * from dual
    OK
    END 'a'

  • Wat is the use of "DATA var-name LIKE SY-INDEX" statement

    Hi to all,
           is there any use of "DATA <var-name> LIKE SY-INDEX"  statement in ABAP, do the variable <var-name> be changed with that of SY-INDEX when we declare like this.
             Could u give me a fast response,
                                            Thank you,
                                                 Srinivasa Rao k.

    hi check this example..
    data: v_index type sy-index value 10 .
    do 15 times .
    if sy-index = v_index .
    write:/ 'the system index is 10 '.
    exit.
    endif.
    enddo.
    the main use of the index is used in the hr programs..
    the user wants the emp salary and previous months   salary then you need to use the index .
    if the table had 10 records .then you need to catch the record of  index1(current) and index 2(for previous month)..
    select pernr ansal  from pa0008 into table it_pa0008 where pernr in s_pernr and begda in s_begda .
    loop at it_pa0008.
    case sytabix.
    when 1 .
    it_final-cursal =  it_pa0008-ansal.
    when 2 .
    it_final-prevsal =  it_pa0008-ansal.
    endcase .
    endloop.
    regards,
    venkat.

  • How can i pass a variable instead of a table name in the Select statement.

    Dear all
    how can i pass a variable instead of a table name in a select statement ?
    Example :-
    Begin
    P_get_procedure_tname (aap_name,otable_name);--It will take an application name and will return a table name
    Select col1 into ocol1
    from  ---- here i want to pass the variable OTABLE_NAME
    End;How can i pass this ?

    Hi,
    You can use dynamic sql.
    EXECUTE IMMEDIATE 'SELECT COL1 INTO ' || OCOL1 || ' FROM " || OTABLE_NAME;
    {code}
    cheers
    VT                                                                                                                                                                                                                                                                                                   

  • Recently my contact card was changed to make my name into a vulgar statement.

    Recently my contact card was changed to make my name into a vulgar statement. I only noticed this when I went to go send an email, and the incorrect name popped up. There is a SLIM chance someone hacked into my contacts since everything is password protected, but I guess I need to know if there is any way that a virus/hacker went into my contacts to mess with me. That seems unlikely as it was just my contact that was changed, but I still need to know. I recently updated my computer software to mountain lion, and I also updated software on my iphone. I was wondering if any of that might have made that change?

    Your device was not hacked as it is not possible unless the device is jailbroken.
    More likely someone has gained access to your iCloud account (assuming that is how contacts are synced to your device) and changed the information to mess with you.  This could also have been done with physcial access to the device or even access to the computer if it is set to save passwords.

  • COLUMN NAMES IN AN INSERT STATEMENT

    Hi,
    What are the advantages and disadvantages of giving the column names in an insert statement. My team lead says, that when ever we use insert, even thought we have value for all the columns in the table, it is advantages to add the column names... I want to know what are the pros and cons...
    Any help...

    By giving column names in the insert statement means your data is arranged in that order. Otherwise, we do not know what order the data (columns) will come (which will come from the table definition). If fur some reason, the table has all the columns with integer/number as data type then, if the columns are not named in the insert statement and data in in the insert values stament can be in any order (there will not be any database error). The data inserted can be wrong.

  • Unknown name in TO

    In the last week almost all my mail has To Elma Trotter <my name @xxx.net>. Even my last news letter from Apple.com, and from people and companies I have received mail from before. Even a response from a company about a recent order came with that unknown name. The name does not show up if I go to the on line version of my .net account, only on my computer. Any ideas would be great. Thanks

    One more thought. Sometimes spam email will use a random name and fake your email address; you might have used an "unsubscribe" reply-to. Go to the Window menu and choose "Previous Recipients". See if the name is in there, and delete it if so.
    Matt

  • Unknown Name on My Account

    I have had Verizon for about 4 years now, tried numerous times to get them to correct it but no luck.  Every time I sign in to my account an unknown name shows as if it were me.  Anyone know how to get them to correct this???

    Tell me what website your are visiting that shows the wrong name as well as let me know if you are a Fios or copper subscriber and I will see if I can lend you a hand here
    Joe D
    Verizon Telecom
    Fiber Solution Center
    Notice: Content posted by Verizon employees is meant to be informational and does not supercede or change the Verizon Forums User Guidelines or Terms or Service, or your Customer Agreement Terms and Conditions or Plan.Follow us on Twitter™!

  • In Windows 7, firefox seems to revert to the default icon (unknown as opposed to the firefox symbol) when I delete the desktop shortcut.

    In Windows 7, firefox seems to revert to the default icon (unknown as opposed to the firefox symbol) when I delete the desktop shortcut. This is rather aesthetically displeasing. I can not find much help for this online.

    You can try to clear the Windows icon cache.
    #Open the Task Manager (Shift+Ctrl+ESC)
    #In the Process tab, right-click on the Explorer.exe process and select End Process.
    #Open the file picker via "File > New Task (Run)" and click the Browse button.
    #Type or Paste %USERPROFILE%\AppData\Local in the File name field (AppData is a hidden folder).
    #Select the file IconCache.db and use Delete in the right-click context menu to delete the file.
    #After the IconCache.db has been deleted, start a new explorer.exe process via "File > New Task" to get the desktop and Taskbar back.
    It is possible that the file IconCache.db is a hidden file.
    See http://kb.mozillazine.org/Show_hidden_files_and_folders

  • HR PA Dynamic Actions: Generate mail to the admin when 0002 & 0021 changed

    Hi gurus!
             My client wants us to generate a mail to the Admin when an employee changes his 0002 or 0021 infotype
    through ESS. I believe we could do this is Dynamic Actions. Can you please tell me how we do it?
    Thanks and Regards,
    Soniya

    Hi,
    Some good write-ups :
    http://wiki.ittoolbox.com/index.php/Dynamic_Action
    http://www.sapconfig.com/index-3.html (look for "Dynamic Action Mail for Infotype". This will require registration but free.
    Thanks.
    Regards
    Kir Chern

  • HT1222 After downloading this, it tells my iphone to resync, and it cant sync with the computer. it gives no information as to why, and I can't start up my iphone, it's in the same syncing state as when i first bought it.

    It's what it says in the question above; after downloading the newest update from apple my Iphone 4 goes into a state where i must resync it with my computer to continue use.  While syncing, about 2/3 of the way done, it says there was an error with the sync, and all of the memory will be erased.  Without my approval, it erased the memory, and now it is in the same "must sync" state as when I first bought it, about one week ago.  I tried syncing on so far two computers, and they both failed, with the same error.  No error code or anything like that is given.
    Help please!!

    Place your phone in DFU mode (search google for instructions) and restore as new.
    If this doesn't work, you'll need to bring your phone into Apple.

  • I bought an ipad mini from some guy returning to the states and when i upgraded its os version its now asking for his apple id which i dont have. what should i do

    i bought an ipad mini from  some guy returning to the states and when i upgraded its os version its  now asking for his apple id which i dont have. what should i do

    That is Activation Lock.
    You have to contact the previous owner to have him remove it
    Find My iPhone Activation Lock: Removing a device from a previous owner

  • "An unknown error occurred (-50)" keeps coming up when downloading music purchase?

    "An unknown error occurred (-50)" keeps coming up when downloading music purchase, 3 songs from the album came through but the last one is having problems. I've refereed to the itunes store FAQ and tried the solutions provided, but still not working?
    The firewall on the mac is turned on, however I don't have any Web Accelerators, Ad Filters and I've just recently uninstalled my Virus Protection Software.
    I'm not sure how to go about fixing this problem, and the solution provided by Apple doesn't seem to help me at all.
    Does anyone know? Thanks in advance! (:

    iTunes: Advanced iTunes Store troubleshooting - http://support.apple.com/kb/TS3297 > Specific Conditions and Alert Messages: (Mac OS X / Windows) - includes list of iTunes error codes

  • Company name in Internet Explorer Title Bar When Portal URL is launched

    Hai Gurus,
    I want to shown my company name in Internet Explorer Title Bar, when portal URL is launched. Please let me know how to do this.
    Thanks & Regards,
    H.K.Hayath Basha.

    Hi Kuthbudeen,
    To change the title of the browser go to:
    System Administration > System Configuration > Service Configuration > Portal Runtime > Central Configuration.
    Scroll down to: portal.html.head.title
    and change to required name.
    Do restart ur portal for the changes to take effect.
    Revert back if changes have taken place or not?
    In addition,
    U need to restart portal server ( logoff will not help)
    Regards,
    Purav
    Edited by: Purav Mehta on Jan 15, 2008 11:20 AM

  • Names of columns don't appear when I read the report on WebI 6.5 ??

    Names of columns don't appear when I read the report on WebI 6.5
    The report was developped on BO 6.5 and was published on WebI.
    When I read the report with the HTML mode, the names of the colums appear.
    When I read the report with the PDF mode, the names of the columns don't appear.
    I try to read the report with the HTML mode and after, I try to save it in pdf but it doesn't work. (it is the operation of conversion of pdf which doesn't work - it's very long and... nothing appends)

    Hello,
    This is  the default column. I didnu2019t add column heading. But I replaced the name of the column by words.
    I havenu2019t change the property of column heading.
    It is a cross tab.

Maybe you are looking for

  • Can you run iTunes twice on one computer?  Run two libraries on one compute

    My roommate and I both have iPods and share a computer but we have vastly different tastes in music. How can we both have our own iTunes libraries on one computer?

  • Business service and business system

    Can someone please tell me what is the difference between business service and business system and in which cases are they used respectively?

  • Direct the output of query results to a table

    Hi, I would like to know as how to transfer the results of a query to a table. eg: Select * from employee into <Tmp_table> Hence I would have a copy of employee table in the newly created Tmp_table. Thanks in advance Azeez

  • Class based error handling

    Hi evrybody, i'd like to implemt some own errorclasses, but i cand find anything about the namespace to use. Am i right that evry class based error handling must start with cx? So which namespace is for customoers? cu   Rainer

  • Populate and see database objects in portal

    We have 2 servers. - A database server1 - Application server2. we've installed 10G and import all data (from 8.7.1) in our database server1. We've installed the mandatory Infrastructure database and application server 10G in our application server2.