Skip to content

Instantly share code, notes, and snippets.

@dnaeon
Created January 13, 2012 19:18
Show Gist options
  • Save dnaeon/1608213 to your computer and use it in GitHub Desktop.
Save dnaeon/1608213 to your computer and use it in GitHub Desktop.
gerrit start up issue with openjdk
mra:(~/PROJECTS/gerrit-freebsd)> sudo service gerrit onestart <[1573][21:14]]
No Gerrit site found. Will initialize Gerrit first...
*** Gerrit Code Review 2.2.2-rc0
***
Create '/usr/local/gerrit/review_site' [Y/n]?
*** Git Repositories
***
Location of Git repositories [git]:
*** SQL Database
***
Database server type [H2/?]:
*** User Authentication
***
Authentication method [OPENID/?]:
*** Email Delivery
***
SMTP server hostname [localhost]:
SMTP server port [(default)]:
SMTP encryption [NONE/?]:
SMTP username :
*** Container Process
***
Run as [gerrit]:
Java runtime [/usr/local/diablo-jdk1.6.0/jre]: /usr/local/openjdk6/jre
Copy gerrit.war to /usr/local/gerrit/review_site/bin/gerrit.war [Y/n]?
Copying gerrit.war to /usr/local/gerrit/review_site/bin/gerrit.war
*** SSH Daemon
***
Listen on address [*]:
Listen on port [29418]:
Gerrit Code Review is not shipped with Bouncy Castle Crypto v144
If available, Gerrit can take advantage of features
in the library, but will also function without it.
Download and install it now [Y/n]?
Downloading http://www.bouncycastle.org/download/bcprov-jdk16-144.jar ... OK
Checksum bcprov-jdk16-144.jar OK
Generating SSH host key ... rsa... dsa... done
*** HTTP Daemon
***
Behind reverse proxy [y/N]?
Use SSL (https://) [y/N]?
Listen on address [*]:
Listen on port [8080]:
Canonical URL [http://localhost:8080/]:
Initialized /usr/local/gerrit/review_site
Executing /usr/local/gerrit/review_site/bin/gerrit.sh start
ulimit: bad limit: Operation not permitted
Starting Gerrit Code Review: execve(): Permission denied
Error trying to exec (null).
Check if file exists and permissions are set correctly.
FAILED
error: cannot start Gerrit: exit status 1
Waiting for server to start ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment