Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Login Error After Setup #54

Closed
ImTheDeveloper opened this issue May 28, 2013 · 3 comments
Closed

Login Error After Setup #54

ImTheDeveloper opened this issue May 28, 2013 · 3 comments

Comments

@ImTheDeveloper
Copy link

During login after first setup of the raspberry pi distribution I come up against the following error:
NetworkError at /accounts/login/

Can't connect to daemon

Request Method: POST
Request URL: http://192.168.0.10:8000/accounts/login/?next=/
Django Version: 1.3
Exception Type: NetworkError
Exception Value:

Can't connect to daemon
Exception Location: /var/www/cloud/seafile-server-1.6.1/seafile/lib/python2.7/site-packages/ccnet/client.py in connect_daemon, line 90
Python Executable: /usr/bin/python2.7
Python Version: 2.7.3
Python Path:

['/var/www/cloud/seafile-server-1.6.1/seahub',
 '/var/www/cloud/seafile-server-1.6.1/seahub/thirdpart/Django-1.3-py2.7.egg',
 '/var/www/cloud/seafile-server-1.6.1/seahub/thirdpart/Djblets-0.6.14.dev-py2.7.egg',
 '/var/www/cloud/seafile-server-1.6.1/seahub/thirdpart/flup-1.0-py2.7.egg',
 '/var/www/cloud/seafile-server-1.6.1/seahub/thirdpart/gunicorn-0.16.1-py2.7.egg',
 '/var/www/cloud/seafile-server-1.6.1/seahub/thirdpart/chardet-2.1.1-py2.7.egg',
 '/var/www/cloud/seafile-server-1.6.1/seafile/lib/python2.7/site-packages',
 '/var/www/cloud/seafile-server-1.6.1/seafile/lib64/python2.7/site-packages',
 '/var/www/cloud/seafile-server-1.6.1/seafile/lib/python2.6/site-packages',
 '/var/www/cloud/seafile-server-1.6.1/seafile/lib64/python2.6/site-packages',
 '/var/www/cloud/seafile-server-1.6.1/seahub/thirdpart',
 '/var/www/cloud/seafile-server-1.6.1',
 '/usr/lib/python2.7',
 '/usr/lib/python2.7/plat-linux2',
 '/usr/lib/python2.7/lib-tk',
 '/usr/lib/python2.7/lib-old',
 '/usr/lib/python2.7/lib-dynload',
 '/usr/local/lib/python2.7/dist-packages',
 '/usr/lib/python2.7/dist-packages',
 '/usr/lib/python2.7/dist-packages/PIL',
 '/usr/lib/pymodules/python2.7',
 '/var/www/cloud/seafile-server-1.6.1/seafile/lib64/python2.7/site-packages',
 '/var/www/cloud/seafile-server-1.6.1/seafile/lib/python2.6/site-packages',
 '/var/www/cloud/seafile-server-1.6.1/seafile/lib64/python2.6/site-packages']
Server time: Tue, 28 May 2013 17:51:11 +0800

I have all dependencies installed as well as python 2.7. No clue what the issue is sadly.

@lins05
Copy link
Contributor

lins05 commented May 28, 2013

Have you executed "./seafile.sh start" before "./seahub.sh start"?

If you have not, do it and try again;
If you have, check the log file ccnet/logs/ccnet.log

On Tue, May 28, 2013 at 10:08 PM, christoface notifications@github.comwrote:

During login after first setup of the raspberry pi distribution I come up
against the following error:
NetworkError at /accounts/login/

Can't connect to daemon

Request Method: POST
Request URL: http://192.168.0.10:8000/accounts/login/?next=/
Django Version: 1.3
Exception Type: NetworkError
Exception Value:

Can't connect to daemon
Exception Location:
/var/www/cloud/seafile-server-1.6.1/seafile/lib/python2.7/site-packages/ccnet/client.py
in connect_daemon, line 90
Python Executable: /usr/bin/python2.7
Python Version: 2.7.3
Python Path:

['/var/www/cloud/seafile-server-1.6.1/seahub',

'/var/www/cloud/seafile-server-1.6.1/seahub/thirdpart/Django-1.3-py2.7.egg',

'/var/www/cloud/seafile-server-1.6.1/seahub/thirdpart/Djblets-0.6.14.dev-py2.7.egg',
'/var/www/cloud/seafile-server-1.6.1/seahub/thirdpart/flup-1.0-py2.7.egg',

'/var/www/cloud/seafile-server-1.6.1/seahub/thirdpart/gunicorn-0.16.1-py2.7.egg',

'/var/www/cloud/seafile-server-1.6.1/seahub/thirdpart/chardet-2.1.1-py2.7.egg',
'/var/www/cloud/seafile-server-1.6.1/seafile/lib/python2.7/site-packages',

'/var/www/cloud/seafile-server-1.6.1/seafile/lib64/python2.7/site-packages',
'/var/www/cloud/seafile-server-1.6.1/seafile/lib/python2.6/site-packages',

'/var/www/cloud/seafile-server-1.6.1/seafile/lib64/python2.6/site-packages',
'/var/www/cloud/seafile-server-1.6.1/seahub/thirdpart',
'/var/www/cloud/seafile-server-1.6.1',
'/usr/lib/python2.7',
'/usr/lib/python2.7/plat-linux2',
'/usr/lib/python2.7/lib-tk',
'/usr/lib/python2.7/lib-old',
'/usr/lib/python2.7/lib-dynload',
'/usr/local/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages/PIL',
'/usr/lib/pymodules/python2.7',

'/var/www/cloud/seafile-server-1.6.1/seafile/lib64/python2.7/site-packages',
'/var/www/cloud/seafile-server-1.6.1/seafile/lib/python2.6/site-packages',

'/var/www/cloud/seafile-server-1.6.1/seafile/lib64/python2.6/site-packages']
Server time: Tue, 28 May 2013 17:51:11 +0800

I have all dependencies installed as well as python 2.7. No clue what the
issue is sadly.


Reply to this email directly or view it on GitHubhttps://github.com//issues/54
.

@ImTheDeveloper
Copy link
Author

Looks to be an ipv issue?

[05/28/13 15:27:12] ../common/session.c(254): Update pubinfo file
[05/28/13 15:27:12] ccnet_net_bind_tcp: bind fails: Address family not supported by protocol
[05/28/13 15:27:12] ../common/connect-mgr.c(522): Couldn't open port 10001 to listen for incoming peer connections (errno 97 - Address family not supported $

@ImTheDeveloper
Copy link
Author

Found out another user has been using port 10001 for a webmin install.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants