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

Restconf not starting.... #37

Closed
shubhtrix opened this issue Jul 25, 2018 · 3 comments
Closed

Restconf not starting.... #37

shubhtrix opened this issue Jul 25, 2018 · 3 comments

Comments

@shubhtrix
Copy link

shubhtrix commented Jul 25, 2018

Hi @olofhagsand

I have been using restconf for past some time. Then, I recompiled the apps folder and after that it stopped working.
I am using develop branch
ERROR IS

root@SHUBH:/home/shubham/RESTCONF_DEVELOP/clixon/example# sudo su -c "/www-data/clixon_restconf -f /usr/local/etc/example.xml " -s /bin/sh www-data bind/listen: Address already in use
ADDRESS ALREADY IN USE

I ALSO CHECKED FOR
'root@SHUBH:/home/shubham/RESTCONF_DEVELOP/clixon/example# grep clicon /etc/group
clicon:x:1002:root,www-data
root@SHUBH:/home/shubham/RESTCONF_DEVELOP/clixon/example# '

PLEASE HELP

@shubhtrix
Copy link
Author

Got it working now, by permitting the directory www-data under root for all users.
Thanks 👍

@olofhagsand
Copy link
Member

Actually, /www-data should probably have permissions something like:
drwxr-xr-x 2 www-data www-data 4096 Jul 25 11:01 www-data
Allowing all users write access may be too loose.
Now I am unsure exactly where this should be done in the installprocess, I thought this was added by nginx or apache, but I see I have to do this manually sometimes. Maybe should verify this in the restconf install.

@olofhagsand olofhagsand reopened this Jul 26, 2018
@olofhagsand
Copy link
Member

Fixed by 1566604

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