New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

graylog2 can not start!!! #2536

Closed
nile opened this Issue Jul 26, 2016 · 3 comments

Comments

Projects
None yet
2 participants
@nile

nile commented Jul 26, 2016

graylog.conf

is_master = true
node_id_file = ~/node-id
password_secret = 0GfeFiddzix4IdYzTjT8PGSaYnTm5vYzaBk9QXyN12RhwSlIHHY1ewv3cIM4Cj5mgxRN9ImWeCqojc9hjvKDoS2ztrzY7igt
root_password_sha2 = 8c6976e5b5410415bde908bd4dee15dfb167a9c873fc4bb8a81f6f2ab448a918
root_timezone = Asia/Shanghai
plugin_dir = plugin
rest_listen_uri = http://192.168.99.100:12900/
web_listen_uri = http://192.168.99.100:9000/
rotation_strategy = count
elasticsearch_max_docs_per_index = 20000000
elasticsearch_max_number_of_indices = 20
retention_strategy = delete
elasticsearch_shards = 4
elasticsearch_replicas = 0
allow_leading_wildcard_searches = false
allow_highlighting = false
elasticsearch_cluster_name = elasticsearch
elasticsearch_discovery_zen_ping_unicast_hosts = 192.168.99.100:9300
elasticsearch_analyzer = standard
output_batch_size = 500
output_flush_interval = 1
output_fault_count_threshold = 5
output_fault_penalty_seconds = 30
processbuffer_processors = 5
outputbuffer_processors = 3
processor_wait_strategy = blocking
ring_size = 65536
inputbuffer_ring_size = 65536
inputbuffer_processors = 2
inputbuffer_wait_strategy = blocking
message_journal_enabled = true
message_journal_dir = data/journal
lb_recognition_period_seconds = 3
mongodb_uri = mongodb://localhost/graylog
mongodb_max_connections = 1000
mongodb_threads_allowed_to_block_multiplier = 5
content_packs_auto_load = grok-patterns.json

elasticsearch.yml

network.host: 192.168.99.100
discovery.zen.ping.unicast.hosts: ["192.168.99.100"]

