windows端seafile服务已起但无法访问

windows端seafile服务已起,管理员账号已配置,.conf文件也已修改。但不能通过http://127.0.0.1:8000或,本机ip地址:8000
Windows server 2008 R2 64系统。

127.0.0.1 只能在本机上访问。

如果是它机,必须在防火墙高级设置里自己添加 8000 8082 两个TCP端口。

在本机、它机都访问了,防火墙也关掉的。不行。

兄弟,我的也和你一样,不知道要在哪设置

一样的问题,Mark一下

  1. 任务管理器看看有没有 ccnet-server.exe seafserv.exe seaf-server.exe python.exe 等进程
  2. 打开日志文件夹 (右键点击托盘图标 -> 打开日志文件夹), 看看日志中有没有什么错误信息。

[10/31/16 16:22:26] …/common/session.c(132): using config file E:/seafile-server\conf\ccnet.conf
[10/31/16 16:22:26] …/common/session.c(418): Listen on 127.0.0.1 13418
[10/31/16 16:22:26] …/common/session.c(290): Update pubinfo file
[10/31/16 16:22:26] …/common/connect-mgr.c(515): Opened port 10001 to listen for incoming peer connections
[10/31/16 16:22:27] …/common/session.c(398): Accepted a local client
[10/31/16 16:22:27] …/common/session.c(398): Accepted a local client
[10/31/16 16:22:27] …/common/session.c(398): Accepted a local client
[10/31/16 16:22:27] …/common/session.c(398): Accepted a local client
[10/31/16 16:22:27] …/common/session.c(398): Accepted a local client
[11/01/16 09:37:28] …/common/session.c(398): Accepted a local client
[11/01/16 09:37:28] …/common/session.c(398): Accepted a local client

[10/31/16 16:20:04] read from connfd error: No error.
[10/31/16 16:20:05] …/common/mq-mgr.c(60): [mq client] mq cilent is started
[10/31/16 16:20:05] …/common/mq-mgr.c(106): [mq mgr] publish to hearbeat mq: seaf_server.heartbeat
[10/31/16 16:20:05] listen-mgr.c(120): listen on port 12001 for block tranfer
[10/31/16 16:20:58] read from connfd error: No error.
[10/31/16 16:22:27] …/common/mq-mgr.c(60): [mq client] mq cilent is started
[10/31/16 16:22:27] …/common/mq-mgr.c(106): [mq mgr] publish to hearbeat mq: seaf_server.heartbeat
[10/31/16 16:22:27] listen-mgr.c(120): listen on port 12001 for block tranfer

