Issue 3181: I can't start gerrit
Status:  Invalid
Owner: ----
Closed:  Feb 2015
Reported by sys520...@gmail.com, Feb 16, 2015
*****************************************************************
*****                                                       *****
***** !!!! THIS BUG TRACKER IS FOR GERRIT CODE REVIEW !!!!  *****
*****                                                       *****
***** DO NOT SUBMIT BUGS FOR CHROME, ANDROID, CYANOGENMOD,  *****
***** INTERNAL ISSUES WITH YOUR COMPANY'S GERRIT SETUP, ETC.*****
*****                                                       *****
*****   THOSE ISSUES BELONG IN DIFFERENT ISSUE TRACKERS     *****
*****                                                       *****
*****************************************************************

Affected Version:
2.10

What steps will reproduce the problem?
1.review_site/bin/gerrit.sh start
 starting Gerrit Code Review: FAILED


What is the expected output? What do you see instead?
expected: gerrit start

instead: over

Please provide any additional information below.
gerrit log:
[2015-02-17 14:15:22,753] ERROR com.google.gerrit.pgm.Daemon : Unable to start daemon
com.google.inject.ProvisionException: Unable to provision, see the following errors:

1) Schema not yet initialized.  Run init to initialize the schema:
$ java -jar gerrit.war init -d /home/gerrit2/review_site

1 error
	at com.google.gerrit.server.schema.SchemaVersionCheck.start(SchemaVersionCheck.java:63)
	at com.google.gerrit.lifecycle.LifecycleManager.start(LifecycleManager.java:74)
	at com.google.gerrit.pgm.Daemon.start(Daemon.java:291)
	at com.google.gerrit.pgm.Daemon.run(Daemon.java:203)
	at com.google.gerrit.pgm.util.AbstractProgram.main(AbstractProgram.java:64)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at com.google.gerrit.launcher.GerritLauncher.invokeProgram(GerritLauncher.java:166)
	at com.google.gerrit.launcher.GerritLauncher.mainImpl(GerritLauncher.java:93)
	at com.google.gerrit.launcher.GerritLauncher.main(GerritLauncher.java:50)
	at Main.main(Main.java:25)

postgresql log:

< 2015-02-17 14:15:22.743 CST >ERROR:  relation "schema_version" does not exist at character 39
< 2015-02-17 14:15:22.743 CST >STATEMENT:  SELECT T.version_nbr,T.singleton FROM schema_version T WHERE T.singleton=$1
Feb 17, 2015
Project Member #1 edwin.ke...@gmail.com
Initialize your site as suggested:
1) Schema not yet initialized.  Run init to initialize the schema:
$ java -jar gerrit.war init -d /home/gerrit2/review_site
Feb 17, 2015
#2 sys520...@gmail.com
I run and run this command.But this is not  problem spot.


Feb 17, 2015
#3 sys520...@gmail.com
Ok,  I have resolved the problem。

the question is that tui let me choose solr or Lucene, I choosed solr But I don't install it. 
I changed choose is Lucene. the problem resloved.

So, I think this output is unfriendly.
Feb 17, 2015
Project Member #4 david.pu...@sonymobile.com
(No comment was entered for this change.)
Status: Invalid