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

Routinator Fails to Start #659

Open
1 task done
chewsterB opened this issue Aug 30, 2022 · 1 comment
Open
1 task done

Routinator Fails to Start #659

chewsterB opened this issue Aug 30, 2022 · 1 comment

Comments

@chewsterB
Copy link

chewsterB commented Aug 30, 2022

Describe the bug
When trying to start routinator - it fails with:

Failed to read config file /home/routinator/.routinator.conf: Is a directory (os error 21)
Failed to read config file /home/routinator/.routinator.conf: Is a directory (os error 21)

Affected Component(s)

  • routinator

To Reproduce
Steps to reproduce the behavior:

  1. Follow the instructions here: https://bgpartemis.readthedocs.io/en/latest/rpkivalidconf/
  2. Routinator fails with the above log (docker logs routinator)
  3. This line in the instructions creates a directory called routinator.conf with the routinator.conf inside it
    cp other/routinator/routinator.conf local_configs/routinator/routinator.conf &&
  4. Edit the docker-compose.routinator.yaml and change the volumes line to:
volumes:
           - ./local_configs/routinator/tals:/home/routinator/.rpki-cache/tals
           - ./local_configs/routinator/routinator.conf/routinator.conf:/home/routinator/.routinator.conf

Expected behavior
Routinator should start, as per instructions

System (please complete the following information):

  • OS: Ubuntu 20.04
  • Docker: 20.10.17
  • Docker-compose: 1.29.2
@CuriouzK0d3r
Copy link
Member

CuriouzK0d3r commented Aug 31, 2022

I wasn't able to replicate this issue yet, but could you run cat local_configs/routinator/routinator.conf to see it is being read as a file?

Perhaps something went wrong with the config files? Can you delete the local_configs/routinator dir and re-execute the following commands?

mkdir -p local_configs/routinator/tals && \ sudo chown -R 1012:1012 local_configs/routinator/tals && \ mkdir -p local_configs/routinator/rpki-repo && \ sudo chown -R 1012:1012 local_configs/routinator/rpki-repo && \ cp other/routinator/routinator.conf local_configs/routinator/routinator.conf && \ sudo chown -R 1012:1012 local_configs/routinator/routinator.conf

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