gpt4 book ai didi

java - org.apache.nifi.bootstrap.Command Apache NiFi 未运行

转载 作者:行者123 更新时间:2023-11-30 06:59:05 26 4
gpt4 key购买 nike

Nifi 未启动。当我运行 ./nifi.sh status它给出的错误如下:

org.apache.nifi.bootstrap.Command Apache NiFi is not running

我在日志 nifi-app.log 文件中收到以下错误:

2016-12-21 11:54:30,653 INFO [main] o.a.nifi.properties.NiFiPropertiesLoader Determined default nifi.properties path to be '/root/HDF-2.0.0.0/nifi/./conf/nifi.properties'
2016-12-21 11:54:30,663 INFO [main] o.a.nifi.properties.NiFiPropertiesLoader Loaded 121 properties from /root/HDF-2.0.0.0/nifi/./conf/nifi.properties
2016-12-21 11:54:30,674 INFO [main] org.apache.nifi.NiFi Loaded 121 properties
2016-12-21 11:54:30,681 INFO [main] org.apache.nifi.BootstrapListener Started Bootstrap Listener, Listening for incoming requests on port 39604
2016-12-21 11:54:30,692 ERROR [main] org.apache.nifi.NiFi Failure to launch NiFi due to java.net.ConnectException: Connection refused
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method) ~[na:1.8.0_101]
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) ~[na:1.8.0_101]
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) ~[na:1.8.0_101]
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) ~[na:1.8.0_101]
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[na:1.8.0_101]
at java.net.Socket.connect(Socket.java:589) ~[na:1.8.0_101]
at java.net.Socket.connect(Socket.java:538) ~[na:1.8.0_101]
at org.apache.nifi.BootstrapListener.sendCommand(BootstrapListener.java:100) ~[nifi-runtime-1.1.0.2.1.1.0-2.jar:1.1.0.2.1.1.0-2]
at org.apache.nifi.BootstrapListener.start(BootstrapListener.java:83) ~[nifi-runtime-1.1.0.2.1.1.0-2.jar:1.1.0.2.1.1.0-2]
at org.apache.nifi.NiFi.<init>(NiFi.java:102) ~[nifi-runtime-1.1.0.2.1.1.0-2.jar:1.1.0.2.1.1.0-2]
at org.apache.nifi.NiFi.main(NiFi.java:262) ~[nifi-runtime-1.1.0.2.1.1.0-2.jar:1.1.0.2.1.1.0-2]
2016-12-21 11:54:30,694 INFO [Thread-1] org.apache.nifi.NiFi Initiating shutdown of Jetty web server...
2016-12-21 11:54:30,695 INFO [Thread-1] org.apache.nifi.NiFi Jetty web server shutdown completed (nicely or otherwise).
2016-12-21 11:57:07,288 INFO [main] org.apache.nifi.NiFi Launching NiFi...

最佳答案

检查并终止已与 Nifi 使用相同端口的正在运行的进程。

关于java - org.apache.nifi.bootstrap.Command Apache NiFi 未运行,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41257129/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com