I have fresh installed Graylog, but web interface is not working.
Graylog is installed on remote linux machine with graylog.abc.com hostname and I want to get access from my local machine.
curl -i http://graylog.abc.com:9000
and curl -i http://graylog.abc.com:9000/api
give normal response
URIs in /etc/graylog/server/server.conf look this way
rest_listen_uri = http://graylog.abc.com:9000/api/
web_listen_uri = http://graylog.abc.com:9000/
Contents of /var/log/graylog-server/server.log from last servise restart:
2017-11-16T13:02:16.467+03:00 INFO [CmdLineTool] Running with JVM arguments: -Xms1g -Xmx1g -XX:NewRatio=1 -XX:+ResizeTLAB -XX:+UseConcMarkSweepGC -XX:+CMSConcurrentMTEnabled -XX:+CMSClassUnloadingEnabled -XX:+UseParNewGC -XX:-OmitStackTraceInFastThrow -Dlog4j.configurationFile=file:///etc/graylog/server/log4j2.xml -Djava.library.path=/usr/share/graylog-server/lib/sigar -Dgraylog2.installation_source=deb
2017-11-16T13:02:17.358+03:00 INFO [Version] HV000001: Hibernate Validator null
2017-11-16T13:02:31.326+03:00 INFO [InputBufferImpl] Message journal is enabled.
2017-11-16T13:02:32.122+03:00 INFO [NodeId] Node ID: 6dac4853-c17a-43cf-9f92-e95617942bfc
2017-11-16T13:02:32.611+03:00 INFO [LogManager] Loading logs.
2017-11-16T13:02:32.680+03:00 WARN [Log] Found a corrupted index file, /var/lib/graylog-server/journal/messagejournal-0/00000000000000000000.index, deleting and rebuilding index...
2017-11-16T13:02:32.743+03:00 INFO [LogManager] Logs loading complete.
2017-11-16T13:02:32.743+03:00 INFO [KafkaJournal] Initialized Kafka based journal at /var/lib/graylog-server/journal
2017-11-16T13:02:32.781+03:00 INFO [InputBufferImpl] Initialized InputBufferImpl with ring size <65536> and wait strategy <BlockingWaitStrategy>, running 2 parallel message handlers.
2017-11-16T13:02:32.824+03:00 INFO [cluster] Cluster created with settings {hosts=[localhost:27017], mode=SINGLE, requiredClusterType=UNKNOWN, serverSelectionTimeout='30000 ms', maxWaitQueueSize=5000}
2017-11-16T13:02:32.922+03:00 INFO [cluster] No server chosen by ReadPreferenceServerSelector{readPreference=primary} from cluster description ClusterDescription{type=UNKNOWN, connectionMode=SINGLE, serverDescriptions=[ServerDescription{address=localhost:27017, type=UNKNOWN, state=CONNECTING}]}. Waiting for 30000 ms before timing out
2017-11-16T13:02:32.989+03:00 INFO [connection] Opened connection [connectionId{localValue:1, serverValue:1}] to localhost:27017
2017-11-16T13:02:32.991+03:00 INFO [cluster] Monitor thread successfully connected to server with description ServerDescription{address=localhost:27017, type=STANDALONE, state=CONNECTED, ok=true, version=ServerVersion{versionList=[3, 2, 11]}, minWireVersion=0, maxWireVersion=4, maxDocumentSize=16777216, roundTripTimeNanos=708874}
2017-11-16T13:02:33.006+03:00 INFO [connection] Opened connection [connectionId{localValue:2, serverValue:2}] to localhost:27017
2017-11-16T13:02:33.829+03:00 INFO [AbstractJestClient] Setting server pool to a list of 1 servers: [http://127.0.0.1:9200]
2017-11-16T13:02:33.830+03:00 INFO [JestClientFactory] Using multi thread/connection supporting pooling connection manager
2017-11-16T13:02:33.987+03:00 INFO [JestClientFactory] Using custom ObjectMapper instance
2017-11-16T13:02:33.988+03:00 INFO [JestClientFactory] Node Discovery disabled...
2017-11-16T13:02:33.988+03:00 INFO [JestClientFactory] Idle connection reaping disabled...
2017-11-16T13:02:35.039+03:00 INFO [ProcessBuffer] Initialized ProcessBuffer with ring size <65536> and wait strategy <BlockingWaitStrategy>.
2017-11-16T13:02:43.386+03:00 INFO [RulesEngineProvider] No static rules file loaded.
2017-11-16T13:02:43.974+03:00 WARN [GeoIpResolverEngine] GeoIP database file does not exist: /etc/graylog/server/GeoLite2-City.mmdb
2017-11-16T13:02:43.987+03:00 INFO [OutputBuffer] Initialized OutputBuffer with ring size <65536> and wait strategy <BlockingWaitStrategy>.
2017-11-16T13:02:44.023+03:00 WARN [GeoIpResolverEngine] GeoIP database file does not exist: /etc/graylog/server/GeoLite2-City.mmdb
2017-11-16T13:02:44.060+03:00 WARN [GeoIpResolverEngine] GeoIP database file does not exist: /etc/graylog/server/GeoLite2-City.mmdb
2017-11-16T13:02:44.096+03:00 WARN [GeoIpResolverEngine] GeoIP database file does not exist: /etc/graylog/server/GeoLite2-City.mmdb
2017-11-16T13:02:44.129+03:00 WARN [GeoIpResolverEngine] GeoIP database file does not exist: /etc/graylog/server/GeoLite2-City.mmdb
2017-11-16T13:02:44.628+03:00 INFO [ServerBootstrap] Graylog server 2.3.2+3df951e starting up
2017-11-16T13:02:44.629+03:00 INFO [ServerBootstrap] JRE: Oracle Corporation 1.8.0_151 on Linux 4.13.0-0.bpo.1-amd64
2017-11-16T13:02:44.629+03:00 INFO [ServerBootstrap] Deployment: deb
2017-11-16T13:02:44.629+03:00 INFO [ServerBootstrap] OS: Debian GNU/Linux 9 (stretch) (debian)
2017-11-16T13:02:44.629+03:00 INFO [ServerBootstrap] Arch: amd64
2017-11-16T13:02:44.637+03:00 WARN [DeadEventLoggingListener] Received unhandled event of type <org.graylog2.plugin.lifecycles.Lifecycle> from event bus <AsyncEventBus{graylog-eventbus}>
2017-11-16T13:02:44.692+03:00 INFO [PeriodicalsService] Starting 26 periodicals ...
2017-11-16T13:02:44.693+03:00 INFO [Periodicals] Starting [org.graylog2.periodical.ThroughputCalculator] periodical in [0s], polling every [1s].
2017-11-16T13:02:44.721+03:00 INFO [Periodicals] Starting [org.graylog2.periodical.AlertScannerThread] periodical in [10s], polling every [60s].
2017-11-16T13:02:44.722+03:00 INFO [Periodicals] Starting [org.graylog2.periodical.BatchedElasticSearchOutputFlushThread] periodical in [0s], polling every [1s].
2017-11-16T13:02:44.726+03:00 INFO [Periodicals] Starting [org.graylog2.periodical.ClusterHealthCheckThread] periodical in [120s], polling every [20s].
2017-11-16T13:02:44.727+03:00 INFO [Periodicals] Starting [org.graylog2.periodical.ContentPackLoaderPeriodical] periodical, running forever.
2017-11-16T13:02:44.727+03:00 INFO [Periodicals] Starting [org.graylog2.periodical.GarbageCollectionWarningThread] periodical, running forever.
2017-11-16T13:02:44.730+03:00 INFO [Periodicals] Starting [org.graylog2.periodical.IndexerClusterCheckerThread] periodical in [0s], polling every [30s].
2017-11-16T13:02:44.731+03:00 INFO [Periodicals] Starting [org.graylog2.periodical.IndexRetentionThread] periodical in [0s], polling every [300s].
2017-11-16T13:02:44.734+03:00 INFO [Periodicals] Starting [org.graylog2.periodical.IndexRotationThread] periodical in [0s], polling every [10s].
2017-11-16T13:02:44.736+03:00 INFO [Periodicals] Starting [org.graylog2.periodical.NodePingThread] periodical in [0s], polling every [1s].
2017-11-16T13:02:44.736+03:00 INFO [Periodicals] Starting [org.graylog2.periodical.VersionCheckThread] periodical in [300s], polling every [1800s].
2017-11-16T13:02:44.738+03:00 INFO [Periodicals] Starting [org.graylog2.periodical.ThrottleStateUpdaterThread] periodical in [1s], polling every [1s].
2017-11-16T13:02:44.739+03:00 INFO [Periodicals] Starting [org.graylog2.events.ClusterEventPeriodical] periodical in [0s], polling every [1s].
2017-11-16T13:02:44.741+03:00 INFO [Periodicals] Starting [org.graylog2.events.ClusterEventCleanupPeriodical] periodical in [0s], polling every [86400s].
2017-11-16T13:02:44.746+03:00 INFO [Periodicals] Starting [org.graylog2.periodical.ClusterIdGeneratorPeriodical] periodical, running forever.
2017-11-16T13:02:44.746+03:00 INFO [Periodicals] Starting [org.graylog2.periodical.IndexRangesMigrationPeriodical] periodical, running forever.
2017-11-16T13:02:44.746+03:00 INFO [Periodicals] Starting [org.graylog2.periodical.IndexRangesCleanupPeriodical] periodical in [15s], polling every [3600s].
2017-11-16T13:02:44.803+03:00 INFO [connection] Opened connection [connectionId{localValue:7, serverValue:6}] to localhost:27017
2017-11-16T13:02:44.804+03:00 INFO [connection] Opened connection [connectionId{localValue:9, serverValue:8}] to localhost:27017
2017-11-16T13:02:44.808+03:00 INFO [connection] Opened connection [connectionId{localValue:6, serverValue:5}] to localhost:27017
2017-11-16T13:02:44.809+03:00 INFO [connection] Opened connection [connectionId{localValue:8, serverValue:7}] to localhost:27017
2017-11-16T13:02:44.810+03:00 INFO [connection] Opened connection [connectionId{localValue:5, serverValue:4}] to localhost:27017
2017-11-16T13:02:44.811+03:00 INFO [connection] Opened connection [connectionId{localValue:3, serverValue:3}] to localhost:27017
2017-11-16T13:02:44.828+03:00 INFO [connection] Opened connection [connectionId{localValue:4, serverValue:9}] to localhost:27017
2017-11-16T13:02:44.828+03:00 INFO [connection] Opened connection [connectionId{localValue:11, serverValue:11}] to localhost:27017
2017-11-16T13:02:44.828+03:00 INFO [connection] Opened connection [connectionId{localValue:10, serverValue:10}] to localhost:27017
2017-11-16T13:02:44.866+03:00 INFO [PeriodicalsService] Not starting [org.graylog2.periodical.UserPermissionMigrationPeriodical] periodical. Not configured to run on this node.
2017-11-16T13:02:44.866+03:00 INFO [Periodicals] Starting [org.graylog2.periodical.AlarmCallbacksMigrationPeriodical] periodical, running forever.
2017-11-16T13:02:44.874+03:00 INFO [Periodicals] Starting [org.graylog2.periodical.ConfigurationManagementPeriodical] periodical, running forever.
2017-11-16T13:02:44.884+03:00 INFO [Periodicals] Starting [org.graylog2.periodical.LdapGroupMappingMigration] periodical, running forever.
2017-11-16T13:02:44.903+03:00 INFO [Periodicals] Starting [org.graylog2.periodical.IndexFailuresPeriodical] periodical, running forever.
2017-11-16T13:02:44.915+03:00 INFO [Periodicals] Starting [org.graylog.plugins.usagestatistics.UsageStatsNodePeriodical] periodical in [300s], polling every [21600s].
2017-11-16T13:02:44.916+03:00 INFO [Periodicals] Starting [org.graylog.plugins.usagestatistics.UsageStatsClusterPeriodical] periodical in [300s], polling every [21600s].
2017-11-16T13:02:45.031+03:00 INFO [Periodicals] Starting [org.graylog.plugins.pipelineprocessor.periodical.LegacyDefaultStreamMigration] periodical, running forever.
2017-11-16T13:02:45.033+03:00 INFO [Periodicals] Starting [org.graylog.plugins.collector.periodical.PurgeExpiredCollectorsThread] periodical in [0s], polling every [3600s].
2017-11-16T13:02:45.063+03:00 INFO [LegacyDefaultStreamMigration] Legacy default stream has no connections, no migration needed.
2017-11-16T13:02:46.235+03:00 INFO [JerseyService] Enabling CORS for HTTP endpoint
2017-11-16T13:03:05.719+03:00 INFO [NetworkListener] Started listener bound to [graylog.abc.com:9000]
2017-11-16T13:03:05.722+03:00 INFO [HttpServer] [HttpServer] Started.
2017-11-16T13:03:05.723+03:00 INFO [JerseyService] Started REST API at <http://graylog.abc.com:9000/api/>
2017-11-16T13:03:05.723+03:00 INFO [JerseyService] Started Web Interface at <http://graylog.abc.com:9000/>
2017-11-16T13:03:05.724+03:00 INFO [ServerBootstrap] Services started, startup times in ms: {OutputSetupService [RUNNING]=77, KafkaJournal [RUNNING]=92, BufferSynchronizerService [RUNNING]=94, ConfigurationEtagService [RUNNING]=113, InputSetupService [RUNNING]=124, JournalReader [RUNNING]=135, StreamCacheService [RUNNING]=210, LookupTableService [RUNNING]=227, PeriodicalsService [RUNNING]=362, JerseyService [RUNNING]=21037}
2017-11-16T13:03:05.729+03:00 INFO [ServiceManagerListener] Services are healthy
2017-11-16T13:03:05.732+03:00 INFO [InputSetupService] Triggering launching persisted inputs, node transitioned from Uninitialized [LB:DEAD] to Running [LB:ALIVE]
2017-11-16T13:03:05.746+03:00 INFO [ServerBootstrap] Graylog server up and running.
According to this thread Graylog wont start after new installation, my server.conf
looks the same although it’s still not working. Pls halp.