Simon Tiplady
Dabbler
- Joined
- Jun 19, 2015
- Messages
- 20
I know there are other threads about this, but...
I noticed the GUI was not loading, so I checked the error log, /var/log/nginx-error.log
I also checked
the error in resources.py seems to concur with the nginx log.
the 2 sqlite files appear to be 0 bytes, is that normal?
The USB drive is only about 2 weeks old (as is the entire system, cables/motherboard/cpu/ram/drives/psu/drives) why would it fail so soon, would it be a software fault (file not being written properly after an upgrade) or a hardware failure? Should I send the drive back under warranty?
I noticed the GUI was not loading, so I checked the error log, /var/log/nginx-error.log
Code:
2015/07/19 08:09:01 [error] 2626#0: *31 FastCGI sent in stderr: "Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/flup/server/fcgi_base.py", line 558, in run
protocolStatus, appStatus = self.server.handler(self)
File "/usr/local/lib/python2.7/site-packages/flup/server/fcgi_base.py", line 1118, in handler
result = self.application(environ, start_response)
File "/usr/local/lib/python2.7/site-packages/django/core/handlers/wsgi.py", line 206, in __call__
response = self.get_response(request)
File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 194, in get_response
response = self.handle_uncaught_exception(request, resolver, sys.exc_info())
File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 232, in handle_uncaught_exception
if resolver.urlconf_module is None:
File "/usr/local/lib/python2.7/site-packages/django/core/urlresolvers.py", line 360, in urlconf_module
self._urlconf_module = import_module(self.urlconf_name)
File "/usr/local/lib/python2.7/site-packages/django/utils/importlib.py", line 40, in import_module
__import__(name)
File "/usr/local/www/freenasUI/../freenasUI/urls.py", line 37, in <module>
from freenasUI.api.resources import (
ImportError: cannot import name AlertResource" while reading response header from upstream, client: 192.168.1.5, server: localhost, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9042", host: "freenas.local"I also checked
Code:
zpool status -v
Code:
pool: freenas-boot
state: ONLINE
status: One or more devices has experienced an error resulting in data
corruption. Applications may be affected.
action: Restore the file in question if possible. Otherwise restore the
entire pool from backup.
see: http://illumos.org/msg/ZFS-8000-8A
scan: none requested
config:
NAME STATE READ WRITE CKSUM
freenas-boot ONLINE 0 0 2
gptid/080df121-144d-11e5-8f8f-c80aa98a23b9 ONLINE 0 0 4
errors: Permanent errors have been detected in the following files:
//var/db/pkg/local.sqlite
//var/db/pkg/repo-local.sqlite
//usr/local/www/freenasUI/api/resources.pythe error in resources.py seems to concur with the nginx log.
the 2 sqlite files appear to be 0 bytes, is that normal?
The USB drive is only about 2 weeks old (as is the entire system, cables/motherboard/cpu/ram/drives/psu/drives) why would it fail so soon, would it be a software fault (file not being written properly after an upgrade) or a hardware failure? Should I send the drive back under warranty?