<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <font face="Carlito">Hi,<br>
      <br>
      Great, modifying
      /usr/lib/python2.7/site-packages/ipalib/constants.py did the
      trick! Setting startup_timeout to 600 seconds was enough.... :)
      After setting startup_timeout=600 in /etc/ipa/default.conf
      restarting freeipa worked well allthough it takes somewhere
      between 5 and 10 minutes....<br>
      <br>
      Never mind, it all works now and will try if it is usable on a
      small scale @home (a few computers, a hand full of users)<br>
      <br>
      Thankz!<br>
      <br>
      Winfried<br>
      <br>
      <br>
    </font><br>
    <div class="moz-cite-prefix">Op 07-04-15 om 11:00 schreef Martin
      Basti:<br>
    </div>
    <blockquote cite="mid:55239CA1.5070709@redhat.com" type="cite">
      <meta content="text/html; charset=windows-1252"
        http-equiv="Content-Type">
      <div class="moz-cite-prefix">I realize the default.conf is
        replaced during install, pausing IPA will not help.<br>
        <br>
        The easiest way is modify the source file.<br>
        ipalib/constants.py:    ('startup_timeout', 300),<br>
        <br>
        The file should be in
        /usr/lib/python2.7/site-packages/ipalib/constants.py<br>
        Modify file and run ipa-server-install, it should work.<br>
        <br>
        HTH<br>
        Martin<br>
        <br>
        <br>
        On 07/04/15 10:05, Winfried de Heiden wrote:<br>
      </div>
      <blockquote cite="mid:55238FE2.9030902@dds.nl" type="cite">
        <meta content="text/html; charset=windows-1252"
          http-equiv="Content-Type">
        <font face="Carlito">Hi,<br>
          <br>
          I gave it a try, but neither ~/.ipa/default.conf or
          /etc/ipa/default.conf did work. I also tried "to fool" the
          ipa-server-install script by pausing it and wait for the CA to
          start. After "un-pausing" the script the same error occurs: "</font><font
          face="Carlito">CA did not start in 300.0s"<br>
          <br>
          I might try to hack the services.py script but anyone got
          another suggestion?<br>
          <br>
          Kind regards,<br>
          <br>
          Winfried<br>
          <br>
        </font>
        <div class="moz-cite-prefix">Op 02-04-15 om 13:38 schreef Martin
          Basti:<br>
        </div>
        <blockquote cite="mid:551D2A2D.1020901@redhat.com" type="cite">
          <meta content="text/html; charset=windows-1252"
            http-equiv="Content-Type">
          <div class="moz-cite-prefix">On 02/04/15 12:53, Winfried de
            Heiden wrote:<br>
          </div>
          <blockquote cite="mid:551D1F8E.2080707@dds.nl" type="cite">
            <meta http-equiv="content-type" content="text/html;
              charset=windows-1252">
            <font face="Carlito">Hi all,<br>
              <br>
              "Because I can try" I gave a shot on installing
              freeipa-server on a Raspberry Pi 2. I used Fedora 21 for
              this. Installing  looks promising, but fails somewhere
              halfway:<br>
              <br>
            </font>
            <blockquote><font face="Carlito">  [8/27]: starting
                certificate server instance</font><br>
              <font face="Carlito">  [error] RuntimeError: CA did not
                start in 300.0s</font><br>
              <font face="Carlito">CA did not start in 300.0s</font><br>
            </blockquote>
            <font face="Carlito"><br>
              and the install log will tell:<br>
              <br>
            </font>
            <blockquote><font face="Carlito">[root@ipa log]# tail 
                /var/log/ipaserver-install.log </font><br>
              <font face="Carlito">  File
                "/usr/lib/python2.7/site-packages/ipaserver/install/service.py",
                line 279, in start</font><br>
              <font face="Carlito">    self.service.start(instance_name,
                capture_output=capture_output, wait=wait)</font><br>
              <br>
              <font face="Carlito">  File
                "/usr/lib/python2.7/site-packages/ipaplatform/redhat/services.py",
                line 229, in start</font><br>
              <font face="Carlito">    self.wait_until_running()</font><br>
              <br>
              <font face="Carlito">  File
                "/usr/lib/python2.7/site-packages/ipaplatform/redhat/services.py",
                line 223, in wait_until_running</font><br>
              <font face="Carlito">    raise RuntimeError('CA did not
                start in %ss' % timeout)</font><br>
              <br>
              <font face="Carlito">2015-04-02T09:58:36Z DEBUG The
                ipa-server-install command failed, exception:
                RuntimeError: CA did not start in 300.0s</font><br>
            </blockquote>
            <font face="Carlito"><br>
              I 'm wondering if this is a timing issue... Of course the
              Pi2 tends to be slow and no wonder starting things will
              takes "some time"... (Yep, I 'm trying to move tons of
              stones using only a 2CV car...) The catalina log (that's
              the CA (Tomcat) log right?)<br>
              tells it needs some more time to start:<br>
              <br>
            </font>
            <blockquote><font face="Carlito">[root@ipa pki-tomcat]# tail
                /var/log/pki/pki-tomcat/catalina.2015-04-02.log </font><br>
              <font face="Carlito">Apr 02, 2015 11:59:20 AM
                org.apache.catalina.startup.HostConfig deployDescriptor</font><br>
              <font face="Carlito">INFO: Deployment of configuration
                descriptor
                /etc/pki/pki-tomcat/Catalina/localhost/ROOT.xml has
                finished in 84,815 ms</font><br>
              <font face="Carlito">Apr 02, 2015 11:59:20 AM
                org.apache.coyote.AbstractProtocol start</font><br>
              <font face="Carlito">INFO: Starting ProtocolHandler
                ["http-bio-8080"]</font><br>
              <font face="Carlito">Apr 02, 2015 11:59:20 AM
                org.apache.coyote.AbstractProtocol start</font><br>
              <font face="Carlito">INFO: Starting ProtocolHandler
                ["http-bio-8443"]</font><br>
              <font face="Carlito">Apr 02, 2015 11:59:20 AM
                org.apache.coyote.AbstractProtocol start</font><br>
              <font face="Carlito">INFO: Starting ProtocolHandler
                ["ajp-bio-127.0.0.1-8009"]</font><br>
              <font face="Carlito">Apr 02, 2015 11:59:20 AM
                org.apache.catalina.startup.Catalina start</font><br>
              <font face="Carlito">INFO: Server startup in 355603 ms</font><br>
              <br>
            </blockquote>
            <font face="Carlito">Anyone got an idea how to set the time
              out for the CA to start to 10 or 15 minuten? Any other
              sugestion what is causing this problem? (no, I am not
              upgrading from an older version, this is a fresh install)</font><br>
            <font face="Carlito"><br>
              Kind regards,<br>
              <br>
              Winfried<br>
              <br>
              <br>
            </font> <br>
            <fieldset class="mimeAttachmentHeader"></fieldset>
            <br>
          </blockquote>
          Hello,<br>
          you can try:<br>
          <br>
          <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="https://www.redhat.com/archives/freeipa-users/2015-April/msg00076.html">https://www.redhat.com/archives/freeipa-users/2015-April/msg00076.html</a><br>
          <br>
          <br>
          <br>
          <pre class="moz-signature" cols="72">-- 
Martin Basti</pre>
        </blockquote>
        <br>
      </blockquote>
      <br>
      <br>
      <pre class="moz-signature" cols="72">-- 
Martin Basti</pre>
    </blockquote>
    <br>
  </body>
</html>