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

Can't run rpki validator locally built #45

Open
nehagp2 opened this issue Dec 25, 2018 · 1 comment
Open

Can't run rpki validator locally built #45

nehagp2 opened this issue Dec 25, 2018 · 1 comment

Comments

@nehagp2
Copy link

nehagp2 commented Dec 25, 2018

Tried mvn package, then updating the lib.dir in the conf file to the rpki-validator-app/target directory, then running the following:
./src/main/scripts/rpki-validator.sh start -c <path-to-updated-rpki-validator.conf>

but get Could not find or load main class net.ripe.rpki.validator.config.Main

Would appreciate help. Thanks.

@dacruz
Copy link
Contributor

dacruz commented Dec 27, 2018

Hi there!
You should have a dist file after running mvn package somewhere around here:
[...]/rpki-validator-app/target/rpki-validator-app-2.26-SNAPSHOT-dist.tar.gz

Manual Installation

= Decompress the downloaded package

Not the downloaded in this case, but your build

= Run the RPKI Validator script from the root folder to start, run (in foreground), stop
and check the status of the application

   ./rpki-validator.sh start  [-c /path/to/my-configuration.conf]

or ./rpki-validator.sh run [-c /path/to/my-configuration.conf]
or ./rpki-validator.sh stop [-c /path/to/my-configuration.conf]
or ./rpki-validator.sh status [-c /path/to/my-configuration.conf]

Note: you only have to use the -c flag if you change the name and/or location of the
configuration file, as explained below.

= Once the application has started, it will write the current PID to rpki-validator.pid
and start logging to the log directory. You can access the web user interface here:

http://yourhost:http-port/ (e.g. http://localhost:8080/)

Cheers

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

No branches or pull requests

2 participants