Skip to content

Instantly share code, notes, and snippets.

@mayhem
Created May 15, 2012 07:02
Show Gist options
  • Save mayhem/2699673 to your computer and use it in GitHub Desktop.
Save mayhem/2699673 to your computer and use it in GitHub Desktop.
env JAR=jar/http-svn-musicbrainz-org-search-server-trunk--13563-index-with-dependencies.jar builder --indexes-dir ./data/tmp --freedb-dump freedb-data/freedb-complete-latest.tar.bz2 --indexes freedb
Running in test mode.
Index Builder Started:07:01:39
org.postgresql.util.PSQLException: FATAL: role "musicbrainz_user" does not exist
at org.postgresql.core.v3.ConnectionFactoryImpl.readStartupMessages(ConnectionFactoryImpl.java:444)
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:99)
at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:66)
at org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:124)
at org.postgresql.jdbc3.AbstractJdbc3Connection.<init>(AbstractJdbc3Connection.java:30)
at org.postgresql.jdbc4.AbstractJdbc4Connection.<init>(AbstractJdbc4Connection.java:29)
at org.postgresql.jdbc4.Jdbc4Connection.<init>(Jdbc4Connection.java:24)
at org.postgresql.Driver.makeConnection(Driver.java:386)
at org.postgresql.Driver.connect(Driver.java:260)
at java.sql.DriverManager.getConnection(DriverManager.java:620)
at java.sql.DriverManager.getConnection(DriverManager.java:169)
at org.musicbrainz.search.index.IndexOptions.getMainDatabaseConnection(IndexOptions.java:49)
at org.musicbrainz.search.index.IndexBuilder.main(IndexBuilder.java:109)
Exception in thread "main" java.lang.NullPointerException
at org.musicbrainz.search.index.DatabaseIndex.readReplicationInformationFromDatabase(DatabaseIndex.java:117)
at org.musicbrainz.search.index.IndexBuilder.main(IndexBuilder.java:139)
make[1]: *** [mb_index] Error 1
make[1]: Leaving directory `/home/search'
make: *** [data/cur/freedb] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment