[ome-users] problems during OMERO.web install and configuration
Chris Allan
callan at blackcat.ca
Mon Jun 15 08:51:49 BST 2009
Does "apache" have permissions to read from the $PYTHONPATH?
stat /home/omero
-Chris
On Sun, 2009-06-14 at 17:26 +0100, Bernie Broughton wrote:
> I've run into problems during OMERO.web install and configuration of a
> second server.
>
> The Omero clients run correctly and webadmin will run as localhost.
>
> [omero at gdsc13 omeroweb]$ echo $PYTHONPATH
> /home/omero/omero_dist/lib/python/
> [omero at gdsc13 omeroweb]$ sudo -u apache
> PYTHONPATH=/home/omero/omero_dist/lib/python/ python manage.py syncdb
> Password:
> Traceback (most recent call last):
> File "manage.py", line 41, in ?
> from django.core.management import execute_manager
> ImportError: No module named django.core.management
>
> django.core.management exists:
>
> drwxr-xr-x 3 omero omero 4096 Jun 12 16:05 management
>
> DATABASE_NAME has been set in settings.py:
>
> DATABASE_NAME = '/home/omero/webdb/db.sqlite3' # Or path to database
> file if using sqlite3.
>
> webdb and weblog exist:
>
> drwxr-xr-x 2 apache apache 4096 Jun 12 17:19 webdb
> drwxrwxr-x 2 apache apache 4096 Jun 12 17:17 weblog
>
> and there is no db.sqlite3 in webdb
>
> SELinux is disabled.
>
> Is there something else missing from PYTHONPATH?
>
> Bernie
> _______________________________________________
> ome-users mailing list
> ome-users at lists.openmicroscopy.org.uk
> http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users
More information about the ome-users
mailing list