Thanks all .<br><br>After I remove the 389 packages and reinstall the 389 again .<br><br>Then run the "389-console"command on my console , it will display the enter screen .<br><br>Maybe it will ok now . <br><br>
<br><br><div class="gmail_quote">On Tue, Feb 2, 2010 at 11:33 AM, Rich Megginson <span dir="ltr"><<a href="mailto:rmeggins@redhat.com">rmeggins@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">Majian wrote:<br>
> Thanks , I will try to do it with your advice ..<br>
> In addition , my server could not connect the Internet , so maybe<br>
> could not run the "yum remove ..."<br>
</div>There should be some option you can pass to yum to tell it not to<br>
connect to the internet, in order to run yum erase.<br>
<div class="im">><br>
> So I download all the 389 packages via another computer which can<br>
> connect the Internet .<br>
> and run the "rpm -ivh xxxx" one by one .<br>
><br>
> Would it have differences between the yum install and "rpm -ivh " ...?<br>
</div>possibly - the nice thing about yum is that it finds all of the<br>
dependencies for you<br>
<div class="im">><br>
><br>
> 2010/2/2 Ajeet S Raina <<a href="mailto:ajeetraina@gmail.com">ajeetraina@gmail.com</a><br>
</div>> <mailto:<a href="mailto:ajeetraina@gmail.com">ajeetraina@gmail.com</a>>><br>
<div class="im">><br>
> It seems that the 389-ds package are not removed properly.<br>
> I faced the issue couple of time and can help you out with the same.<br>
><br>
> Step 0:service dirsrv stop;service dirsrv-admin stop >> Most Important<br>
> Step 1: Delete dirsrv under /etc<br>
> Step 2: Delete setup* under /tmp<br>
> Step 3: yum remove 389-*<br>
> Step 4: Restart the Server: Reason: Port 389 remains open<br>
> Step 5:yum install 389-*<br>
> Step 6: Now everything will go fine.<br>
><br>
> Please dont forget to thank me back if it works !!<br>
><br>
> Revert back if anywhere you face any issue.<br>
><br>
> Happy LinuXing !!!<br>
><br>
><br>
> On Mon, Feb 1, 2010 at 9:20 PM, Rich Megginson<br>
</div><div><div></div><div class="h5">> <<a href="mailto:rmeggins@redhat.com">rmeggins@redhat.com</a> <mailto:<a href="mailto:rmeggins@redhat.com">rmeggins@redhat.com</a>>> wrote:<br>
><br>
> Majian wrote:<br>
> > Hi ,all :<br>
> ><br>
> > During I install the 389 directory server ,the result is<br>
> the following :<br>
> ><br>
> ><br>
> > ...<br>
> ><br>
> > ..<br>
> ><br>
> > Are your ready to set up you servers?<br>
> > Creating directory server ...<br>
> > Your new DS instance "xx" was successfully created .<br>
> ><br>
> > Creating the configuration directory server...<br>
> > Could not authenticate as user<br>
> ><br>
> "uid=admin,ou=Administrators,ou=TopologyManagement,o=NetscapeRoot"<br>
> > to server "ldap://<a href="http://cds.mobilepeak.com.cn:389/o=NetscapeRoot" target="_blank">cds.mobilepeak.com.cn:389/o=NetscapeRoot</a><br>
> <<a href="http://cds.mobilepeak.com.cn:389/o=NetscapeRoot" target="_blank">http://cds.mobilepeak.com.cn:389/o=NetscapeRoot</a>><br>
> > <<a href="http://cds.mobilepeak.com.cn:389/o=NetscapeRoot" target="_blank">http://cds.mobilepeak.com.cn:389/o=NetscapeRoot</a>>" . Error:<br>
> Invaild<br>
> > credentials<br>
> ><br>
> ><br>
> > Could not register the directory server with the configuration<br>
> > directory server<br>
> > Exiting ....<br>
> ><br>
> > Log file is '/tmp/...."<br>
> ><br>
> ><br>
> > Why does it become that ? Could someone give some advices<br>
> to me ?<br>
> ><br>
> > I installed the "centos directory server " on that server<br>
> previously,<br>
> > but i have already remove all the file via "yum erase<br>
> "centos-ds"."<br>
> ><br>
> ><br>
> > Maybe is it associated with that ?<br>
> Yes. If you have previously run <a href="http://setup-ds-admin.pl" target="_blank">setup-ds-admin.pl</a><br>
</div></div>> <<a href="http://setup-ds-admin.pl" target="_blank">http://setup-ds-admin.pl</a>>, you must run<br>
> <a href="http://remove-ds-admin.pl" target="_blank">remove-ds-admin.pl</a> <<a href="http://remove-ds-admin.pl" target="_blank">http://remove-ds-admin.pl</a>> to completely<br>
<div class="im">> remove everything. In addition, yum<br>
> erase centos-ds will just remove the centos-ds "meta" package<br>
> - if you<br>
> want to remove the actual real packages, do the following:<br>
> yum erase centos-ds-base centos-idm-console adminutil<br>
</div>> after running <a href="http://remove-ds-admin.pl" target="_blank">remove-ds-admin.pl</a> <<a href="http://remove-ds-admin.pl" target="_blank">http://remove-ds-admin.pl</a>><br>
<div class="im">> ><br>
> ><br>
> > Thanks in advance ~<br>
> ><br>
> ><br>
> ><br>
> ><br>
> ><br>
> ------------------------------------------------------------------------<br>
> ><br>
> > --<br>
> > 389 users mailing list<br>
> > <a href="mailto:389-users@lists.fedoraproject.org">389-users@lists.fedoraproject.org</a><br>
</div>> <mailto:<a href="mailto:389-users@lists.fedoraproject.org">389-users@lists.fedoraproject.org</a>><br>
<div class="im">> > <a href="https://admin.fedoraproject.org/mailman/listinfo/389-users" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/389-users</a><br>
><br>
> --<br>
> 389 users mailing list<br>
> <a href="mailto:389-users@lists.fedoraproject.org">389-users@lists.fedoraproject.org</a><br>
</div>> <mailto:<a href="mailto:389-users@lists.fedoraproject.org">389-users@lists.fedoraproject.org</a>><br>
<div class="im">> <a href="https://admin.fedoraproject.org/mailman/listinfo/389-users" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/389-users</a><br>
><br>
><br>
><br>
><br>
> --<br>
><br>
><br>
> ”It is not possible to rescue everyone who is caught in the<br>
> Windows quicksand<br>
> --Make sure you are on solid Linux ground before trying.”<br>
><br>
><br>
><br>
> --<br>
> 389 users mailing list<br>
> <a href="mailto:389-users@lists.fedoraproject.org">389-users@lists.fedoraproject.org</a><br>
</div>> <mailto:<a href="mailto:389-users@lists.fedoraproject.org">389-users@lists.fedoraproject.org</a>><br>
<div><div></div><div class="h5">> <a href="https://admin.fedoraproject.org/mailman/listinfo/389-users" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/389-users</a><br>
><br>
><br>
> ------------------------------------------------------------------------<br>
><br>
> --<br>
> 389 users mailing list<br>
> <a href="mailto:389-users@lists.fedoraproject.org">389-users@lists.fedoraproject.org</a><br>
> <a href="https://admin.fedoraproject.org/mailman/listinfo/389-users" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/389-users</a><br>
<br>
--<br>
389 users mailing list<br>
<a href="mailto:389-users@lists.fedoraproject.org">389-users@lists.fedoraproject.org</a><br>
<a href="https://admin.fedoraproject.org/mailman/listinfo/389-users" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/389-users</a><br>
</div></div></blockquote></div><br>