Hi Jochen,
I am unable to get the web interface in the browser when I hit
"127.0.0.1:9000" all I get is the following message on the screen
"{"type":"ApiError","message":HTTP 404 Not Found}", I am not sure what is
the cause of this error. The logs says "2016-07-18 12:36:19,915 INFO :
org.graylog2.initializers.WebInterfaceService - Started Web Interface at
<http://127.0.0.1:9000/>" and also "2016-07-18 12:36:22,465 INFO :
org.graylog2.bootstrap.ServerBootstrap - Graylog server up and running.' So
the problem is I am not getting the UI of the "Graylog" only the above
mentioned message. I am attaching the Logs file of Graylog may be you can
find something which I am certainly missing to locate.
Thanking in Advance!!!!
Anant.
On Friday, 15 July 2016 21:58:38 UTC+5:30, Jochen Schalanda wrote:
>
> Hi Anant,
>
> please describe first in detail what's not working for you.
>
> Cheers,
> Jochen
>
> On Friday, 15 July 2016 15:20:24 UTC+2, Anant Sawant wrote:
>>
>> HI ,
>>
>> Thanks for such a quick replay!!
>>
>> I am already running the web interface on http://127.0.0.1:9000
>> <http://www.google.com/url?q=http%3A%2F%2F127.0.0.1%3A9000%2F&sa=D&sntz=1&usg=AFQjCNH_ul1nQQH15pwQIbCL9H9JBCrnww>
>>
>> and I have not upgraded Graylog to this version I have installed a fresh
>> release in completely new environment(machine). What do you mean by "if you
>> tried to get the root resource of the Graylog REST API (this will change in
>> Graylog 2.1.0)." sory but I do not understand.
>> I went through the configuration again and compared it with your
>> suggested configurations "
>> http://docs.graylog.org/en/2.0/pages/upgrade.html
>> <http://www.google.com/url?q=http%3A%2F%2Fdocs.graylog.org%2Fen%2F2.0%2Fpages%2Fupgrade.html&sa=D&sntz=1&usg=AFQjCNE1YuuinT_if2IzizQ81ejR_yw4NA>
>>
>> and http://docs.graylog.org/en/2.0/pages/configuration/web_interface.html"
>> but did not found any different. Is there anything we need to change in the
>> conf files. How do we overcome this?? I am attaching the conf files.
>>
>> Again Thanks in advance!!
>>
>> Anant
>>
>> On Friday, 15 July 2016 18:31:47 UTC+5:30, Jochen Schalanda wrote:
>>>
>>> Hi Anant,
>>>
>>> according to your logs, the Graylog REST API and the Graylog web
>>> interface have been successfully started:
>>>
>>> 2016-07-15 16:38:00,442 INFO :
>>>> org.graylog2.initializers.WebInterfaceService - Started Web Interface at <
>>>> http://127.0.0.1:9000/>
>>>> 2016-07-15 16:38:00,443 INFO :
>>>> org.graylog2.shared.initializers.RestApiService - Started REST API at <
>>>> http://127.0.0.1:12900/>
>>>
>>>
>>> The response you've mentioned ({"type":"ApiError","message":"HTTP 404
>>> Not Found"}) is totally normal if you tried to get the root resource of
>>> the Graylog REST API (this will change in Graylog 2.1.0).
>>>
>>> Make sure to open http://127.0.0.1:9000/
>>> <http://www.google.com/url?q=http%3A%2F%2F127.0.0.1%3A9000%2F&sa=D&sntz=1&usg=AFQjCNH_ul1nQQH15pwQIbCL9H9JBCrnww>
>>> for
>>> accessing the Graylog web interface and not http://127.0.0.1:12900/,
>>> which is the Graylog REST API.
>>>
>>> Also make sure to read http://docs.graylog.org/en/2.0/pages/upgrade.html
>>> <http://www.google.com/url?q=http%3A%2F%2Fdocs.graylog.org%2Fen%2F2.0%2Fpages%2Fupgrade.html&sa=D&sntz=1&usg=AFQjCNE1YuuinT_if2IzizQ81ejR_yw4NA>
>>>
>>> and
>>> http://docs.graylog.org/en/2.0/pages/configuration/web_interface.html
>>> when upgrading to Graylog 2.0.x.
>>>
>>> Cheers,
>>> Jochen
>>>
>>>
>>> On Friday, 15 July 2016 14:09:46 UTC+2, Anant Sawant wrote:
>>>>
>>>> Hi,
>>>>
>>>> I have installed graylog 2.0 ga on ubuntu 14.0.4 manually today.
>>>> Followed the following url for installation "
>>>> http://docs.graylog.org/en/2.0/pages/installation/manual_setup.html" .
>>>> After starting the graylogctl script for the first time and hitting
>>>> 127.0.0.1:9000 we are getting {"type":"ApiError","message":HTTP 404
>>>> Not Found} in the browser.
>>>>
>>>> The server logs says the "Graylog server up and running". I am unable
>>>> to locate the issue as I am not getting any error at the logs.Please give
>>>> me some advise to overcome this issue.
>>>>
>>>> I have attached the logs file for your perusal.
>>>> Please find the attachment.
>>>>
>>>> Thanks in Advance!!
>>>>
>>>> Anant.
>>>>
>>>
--
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/e9261dcf-85f7-47f3-ae26-ed34b7719754%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
ubuntu@ubuntu:/opt/graylog$ java -jar graylog.jar server
2016-07-18 12:36:13,480 main ERROR Appenders contains an invalid element or
attribute "Memory"
2016-07-18 12:36:13,497 main ERROR Unable to locate appender
"graylog-internal-logs" for logger config "root"
2016-07-18 12:36:13,622 INFO : org.graylog2.bootstrap.CmdLineTool - Loaded
plugins: []
2016-07-18 12:36:13,692 INFO : org.graylog2.bootstrap.CmdLineTool - Running
with JVM arguments:
2016-07-18 12:36:14,114 INFO : org.graylog2.shared.system.stats.SigarService -
Failed to load SIGAR. Falling back to JMX implementations.
2016-07-18 12:36:15,209 INFO : org.graylog2.shared.buffers.InputBufferImpl -
Message journal is enabled.
2016-07-18 12:36:15,371 INFO : kafka.log.LogManager - Loading logs.
2016-07-18 12:36:15,429 INFO : kafka.log.LogManager - Logs loading complete.
2016-07-18 12:36:15,429 INFO : org.graylog2.shared.journal.KafkaJournal -
Initialized Kafka based journal at data/journal
2016-07-18 12:36:15,439 INFO : org.graylog2.shared.buffers.InputBufferImpl -
Initialized InputBufferImpl with ring size <65536> and wait strategy
<BlockingWaitStrategy>, running 2 parallel message handlers.
2016-07-18 12:36:15,468 INFO : org.mongodb.driver.cluster - Cluster created
with settings {hosts=[localhost:27017], mode=SINGLE,
requiredClusterType=UNKNOWN, serverSelectionTimeout='30000 ms',
maxWaitQueueSize=5000}
2016-07-18 12:36:15,491 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-18 12:36:15,514 INFO : org.mongodb.driver.connection - Opened
connection [connectionId{localValue:1, serverValue:54}] to localhost:27017
2016-07-18 12:36:15,515 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=[3, 0, 12]}, minWireVersion=0,
maxWireVersion=3, maxDocumentSize=16777216, roundTripTimeNanos=485862}
2016-07-18 12:36:15,519 INFO : org.mongodb.driver.connection - Opened
connection [connectionId{localValue:2, serverValue:55}] to localhost:27017
2016-07-18 12:36:15,692 INFO : org.graylog2.plugin.system.NodeId - Node ID:
99a03835-c3d5-4ef5-9c65-7bac640481b6
2016-07-18 12:36:15,753 INFO : org.elasticsearch.node -
[graylog-99a03835-c3d5-4ef5-9c65-7bac640481b6] version[2.3.2], pid[26326],
build[b9e4a6a/2016-04-21T16:03:47Z]
2016-07-18 12:36:15,753 INFO : org.elasticsearch.node -
[graylog-99a03835-c3d5-4ef5-9c65-7bac640481b6] initializing ...
2016-07-18 12:36:15,758 INFO : org.elasticsearch.plugins -
[graylog-99a03835-c3d5-4ef5-9c65-7bac640481b6] modules [], plugins
[graylog-monitor], sites []
2016-07-18 12:36:17,286 INFO : org.elasticsearch.node -
[graylog-99a03835-c3d5-4ef5-9c65-7bac640481b6] initialized
2016-07-18 12:36:17,346 INFO : org.hibernate.validator.internal.util.Version -
HV000001: Hibernate Validator 5.2.4.Final
2016-07-18 12:36:17,454 INFO : org.graylog2.shared.buffers.ProcessBuffer -
Initialized ProcessBuffer with ring size <65536> and wait strategy
<BlockingWaitStrategy>.
2016-07-18 12:36:18,741 INFO :
org.graylog2.bindings.providers.RulesEngineProvider - No static rules file
loaded.
2016-07-18 12:36:18,796 INFO : org.graylog2.buffers.OutputBuffer - Initialized
OutputBuffer with ring size <65536> and wait strategy <BlockingWaitStrategy>.
2016-07-18 12:36:19,178 INFO : org.graylog2.bootstrap.ServerBootstrap - Graylog
server 2.0.1-SNAPSHOT (${build) starting up
2016-07-18 12:36:19,179 INFO : org.graylog2.bootstrap.ServerBootstrap - JRE:
Oracle Corporation 1.8.0_91 on Linux 3.13.0-32-generic
2016-07-18 12:36:19,179 INFO : org.graylog2.bootstrap.ServerBootstrap -
Deployment: unknown
2016-07-18 12:36:19,179 INFO : org.graylog2.bootstrap.ServerBootstrap - OS:
Ubuntu 14.04.1 LTS (trusty)
2016-07-18 12:36:19,179 INFO : org.graylog2.bootstrap.ServerBootstrap - Arch:
amd64
2016-07-18 12:36:19,183 WARN :
org.graylog2.shared.events.DeadEventLoggingListener - Received unhandled event
of type <org.graylog2.plugin.lifecycles.Lifecycle> from event bus
<AsyncEventBus{graylog-eventbus}>
2016-07-18 12:36:19,203 INFO :
org.graylog2.shared.initializers.PeriodicalsService - Starting 21 periodicals
...
2016-07-18 12:36:19,204 INFO : org.graylog2.periodical.Periodicals - Starting
[org.graylog2.periodical.ThroughputCalculator] periodical in [0s], polling
every [1s].
2016-07-18 12:36:19,205 INFO : org.graylog2.periodical.Periodicals - Starting
[org.graylog2.periodical.AlertScannerThread] periodical in [10s], polling every
[60s].
2016-07-18 12:36:19,206 INFO : org.elasticsearch.node -
[graylog-99a03835-c3d5-4ef5-9c65-7bac640481b6] starting ...
2016-07-18 12:36:19,215 INFO : org.graylog2.periodical.Periodicals - Starting
[org.graylog2.periodical.BatchedElasticSearchOutputFlushThread] periodical in
[0s], polling every [1s].
2016-07-18 12:36:19,215 INFO : org.graylog2.periodical.Periodicals - Starting
[org.graylog2.periodical.ClusterHealthCheckThread] periodical in [0s], polling
every [20s].
2016-07-18 12:36:19,221 INFO : org.graylog2.periodical.Periodicals - Starting
[org.graylog2.periodical.ContentPackLoaderPeriodical] periodical, running
forever.
2016-07-18 12:36:19,221 INFO : org.graylog2.periodical.Periodicals - Starting
[org.graylog2.periodical.GarbageCollectionWarningThread] periodical, running
forever.
2016-07-18 12:36:19,221 INFO : org.graylog2.periodical.Periodicals - Starting
[org.graylog2.periodical.IndexerClusterCheckerThread] periodical in [0s],
polling every [30s].
2016-07-18 12:36:19,229 INFO :
org.graylog2.periodical.IndexerClusterCheckerThread - Indexer not fully
initialized yet. Skipping periodic cluster check.
2016-07-18 12:36:19,233 INFO : org.graylog2.periodical.Periodicals - Starting
[org.graylog2.periodical.IndexRetentionThread] periodical in [0s], polling
every [300s].
2016-07-18 12:36:19,233 INFO : org.graylog2.periodical.IndexRetentionThread -
Elasticsearch cluster not available, skipping index retention checks.
2016-07-18 12:36:19,235 INFO : org.graylog2.periodical.Periodicals - Starting
[org.graylog2.periodical.IndexRotationThread] periodical in [0s], polling every
[10s].
2016-07-18 12:36:19,236 INFO : org.graylog2.periodical.Periodicals - Starting
[org.graylog2.periodical.NodePingThread] periodical in [0s], polling every [1s].
2016-07-18 12:36:19,247 INFO : org.mongodb.driver.connection - Opened
connection [connectionId{localValue:3, serverValue:56}] to localhost:27017
2016-07-18 12:36:19,253 INFO : org.graylog2.periodical.Periodicals - Starting
[org.graylog2.periodical.VersionCheckThread] periodical in [300s], polling
every [1800s].
2016-07-18 12:36:19,253 INFO : org.graylog2.periodical.Periodicals - Starting
[org.graylog2.periodical.ThrottleStateUpdaterThread] periodical in [1s],
polling every [1s].
2016-07-18 12:36:19,254 INFO : org.graylog2.periodical.Periodicals - Starting
[org.graylog2.events.ClusterEventPeriodical] periodical in [0s], polling every
[1s].
2016-07-18 12:36:19,257 INFO : org.graylog2.periodical.Periodicals - Starting
[org.graylog2.events.ClusterEventCleanupPeriodical] periodical in [0s], polling
every [300s].
2016-07-18 12:36:19,257 INFO : org.graylog2.periodical.Periodicals - Starting
[org.graylog2.periodical.ClusterIdGeneratorPeriodical] periodical, running
forever.
2016-07-18 12:36:19,264 INFO : org.graylog2.periodical.Periodicals - Starting
[org.graylog2.periodical.IndexRangesMigrationPeriodical] periodical, running
forever.
2016-07-18 12:36:19,265 INFO : org.graylog2.periodical.Periodicals - Starting
[org.graylog2.periodical.IndexRangesCleanupPeriodical] periodical in [15s],
polling every [3600s].
2016-07-18 12:36:19,271 INFO : org.mongodb.driver.connection - Opened
connection [connectionId{localValue:4, serverValue:57}] to localhost:27017
2016-07-18 12:36:19,286 INFO :
org.graylog2.shared.initializers.AbstractJerseyService - Enabling CORS for HTTP
endpoint
2016-07-18 12:36:19,287 INFO : org.mongodb.driver.connection - Opened
connection [connectionId{localValue:5, serverValue:58}] to localhost:27017
2016-07-18 12:36:19,312 INFO :
org.graylog2.shared.initializers.PeriodicalsService - Not starting
[org.graylog2.periodical.UserPermissionMigrationPeriodical] periodical. Not
configured to run on this node.
2016-07-18 12:36:19,312 INFO : org.graylog2.periodical.Periodicals - Starting
[org.graylog2.periodical.AlarmCallbacksMigrationPeriodical] periodical, running
forever.
2016-07-18 12:36:19,312 INFO : org.graylog2.periodical.Periodicals - Starting
[org.graylog2.periodical.ConfigurationManagementPeriodical] periodical, running
forever.
2016-07-18 12:36:19,318 INFO : org.graylog2.periodical.Periodicals - Starting
[org.graylog2.periodical.LdapGroupMappingMigration] periodical, running forever.
2016-07-18 12:36:19,384 INFO : org.elasticsearch.transport -
[graylog-99a03835-c3d5-4ef5-9c65-7bac640481b6] publish_address
{127.0.0.1:9350}, bound_addresses {[::1]:9350}, {127.0.0.1:9350}
2016-07-18 12:36:19,392 INFO : org.elasticsearch.discovery -
[graylog-99a03835-c3d5-4ef5-9c65-7bac640481b6] graylog/dpV_JFpNRFyW_RxxJyxbWA
2016-07-18 12:36:19,913 INFO :
org.glassfish.grizzly.http.server.NetworkListener - Started listener bound to
[127.0.0.1:9000]
2016-07-18 12:36:19,913 INFO :
org.glassfish.grizzly.http.server.NetworkListener - Started listener bound to
[127.0.0.1:12900]
2016-07-18 12:36:19,915 INFO : org.glassfish.grizzly.http.server.HttpServer -
[HttpServer] Started.
2016-07-18 12:36:19,915 INFO : org.glassfish.grizzly.http.server.HttpServer -
[HttpServer-1] Started.
2016-07-18 12:36:19,915 INFO : org.graylog2.shared.initializers.RestApiService
- Started REST API at <http://127.0.0.1:12900/>
2016-07-18 12:36:19,915 INFO : org.graylog2.initializers.WebInterfaceService -
Started Web Interface at <http://127.0.0.1:9000/>
2016-07-18 12:36:22,395 WARN : org.elasticsearch.discovery -
[graylog-99a03835-c3d5-4ef5-9c65-7bac640481b6] waited for 3s and no initial
state was set by the discovery
2016-07-18 12:36:22,395 INFO : org.elasticsearch.node -
[graylog-99a03835-c3d5-4ef5-9c65-7bac640481b6] started
2016-07-18 12:36:22,450 INFO : org.elasticsearch.cluster.service -
[graylog-99a03835-c3d5-4ef5-9c65-7bac640481b6] detected_master {Luchino
Nefaria}{aNPHMNWcTBSQACp01GDcbg}{127.0.0.1}{127.0.0.1:9300}, added {{Luchino
Nefaria}{aNPHMNWcTBSQACp01GDcbg}{127.0.0.1}{127.0.0.1:9300},}, reason:
zen-disco-receive(from master [{Luchino
Nefaria}{aNPHMNWcTBSQACp01GDcbg}{127.0.0.1}{127.0.0.1:9300}])
2016-07-18 12:36:22,460 INFO :
org.graylog2.shared.initializers.ServiceManagerListener - Services are healthy
2016-07-18 12:36:22,460 INFO :
org.graylog2.shared.initializers.InputSetupService - Triggering launching
persisted inputs, node transitioned from Uninitialized [LB:DEAD] to Running
[LB:ALIVE]
2016-07-18 12:36:22,461 INFO : org.graylog2.bootstrap.ServerBootstrap -
Services started, startup times in ms: {InputSetupService [RUNNING]=6,
KafkaJournal [RUNNING]=21, MetricsReporterService [RUNNING]=21, JournalReader
[RUNNING]=29, BufferSynchronizerService [RUNNING]=34, OutputSetupService
[RUNNING]=40, PeriodicalsService [RUNNING]=119, WebInterfaceService
[RUNNING]=712, RestApiService [RUNNING]=713, IndexerSetupService [RUNNING]=3257}
2016-07-18 12:36:22,465 INFO : org.graylog2.bootstrap.ServerBootstrap - Graylog
server up and running.