[11/01/16 10:21:05] seafserv/seafserv.c(161): starting seahub …
[11/01/16 10:21:05] created “python.exe “C:\Seafile\seafile-server-5.1.3\seafile\bin…\seahub\manage.py” runwsgiserver host=0.0.0.0 port=8000 autoreload=False staticserve=False”, pid 7264
[11/01/16 10:21:55] seafserv/seafserv.c(516): seahub has exited with code 1
[11/01/16 10:21:55] seafserv/seafserv.c(161): starting seahub …
[11/01/16 10:21:55] created “python.exe “C:\Seafile\seafile-server-5.1.3\seafile\bin…\seahub\manage.py” runwsgiserver host=0.0.0.0 port=8000 autoreload=False staticserve=False”, pid 7208
[11/01/16 10:22:45] seafserv/seafserv.c(516): seahub has exited with code 1
[11/01/16 10:22:45] seafserv/seafserv.c(161): starting seahub …
[11/01/16 10:22:45] created “python.exe “C:\Seafile\seafile-server-5.1.3\seafile\bin…\seahub\manage.py” runwsgiserver host=0.0.0.0 port=8000 autoreload=False staticserve=False”, pid 7564
[11/01/16 10:23:35] seafserv/seafserv.c(516): seahub has exited with code 1
[11/01/16 10:23:35] seafserv/seafserv.c(161): starting seahub …
[11/01/16 10:23:35] created “python.exe “C:\Seafile\seafile-server-5.1.3\seafile\bin…\seahub\manage.py” runwsgiserver host=0.0.0.0 port=8000 autoreload=False staticserve=False”, pid 7276
[11/01/16 10:24:25] seafserv/seafserv.c(516): seahub has exited with code 1
[11/01/16 10:24:25] seafserv/seafserv.c(161): starting seahub …
[11/01/16 10:24:25] created “python.exe “C:\Seafile\seafile-server-5.1.3\seafile\bin…\seahub\manage.py” runwsgiserver host=0.0.0.0 port=8000 autoreload=False staticserve=False”, pid 6892
[11/01/16 10:25:15] seafserv/seafserv.c(516): seahub has exited with code 1
[11/01/16 10:25:15] seafserv/seafserv.c(161): starting seahub …
[11/01/16 10:25:15] created “python.exe “C:\Seafile\seafile-server-5.1.3\seafile\bin…\seahub\manage.py” runwsgiserver host=0.0.0.0 port=8000 autoreload=False staticserve=False”, pid 7684
[11/01/16 10:26:05] seafserv/seafserv.c(516): seahub has exited with code 1
[11/01/16 10:26:05] seafserv/seafserv.c(161): starting seahub …
[11/01/16 10:26:05] created “python.exe “C:\Seafile\seafile-server-5.1.3\seafile\bin…\seahub\manage.py” runwsgiserver host=0.0.0.0 port=8000 autoreload=False staticserve=False”, pid 7612
[11/01/16 10:26:55] seafserv/seafserv.c(516): seahub has exited with code 1
[11/01/16 10:26:55] seafserv/seafserv.c(161): starting seahub …
[11/01/16 10:26:55] created “python.exe “C:\Seafile\seafile-server-5.1.3\seafile\bin…\seahub\manage.py” runwsgiserver host=0.0.0.0 port=8000 autoreload=False staticserve=False”, pid 7640
[11/01/16 10:27:45] seafserv/seafserv.c(516): seahub has exited with code 1
[11/01/16 10:27:45] seafserv/seafserv.c(161): starting seahub …
[11/01/16 10:27:45] created “python.exe “C:\Seafile\seafile-server-5.1.3\seafile\bin…\seahub\manage.py” runwsgiserver host=0.0.0.0 port=8000 autoreload=False staticserve=False”, pid 7708
[11/01/16 10:28:35] seafserv/seafserv.c(516): seahub has exited with code 1
[11/01/16 10:28:35] seafserv/seafserv.c(161): starting seahub …
[11/01/16 10:28:35] created “python.exe “C:\Seafile\seafile-server-5.1.3\seafile\bin…\seahub\manage.py” runwsgiserver host=0.0.0.0 port=8000 autoreload=False staticserve=False”, pid 7844
[11/01/16 10:29:25] seafserv/seafserv.c(516): seahub has exited with code 1
[11/01/16 10:29:25] seafserv/seafserv.c(161): starting seahub …
[11/01/16 10:29:25] created “python.exe “C:\Seafile\seafile-server-5.1.3\seafile\bin…\seahub\manage.py” runwsgiserver host=0.0.0.0 port=8000 autoreload=False staticserve=False”, pid 6192

[11/01/16 09:37:24] applet/service-install.c(150): service is already running
[11/01/16 09:37:27] applet/seafserv-applet.c(462): SetMenuItemInfoW failed with error 1456
[11/01/16 09:37:28] applet/seafserv-applet.c(237): trying to connect to ccnet-sever…
[11/01/16 09:37:28] applet/seafserv-applet.c(263): connected to ccnet server
[11/01/16 09:37:33] applet/seafserv-applet.c(462): SetMenuItemInfoW failed with error 1456
[11/01/16 09:43:14] applet/seafserv-applet.c(462): SetMenuItemInfoW failed with error 1456
[11/01/16 10:29:05] applet/seafserv-applet.c(462): SetMenuItemInfoW failed with error 1456

ccnet-server.exe seafserv.exe seaf-server.exe python.exe 进程都起的。

看样子是 seahub (python) 进程没起来,你系统中安装的 python 什么版本? 最好安装 2.7.11 或者 2.7.12

python 2.7.11 或者 2.7.12都试了,seafile是最新版的,系统server 2008 R2 64 。还是不行。

我的步骤:
1、安装python。
2、安手册下载最新seafile并解压到seafile目录下。
3、配置环境,加管理员账号,安装服务。
4、修改ccnet.conf,重启服务。
上述步骤完成后还是不能通过浏览器打开http://127.0.0.1:8000,不知道还需要哪里要设置?

python是否需要设置?重启服务器python还需要手动起pthon.exe。

已经解决,python一定要安装32位的,安装64位就是访问不了。

我的windows2003安装不上数据库,起不来服务,python2.7.11和python2.7.12都试过,没反应,怎么解决?

我的没有Python.exe进程,之前还可以用,最近不可以了,不知是不是这个原因,该如何解决呢?

不要添加为Windows服务 重设置 把run.bat设置成开机启动 就可以了~

1 个赞