Created
February 6, 2020 22:44
-
-
Save sombrafam/25b16bdba7be792f9c322c6139feb64e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ubuntu@review:~$ export GERRIT_SITE=~/gerrit_testsite | |
ubuntu@review:~$ mkdir -p $GERRIT_SITE | |
ubuntu@review:~$ java -jar gerrit*.war init --batch --dev -d $GERRIT_SITE | |
[2020-02-06 22:35:19,113] [main] INFO com.google.gerrit.server.config.GerritServerConfigProvider : No /home/ubuntu/gerrit_testsite/etc/gerrit.config; assuming defaults | |
Generating SSH host key ... rsa... ed25519... ecdsa 256... ecdsa 384... ecdsa 521... done | |
Initialized /home/ubuntu/gerrit_testsite | |
Reindexing projects: 100% (2/2) | |
Reindexed 2 documents in projects index in 0.2s (9.6/s) | |
Executing /home/ubuntu/gerrit_testsite/bin/gerrit.sh start | |
Starting Gerrit Code Review: WARNING: Could not adjust Gerrit's process for the kernel's out-of-memory killer. | |
This may be caused by /home/ubuntu/gerrit_testsite/bin/gerrit.sh not being run as root. | |
Consider changing the OOM score adjustment manually for Gerrit's PID=3745 with e.g.: | |
echo '-1000' | sudo tee /proc/3745/oom_score_adj | |
FAILED | |
error: cannot start Gerrit: exit status 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment