[ome-users] Cannot Initialize the Django settings database (fwd)

Chris Allan callan at blackcat.ca
Mon Jun 8 08:55:32 BST 2009


Awesome. Glad to help.

-Chris

On Fri, 2009-06-05 at 17:28 +0100, Bernie Broughton wrote:
> Chris,
> 
> --On 04 June 2009 19:00 +0100 Chris Allan <callan at blackcat.ca> wrote:
> 
> > Okay, have you got a database file in the correct location (ie.  whatever
> > you have specified with the DATABASE_NAME configuration  option)?
> 
> Yes, the database file exists.
> Renamed the database file to db.sqlite.old
> Ran:
> sudo -u apache_user PYTHONPATH=/home/omero/omero_dist/lib/python/ python 
> manage.py syncdb
> 
> again. This time the tables were created and the prompts appeared.
> Entered Omero as the user name (not apache_name).
> Configured mod_python (by appending the text to the end of httpd.conf and 
> removed the 4.0.1 PythonPath statement).
> 
> .../webadmin
> .../webclient
> 
> now work.
> 
> Thanks for your help.
> 
> Bernie Broughton
> IT Manager
> Genome Damage and Stability Centre
> University of Sussex
> http://www.sussex.ac.uk/USIS/phone/details.php?id=19643




More information about the ome-users mailing list