尝试过但无效的解决方法:
- 卸载重装 SiYuan 1.2.3
- 删除文档下的 SiYuan 和 .siyuan 文件夹后重装 SiYuan 1.2.3
- 杀掉所有任务管理器中名为 SiYuan 的进程后重新启动 SiYuan
- 以管理员权限启动 SiYuan
log 文件:
I 2021/07/31 00:52:06 working.go:96:
____ _ __ __
/ ___| (_) \ \ / / _ _ __ _ _ __
\___ \ | | \ V / | | | | / _` | | '_ \
___) | | | | | | |_| | | (_| | | | | |
|____/ |_| |_| \__,_| \__,_| |_| |_|
I 2021/07/31 00:52:06 working.go:97: kernel is booting:
* ver [1.2.3]
* runtime mode [prod]
* workspace directory [C:\Users\sqybi\Documents\SiYuan]
* working directory [C:\Users\sqybi\AppData\Local\Programs\SiYuan\resources]
* rsync directory [C:\Users\sqybi\Documents\SiYuan\temp\rsync]
* read only [false]
* container [std]
* resident [true]
* arch [amd64]
I 2021/07/31 00:52:06 conf.go:221: local serve path [http://192.168.0.10:6806]
I 2021/07/31 00:52:06 database.go:121: initialized database tables
I 2021/07/31 00:52:06 database.go:81: reinitialized database [C:\Users\sqybi\Documents\SiYuan\temp\siyuan.db]
I 2021/07/31 00:52:06 serve.go:66: kernel HTTP server is booting [http://127.0.0.1:6806]
F 2021/07/31 00:52:06 serve.go:68: boot kernel HTTP server failed: listen tcp 127.0.0.1:6806: bind: An attempt was made to access a socket in a way forbidden by its access permissions.
因为 log 文件中有提到端口问题,所以顺手跑了一下 netstat -ano | findstr "6806"
看端口占用。
-
在 SiYuan 没有启动时,没有任何端口占用的信息
-
在 SiYuan 启动后卡 booting 时,能看到三条端口占用信息如下:
-
TCP 127.0.0.1:7806 127.0.0.1:6806 SYN_SENT 5892 TCP 127.0.0.1:7807 127.0.0.1:6806 SYN_SENT 5892 TCP 127.0.0.1:7809 127.0.0.1:6806 SYN_SENT 5892
-
以上就是全部已知信息。
欢迎来到这里!
我们正在构建一个小众社区,大家在这里相互信任,以平等 • 自由 • 奔放的价值观进行分享交流。最终,希望大家能够找到与自己志同道合的伙伴,共同成长。
注册 关于