<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    It worked! After removing all traces of pythons I could find (clean
    uninstall of all I could and deletions of the rest), and
    reinstalling python2.6 and all the dependencies the isapi_wsgi test
    worked. OMERO.web failed the first time but seemed to be working
    from then on (but that is a known issue I believe?). Well it only
    took me 4.5 days...<br>
    <br>
    Many thanks again for the help (and I'll be sure we take a linux
    server the next time)<br>
    <br>
    A.<br>
    <br>
    <div class="moz-cite-prefix">On 18/09/2014 13:26, Simon Li wrote:<br>
    </div>
    <blockquote cite="mid:D0408C4F.5C11%25spli@dundee.ac.uk" type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <div>It sounds like IIS is confused by your Python installation,
        from what I can tell IIS completely ignores any environment
        variables and obtains the Python location from somewhere in the
        Windows registry. All I can suggest is to try various
        combinations of uninstalling/reinstalling Python and isapi_wsgi
        (including manually deleting any files if necessary).</div>
      <div><br>
      </div>
      <div>Simon</div>
      <div><br>
      </div>
      <span id="OLK_SRC_BODY_SECTION">
        <div>
          <div>On 18/09/2014 13:13, "Anatole Chessel" <<a
              moz-do-not-send="true"
              href="mailto:anatole.chessel@gurdon.cam.ac.uk">anatole.chessel@gurdon.cam.ac.uk</a>>
            wrote:</div>
        </div>
        <div><br>
        </div>
        <blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE"
          style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0
          0 0 5;">
          <div>
            <div bgcolor="#FFFFFF" text="#000000"><br>
              That gave the same error 'Failed to import...'. Weirdly,
              if I put the 32bit to false, it gives a different error,
              the one you would expect from a 632/64bit mismatch, so it
              does seem to see the file...<br>
              <br>
              A.<br>
              <br>
              <br>
              <div class="moz-cite-prefix">On 18/09/2014 12:19, Simon Li
                wrote:<br>
              </div>
              <blockquote cite="mid:D0407E1A.5BF1%25spli@dundee.ac.uk"
                type="cite">
                <div>
                  <div>Hi Anatole</div>
                  <div><br>
                  </div>
                  <div>I’m testing IIS at the moment (it seems to be
                    particularly sensitive to the Python setup). I’ll
                    let you know.</div>
                  <div><br>
                  </div>
                  <div>In the meantime can you check if isapi_wsgi is
                    working irrespective of OMERO? Follow the
                    instructions at the bottom of <a
                      moz-do-not-send="true"
