Have you add your <a href="http://ipa.domain.com">ipa.domain.com</a> ip address on /etc/hosts file? The error seems like your installation can't resolve the ip address.<div><br>On Wednesday, May 27, 2015, Ricardo Oliveira <<a href="mailto:n3g4s@hotmail.com">n3g4s@hotmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div dir="ltr">
<div dir="ltr">
<div dir="ltr">Hi,<br><br>I've been trying to setup IPA on CentOS 6.6 with the --setup-dns option on, using the CentOS provided packages:<br><br>rpm<br><br>My problem is that everything is installed except when I use this flag.<br>So, when I run:<br><br>ipa-server-install -a sillyPassword123 --hostname=<a href="http://ipa.mydomain.com" target="_blank">ipa.mydomain.com</a> -r <a href="http://MYDOMAIN.COM" target="_blank">MYDOMAIN.COM</a> -p sillyPassword123 -n <a href="http://mydomain.com" target="_blank">mydomain.com</a> -U<br><br>The installation finishes successfully.<br>If I add DNS switches to the installation, it fails almost at the end:<br><br>ipa-server-install -a sillyPassword123 --hostname=<a href="http://ipa.mydomain.com" target="_blank">ipa.mydomain.com</a> -r <a href="http://MYDOMAIN.COM" target="_blank">MYDOMAIN.COM</a> -p sillyPassword123 -n <a href="http://mydomain.com" target="_blank">mydomain.com</a> -U --setup-dns --no-forwarders<br><br>Output (clipped):<br>---------------------------------------------------<br>...<br>Configuring the web interface (httpd): Estimated time 1 minute<br> [1/13]: setting mod_nss port to 443<br> [2/13]: setting mod_nss password file<br> [3/13]: enabling mod_nss renegotiate<br> [4/13]: adding URL rewriting rules<br> [5/13]: configuring httpd<br> [6/13]: setting up ssl<br> [7/13]: setting up browser autoconfig<br> [8/13]: publish CA cert<br> [9/13]: creating a keytab for httpd<br> [10/13]: clean up any existing httpd ccache<br> [11/13]: configuring SELinux for httpd<br> [12/13]: restarting httpd<br> [13/13]: configuring httpd to start on boot<br>Done configuring the web interface (httpd).<br>Applying LDAP updates<br>Restarting the directory server<br>Restarting the KDC<br>Can't contact LDAP server<br>[root@ipa ~]# <br>---------------------------------------------------<br>The screen output is at <a href="http://pastebin.com/HKiUwKq4" target="_blank">http://pastebin.com/HKiUwKq4</a></div><div dir="ltr">The end of the error log is at <a href="http://pastebin.com/jDUhBCL7" target="_blank">http://pastebin.com/jDUhBCL7</a> (it's a 29 MB file so I only pasted the end of it).<br>If anyone has come across anything like this, I would appreciate your help.</div><div dir="ltr"><br>Thanks.<br>Ricardo.<br></div>
</div>
</div></div>
</blockquote></div><br><br>-- <br>Sent from iDewangga Device<br>