[graylog2] Re: Unable to get the graylog web interface login page.

2015-09-15 Thread Anant Sawant
Hi Jochen,
I have not made any change to the code, simply compiled it using typesafe 
activator and the made a jar from the compiled code.
I also compared my jar(graylog-web-interface.graylog-web-interface-1.1.6) 
with the official jar(graylog-web-interface.graylog-web-interface-1.1.6) 
and my jar was missing the routes file so I copied the official routes file 
into my custom compiled code and the bundled it to make a jar. Can this be 
the reason for the issue.??? Can you please suggest me what could be the 
possible reason for this issue, so that I can go ahead to solve this. As 
off now I have no idea where to look for the cause of this error

On Monday, 14 September 2015 18:09:34 UTC+5:30, Jochen Schalanda wrote:
>
> Hi Anant,
>
> I can't reproduce your problem with the official Graylog 1.1.6 web 
> interface, so I guess it's because of some changes you've made to the code 
> of your custom compiled version.
>
>
> Cheers,
> Jochen
>
> On Monday, 14 September 2015 14:10:29 UTC+2, Anant Sawant wrote:
>>
>> Hi,
>>
>> I am running Graylog 1.1.6 server component and Graylog web component 
>> 1.1.6 which I have compiled. 
>> I am running this on ubuntu 14.04.1. For this I have installed 
>> Elasticsearch 1.7.1, mongodb version v3.0.6 and Java 1.8.0_60. The Graylog 
>> 1.1.6 server component, Graylog web component 1.1.6, Mongod and 
>> Elasticsearch are on the same machine. For configuration I have referred  
>> http://docs.graylog.org/en/1.2/pages/installation/manual_setup.html#configuring-the-web-interface.
>>  
>> As per this document Graylog 1.1.6 server component and Graylog web 
>> component 1.1.6 both are running well/as expected as I can see the expected 
>> result on the console, also the logs shows no errors. Following are the 
>> logs that I got on the console for server and web component respectively.
>>
>> ubuntu@ubuntu:/opt/graylog-server-1.1.6$ sudo service elasticsearch status
>>  * elasticsearch is running
>> ubuntu@ubuntu:/opt/graylog-server-1.1.6$ sudo service mongod status
>> mongod start/running, process 758
>> ubuntu@ubuntu:/opt/graylog-server-1.1.6$ sudo java -jar graylog.jar server
>> 2015-09-14 15:29:32,036 INFO : org.graylog2.bootstrap.CmdLineTool - 
>> Loaded plugins: [Anonymous Usage Statistics 1.1.1 
>> [org.graylog.plugins.usagestatistics.UsageStatsPlugin]]
>> 2015-09-14 15:29:32,325 INFO : org.graylog2.bootstrap.CmdLineTool - 
>> Running with JVM arguments:
>> 2015-09-14 15:29:35,643 INFO : 
>> org.graylog2.shared.system.stats.SigarService - Failed to load SIGAR. 
>> Falling back to JMX implementations.
>> 2015-09-14 15:29:43,437 INFO : 
>> org.graylog2.shared.buffers.InputBufferImpl - Message journal is enabled.
>> 2015-09-14 15:29:45,351 INFO : kafka.log.LogManager - Found clean 
>> shutdown file. Skipping recovery for all logs in data directory 
>> '/opt/graylog-server-1.1.6/data/journal'
>> 2015-09-14 15:29:45,357 INFO : kafka.log.LogManager - Loading log 
>> 'messagejournal-0'
>> 2015-09-14 15:29:45,760 INFO : org.graylog2.shared.journal.KafkaJournal - 
>> Initialized Kafka based journal at data/journal
>> 2015-09-14 15:29:45,869 INFO : 
>> org.graylog2.shared.buffers.InputBufferImpl - Initialized InputBufferImpl 
>> with ring size <65536> and wait strategy , running 2 
>> parallel message handlers.
>> 2015-09-14 15:29:47,182 INFO : org.graylog2.plugin.system.NodeId - Node 
>> ID: 996299ed-68ea-4a64-a1e6-74f6cb5cefc9
>> 2015-09-14 15:29:48,193 INFO : org.elasticsearch.node - [graylog2-server] 
>> version[1.6.2], pid[1629], build[6220391/2015-07-29T09:24:47Z]
>> 2015-09-14 15:29:48,194 INFO : org.elasticsearch.node - [graylog2-server] 
>> initializing ...
>> 2015-09-14 15:29:48,668 INFO : org.elasticsearch.plugins - 
>> [graylog2-server] loaded [graylog2-monitor], sites []
>> 2015-09-14 15:29:57,310 INFO : org.elasticsearch.node - [graylog2-server] 
>> initialized
>> 2015-09-14 15:29:57,331 INFO : org.graylog2.shared.buffers.ProcessBuffer 
>> - Initialized ProcessBuffer with ring size <65536> and wait strategy 
>> .
>> 2015-09-14 15:30:04,824 INFO : 
>> org.graylog2.bindings.providers.RulesEngineProvider - No static rules file 
>> loaded.
>> 2015-09-14 15:30:05,033 INFO : org.graylog2.buffers.OutputBuffer - 
>> Initialized OutputBuffer with ring size <65536> and wait strategy 
>> .
>> 2015-09-14 15:30:06,414 INFO : 
>> org.hibernate.validator.internal.util.Version - HV01: Hibernate 
>> Validator 5.1.3.Final
>> 2015-09-14 15:30:08,527 INFO : org.graylog2.bootstrap.ServerBootstrap - 
>> Graylog server 1.1.6 (${git.commit.id.abbrev}) starting up. (JRE: Oracle 
>> Corporation 1.8.0_60 on Linux 3.13.0-32-generic)
>> 2015-09-14 15:30:08,745 INFO : 
>> org.graylog2.shared.initializers.PeriodicalsService - Starting 21 
>> periodicals ...
>> 2015-09-14 15:30:08,752 INFO : org.graylog2.periodical.Periodicals - 
>> Starting [org.graylog2.periodical.ThroughputCounterManagerThread] 
>> periodical in [0s], polling every [1s].
>> 2015-09-14 15:30:08,762 INFO : 

