Error -641 While logging in as admin in the dsrepair screens requiring login

  • 3672896
  • 27-Sep-2006
  • 16-Mar-2012

Environment

Novell NetWare 6.5 Support Pack 3

eDirectory 8.7.3.5

iManager 2.5

Situation

ERROR: "Unable to login, Error: -641" While logging in as admin in the dsrepair screens requiring login

ERROR: "Error -641" While logging in to iManager using Tree name in TREE field

Resolution

1. On the System Console of the server, type "DSREPAIR" without quotes and press Enter

2. Scroll down to "Advanced options menu" and press Enter

3. Scroll down to "Replica and partition operations" and press Enter

Verify that all replicas are set to ON. Check this on all servers in tree.

Now check replica ring of all partitions in tree. Follow steps 1 through 3 above. Select the first partition name and press Enter, then press enter on "View Replica Ring". This will list name of servers holding replica of the partition which you selected. Check this on all servers which holds the respective replica and make sure that the ring is same. If that is true, run Dsrepair -RC on all servers.

On the server which is in question,

1. On the System Console of the server, type "DSREPAIR" without quotes and press Enter

2. Scroll down to "Advanced options menu" and press Enter

3. Scroll down to "Repair local DS database" and press Enter

4. Press F10 without changing anything and Select Yes to Repair Directory

5. Perform steps 3 and 4 till there are 0 errors

If Repair local DS database does not resolve the issue, promote another server which holds a Read Write replica as Master for all the partitions that this server is Master for by following the steps listed below

1. On the System Console of the server, type "DSREPAIR" without quotes and press Enter

2. Scroll down to "Advanced options menu" and press Enter

3. Scroll down to "Replica and partition operations" and press Enter

4. Highlight the Read/Write replica which needs to be promoted to Master and Press Enter

5. Scroll down to "Designate this server as the new master replica" and press Enter

Now remove replicas from the server in question using ConsoleOne. Run backlink process on this server using below commands

1. SET DSTRACE=ON
2. SET DSTRACE=+BLINK
3. SET DSTRACE=*B

Go to Directory Services screen and verify that there are no errors. Now add replica back to the server using ConsoleOne and now you should be able to login as admin or any other user in Dsrepair. Also iManager would allow you to login using Tree name in the TREE field.

Additional Information

The server has Master replica of the Root partition. There is another server which is NetWare 5.1, eDirectory 8.85C with Read/Write replica on it. Cannot login as admin or any other user in the dsrepair screens that requires login or Dsrepair | Advanced options | Log file and Login configuration. "ERROR: Unable to login, Error: -641". Other servers with Read Write replica can login just fine.

No errors in Timesync, Replica sync & Schema sync. In iManager login screen if IP address is used instead of tree name, iManager works perfect.

Formerly known as TID# 10101186