Thanks all . After I remove the 389 packages and reinstall the 389 again . Then run the "389-console"command on my console , it will display the enter screen . Maybe it will ok now . On Tue, Feb 2, 2010 at 11:33 AM, Rich Megginson <rmeggins at redhat.com> wrote: > Majian wrote: > > Thanks , I will try to do it with your advice .. > > In addition , my server could not connect the Internet , so maybe > > could not run the "yum remove ..." > There should be some option you can pass to yum to tell it not to > connect to the internet, in order to run yum erase. > > > > So I download all the 389 packages via another computer which can > > connect the Internet . > > and run the "rpm -ivh xxxx" one by one . > > > > Would it have differences between the yum install and "rpm -ivh " ...? > possibly - the nice thing about yum is that it finds all of the > dependencies for you > > > > > > 2010/2/2 Ajeet S Raina <ajeetraina at gmail.com > > <mailto:ajeetraina at gmail.com>> > > > > 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 at redhat.com <mailto:rmeggins at 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> > > > <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 > > <http://setup-ds-admin.pl>, you must run > > remove-ds-admin.pl <http://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 <http://remove-ds-admin.pl> > > > > > > > > > Thanks in advance ~ > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > -- > > > 389 users mailing list > > > 389-users at lists.fedoraproject.org > > <mailto:389-users at lists.fedoraproject.org> > > > https://admin.fedoraproject.org/mailman/listinfo/389-users > > > > -- > > 389 users mailing list > > 389-users at lists.fedoraproject.org > > <mailto:389-users at 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.? > > > > > > > > -- > > 389 users mailing list > > 389-users at lists.fedoraproject.org > > <mailto:389-users at lists.fedoraproject.org> > > https://admin.fedoraproject.org/mailman/listinfo/389-users > > > > > > ------------------------------------------------------------------------ > > > > -- > > 389 users mailing list > > 389-users at lists.fedoraproject.org > > https://admin.fedoraproject.org/mailman/listinfo/389-users > > -- > 389 users mailing list > 389-users at lists.fedoraproject.org > https://admin.fedoraproject.org/mailman/listinfo/389-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.fedoraproject.org/pipermail/389-users/attachments/20100202/467cf173/attachment-0001.html