Apache NiFi立即关闭,错误为org.apache.nifi.StdErr无法启动Web服务器

时间:2019-04-12 04:27:36

标签: apache-nifi

我最近安装了NiFi,并且几天内一切正常。但是今天突然间,当我尝试使用run-nifi.bat打开它时,NiFi窗口在几秒钟内被关闭,并显示以下错误:

    2019-04-11 23:07:40,146 WARN [NiFi Bootstrap Command Listener] org.apache.nifi.bootstrap.RunNiFi Failed to set permissions so that only the owner can read status file C:\Users\DOWNLO~1\NIFI-1~1.1-B\NIFI-1~1.1\bin\..\run\nifi.status; this may allows others to have access to the key needed to communicate with NiFi. Permissions should be changed so that only the owner can read this file
    2019-04-11 23:07:40,149 INFO [NiFi Bootstrap Command Listener] org.apache.nifi.bootstrap.RunNiFi Apache NiFi now running and listening for Bootstrap requests on port 54149
    2019-04-11 23:08:00,352 ERROR [NiFi logging handler] org.apache.nifi.StdErr Failed to start web server: Must configure HTTP or HTTPS connector
    2019-04-11 23:08:00,352 ERROR [NiFi logging handler] org.apache.nifi.StdErr Shutting down...
    2019-04-11 23:08:00,419 INFO [main] org.apache.nifi.bootstrap.RunNiFi NiFi never started. Will not restart NiFi

我确实在寻找org.apache.nifi.StdErr Failed to start web server: Must configure HTTP or HTTPS connector错误,但是很遗憾,我找不到类似的错误。我确定自安装以来没有任何设置或属性已更改。有什么建议吗?

1 个答案:

答案 0 :(得分:0)

我遇到了同样的错误。

您需要检查nifi-app.log文件以获取有关此类型错误的更多详细信息。

这是我的工作:从nifi.properties中删除HTTPS的端口信息,而仅保留HTTP的设置。然后再次重新启动nifi。