It seems that the 389-ds package are not removed properly.
I faced the issue couple of time and can help you out with the same.

Step 0:service dirsrv stop;service dirsrv-admin stop >> Most Important
Step 1: Delete dirsrv under /etc
Step 2: Delete setup* under /tmp
Step 3: yum remove 389-*
Step 4: Restart the Server: Reason: Port 389 remains open
Step 5:yum install 389-*
Step 6: Now everything will go fine.

Please dont forget to thank me back if it works !!

Revert back if anywhere you face any issue.

Happy LinuXing !!!

On Mon, Feb 1, 2010 at 9:20 PM, Rich Megginson <rmeggins@redhat.com> wrote:
Majian wrote:
> Hi ,all :
>
>  During I install the 389 directory server ,the result is the following :
>
>
> ...
>
> ..
>
> Are your ready to set up you servers?
> Creating directory server ...
> Your new DS instance "xx" was successfully created .
>
> Creating the configuration directory server...
> Could not authenticate as user
> "uid=admin,ou=Administrators,ou=TopologyManagement,o=NetscapeRoot"
> to server "ldap://cds.mobilepeak.com.cn:389/o=NetscapeRoot
> <http://cds.mobilepeak.com.cn:389/o=NetscapeRoot>" . Error: Invaild
> credentials
>
>
> Could not register the directory server with the configuration
> directory server
> Exiting ....
>
> Log file is '/tmp/...."
>
>
> Why does it become  that ?  Could someone give some advices to me ?
>
> I installed the "centos directory server " on that server previously,
> but i have already remove all the file via "yum erase "centos-ds"."
>
>
> Maybe is it  associated with that ?
Yes.  If you have previously run setup-ds-admin.pl, you must run
remove-ds-admin.pl to completely remove everything.  In addition, yum
erase centos-ds will just remove the centos-ds "meta" package - if you
want to remove the actual real packages, do the following:
yum erase centos-ds-base centos-idm-console adminutil
after running remove-ds-admin.pl
>
>
> Thanks in advance ~
>
>
>
>
> ------------------------------------------------------------------------
>
> --
> 389 users mailing list
> 389-users@lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/389-users

--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users



--


”It is not possible to rescue everyone who is caught in the Windows quicksand
          --Make sure you are on solid Linux ground before trying.”