<div dir="ltr"><div><div><div>My install fails on the invocation of pkispawn with a Socket Error in the pki-ca-spawn log  ; anyone have any ideas?  (It isn't the issue with special characters in the DM's password, as my Directory Manager and IPA Admin passwords may be 32 characters long, but only contain [A-Za-z0-9_] )<br>
</div><div><br>Configuration and Error Messages follow.<br><br>Target System: Fedora19 64bit LXC Container running on top of a Fedora19 64bit host.  Kernel 3.11.10, Q9550 Intel CPU.<br></div>Attempting to install freeipa server 3.3.3 .  SEllinux has been set to 'disabled' on the host and container.  <br>
</div><div><br></div><div>/etc/hosts:<br># IP            FQDN                            Alias(es)<br>127.0.0.1       localhost.localdomain           localhost localhost4<br>192.168.253.94  <a href="http://woeg.marphod.net">woeg.marphod.net</a>                woeg <br>
<br># Peers<br>192.168.253.99  <a href="http://skete.marphod.net">skete.marphod.net</a>               skete <a href="http://wiki.marphod.net">wiki.marphod.net</a> wiki <a href="http://www.marphod.net">www.marphod.net</a> www<br>
</div><div>[... several more machines]<br><br></div><div>/etc/resolv.conf<br></div><div>; generated by /usr/sbin/dhclient-script<br>search <a href="http://marphod.net">marphod.net</a><br>nameserver 192.168.253.1<br><br></div>
<div>/etc/sysconfig/network:<br>NETWORKING=yes<br>HOSTNAME=<a href="http://woeg.marphod.net">woeg.marphod.net</a><br><br></div><div><div>No software firewall on the Container:<br></div><div># iptables -L<br></div><div>Chain INPUT (policy ACCEPT)<br>
target     prot opt source               destination         <br><br>Chain FORWARD (policy ACCEPT)<br>target     prot opt source               destination         <br><br>Chain OUTPUT (policy ACCEPT)<br>target     prot opt source               destination    <br>
</div><br><br></div><div>Not using NetworkManager.  The machine has a virtual nic, and is connected to the bridge on the host, and can interact with the outside world.<br></div><div><br></div><div>Installation commands:<br>
# ipa-server-install --uninstall -U<br># pkidestroy -s CA -i pki-tomcat<br># ipa-server-install -N -d --no-host-dns<br><br></div><div>I select the defaults during the interactive install.<br></div><div><br></div><div></div>
During installation, everything seems to run fine up to the invocation of pkispawn.   I then get the errors:<br><text><br>Installing CA into /var/lib/pki/pki-tomcat.<br></div><div>Storing deployment configuration into /etc/sysconfig/pki/tomcat/pki-tomcat/ca/deployment.cfg.<br>
Installation failed.<br><br>ipa         : DEBUG    stderr=Job for pki-tomcatd@pki-tomcat.service failed. See 'systemctl status pki-tomcatd@pki-tomcat.service' and 'journalctl -xn' for details.<br>pkispawn    : ERROR    ....... server failed to restart<br>
<br>ipa         : CRITICAL failed to configure ca instance Command '/usr/sbin/pkispawn -s CA -f /tmp/tmpwNB5bU' returned non-zero exit status 1<br>ipa         : DEBUG      File "/usr/lib/python2.7/site-packages/ipaserver/install/installutils.py", line 622, in run_script<br>
    return_value = main_function()<br><br>  File "/usr/sbin/ipa-server-install", line 1074, in main<br>    dm_password, subject_base=options.subject)<br><br>  File "/usr/lib/python2.7/site-packages/ipaserver/install/cainstance.py", line 478, in configure_instance<br>
    self.start_creation(runtime=210)<br><br>  File "/usr/lib/python2.7/site-packages/ipaserver/install/service.py", line 364, in start_creation<br>    method()<br><br>  File "/usr/lib/python2.7/site-packages/ipaserver/install/cainstance.py", line 604, in __spawn_instance<br>
    raise RuntimeError('Configuration of CA failed')<br><br>ipa         : DEBUG    The ipa-server-install command failed, exception: RuntimeError: Configuration of CA failed<br>Configuration of CA failed<br></div>
<div></text><br><br></div><div>the relevant errors from /var/log/pki/pki-ca-spawn.timestamp.log: (the ... skipping... is from the file)<br></div><div><text><br></div><div>...skipping...<br>y still be down<br>2013-12-16 18:12:23 pkispawn    : DEBUG    ........... No connection - exception thrown: Cannot connect to proxy. Socket error: [Errno 111] Connection refused.<br>
2013-12-16 18:12:24 pkispawn    : DEBUG    ........... No connection - server may still be down<br>2013-12-16 18:12:24 pkispawn    : DEBUG    ........... No connection - exception thrown: Cannot connect to proxy. Socket error: [Errno 111] Connection refused.<br>
2013-12-16 18:12:25 pkispawn    : DEBUG    ........... No connection - server may still be down<br></div><div>...<br>(error repeated 12 more times)<br>...<br>2013-12-16 18:12:39 pkispawn    : ERROR    ....... server failed to restart<br>
2013-12-16 18:12:39 pkispawn    : DEBUG    ....... Error Type: SystemExit<br>2013-12-16 18:12:39 pkispawn    : DEBUG    ....... Error Message: 1<br>2013-12-16 18:12:39 pkispawn    : DEBUG    .......   File "/usr/sbin/pkispawn", line 374, in main<br>
    rv = instance.spawn()<br>  File "/usr/lib/python2.7/site-packages/pki/deployment/configuration.py", line 102, in spawn<br>    sys.exit(1)<br></div><div></text><br><br><br><br></div><div><div><div><div>
<br><br clear="all"><div>----------------------------------------------------------------------<br>That's the news from the Mystic River, where all the alliums are strong, all the degu are good looking, and all the stuffed animals are above average.<br>
"May the ducks of your life quack ever harmoniously" - A. Yelton<br><a href="mailto:galens@capaccess.org" target="_blank">galens@capaccess.org</a> <a href="mailto:galens@marphod.net" target="_blank">galens@marphod.net</a> <a href="mailto:marphod@gmail.com" target="_blank">marphod@gmail.com</a> & others</div>

</div></div></div></div></div>