
1 2 3 4 | Safari 浏览器无法打开页面 Safari 浏览器无法打开页面 “https: //www .crifan.com/”。 错误是:“FetchEvent.respondWith received an error: Returned response is null.” (WebKitServiceWorker:0) |
去Vultr重启:

然后出错:

估计数据库出错了?
1 2 3 4 5 6 7 8 9 | [root@crifan ~] # service mysqld mydslq Usage: mysqld {start|stop|restart|reload|force-reload|status} [ MySQL server options ] [root@crifan ~] # service mysqld status MySQL is not running, but lock file (/ var /lock/subsys/mysql[FAILED] [root@crifan ~] # service mysqld restart MySQL server PID file could not be found! [FAILED] Starting MySQL.. [ OK ] [root@crifan ~] # service mysqld status MySQL running (5406) [ OK ] |
然后再去试试
问题依旧。
不是空间问题:
1 2 3 4 5 6 7 8 | # df -h Filesystem Size Used Avail Use% Mounted on /dev/vda1 79G 71G 4.3G 95% / devtmpfs 1.9G 0 1.9G 0% /dev tmpfs 1.9G 0 1.9G 0% /dev/shm tmpfs 1.9G 17M 1.9G 1% /run tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup tmpfs 379M 0 379M 0% /run/user/0 |
再去vultr重启VPS
再去试试
发现是500 服务器内部出错

抽空去解决问题

1 2 3 | 无法访问此网站 网址为 https: //www .crifan.com/ 的网页可能暂时无法连接,或者它已永久性地移动到了新网址。 ERR_FAILED |
去试了试,可以ping通:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | crifan@licrifandeMacBook - Pro ~ ping www.crifan.com PING www.crifan.com (xxx): 56 data bytes 64 bytes from xxx: icmp_seq = 0 ttl = 43 time = 294.112 ms Request timeout for icmp_seq 1 Request timeout for icmp_seq 2 64 bytes from xxx: icmp_seq = 3 ttl = 43 time = 295.962 ms 64 bytes from xxx: icmp_seq = 4 ttl = 43 time = 294.167 ms ^C - - - www.crifan.com ping statistics - - - 5 packets transmitted, 3 packets received, 40.0 % packet loss round - trip min / avg / max / stddev = 294.112 / 294.747 / 295.962 / 0.859 ms crifan@licrifandeMacBook - Pro ~ ping www.crifan.com PING www.crifan.com (xxx): 56 data bytes 64 bytes from xxx: icmp_seq = 0 ttl = 43 time = 297.069 ms 64 bytes from xxx: icmp_seq = 1 ttl = 43 time = 294.911 ms 64 bytes from xxx: icmp_seq = 2 ttl = 43 time = 295.019 ms 64 bytes from xxx: icmp_seq = 3 ttl = 43 time = 310.504 ms 64 bytes from xxx: icmp_seq = 4 ttl = 43 time = 295.373 ms 64 bytes from xxx: icmp_seq = 5 ttl = 43 time = 294.682 ms ^C - - - www.crifan.com ping statistics - - - 6 packets transmitted, 6 packets received, 0.0 % packet loss round - trip min / avg / max / stddev = 294.682 / 297.926 / 310.504 / 5.679 ms |
WordPress 无法访问此网站 网页可能暂时无法连接
WordPress 无法访问此网站 网页可能暂时无法连接 500
去访问试试
结果有变化:


1 2 3 4 | 有些数据表无效。若您希望让WordPress尝试修复它们,请点击“修复数据库”按钮。修复过程需要一点时间,请耐心等待。 修复数据库 WordPress还可以尝试优化数据库,这在某些情况下能提高数据库性能。修复和优化数据库的过程需要一段时间,请耐心等待——在此期间我们会锁定(lock)数据表。 修复并优化数据库 |
点击
修复并优化数据库


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | wp_users数据表正常。 wp_users数据表已优化过了。 “wp_usermeta”数据表有问题。报告的问题是:1 client is using or hasn't closed the table properly。WordPress正在尝试进行修复… 无法修复wp_usermeta表。错误消息:1 client is using or hasn't closed the table properly “wp_posts”数据表有问题。报告的问题是:1 client is using or hasn't closed the table properly。WordPress正在尝试进行修复… 无法修复wp_posts表。错误消息:1 client is using or hasn't closed the table properly “wp_comments”数据表有问题。报告的问题是:1 client is using or hasn't closed the table properly。WordPress正在尝试进行修复… 无法修复wp_comments表。错误消息:1 client is using or hasn't closed the table properly wp_links数据表正常。 “wp_options”数据表有问题。报告的问题是:Table is marked as crashed。WordPress正在尝试进行修复… 无法修复wp_options表。错误消息:Table is marked as crashed “wp_postmeta”数据表有问题。报告的问题是:1 client is using or hasn't closed the table properly。WordPress正在尝试进行修复… 无法修复wp_postmeta表。错误消息:1 client is using or hasn't closed the table properly wp_terms数据表正常。 wp_term_taxonomy数据表正常。 wp_term_relationships数据表正常。 wp_termmeta数据表正常。 “wp_commentmeta”数据表有问题。报告的问题是:1 client is using or hasn't closed the table properly。WordPress正在尝试进行修复… 无法修复wp_commentmeta表。错误消息:1 client is using or hasn't closed the table properly 部分数据库问题无法修复。请复制下列错误信息,前往WordPress支持论坛寻求帮助。 wp_usermeta: 1 client is using or hasn't closed the table properly wp_posts: 1 client is using or hasn't closed the table properly wp_comments: 1 client is using or hasn't closed the table properly wp_options: Table is marked as crashed wp_postmeta: 1 client is using or hasn't closed the table properly wp_commentmeta: 1 client is using or hasn't closed the table properly |
然后就可以正常登录了:

网站也能打开了:

后记:
登录后,发现有更新
其中有个是:Redis的缓存
Redis Object Cache

难道是别人说的,是这个插件问题?
看来又不是太像
【总结】
此处crifan.com的WordPress,访问主页
www.crifan.com
出错:
1 2 3 4 5 6 | Safari 浏览器无法打开页面 “https: //www .crifan.com/”。 错误是:“FetchEvent.respondWith received an error: Returned response is null.” (WebKitServiceWorker:0) 无法访问此网站 网址为 https: //www .crifan.com/ 的网页可能暂时无法连接,或者它已永久性地移动到了新网址。 ERR_FAILED |
且用Chrome调试可以看到500,属于内部服务器错误
折腾半天,以为是服务器本身有问题
经排查,确认php,mysql都没问题
1 2 | service mysqld mydslq service mysqld restart |
最后是:
访问后台控制页面
发现是数据库有问题
然后按照提示修复数据库后,即可解决问题。
转载请注明:在路上 » 【已解决】WordPress网站crifan.com无法打开