href="https://code.google.com/p/isapi-wsgi/wiki/InstallationInstructions#Testing">https://code.google.com/p/isapi-wsgi/wiki/InstallationInstructions#Testing</a></div>
                  <div><br>
                  </div>
                  <div>Simon</div>
                </div>
                <div><br>
                </div>
                <div><br>
                </div>
                <span id="OLK_SRC_BODY_SECTION">
                  <div>
                    <div>On 18/09/2014 12:05, "Anatole Chessel" <<a
                        moz-do-not-send="true"
                        href="mailto:anatole.chessel@gurdon.cam.ac.uk">anatole.chessel@gurdon.cam.ac.uk</a>>
                      wrote:</div>
                  </div>
                  <div><br>
                  </div>
                  <blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE"
                    style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0
                    5; MARGIN:0 0 0 5;">
                    <div>
                      <div bgcolor="#FFFFFF" text="#000000"><br>
                        That did work, omero seem to start normally!
                        Simon, I owe you a beer.<br>
                        <br>
                        OMERO.web is still broken however, in the same
                        way as with ice3.5/python2.7 64bits (see the
                        forum thread linked below), ie, with an error
                        logged by 'ISAPI Filter or Extention' saying
                        'Failed to import callback module
                        'omero_web_iis' The system cannot find the file
                        specified.'. However that is most likely a
                        completely separate error, due to my iis being
                        strangely configured...<br>
                        <br>
                        Thanks<br>
                        A.<br>
                        <br>
                        <br>
                        <div class="moz-cite-prefix">On 18/09/2014
                          11:01, Simon Li wrote:<br>
                        </div>
                        <blockquote
                          cite="mid:D0406BD5.5BC4%25spli@dundee.ac.uk"
                          type="cite">
                          <div>Can you try deleting the
                            OMERO.server-5.0.4-ice34-b43\var directory
                            and seeing if OMERO starts up?</div>
                          <div><br>
                          </div>
                          <div>Simon</div>
                          <div><br>
                          </div>
                          <span id="OLK_SRC_BODY_SECTION">
                            <div>
                              <div>On 18/09/2014 10:55, "Anatole
                                Chessel" <<a moz-do-not-send="true"
                                  href="mailto:anatole.chessel@gurdon.cam.ac.uk">anatole.chessel@gurdon.cam.ac.uk</a>>
                                wrote:</div>
                            </div>
                            <div><br>
                            </div>
                            <blockquote
                              id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE"
                              style="BORDER-LEFT: #b5c4df 5 solid;
                              PADDING:0 0 0 5; MARGIN:0 0 0 5;">
                              <div>
                                <div bgcolor="#FFFFFF" text="#000000"><br>
                                  Actually, I just realised that a bunch
                                  of errors/informations are logged in
                                  the windows event viewer, which may
                                  help diagnose things:<br>
                                  4 information events, from
                                  OMERO.master:<br>
                                  -'Berkeley DB: DbEnv "Registry":
                                  Unacceptable log file
                                  C:\Users\omero\Desktop\OMERO.server-5.0.4-ice34-b43\var\registry\log.0000000001:
                                  unsupported log version 19'<br>
                                  -'Berkeley DB: DbEnv "Registry":
                                  Invalid log file: log.0000000001:
                                  Invalid argument'<br>
                                  -'Berkeley DB: DbEnv "Registry":
                                  PANIC: Invalid argument'<br>
                                  -'Berkeley DB: DbEnv "Registry":
                                  process-private: unable to find
                                  environment'<br>
                                  <br>
                                  2 errors events, the first from
                                  OMERO.master, the second from Service
                                  Control Manager:<br>
                                  -'exception occurred while
                                  initializing a communicator:<br>
                                  SharedDbEnv.cpp:619:
                                  Freeze::DatabaseException:<br>
                                  DbEnv::open: DB_RUNRECOVERY: Fatal
                                  error, run database recovery'<br>
                                  -'The OMERO.master service terminated
                                  with service-specific error Incorrect
                                  function..'<br>
                                  <br>
                                  Hope that helps,<br>
                                  A.<br>
                                  <br>
                                  <div class="moz-cite-prefix">On
                                    17/09/2014 13:57, Anatole Chessel
                                    wrote:<br>
                                  </div>
                                  <blockquote
                                    cite="mid:54198540.4000403@gurdon.cam.ac.uk"
                                    type="cite">Hi all,<br>
                                    <br>
                                    I seem to be having the exact same
                                    problem. I am trying to upgrade from
                                    4.4 to 5.0.4 on a windows server
                                    2008R2; after trying without success
                                    the OME compiled ice3.5/python2.7
                                    64bit (full thread:
                                    <a moz-do-not-send="true"
                                      class="moz-txt-link-freetext"
href="http://www.openmicroscopy.org/community/viewtopic.php?f=5&t=7629&start=10">http://www.openmicroscopy.org/community/viewtopic.php?f=5&t=7629&start=10</a>
                                    in short omero eventually worked but
                                    omero.web did not), I tried
                                    ice3.4/python2.6 32bits with the
                                    same issues as Jason: 'Failed to
                                    startup some components after 300
                                    seconds' and no logs, and launching
                                    manually gives a logfile with the
                                    same error he just reported...<br>
                                    <br>
                                    Many thanks,<br>
                                    A.<br>
                                    <br>
                                    <br>
                                    <div class="moz-cite-prefix">On
                                      17/09/2014 13:36, Kotecki, Jason
                                      wrote:<br>
                                    </div>
                                    <blockquote
                                      cite="mid:AD2C4910C613EC4CB58CBF8BB44282C41B96D82A@VAIEXMB01.vai.org"
                                      type="cite">
                                      <pre wrap="">Josh, attached is the task list. Also, I ran the command for blitz manually and that actually created a log file.

Thanks,
Jason

</pre>
                                    </blockquote>
                                  </blockquote>
                                </div>
                              </div>
                            </blockquote>
                          </span></blockquote>
                        <br>
                        (...)<br>
                        <br>
                        <pre class="moz-signature" cols="72">-- 
Anatole Chessel, PhD
Research associate
University of Cambridge
Tennis Court Road, Cambridge CB2 1PD
tel: +44 (0)1223 334065</pre>
                      </div>
                    </div>
                  </blockquote>
                </span><br>
                <span style="font-size:10pt;">The University of Dundee
                  is a registered Scottish Charity, No: SC015096</span><br>
                <fieldset class="mimeAttachmentHeader"></fieldset>
                <br>
                <pre wrap="">_______________________________________________
ome-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:ome-users@lists.openmicroscopy.org.uk">ome-users@lists.openmicroscopy.org.uk</a><a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users">http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users</a></pre>
              </blockquote>
              <br>
              <pre class="moz-signature" cols="72">-- 
Anatole Chessel, PhD
Research associate
University of Cambridge
Tennis Court Road, Cambridge CB2 1PD
tel: +44 (0)1223 334065</pre>
            </div>
          </div>
        </blockquote>
      </span><br>
      <span style="font-size:10pt;">The University of Dundee is a
        registered Scottish Charity, No: SC015096</span>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
ome-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ome-users@lists.openmicroscopy.org.uk">ome-users@lists.openmicroscopy.org.uk</a>
<a class="moz-txt-link-freetext" href="http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users">http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Anatole Chessel, PhD
Research associate
University of Cambridge
Tennis Court Road, Cambridge CB2 1PD
tel: +44 (0)1223 334065</pre>
  </body>
</html>