Opened 14 months ago
Closed 13 months ago
#1437 closed defect (invalid)
DJango crash after reboot
| Reported by: | alaska | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 8.2.0-RELEASE |
| Component: | Backend | Version: | 8.2.0-BETA2 |
| Keywords: | crash beta | Cc: |
Description
After a reboot, all the services are working, except the django interface that shows the folling trackback. (im using freenas installed on pendrive)
Request Method: GET
Request URL: http://192.168.1.198/
Software Version: FreeNAS-8.2.0-BETA2-x64 (r10638)
Exception Type: ImportError?
Exception Value:
No module named ldap
Exception Location: /usr/local/www/freenasUI/common/freenasldap.py in <module>, line 34
Server time: Fri, 30 Mar 2012 11:05:31 -0700
Environment:
Software Version: FreeNAS-8.2.0-BETA2-x64 (r10638)
Request Method: GET
Request URL: http://192.168.1.198/
Traceback:
File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
- response = middleware_method(request, callback, callback_args, callback_kwargs)
File "/usr/local/www/freenasUI/freeadmin/middleware.py" in process_view
- return login_required(view_func)(request, *view_args, view_kwargs)
File "/usr/local/lib/python2.7/site-packages/django/contrib/auth/decorators.py" in _wrapped_view
- return view_func(request, *args, kwargs)
File "/usr/local/www/freenasUI/freeadmin/views.py" in adminInterface
- 'cache_hash': hashlib.md5(sw_version).hexdigest(),
File "/usr/local/lib/python2.7/site-packages/django/shortcuts/init.py" in render
- return HttpResponse?(loader.render_to_string(*args, kwargs),
File "/usr/local/lib/python2.7/site-packages/django/template/loader.py" in render_to_string
- return t.render(context_instance)
File "/usr/local/lib/python2.7/site-packages/django/template/base.py" in render
- return self._render(context)
File "/usr/local/lib/python2.7/site-packages/django/template/base.py" in _render
Change History (5)
comment:1 Changed 14 months ago by william
comment:2 Changed 14 months ago by gcooper
Indeed, it does. More info on the build used would help though...
The easy_install.pth bug is worked around now in nanobsd/os-base, so my guess is corrupt install.
comment:3 Changed 14 months ago by alaska
I did the installation 2 days ago, no crashes, just rebooted and got this error.
Im going to change de usb, reinstall with the same build, and try to reproduce de problem.
Ill keep you informed.
Thanks.
comment:4 Changed 13 months ago by william
Ping
comment:5 Changed 13 months ago by alaska
- Resolution set to invalid
- Status changed from new to closed

Do you have /usr/local/lib/python2.7/site-packages/python_ldap* ?
At a first glance this looks like an corrupted usb/install to me.