Answer the question
In order to leave comments, you need to log in
Input grayloga does not start, how to fix it?
I set up graylo according to the instructions
When I start inputa, I see an error in the logs, Google does not help (I don’t understand how to google correctly)
2021-03-24T23:00:26.960+03:00 INFO [InputStateListener] Input [GELF HTTP/605b9a37b9342d18016c3844] is now STARTING
2021-03-24T23:00:26.974+03:00 WARN [AbstractTcpTransport] Failed to start channel for input GELFHttpInput{title=Mobile http, type=org.graylog2.inputs.gelf.http.GELFHttpInput, nodeId=e791031d-223e-4c85-9ac8-de5dab2777b8}
io.netty.channel.unix.Errors$NativeIoException: bind(..) failed: Permission denied
2021-03-24T23:00:26.975+03:00 ERROR [InputLauncher] The [org.graylog2.inputs.gelf.http.GELFHttpInput] input with ID <605b9a37b9342d18016c3844> misfired. Reason: bind(..) failed: Permission denied.
org.graylog2.plugin.inputs.MisfireException: org.graylog2.plugin.inputs.MisfireException: io.netty.channel.unix.Errors$NativeIoException: bind(..) failed: Permission denied
at org.graylog2.plugin.inputs.MessageInput.launch(MessageInput.java:158) ~[graylog.jar:?]
at org.graylog2.shared.inputs.InputLauncher$1.run(InputLauncher.java:84) [graylog.jar:?]
at com.codahale.metrics.InstrumentedExecutorService$InstrumentedRunnable.run(InstrumentedExecutorService.java:180) [graylog.jar:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_282]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_282]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_282]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_282]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_282]
Caused by: org.graylog2.plugin.inputs.MisfireException: io.netty.channel.unix.Errors$NativeIoException: bind(..) failed: Permission denied
at org.graylog2.plugin.inputs.transports.AbstractTcpTransport.launch(AbstractTcpTransport.java:199) ~[graylog.jar:?]
at org.graylog2.plugin.inputs.MessageInput.launch(MessageInput.java:155) ~[graylog.jar:?]
... 7 more
Caused by: io.netty.channel.unix.Errors$NativeIoException: bind(..) failed: Permission denied
2021-03-24T23:00:26.978+03:00 INFO [InputStateListener] Input [GELF HTTP/605b9a37b9342d18016c3844] is now FAILED
2021-03-24T23:16:42.315+03:00 INFO [InputStateListener] Input [GELF HTTP/605b9a37b9342d18016c3844] is now STOPPING
2021-03-24T23:16:42.323+03:00 INFO [InputStateListener] Input [GELF HTTP/605b9a37b9342d18016c3844] is now STOPPED
2021-03-24T23:16:42.323+03:00 INFO [connection] Opened connection [connectionId{localValue:12, serverValue:29}] to localhost:27017
2021-03-24T23:16:42.324+03:00 INFO [connection] Opened connection [connectionId{localValue:11, serverValue:28}] to localhost:27017
2021-03-24T23:16:42.324+03:00 INFO [InputStateListener] Input [GELF HTTP/605b9a37b9342d18016c3844] is now TERMINATED
2021-03-24T23:16:49.064+03:00 INFO [InputStateListener] Input [GELF HTTP/605b9a37b9342d18016c3844] is now STARTING
2021-03-24T23:16:49.069+03:00 WARN [AbstractTcpTransport] Failed to start channel for input GELFHttpInput{title=Mobile http, type=org.graylog2.inputs.gelf.http.GELFHttpInput, nodeId=e791031d-223e-4c85-9ac8-de5dab2777b8}
io.netty.channel.unix.Errors$NativeIoException: bind(..) failed: Permission denied
2021-03-24T23:16:49.071+03:00 ERROR [InputLauncher] The [org.graylog2.inputs.gelf.http.GELFHttpInput] input with ID <605b9a37b9342d18016c3844> misfired. Reason: bind(..) failed: Permission denied.
org.graylog2.plugin.inputs.MisfireException: org.graylog2.plugin.inputs.MisfireException: io.netty.channel.unix.Errors$NativeIoException: bind(..) failed: Permission denied
at org.graylog2.plugin.inputs.MessageInput.launch(MessageInput.java:158) ~[graylog.jar:?]
at org.graylog2.shared.inputs.InputLauncher$1.run(InputLauncher.java:84) [graylog.jar:?]
at com.codahale.metrics.InstrumentedExecutorService$InstrumentedRunnable.run(InstrumentedExecutorService.java:180) [graylog.jar:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_282]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_282]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_282]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_282]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_282]
Caused by: org.graylog2.plugin.inputs.MisfireException: io.netty.channel.unix.Errors$NativeIoException: bind(..) failed: Permission denied
at org.graylog2.plugin.inputs.transports.AbstractTcpTransport.launch(AbstractTcpTransport.java:199) ~[graylog.jar:?]
at org.graylog2.plugin.inputs.MessageInput.launch(MessageInput.java:155) ~[graylog.jar:?]
... 7 more
Caused by: io.netty.channel.unix.Errors$NativeIoException: bind(..) failed: Permission denied
2021-03-24T23:16:49.074+03:00 ERROR [graylog-eventbus] Exception thrown by subscriber method inputStateChanged(org.graylog2.plugin.events.inputs.IOStateChangedEvent) on subscriber [email protected] when dispatching event: IOStateChangedEvent{oldState=STARTING, newState=FAILED, changedState=InputState{stoppable=GELFHttpInput{title=Mobile http, type=org.graylog2.inputs.gelf.http.GELFHttpInput, nodeId=e791031d-223e-4c85-9ac8-de5dab2777b8}, state=FAILED, startedAt=2021-03-24T20:16:49.061Z, detailedMessage='null'}}
java.lang.NullPointerException: null
at java.util.Objects.requireNonNull(Objects.java:203) ~[?:1.8.0_282]
at org.graylog2.shared.system.activities.Activity.<init>(Activity.java:34) ~[graylog.jar:?]
at org.graylog2.inputs.InputStateListener.inputStateChanged(InputStateListener.java:57) ~[graylog.jar:?]
at sun.reflect.GeneratedMethodAccessor342.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_282]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_282]
at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:87) ~[graylog.jar:?]
at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:144) ~[graylog.jar:?]
at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:72) [graylog.jar:?]
at com.codahale.metrics.InstrumentedExecutorService$InstrumentedRunnable.run(InstrumentedExecutorService.java:180) [graylog.jar:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_282]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_282]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_282]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question