移动整个seafile目录后,无法启动seafile

运行./seafile.sh start出错:

Your seafile server data directory “/alidata/www/wangpan/seafile-data” is invalid or doesn’t exits.
Please check it first, or create this directory yourself.

我直接修改ccnet目录的ini文件后,启动成功,但资料库打开错误,日志如下:
server.c(2017): Could not bind socket: Address already in use
[07/05/17 06:29:59] …/common/mq-mgr.c(54): [mq client] mq cilent is started
[07/05/17 06:29:59] http-server.c(2017): Could not bind socket: Address already in use

把所有 seafile 相关进程都杀掉,然后重启一下。

1 个赞

可以了,杀掉进程后,能正常打开资料库了,非常感谢。

也解决了我的问题,多谢