[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference iosg::all-in-1_v30

Title:*OLD* ALL-IN-1 (tm) Support Conference
Notice:Closed - See Note 4331.l to move to IOSG::ALL-IN-1
Moderator:IOSG::PYE
Created:Thu Jan 30 1992
Last Modified:Tue Jan 23 1996
Last Successful Update:Fri Jun 06 1997
Number of topics:4343
Total number of notes:18308

936.0. "Rename dup key error" by NCBOOT::HARRIS (oooppps) Thu Jun 25 1992 20:53

    i'm trying to rename an ALL-IN-1 account and keep getting the following
    error, even though a profile entry with new name is created.
    anyone out there know what this means?
    
    		TIA - ann
    
    
    $       run/nodeb oa$lib:mua_rename_pending
    %RMS-F-DUP, duplicate key detected (DUP not set)
    $ invalid_condition:
    $       set noon
    $       fail_reason = "OA$_MUA_BCH_FAILED_ERROR_CONDX"
    $       wso "%CLI-S-NORMAL, normal successful completion"
    %CLI-S-NORMAL, normal successful completion
    $!
    
T.RTitleUserPersonal
Name
DateLines
936.1A former user of the same name?BUFFER::VICKERSRearranging the DEChairsThu Jun 25 1992 22:396
    It sounds like there may be a PENDING record with a user name the same
    as the new username.  You could do a RUC from the SM MM menu to blow
    away any possible PENDING record before doing the rename.

    Hope that helps,
    don
936.2He's right yet againAIMTEC::WICKS_ADEC Mail Works for ME sometimesThu Jun 25 1992 23:0968
    Ann,

    Sir Donald is of course correct - here's the STARS article.

    Regards,

    Andrew.D.wicks

    Rename User Account (RNA) Fails With %RMS-F-DUP Error In Log. The Rename
    User Account (RNA) PROCEDURE from the Manage User Accounts (MUA) menu fails
    with the message:

	"Failed to recover from an error condition"

    The error in the log file created in OA$LOG:OA$adminuser_RNA_renameuser.LOG 
    indicated the following error:

	$run/nodeb oa$lib:mua_rename_pending
	%RMS-F-DUP, duplicate key detected (DUP not set)
	$invalid_condition: 
	. 
	. 

    CAUSE:

    The Rename User account attempts to rename the existing users pending 
    record to the new user name which you are attempting to rename to. If a
    record already exists in the pending file for the new user name (which you
    are attempting to rename the user to), this error will occur and cause the
    procedure to fail.

    A pending record for the new user name could exist as a result of a
    previous failed Rename User (RNA) attempt which had successfully renamed
    the pending file before it failed or if a user had previously existed on
    the system by this name.

    SOLUTION: 

    In order to use the RNA option to rename an existing user account, there
    must not be a pending record existing for the user account name which you
    are attempting to rename to (the new account name). 

    Example, you have a user names SMITH, and you attempt to rename this user
    to BROWN.You must make sure that a pending record does not exist for the
    name BROWN before you attempt to perform this rename. To make sure, you
    should purge the pending record for this account name. 

    You can verify whether a record exists in the pending file for a user
    account name using the DCL commands below:

	$SEARCH OA$DATA:PENDING.DAT "username" 

    where "username" is the ALL-IN-1 account name which you are attempting to
    rename to.

    If a record displays, then the user does have an existing pending record,
    if no matches are found, then the user has no pending record.

    To purge the existing pending record for the username you are attempting to
    rename the account to use the Reset Users Mail Count (RUC) option from the
    MGT MM menu.Then enter the user account name that you wish to rename the
    existing account to. A message will display indicating the number of
    records deleted.If it is zero, then there was no record for this account
    name in the pending file, if it is one or greater that a record did exist
    and it has been deleted.

    Once the pending record is purged, attempt to rename the user account
    again.

936.4RUC to delete itFORTY2::ASHGrahame Ash @REOFri Jun 26 1992 10:036
>    mail.  will have him read it and then try again.
    
Not that just reading the Unread mail won't delete the Pending record - it 
just 'empties' it. As Don said, RUC to delete the record so RMS won't find it.

grahame