Hi,

Are you absolutely sure that no second Graylog server (check for multiple 
Java processes) is running on that machine?

Cheers,
Jochen

On Saturday, 26 December 2015 10:23:33 UTC+1, Prateek Srivastava wrote:
>
> Hi Jochen,
>
> Both things checked. But it is still not working. Facing same error.
>
>
>
>
>
>
> On Thursday, December 24, 2015 at 2:44:14 PM UTC+5:30, Prateek Srivastava 
> wrote:
>>
>> Hi,
>>
>> I set up graylog. It was all working fine. I got exception and errors but 
>> fixed the issues with --->
>> rm /var/lib/graylog-server/journal/.lock  and
>> rm /var/lock/subsys/graylog-server 
>> and also created disk space on servers.
>>
>> But this time again same error on server. And this is not helping out.
>>
>> Error is ---------------------------------->
>>
>> Exception in thread "main" com.google.inject.CreationException: Unable to 
>> create injector, see the following errors:
>>
>> 1) Error injecting constructor, java.lang.NumberFormatException: For 
>> input string: "hs_err_pid1039"
>>   at 
>> org.graylog2.shared.journal.KafkaJournal.<init>(KafkaJournal.java:156)
>>   at org.graylog2.shared.journal.KafkaJournal.class(KafkaJournal.java:97)
>>   while locating org.graylog2.shared.journal.KafkaJournal
>>   at 
>> org.graylog2.shared.journal.KafkaJournalModule.configure(KafkaJournalModule.java:25)
>>  
>> (via modules: org.graylog2.bindings.ServerBindings -> 
>> org.graylog2.shared.journal.KafkaJournalModule)
>>   while locating org.graylog2.shared.journal.Journal
>>
>>
>>
>>
>>
>>
>> also ------------------------>
>>
>> 2) Error injecting constructor, java.lang.RuntimeException: 
>> kafka.common.KafkaException: Failed to acquire lock on file .lock in 
>> /var/lib/graylog-server/journal. A Kafka instance in another process or 
>> thread is using this directory.
>>   at 
>> org.graylog2.shared.journal.KafkaJournal.<init>(KafkaJournal.java:156)
>>   at org.graylog2.shared.journal.KafkaJournal.class(KafkaJournal.java:97)
>>   while locating org.graylog2.shared.journal.KafkaJournal
>>
>>
>> 3) Error injecting constructor, java.lang.RuntimeException: 
>> kafka.common.KafkaException: Failed to acquire lock on file .lock in 
>> /var/lib/graylog-server/journal. A Kafka instance in another process or 
>> thread is using this directory.
>>   at 
>> org.graylog2.shared.journal.KafkaJournal.<init>(KafkaJournal.java:156)
>>   at org.graylog2.shared.journal.KafkaJournal.class(KafkaJournal.java:97)
>>   while locating org.graylog2.shared.journal.KafkaJournal
>>
>>
>> No kafka instance setup is done on server.
>> As soon as I start graylog-server first it is ok but after some seconds 
>> it throws error. 
>> Please help in resolving the issue.
>>
>>

-- 
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/92f6f165-c89a-4c74-ba39-4994f4dbe925%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to