Broken Web UI

Status
Not open for further replies.

Richard Shaw

Cadet
Joined
Mar 13, 2012
Messages
3
So, I went off on a mission to get airvideo server running on FreeNAS 8.0.3, it required me to install a load of deps which included Python 2.6.6, gcc44 and lots of codecs, I had a bad feeling as I did this, had to reboot, and bang, UI is broken, however everything else seems to be ok.

Hitting the UI URL gives me a 503 service unavailable

Lighttpd's error log gives me

2012-03-13 20:54:44: (mod_fastcgi.c.2852) fcgi-server re-enabled: unix:/tmp/django.sock
2012-03-13 23:37:10: (mod_fastcgi.c.1732) connect failed: No such file or directory on unix:/tmp/django.sock
2012-03-13 23:37:10: (mod_fastcgi.c.3025) backend died; we'll disable it for 1 seconds and send the request to another backend instead: reconnects: 0 load: 1
2012-03-13 23:37:12: (mod_fastcgi.c.2852) fcgi-server re-enabled: unix:/tmp/django.sock

So, taking a guess, I try to start django via /etc/local/rc.d/django and I get

Traceback (most recent call last):
File "/usr/local/www/freenasUI/manage.py", line 33, in <module>
from django.core.management import execute_manager
ImportError: No module named django.core.management
chown: /tmp/django.sock: No such file or directory
./django: WARNING: failed precmd routine for djang

I'm guessing this is a Python snafu, from the deps which got installed, can anyone provide a path to fixing this? Another question is if i've nixed this install which lives on a USB stick, if I installed a new stick, would it pick up my ZFS pool details from the disks in the server or are those are stored on the OS as well ? not got enough ZFS experience to know as yet.

Thanks

R
 
Status
Not open for further replies.
Top