haiwen / seafile-vagrant

vagrant configuration for seafile development.
9 stars 9 forks source link

ccnet-server can't start up due to the binding of unix socket fails. #2

Closed LeonSin closed 9 years ago

LeonSin commented 9 years ago

When I run this command

fab runserver

ccnet.log will show the following:

./common/session.c(442): failed to bind unix socket fd to /vagrant/data/ccnet/ccnet.sock : Operation not permitted

It seems that ccnet-server can't bind unix socket on shared filesystem? Could you give me any suggestions? Thanks in advance.

lins05 commented 9 years ago

Yeah, you may add this in your ccnet.conf:

[Client] PORT = 13418 UNIX_SOCKET=/tmp/ccnet.sock

Shuai

On Sun, Jun 7, 2015 at 4:22 PM, Leon notifications@github.com wrote:

When I run this command

fab runserver

ccnet.log will show the following:

./common/session.c(442): failed to bind unix socket fd to /vagrant/data/ccnet/ccnet.sock : Operation not permitted

It seems that ccnet-server can't bind unix socket on shared filesystem? Could you give me any suggestions? Thanks in advance.

— Reply to this email directly or view it on GitHub https://github.com/haiwen/seafile-vagrant/issues/2.

LeonSin commented 9 years ago

Yeah, you may add this in your ccnet.conf:

[Client] PORT = 13418 UNIX_SOCKET=/tmp/ccnet.sock

Shuai

Great, it works! Thank you.

Tonghaofeng commented 5 years ago

Yeah, you may add this in your ccnet.conf:

[Client] PORT = 13418 UNIX_SOCKET=/tmp/ccnet.sock

Shuai

On Sun, Jun 7, 2015 at 4:22 PM, Leon notifications@github.com wrote:

When I run this command fab runserver ccnet.log will show the following: ./common/session.c(442): failed to bind unix socket fd to /vagrant/data/ccnet/ccnet.sock : Operation not permitted It seems that ccnet-server can't bind unix socket on shared filesystem? Could you give me any suggestions? Thanks in advance. — Reply to this email directly or view it on GitHub

2.

just work fine with me! thanks a lot