清除大量快照(约 1500 个)后,我的 FreeNAS 9.3 Web GUI 崩溃
现在,它只显示这些字词:
An error occurred.
Sorry, the page you are looking for is currently unavailable.
Please try again later.
If you are the system administrator of this resource then you should check the error log for details.
Faithfully yours, nginx.
我尝试运行“# service nginx restart”命令,但是没有用。
其他信息如下:
※ 使用“cat /var/log/nginx-error.log”命令:(我的 FreeNAS Web URL 是http://192.168.168.168/)
2015/07/20 09:59:24 [error] 57959#0: *1 upstream prematurely closed connection while reading response header from upstream, client: 192.168.168.200, server: localhost, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9042", host: "192.168.168.168"
2015/07/20 09:59:25 [error] 57959#0: *1 upstream prematurely closed connection while reading response header from upstream, client: 192.168.168.200, server: localhost, request: "GET /favicon.ico HTTP/1.1", upstream: "fastcgi://127.0.0.1:9042", host: "192.168.168.168", referrer: "http://192.168.168.168/"
2015/07/20 09:59:32 [error] 57959#0: *1 upstream prematurely closed connection while reading response header from upstream, client: 192.168.168.200, server: localhost, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9042", host: "192.168.168.168"
2015/07/20 09:59:33 [error] 57959#0: *1 upstream prematurely closed connection while reading response header from upstream, client: 192.168.168.200, server: localhost, request: "GET /favicon.ico HTTP/1.1", upstream: "fastcgi://127.0.0.1:9042", host: "192.168.168.168", referrer: "http://192.168.168.168/"
非常感谢!
2015/07/20 添加:在 中/var/log/messages
,仅标记以下内容:“错误”:
Jul 20 09:37:00 freenas manage.py: [freenasOS.Configuration:505] Unable to load http://update.freenas.org/FreeNAS/trains.txt: <urlopen error [Errno 8] hostname nor servname provided, or not known>
Jul 20 09:37:00 freenas kernel: <118>Jul 20 09:37:00 freenas manage.py: [freenasOS.Configuration:505] Unable to load http://update.freenas.org/FreeNAS/trains.txt: <urlopen error [Errno 8] hostname nor servname provided, or not known>
Jul 20 09:37:04 freenas nmbd[78370]: [2015/07/20 09:37:04.251526, 0] ../source3/nmbd/nmbd_packets.c:1174(process_lanman_packet)
Jul 20 09:37:04 freenas nmbd[78370]: process_lanman_packet: Discarding datagram from IP 192.168.168.160. Source name FREENAS<00> is one of our names !
Jul 20 09:37:04 freenas kernel: <118>Jul 20 09:37:04 freenas nmbd[78370]: [2015/07/20 09:37:04.251526, 0] ../source3/nmbd/nmbd_packets.c:1174(process_lanman_packet)
Jul 20 09:37:04 freenas kernel: <118>Jul 20 09:37:04 freenas nmbd[78370]: process_lanman_packet: Discarding datagram from IP 192.168.168.160. Source name FREENAS<00> is one of our names !
Jul 20 09:37:12 freenas manage.py: [freenasOS.Configuration:505] Unable to load http://update.freenas.org/FreeNAS/trains.txt: <urlopen error [Errno 8] hostname nor servname provided, or not known>
Jul 20 09:37:12 freenas kernel: <118>Jul 20 09:37:12 freenas manage.py: [freenasOS.Configuration:505] Unable to load http://update.freenas.org/FreeNAS/trains.txt: <urlopen error [Errno 8] hostname nor servname provided, or not known>
PS:我的FreeNAS主机无法接触互联网。
2015/07/20 补充:我找到以下页面来解决我的问题: FreeNAS Web UI 没有响应
我采用以下步骤来解答这道题:
步骤 1:运行ps auxwww | grep freenas
命令
第 2 步:找到如下结果root 3118 0.0 0.4 557616 140848 ?? I 25Jun15 45:41.21 /usr/local/bin/python -R /usr/local/www/freenasUI/manage.py runfcgi method=threaded host=127.0.0.1 port=9042 pidfile=/var/run/django.pid (python2.7)
在本例中,PID 为 3118
步骤3:运行kill -15 3118
终止进程
步骤 4:运行ps auxwww | grep freenas
检查进程 3118 是否已被终止。如果没有,运行kill -9 3118
强制终止此进程。
步骤5:运行service django start
重新启动django进程。完成!
但是,我仍然不知道在我删除了许多快照之后网站是如何崩溃的......
谢谢!