> java  -Djava.net.preferIPv4Stack=true -jar graylog.jar server -f graylog.conf                                 ~/graylog-2.0.3@sam-VirtualBox
2016-07-26 18:15:43,351 INFO : org.graylog2.bootstrap.CmdLineTool - Loaded plugin: Collector 1.0.3 [org.graylog.plugins.collector.CollectorPlugin]
2016-07-26 18:15:43,352 INFO : org.graylog2.bootstrap.CmdLineTool - Loaded plugin: Enterprise Integration Plugin 1.0.3 [org.graylog.plugins.enterprise_integration.EnterpriseIntegrationPlugin]
2016-07-26 18:15:43,352 INFO : org.graylog2.bootstrap.CmdLineTool - Loaded plugin: MapWidgetPlugin 1.0.3 [org.graylog.plugins.map.MapWidgetPlugin]
2016-07-26 18:15:43,352 INFO : org.graylog2.bootstrap.CmdLineTool - Loaded plugin: Pipeline Processor Plugin 1.0.0-beta.5 [org.graylog.plugins.pipelineprocessor.ProcessorPlugin]
2016-07-26 18:15:43,352 INFO : org.graylog2.bootstrap.CmdLineTool - Loaded plugin: Anonymous Usage Statistics 2.0.3 [org.graylog.plugins.usagestatistics.UsageStatsPlugin]
2016-07-26 18:15:43,438 INFO : org.graylog2.bootstrap.CmdLineTool - Running with JVM arguments: -Djava.net.preferIPv4Stack=true
2016-07-26 18:15:43,824 INFO : org.graylog2.shared.system.stats.SigarService - Failed to load SIGAR. Falling back to JMX implementations.
2016-07-26 18:15:44,963 INFO : org.graylog2.shared.buffers.InputBufferImpl - Message journal is enabled.
2016-07-26 18:15:45,128 INFO : kafka.log.LogManager - Loading logs.
2016-07-26 18:15:45,205 INFO : kafka.log.LogManager - Logs loading complete.
2016-07-26 18:15:45,206 INFO : org.graylog2.shared.journal.KafkaJournal - Initialized Kafka based journal at data/journal
2016-07-26 18:15:45,221 INFO : org.graylog2.shared.buffers.InputBufferImpl - Initialized InputBufferImpl with ring size <65536> and wait strategy <BlockingWaitStrategy>, running 2 parallel message handlers.
2016-07-26 18:15:45,270 INFO : org.mongodb.driver.cluster - Cluster created with settings {hosts=[localhost:27017], mode=SINGLE, requiredClusterType=UNKNOWN, serverSelectionTimeout='30000 ms', maxWaitQueueSize=5000}
2016-07-26 18:15:45,309 INFO : org.mongodb.driver.cluster - No server chosen by ReadPreferenceServerSelector{readPreference=primary} from cluster description ClusterDescription{type=UNKNOWN, connectionMode=SINGLE, all=[ServerDescription{address=localhost:27017, type=UNKNOWN, state=CONNECTING}]}. Waiting for 30000 ms before timing out
2016-07-26 18:15:45,343 INFO : org.mongodb.driver.connection - Opened connection [connectionId{localValue:1, serverValue:26}] to localhost:27017
2016-07-26 18:15:45,344 INFO : org.mongodb.driver.cluster - Monitor thread successfully connected to server with description ServerDescription{address=localhost:27017, type=STANDALONE, state=CONNECTED, ok=true, version=ServerVersion{versionList=[2, 6, 10]}, minWireVersion=0, maxWireVersion=2, maxDocumentSize=16777216, roundTripTimeNanos=427079}
2016-07-26 18:15:45,348 INFO : org.mongodb.driver.connection - Opened connection [connectionId{localValue:2, serverValue:27}] to localhost:27017
2016-07-26 18:15:45,628 INFO : org.graylog2.plugin.system.NodeId - Node ID: c5c29db3-bf0e-4888-8cf4-fbe5ddba0f68
2016-07-26 18:15:45,735 INFO : org.elasticsearch.node - [graylog-c5c29db3-bf0e-4888-8cf4-fbe5ddba0f68] version[2.3.2], pid[7136], build[b9e4a6a/2016-04-21T16:03:47Z]
2016-07-26 18:15:45,735 INFO : org.elasticsearch.node - [graylog-c5c29db3-bf0e-4888-8cf4-fbe5ddba0f68] initializing ...
2016-07-26 18:15:45,740 INFO : org.elasticsearch.plugins - [graylog-c5c29db3-bf0e-4888-8cf4-fbe5ddba0f68] modules [], plugins [graylog-monitor], sites []
2016-07-26 18:15:47,320 INFO : org.elasticsearch.node - [graylog-c5c29db3-bf0e-4888-8cf4-fbe5ddba0f68] version[2.3.2], pid[7136], build[b9e4a6a/2016-04-21T16:03:47Z]
2016-07-26 18:15:47,320 INFO : org.elasticsearch.node - [graylog-c5c29db3-bf0e-4888-8cf4-fbe5ddba0f68] initializing ...
2016-07-26 18:15:47,321 INFO : org.elasticsearch.plugins - [graylog-c5c29db3-bf0e-4888-8cf4-fbe5ddba0f68] modules [], plugins [graylog-monitor], sites []
2016-07-26 18:15:47,669 INFO : org.elasticsearch.node - [graylog-c5c29db3-bf0e-4888-8cf4-fbe5ddba0f68] version[2.3.2], pid[7136], build[b9e4a6a/2016-04-21T16:03:47Z]
2016-07-26 18:15:47,670 INFO : org.elasticsearch.node - [graylog-c5c29db3-bf0e-4888-8cf4-fbe5ddba0f68] initializing ...
2016-07-26 18:15:47,670 INFO : org.elasticsearch.plugins - [graylog-c5c29db3-bf0e-4888-8cf4-fbe5ddba0f68] modules [], plugins [graylog-monitor], sites []
2016-07-26 18:15:48,049 INFO : org.elasticsearch.node - [graylog-c5c29db3-bf0e-4888-8cf4-fbe5ddba0f68] version[2.3.2], pid[7136], build[b9e4a6a/2016-04-21T16:03:47Z]
2016-07-26 18:15:48,049 INFO : org.elasticsearch.node - [graylog-c5c29db3-bf0e-4888-8cf4-fbe5ddba0f68] initializing ...
2016-07-26 18:15:48,050 INFO : org.elasticsearch.plugins - [graylog-c5c29db3-bf0e-4888-8cf4-fbe5ddba0f68] modules [], plugins [graylog-monitor], sites []
2016-07-26 18:15:48,390 INFO : org.hibernate.validator.internal.util.Version - HV000001: Hibernate Validator 5.2.4.Final
2016-07-26 18:15:48,548 INFO : org.graylog2.users.RoleServiceImpl - Admin role is missing or invalid, re-adding it as a built-in role.
2016-07-26 18:15:48,645 INFO : org.graylog2.users.RoleServiceImpl - Reader role is missing or invalid, re-adding it as a built-in role.
2016-07-26 18:15:48,665 INFO : org.elasticsearch.node - [graylog-c5c29db3-bf0e-4888-8cf4-fbe5ddba0f68] version[2.3.2], pid[7136], build[b9e4a6a/2016-04-21T16:03:47Z]
2016-07-26 18:15:48,665 INFO : org.elasticsearch.node - [graylog-c5c29db3-bf0e-4888-8cf4-fbe5ddba0f68] initializing ...
2016-07-26 18:15:48,665 INFO : org.elasticsearch.plugins - [graylog-c5c29db3-bf0e-4888-8cf4-fbe5ddba0f68] modules [], plugins [graylog-monitor], sites []
2016-07-26 18:15:49,035 INFO : org.graylog2.shared.buffers.ProcessBuffer - Initialized ProcessBuffer with ring size <65536> and wait strategy <BlockingWaitStrategy>.
2016-07-26 18:15:50,385 INFO : org.graylog2.bindings.providers.RulesEngineProvider - No static rules file loaded.
2016-07-26 18:15:50,398 INFO : org.elasticsearch.node - [graylog-c5c29db3-bf0e-4888-8cf4-fbe5ddba0f68] version[2.3.2], pid[7136], build[b9e4a6a/2016-04-21T16:03:47Z]
2016-07-26 18:15:50,398 INFO : org.elasticsearch.node - [graylog-c5c29db3-bf0e-4888-8cf4-fbe5ddba0f68] initializing ...
2016-07-26 18:15:50,398 INFO : org.elasticsearch.plugins - [graylog-c5c29db3-bf0e-4888-8cf4-fbe5ddba0f68] modules [], plugins [graylog-monitor], sites []
2016-07-26 18:15:50,738 INFO : org.elasticsearch.node - [graylog-c5c29db3-bf0e-4888-8cf4-fbe5ddba0f68] version[2.3.2], pid[7136], build[b9e4a6a/2016-04-21T16:03:47Z]
2016-07-26 18:15:50,738 INFO : org.elasticsearch.node - [graylog-c5c29db3-bf0e-4888-8cf4-fbe5ddba0f68] initializing ...
2016-07-26 18:15:50,739 INFO : org.elasticsearch.plugins - [graylog-c5c29db3-bf0e-4888-8cf4-fbe5ddba0f68] modules [], plugins [graylog-monitor], sites []
2016-07-26 18:15:51,044 INFO : org.elasticsearch.node - [graylog-c5c29db3-bf0e-4888-8cf4-fbe5ddba0f68] version[2.3.2], pid[7136], build[b9e4a6a/2016-04-21T16:03:47Z]
2016-07-26 18:15:51,044 INFO : org.elasticsearch.node - [graylog-c5c29db3-bf0e-4888-8cf4-fbe5ddba0f68] initializing ...
2016-07-26 18:15:51,044 INFO : org.elasticsearch.plugins - [graylog-c5c29db3-bf0e-4888-8cf4-fbe5ddba0f68] modules [], plugins [graylog-monitor], sites []
2016-07-26 18:15:51,360 INFO : org.elasticsearch.node - [graylog-c5c29db3-bf0e-4888-8cf4-fbe5ddba0f68] version[2.3.2], pid[7136], build[b9e4a6a/2016-04-21T16:03:47Z]
2016-07-26 18:15:51,360 INFO : org.elasticsearch.node - [graylog-c5c29db3-bf0e-4888-8cf4-fbe5ddba0f68] initializing ...
2016-07-26 18:15:51,360 INFO : org.elasticsearch.plugins - [graylog-c5c29db3-bf0e-4888-8cf4-fbe5ddba0f68] modules [], plugins [graylog-monitor], sites []
2016-07-26 18:15:51,708 INFO : org.graylog2.buffers.OutputBuffer - Initialized OutputBuffer with ring size <65536> and wait strategy <BlockingWaitStrategy>.
2016-07-26 18:15:51,710 INFO : org.elasticsearch.node - [graylog-c5c29db3-bf0e-4888-8cf4-fbe5ddba0f68] version[2.3.2], pid[7136], build[b9e4a6a/2016-04-21T16:03:47Z]
2016-07-26 18:15:51,710 INFO : org.elasticsearch.node - [graylog-c5c29db3-bf0e-4888-8cf4-fbe5ddba0f68] initializing ...
2016-07-26 18:15:51,710 INFO : org.elasticsearch.plugins - [graylog-c5c29db3-bf0e-4888-8cf4-fbe5ddba0f68] modules [], plugins [graylog-monitor], sites []
2016-07-26 18:15:51,963 INFO : org.elasticsearch.node - [graylog-c5c29db3-bf0e-4888-8cf4-fbe5ddba0f68] version[2.3.2], pid[7136], build[b9e4a6a/2016-04-21T16:03:47Z]
2016-07-26 18:15:51,963 INFO : org.elasticsearch.node - [graylog-c5c29db3-bf0e-4888-8cf4-fbe5ddba0f68] initializing ...
2016-07-26 18:15:51,963 INFO : org.elasticsearch.plugins - [graylog-c5c29db3-bf0e-4888-8cf4-fbe5ddba0f68] modules [], plugins [graylog-monitor], sites []
2016-07-26 18:15:52,207 INFO : org.elasticsearch.node - [graylog-c5c29db3-bf0e-4888-8cf4-fbe5ddba0f68] version[2.3.2], pid[7136], build[b9e4a6a/2016-04-21T16:03:47Z]
2016-07-26 18:15:52,207 INFO : org.elasticsearch.node - [graylog-c5c29db3-bf0e-4888-8cf4-fbe5ddba0f68] initializing ...
2016-07-26 18:15:52,207 INFO : org.elasticsearch.plugins - [graylog-c5c29db3-bf0e-4888-8cf4-fbe5ddba0f68] modules [], plugins [graylog-monitor], sites []
2016-07-26 18:15:52,593 INFO : org.elasticsearch.node - [graylog-c5c29db3-bf0e-4888-8cf4-fbe5ddba0f68] version[2.3.2], pid[7136], build[b9e4a6a/2016-04-21T16:03:47Z]
2016-07-26 18:15:52,593 INFO : org.elasticsearch.node - [graylog-c5c29db3-bf0e-4888-8cf4-fbe5ddba0f68] initializing ...
2016-07-26 18:15:52,593 INFO : org.elasticsearch.plugins - [graylog-c5c29db3-bf0e-4888-8cf4-fbe5ddba0f68] modules [], plugins [graylog-monitor], sites []
... util out of memory
@joschi

This comment has been minimized.

Contributor

joschi commented Jul 26, 2016

@nile We are using GitHub issues for tracking bugs in Graylog itself, but this doesn't look like one. Please post this issue to our public mailing list or join the #graylog channel on freenode IRC.

Thank you!

@joschi joschi closed this Jul 26, 2016

@nile

This comment has been minimized.

nile commented Jul 26, 2016

thanks!

@nile

This comment has been minimized.

nile commented Aug 3, 2016

after i change java from openjdk to oracle jdk , work fine!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment