Hi Trisha, how exactly did you build Graylog? Did you make any modifications to the code?
How did you configure Graylog (i. e. what's the contents of your configuration file)? Cheers, Jochen On Thursday, 8 December 2016 00:00:15 UTC+1, Trisha Funtanilla wrote: > > Hi, > > I built GL 2.x from the source code and tried to deploy it like how I > would the package directly downloaded from the Graylog website > (./bin/graylogctl start), but I'm not able to make it work, and I keep > getting the following logs: > > graylog-elastic2519db014-c56d-4d6b-ae0c-a4c6f5c87a19] version[2.3.2], > pid[49292], build[b9e4a6a/2016-04-21T16:03:47Z] > 2016-12-07 14:47:02,442 INFO : org.elasticsearch.node - > [graylog-elastic2519db014-c56d-4d6b-ae0c-a4c6f5c87a19] initializing ... > 2016-12-07 14:47:02,442 INFO : org.elasticsearch.plugins - > [graylog-elastic2519db014-c56d-4d6b-ae0c-a4c6f5c87a19] modules [], plugins > [graylog-monitor], sites [] > > Above lines just keep repeating, until it gets to: > > Exception in thread "main" java.lang.OutOfMemoryError: Java heap space > at java.util.Arrays.copyOf(Arrays.java:3332) > at > java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:137) > at > java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:121) > at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:421) > at java.lang.StringBuilder.append(StringBuilder.java:136) > at java.lang.StringBuilder.append(StringBuilder.java:76) > at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:457) > at java.lang.StringBuilder.append(StringBuilder.java:166) > at java.lang.StringBuilder.append(StringBuilder.java:76) > at java.util.Formatter$FormatSpecifier.print(Formatter.java:2913) > at java.util.Formatter$FormatSpecifier.printString(Formatter.java:2886) > at java.util.Formatter$FormatSpecifier.print(Formatter.java:2763) > at java.util.Formatter.format(Formatter.java:2520) > at java.util.Formatter.format(Formatter.java:2455) > at org.elasticsearch.common.inject.internal.Errors.format(Errors.java:491) > at > org.elasticsearch.common.inject.CreationException.getMessage(CreationException.java:55) > at java.lang.Throwable.getLocalizedMessage(Throwable.java:391) > at java.lang.Throwable.toString(Throwable.java:480) > at java.util.Formatter$FormatSpecifier.printString(Formatter.java:2886) > at java.util.Formatter$FormatSpecifier.print(Formatter.java:2763) > at java.util.Formatter.format(Formatter.java:2520) > at java.util.Formatter.format(Formatter.java:2455) > at java.lang.String.format(String.java:2928) > at com.google.inject.internal.Errors.format(Errors.java:556) > at com.google.inject.internal.Errors.addMessage(Errors.java:539) > at com.google.inject.internal.Errors.errorInUserCode(Errors.java:421) > at com.google.inject.internal.Errors.errorInProvider(Errors.java:376) > at > com.google.inject.internal.BoundProviderFactory.provision(BoundProviderFactory.java:74) > at > com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:61) > at > com.google.inject.internal.BoundProviderFactory.get(BoundProviderFactory.java:62) > at > com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) > at > com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103) > > > This happens even when I just straight up clone branch 2.0 and build it > (no changes on the code). I need to test some customizations on the server > code which is why I'm trying to build GL from the source code manually. > I've done this for older versions of GL (1.2.x and below) and didn't have > issues like the errors above. This is the first time I'm trying to build > and deploy custom GL 2.x code > > Anyone have any ideas on the issue above? Any help is appreciated. > > Thanks. > > -- You received this message because you are subscribed to the Google Groups "Graylog Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/graylog2/291e46e8-054e-49e3-b423-37ac9ce41092%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
