| 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.
|