<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Chris<div><br><div>According to the docs (<a href="https://docs.djangoproject.com/en/1.1/intro/install/">https://docs.djangoproject.com/en/1.1/intro/install/</a>) Python 2.5 or later includes a py-sqlite database drivers.</div><div><br></div><div>Could you please give your PYTHONPATH?</div><div>I got an impression you are using python 2.3</div><div><br></div><div>Environment:PATH=/usr/lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:<b>/usr/lib64/python2.3/</b>site-packages/Ice/:/home/omerouser/bin </div><div><br></div><div>Chris could you please confirm it with me?</div><div><br></div><div>Thanks</div><div>Ola</div><div><br></div><div><div><div>On 5 Jul 2011, at 20:54, Will Moore wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi Ola, Chris,<br><br> The same issue has been reported on our forums...<br><a href="http://www.openmicroscopy.org/community/viewtopic.php?f=5&t=735&sid=224d4bf2d40c3af6c8583187bb06c6f6&p=2674">http://www.openmicroscopy.org/community/viewtopic.php?f=5&t=735&sid=224d4bf2d40c3af6c8583187bb06c6f6&p=2674</a><br><br> Will.<br><br><br>On 5 Jul 2011, at 17:15, Wood, Christopher wrote:<br><br><blockquote type="cite">It could also be an issue with the PYTHONPATH, we are checking on that also.<br></blockquote><blockquote type="cite">Thanks<br></blockquote><blockquote type="cite">Chris<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">-----Original Message-----<br></blockquote><blockquote type="cite">From: Aleksandra Tarkowska [mailto:aleksandrat@lifesci.dundee.ac.uk]<br></blockquote><blockquote type="cite">Sent: Tuesday, July 05, 2011 11:09 AM<br></blockquote><blockquote type="cite">To: Wood, Christopher<br></blockquote><blockquote type="cite">Subject: Re: [ome-users] OMERO.web not starting<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Dear Chris<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I am glade it works. That is interesting. Definitely web does not use py-sqlite2 at all. There is DATABASE_ENGINE = 'sqlite3' set up because of unitetests, but I have never noticed any issues with that. I will look at that closer.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Thank you very much for you feedback.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Thanks<br></blockquote><blockquote type="cite">Ola<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">On 5 Jul 2011, at 16:59, Wood, Christopher wrote:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite">Hi Ola,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">We have it working now. The devel web server required us to upgrade to py-sqlite2. After this upgrade, the apache/fastcgi omero.web works. Does OMERO.web/django require py-sqlite2? I couldn't find it in the documentation if that is the case.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Thanks for your help.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Chris<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">-----Original Message-----<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">From: Aleksandra Tarkowska [mailto:aleksandrat@lifesci.dundee.ac.uk]<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Sent: Tuesday, July 05, 2011 2:17 AM<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">To: Wood, Christopher<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Subject: Re: [ome-users] OMERO.web not starting<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Hi Chris<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Sorry about delay in answer to you.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Based on the diagnostics information<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre"> </span>OMERO.web status... [NOT STARTED]<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">web hasn't started, obviously apache cant find preforked server then (omero.fcgi file does not exist).<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">1) Double check if there are no processes run behind<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Please run 'ps auxwf' and check if you see anything like this:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">omero 9991 0.0 0.2 99836 36040 ? S 07:54 0:00 python manage.py runfcgi workdir=./ method=prefork host=0.0.0.0 port=4080 pidfile=/home/omero/OMERO.server-4<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">omero 9992 0.0 0.2 99836 35524 ? S 07:54 0:00 \_ python manage.py runfcgi workdir=./ method=prefork host=0.0.0.0 port=4080 pidfile=/home/omero/OMERO.serv<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">omero 9993 0.0 0.2 99836 35524 ? S 07:54 0:00 \_ python manage.py runfcgi workdir=./ method=prefork host=0.0.0.0 port=4080 pidfile=/home/omero/OMERO.serv<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">omero 9994 0.0 0.2 99836 35524 ? S 07:54 0:00 \_ python manage.py runfcgi workdir=./ method=prefork host=0.0.0.0 port=4080 pidfile=/home/omero/OMERO.serv<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">omero 9995 0.0 0.2 99836 35524 ? S 07:54 0:00 \_ python manage.py runfcgi workdir=./ method=prefork host=0.0.0.0 port=4080 pidfile=/home/omero/OMERO.serv<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">omero 9996 0.0 0.2 99836 35524 ? S 07:54 0:00 \_ python manage.py runfcgi workdir=./ method=prefork host=0.0.0.0 port=4080 pidfile=/home/omero/OMERO.serv<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">If so, please kill the main one (in this case 9991) then try to start web again. Killing the main process should automatically destroy the workers.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">If this is not the issue lets try something else.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">2) Running webclient by hand with the development server.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">cd /OMERO/OMERO.server-Beta-4.3.0/lib/python/omeroweb<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">PYTHONPATH=$PYTHONPATH: /OMERO/OMERO.server-Beta-4.3.0/lib/python/<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">python manage.py runserver 0.0.0.0:8000<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">If there is any issue with the application you will immediately see it on the output. Please send me the errors I will try to help with them then.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Once server started successfully you should see:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre"> </span>Validating models...<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre"> </span>0 errors found<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre"> </span>Django version 1.1.1, using settings 'omeroweb.settings'<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre"> </span>Development server is running at <a href="http://0.0.0.0:8000/">http://0.0.0.0:8000/</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre"> </span>Quit the server with CONTROL-C.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Now, you can go to <a href="http://your_domain:8000/webadmin">http://your_domain:8000/webadmin</a> and you should see the login page.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Let me know how this was going. I hope the problem would be solved.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Thanks<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Ola<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">On 2 Jul 2011, at 16:13, Wood, Christopher wrote:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Hi Ola,<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Everything is attached in the gzipped tar file.<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Thanks<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Chris<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">________________________________________<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">From: Aleksandra Tarkowska [aleksandrat@lifesci.dundee.ac.uk]<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Sent: Saturday, July 02, 2011 12:39 AM<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">To: Wood, Christopher<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Cc: <a href="mailto:ome-users@lists.openmicroscopy.org.uk">ome-users@lists.openmicroscopy.org.uk</a><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Subject: Re: [ome-users] OMERO.web not starting<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Hi Chris<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Could you please send me the output from:<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">bin/omero config get (this is stored in omero/etc/grid/config.xml)<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">bin/omero diagnostics<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">apache and nginx config supporting OMERO.<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Thanks<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Ola<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">On 1 Jul 2011, at 20:58, "Wood, Christopher" <CJW@stowers.org<<a href="mailto:CJW@stowers.org">mailto:CJW@stowers.org</a>>> wrote:<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Hi,<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">We upgraded our server today to 4.3. OMERO.web is not starting (it worked for 4.2.2).<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">the error.log from apache is listed below:<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">[Fri Jul 01 14:06:35 2011] [error] [client 10.2.20.65]<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">(111)Connection<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">refused: FastCGI: failed to connect to server "/OMERO/OMERO.server-Beta-4.3.0/var/omero.fcgi": connect() failed [Fri Jul 01 14:06:35 2011] [error] [client 10.2.20.65] FastCGI: incomplete headers (0 bytes) received from server "/OMERO/OMERO.server-Beta-4.3.0/var/omero.fcgi"<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">We don't receive any error on bin/omero web start or in the OMERO.web log files.<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">linux (centos), apache httpd, mod_ fastcgi python 2.4, postgres 8.4<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">I tried this on my VM and have the same problems.<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Any ideas?<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Thanks<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Chris<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">_______________________________________________<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">ome-users mailing list<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">ome-users@lists.openmicroscopy.org.uk<<a href="mailto:ome-users@lists.openmicr">mailto:ome-users@lists.openmicr</a><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">o<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><a href="http://scopy.org.uk">scopy.org.uk</a>><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><a href="http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users">http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users</a><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><stowers_omero_web.tgz><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">ome-users mailing list<br></blockquote><blockquote type="cite"><a href="mailto:ome-users@lists.openmicroscopy.org.uk">ome-users@lists.openmicroscopy.org.uk</a><br></blockquote><blockquote type="cite"><a href="http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users">http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users</a><br></blockquote><br>William Moore<br>Wellcome Trust Centre for Gene Regulation & Expression<br>College of Life Sciences<br>MSI/WTB/JBC Complex<br>University of Dundee<br>Dow Street<br>Dundee DD1 5EH<br>United Kingdom<br><br>Phone 01382 386364<br><a href="http://openmicroscopy.org">http://openmicroscopy.org</a><br><br><br><br><br><br></div></blockquote></div><br></div></div></body></html>