[graylog2] Re: Unable to get the graylog web interface login page.

2015-09-14 Thread Anant Sawant
Hi Jochen,
I have not made any change to the code, simply compiled it using typesafe 
activator and the made a jar from the compiled code.
I also compared my jar(graylog-web-interface.graylog-web-interface-1.1.6) 
with the official jar(graylog-web-interface.graylog-web-interface-1.1.6) 
and my jar was missing the routes file so I copied the official routes file 
into my custom compiled code and the bundled it to make a jar. Can this be 
the reason for the issue.??? Can you please suggest me what could be the 
possible reason for this issue, so that I can go ahead to solve this. As 
off now I have no idea where to look for the cause of this error

On Monday, 14 September 2015 18:09:34 UTC+5:30, Jochen Schalanda wrote:
>
> Hi Anant,
>
> I can't reproduce your problem with the official Graylog 1.1.6 web 
> interface, so I guess it's because of some changes you've made to the code 
> of your custom compiled version.
>
>
> Cheers,
> Jochen
>
> On Monday, 14 September 2015 14:10:29 UTC+2, Anant Sawant wrote:
>>
>> Hi,
>>
>> I am running Graylog 1.1.6 server component and Graylog web component 
>> 1.1.6 which I have compiled. 
>> I am running this on ubuntu 14.04.1. For this I have installed 
>> Elasticsearch 1.7.1, mongodb version v3.0.6 and Java 1.8.0_60. The Graylog 
>> 1.1.6 server component, Graylog web component 1.1.6, Mongod and 
>> Elasticsearch are on the same machine. For configuration I have referred  
>> http://docs.graylog.org/en/1.2/pages/installation/manual_setup.html#configuring-the-web-interface.
>>  
>> As per this document Graylog 1.1.6 server component and Graylog web 
>> component 1.1.6 both are running well/as expected as I can see the expected 
>> result on the console, also the logs shows no errors. Following are the 
>> logs that I got on the console for server and web component respectively.
>>
>> ubuntu@ubuntu:/opt/graylog-server-1.1.6$ sudo service elasticsearch status
>>  * elasticsearch is running
>> ubuntu@ubuntu:/opt/graylog-server-1.1.6$ sudo service mongod status
>> mongod start/running, process 758
>> ubuntu@ubuntu:/opt/graylog-server-1.1.6$ sudo java -jar graylog.jar server
>> 2015-09-14 15:29:32,036 INFO : org.graylog2.bootstrap.CmdLineTool - 
>> Loaded plugins: [Anonymous Usage Statistics 1.1.1 
>> [org.graylog.plugins.usagestatistics.UsageStatsPlugin]]
>> 2015-09-14 15:29:32,325 INFO : org.graylog2.bootstrap.CmdLineTool - 
>> Running with JVM arguments:
>> 2015-09-14 15:29:35,643 INFO : 
>> org.graylog2.shared.system.stats.SigarService - Failed to load SIGAR. 
>> Falling back to JMX implementations.
>> 2015-09-14 15:29:43,437 INFO : 
>> org.graylog2.shared.buffers.InputBufferImpl - Message journal is enabled.
>> 2015-09-14 15:29:45,351 INFO : kafka.log.LogManager - Found clean 
>> shutdown file. Skipping recovery for all logs in data directory 
>> '/opt/graylog-server-1.1.6/data/journal'
>> 2015-09-14 15:29:45,357 INFO : kafka.log.LogManager - Loading log 
>> 'messagejournal-0'
>> 2015-09-14 15:29:45,760 INFO : org.graylog2.shared.journal.KafkaJournal - 
>> Initialized Kafka based journal at data/journal
>> 2015-09-14 15:29:45,869 INFO : 
>> org.graylog2.shared.buffers.InputBufferImpl - Initialized InputBufferImpl 
>> with ring size <65536> and wait strategy , running 2 
>> parallel message handlers.
>> 2015-09-14 15:29:47,182 INFO : org.graylog2.plugin.system.NodeId - Node 
>> ID: 996299ed-68ea-4a64-a1e6-74f6cb5cefc9
>> 2015-09-14 15:29:48,193 INFO : org.elasticsearch.node - [graylog2-server] 
>> version[1.6.2], pid[1629], build[6220391/2015-07-29T09:24:47Z]
>> 2015-09-14 15:29:48,194 INFO : org.elasticsearch.node - [graylog2-server] 
>> initializing ...
>> 2015-09-14 15:29:48,668 INFO : org.elasticsearch.plugins - 
>> [graylog2-server] loaded [graylog2-monitor], sites []
>> 2015-09-14 15:29:57,310 INFO : org.elasticsearch.node - [graylog2-server] 
>> initialized
>> 2015-09-14 15:29:57,331 INFO : org.graylog2.shared.buffers.ProcessBuffer 
>> - Initialized ProcessBuffer with ring size <65536> and wait strategy 
>> .
>> 2015-09-14 15:30:04,824 INFO : 
>> org.graylog2.bindings.providers.RulesEngineProvider - No static rules file 
>> loaded.
>> 2015-09-14 15:30:05,033 INFO : org.graylog2.buffers.OutputBuffer - 
>> Initialized OutputBuffer with ring size <65536> and wait strategy 
>> .
>> 2015-09-14 15:30:06,414 INFO : 
>> org.hibernate.validator.internal.util.Version - HV01: Hibernate 
>> Validator 5.1.3.Final
>> 2015-09-14 15:30:08,527 INFO : org.graylog2.bootstrap.ServerBootstrap - 
>> Graylog server 1.1.6 (${git.commit.id.abbrev}) starting up. (JRE: Oracle 
>> Corporation 1.8.0_60 on Linux 3.13.0-32-generic)
>> 2015-09-14 15:30:08,745 INFO : 
>> org.graylog2.shared.initializers.PeriodicalsService - Starting 21 
>> periodicals ...
>> 2015-09-14 15:30:08,752 INFO : org.graylog2.periodical.Periodicals - 
>> Starting [org.graylog2.periodical.ThroughputCounterManagerThread] 
>> periodical in [0s], polling every [1s].
>> 2015-09-14 15:30:08,762 INFO : 

