Задать вопрос

Не запускается input grayloga, как исправить?

Настраивал graylo по инструкции

При запуске inputa в логах вижу ошибку, гугл не помогает ( не понимаю как верно загуглить)
spoiler

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 org.graylog2.inputs.InputStateListener@4742466e 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]



Может кто то сталкивался и знает как исправить
  • Вопрос задан
  • 262 просмотра
Подписаться 1 Простой Комментировать
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы