Lots of interesting output here... In summary:
- the Django fast CGI seems to not started
- there is no django module in python
As far as my understanding reaches: there seems to be another (faulty django) process running in the back. I suppose the solution would be reached If this could be killed (manually) and the web restarted on port 4080.
Error.log
about 39 error messages appear in /var/log/apache2/error.log when I access http://[server]/omero
All are pointing to /home/imaging/apps/OMERO/OMERO.server/var/omero.fcgi"
[server]/webclient/logout/ gives the same Unhandled exception ... and adds another 39 error messages
django
- Code: Select all
omero web stop
gives the following output:
- Code: Select all
Stopping OMERO.web... [FAILED]
Django FastCGI workers (PID 10348) not started?
followed by
- Code: Select all
omero web start
gives:
- Code: Select all
0 static files copied, 818 unmodified.
Starting OMERO.web... [OK]
(note that omero web stop gives now again the same output as above (including [FAILED]
Switching to develeopment does something:
- Code: Select all
@svx-uo7680omero:~$ set omero.web.application_server development
@svx-uo7680omero:~$ omero config set omero.web True
@svx-uo7680omero:~$ omero web start
0 static files copied, 818 unmodified.
Starting OMERO.web... Validating models...
0 errors found
March 10, 2014 - 10:15:23
Django version 1.6, using settings 'omeroweb.settings'
Starting development server at http://localhost:4080/
Quit the server with CONTROL-C.
Error: That port is already in use.
@svx-uo7680omero:~$
Note that the version of Django is 1.6
I changed the port in the config.xml to 4081. The effect being that the webserver starts properly:
- Code: Select all
imaging@svx-uo7680omero:~$ omero web start
0 static files copied, 818 unmodified.
Starting OMERO.web... Validating models...
0 errors found
March 10, 2014 - 10:51:55
Django version 1.6, using settings 'omeroweb.settings'
Starting development server at http://localhost:4081/
Quit the server with CONTROL-C.
However, the website did not appear using this URL:
- Code: Select all
http://[server]:4081/omero
Python
The suggested line returns an error: no django module
- Code: Select all
Python 2.7.3 (default, Jan 2 2013, 13:56:14)
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import django
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named django
Greetings,
Dimitri