Skip to content
This repository has been archived by the owner on Jul 15, 2021. It is now read-only.

Troubleshooting

Mikhail Puzanov edited this page Mar 3, 2020 · 5 revisions

In some cases it is reasonable to remove the validator's local database and restart it. It would make sense if there's a lot of stale objects due to some of the repositories are not available for long time or the validator instabilities (which doesn't happen very often, but still can be the case).

Please note, that restart means that ARIN TAL will not be registered and needs to be added again. It can be done by using upload-tal.sh arin-ripevalidator.tal http://localhost:8080/ or by putting arin-ripevalidator.tal inside of /var/lib/rpki-validator-3/preconfigured-tals/ before starting the validator.

In order to reset the state of the validator one should do the following:

sudo systemctl stop rpki-validator-3
sudo systemctl stop rpki-rtr-server

# Remove the Xodus database
sudo rm -Rf /var/lib/rpki-validator-3/db/*

# If needed, add the ARIN TAL
# cp arin-ripevalidator.tal /var/lib/rpki-validator-3/preconfigured-tals/

sudo systemctl start rpki-validator-3
sudo systemctl start rpki-rtr-server