Hi,

the hs_err_* file hints to a crash of the JVM. Please check the logs of 
your Graylog server to find the reason for this crash.


Cheers,
Jochen

On Saturday, 2 January 2016 10:47:27 UTC+1, Prateek Srivastava wrote:
>
> Yes. No other process is running.
> Thanks for the help.
>
> By the way issue has been resolved by doing this -->
> rm -f  /var/lib/graylog-server/journal/messagejournal-0/hs_err_pid1039.log
>
>
>
> It worked well for 3 days but today i needed to restart graylog service 
> after that i am facing the issue ---->
>
> [root@prateek server]# /etc/init.d/graylog-server status
> graylog-server is stopped
>
> Once I do this ---->
> [root@prateek server]# rm -f /var/lock/subsys/graylog-server 
> [root@prateek server]# /etc/init.d/graylog-server status
> graylog-server is stopped
>
>
> But there is still once process using graylog server.conf
>
> [root@prateek server]# ps -elf|grep graylog-ser
> 0 S root     22219  3552  0  80   0 - 26327 pipe_w 15:07 pts/0    00:00:00 
> grep graylog-ser
> 0 S graylog  28054     1  2  80   0 - 1980903 futex_ 14:01 ?      00:01:39 
> /usr/bin/java -Xms2g -Xmx4g -XX:NewRatio=1 -server -XX:+ResizeTLAB 
> -XX:+UseConcMarkSweepGC -XX:+CMSConcurrentMTEnabled 
> -XX:+CMSClassUnloadingEnabled -XX:+UseParNewGC 
> -XX:-OmitStackTraceInFastThrow -jar 
> -Djava.library.path=/usr/share/graylog-server/lib/sigar 
> -Dlog4j.configuration=file:///etc/graylog/server/log4j.xml 
> /usr/share/graylog-server/graylog.jar server -p 
> /var/run/graylog-server/graylog-server.pid -f 
> /etc/graylog/server/server.conf
>
>
>
>
> 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/8ccb922e-bc0e-49dd-9006-b0df8ddb9ea7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to