[graylog2] Re: Unable to get the graylog web interface login page.

2015-09-14 Thread Jochen Schalanda
Hi Anant,

I can't reproduce your problem with the official Graylog 1.1.6 web 
interface, so I guess it's because of some changes you've made to the code 
of your custom compiled version.


Cheers,
Jochen

On Monday, 14 September 2015 14:10:29 UTC+2, Anant Sawant wrote:
>
> Hi,
>
> I am running Graylog 1.1.6 server component and Graylog web component 
> 1.1.6 which I have compiled. 
> I am running this on ubuntu 14.04.1. For this I have installed 
> Elasticsearch 1.7.1, mongodb version v3.0.6 and Java 1.8.0_60. The Graylog 
> 1.1.6 server component, Graylog web component 1.1.6, Mongod and 
> Elasticsearch are on the same machine. For configuration I have referred  
> http://docs.graylog.org/en/1.2/pages/installation/manual_setup.html#configuring-the-web-interface.
>  
> As per this document Graylog 1.1.6 server component and Graylog web 
> component 1.1.6 both are running well/as expected as I can see the expected 
> result on the console, also the logs shows no errors. Following are the 
> logs that I got on the console for server and web component respectively.
>
> ubuntu@ubuntu:/opt/graylog-server-1.1.6$ sudo service elasticsearch status
>  * elasticsearch is running
> ubuntu@ubuntu:/opt/graylog-server-1.1.6$ sudo service mongod status
> mongod start/running, process 758
> ubuntu@ubuntu:/opt/graylog-server-1.1.6$ sudo java -jar graylog.jar server
> 2015-09-14 15:29:32,036 INFO : org.graylog2.bootstrap.CmdLineTool - Loaded 
> plugins: [Anonymous Usage Statistics 1.1.1 
> [org.graylog.plugins.usagestatistics.UsageStatsPlugin]]
> 2015-09-14 15:29:32,325 INFO : org.graylog2.bootstrap.CmdLineTool - 
> Running with JVM arguments:
> 2015-09-14 15:29:35,643 INFO : 
> org.graylog2.shared.system.stats.SigarService - Failed to load SIGAR. 
> Falling back to JMX implementations.
> 2015-09-14 15:29:43,437 INFO : org.graylog2.shared.buffers.InputBufferImpl 
> - Message journal is enabled.
> 2015-09-14 15:29:45,351 INFO : kafka.log.LogManager - Found clean shutdown 
> file. Skipping recovery for all logs in data directory 
> '/opt/graylog-server-1.1.6/data/journal'
> 2015-09-14 15:29:45,357 INFO : kafka.log.LogManager - Loading log 
> 'messagejournal-0'
> 2015-09-14 15:29:45,760 INFO : org.graylog2.shared.journal.KafkaJournal - 
> Initialized Kafka based journal at data/journal
> 2015-09-14 15:29:45,869 INFO : org.graylog2.shared.buffers.InputBufferImpl 
> - Initialized InputBufferImpl with ring size <65536> and wait strategy 
> , running 2 parallel message handlers.
> 2015-09-14 15:29:47,182 INFO : org.graylog2.plugin.system.NodeId - Node 
> ID: 996299ed-68ea-4a64-a1e6-74f6cb5cefc9
> 2015-09-14 15:29:48,193 INFO : org.elasticsearch.node - [graylog2-server] 
> version[1.6.2], pid[1629], build[6220391/2015-07-29T09:24:47Z]
> 2015-09-14 15:29:48,194 INFO : org.elasticsearch.node - [graylog2-server] 
> initializing ...
> 2015-09-14 15:29:48,668 INFO : org.elasticsearch.plugins - 
> [graylog2-server] loaded [graylog2-monitor], sites []
> 2015-09-14 15:29:57,310 INFO : org.elasticsearch.node - [graylog2-server] 
> initialized
> 2015-09-14 15:29:57,331 INFO : org.graylog2.shared.buffers.ProcessBuffer - 
> Initialized ProcessBuffer with ring size <65536> and wait strategy 
> .
> 2015-09-14 15:30:04,824 INFO : 
> org.graylog2.bindings.providers.RulesEngineProvider - No static rules file 
> loaded.
> 2015-09-14 15:30:05,033 INFO : org.graylog2.buffers.OutputBuffer - 
> Initialized OutputBuffer with ring size <65536> and wait strategy 
> .
> 2015-09-14 15:30:06,414 INFO : 
> org.hibernate.validator.internal.util.Version - HV01: Hibernate 
> Validator 5.1.3.Final
> 2015-09-14 15:30:08,527 INFO : org.graylog2.bootstrap.ServerBootstrap - 
> Graylog server 1.1.6 (${git.commit.id.abbrev}) starting up. (JRE: Oracle 
> Corporation 1.8.0_60 on Linux 3.13.0-32-generic)
> 2015-09-14 15:30:08,745 INFO : 
> org.graylog2.shared.initializers.PeriodicalsService - Starting 21 
> periodicals ...
> 2015-09-14 15:30:08,752 INFO : org.graylog2.periodical.Periodicals - 
> Starting [org.graylog2.periodical.ThroughputCounterManagerThread] 
> periodical in [0s], polling every [1s].
> 2015-09-14 15:30:08,762 INFO : org.graylog2.periodical.Periodicals - 
> Starting [org.graylog2.periodical.ThroughputCalculator] periodical in [0s], 
> polling every [1s].
> 2015-09-14 15:30:08,768 INFO : org.elasticsearch.node - [graylog2-server] 
> starting ...
> 2015-09-14 15:30:08,790 INFO : org.graylog2.periodical.Periodicals - 
> Starting [org.graylog2.periodical.AlertScannerThread] periodical in [10s], 
> polling every [60s].
> 2015-09-14 15:30:08,808 INFO : org.graylog2.periodical.Periodicals - 
> Starting [org.graylog2.periodical.BatchedElasticSearchOutputFlushThread] 
> periodical in [0s], polling every [1s].
> 2015-09-14 15:30:08,812 INFO : org.graylog2.periodical.Periodicals - 
> Starting [org.graylog2.periodical.ClusterHealthCheckThread] periodical in 
> [0s], polling every [20s].
> 2015-09-14 15:30:08,813 INFO : org.graylog2.periodical.Periodicals - 
>