I am now able to start Nifi, but it went down right after I started. I attach the information in the log file in this email. Could you please help to let me know what I did wrong here?
Thanks for your help, Tam
Hi MuthuKumar, After I was able to start Nifi, I got into another error. Could you please help to let me know what I need to do to fix the error show in the log file? Thanks, Here is the information in the nifi-bootstrap.log file 2020-10-11 11:22:26,865 INFO [main] o.a.n.b.NotificationServiceManager Successfully loaded the following 0 services: [] 2020-10-11 11:22:26,869 INFO [main] org.apache.nifi.bootstrap.RunNiFi Registered no Notification Services for Notification Type NIFI_STARTED 2020-10-11 11:22:26,869 INFO [main] org.apache.nifi.bootstrap.RunNiFi Registered no Notification Services for Notification Type NIFI_STOPPED 2020-10-11 11:22:26,869 INFO [main] org.apache.nifi.bootstrap.RunNiFi Registered no Notification Services for Notification Type NIFI_DIED 2020-10-11 11:22:26,874 INFO [main] org.apache.nifi.bootstrap.RunNiFi Runtime Java version: 1.8.0_131 2020-10-11 11:22:26,894 INFO [main] org.apache.nifi.bootstrap.Command Starting Apache NiFi... 2020-10-11 11:22:26,895 INFO [main] org.apache.nifi.bootstrap.Command Working Directory: D:\Nifi\nifi-1.12.1 2020-10-11 11:22:26,897 INFO [main] org.apache.nifi.bootstrap.Command Command: C:\Program Files (x86)\Java\jdk1.8.0_131\bin\java.exe -classpath D:\Nifi\nifi-1.12.1\.\conf;D:\Nifi\nifi-1.12.1\.\lib\javax.servlet-api-3.1.0.jar;D:\Nifi\nifi-1.12.1\.\lib\jcl-over-slf4j-1.7.30.jar;D:\Nifi\nifi-1.12.1\.\lib\jetty-schemas-3.1.jar;D:\Nifi\nifi-1.12.1\.\lib\jul-to-slf4j-1.7.30.jar;D:\Nifi\nifi-1.12.1\.\lib\log4j-over-slf4j-1.7.30.jar;D:\Nifi\nifi-1.12.1\.\lib\logback-classic-1.2.3.jar;D:\Nifi\nifi-1.12.1\.\lib\logback-core-1.2.3.jar;D:\Nifi\nifi-1.12.1\.\lib\nifi-api-1.12.1.jar;D:\Nifi\nifi-1.12.1\.\lib\nifi-framework-api-1.12.1.jar;D:\Nifi\nifi-1.12.1\.\lib\nifi-nar-utils-1.12.1.jar;D:\Nifi\nifi-1.12.1\.\lib\nifi-properties-1.12.1.jar;D:\Nifi\nifi-1.12.1\.\lib\nifi-runtime-1.12.1.jar;D:\Nifi\nifi-1.12.1\.\lib\slf4j-api-1.7.30.jar -Dorg.apache.jasper.compiler.disablejsr199=true -Xmx512m -Xms512m -Dcurator-log-only-first-connection-issue-as-error-level=true -Djavax.security.auth.useSubjectCredsOnly=true -Djava.security.egd=file:/dev/urandom -Dzookeeper.admin.enableServer=false -Dsun.net.http.allowRestrictedHeaders=true -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -Djava.protocol.handler.pkgs=sun.net.www.protocol -Dnifi.properties.file.path=D:\Nifi\nifi-1.12.1\.\conf\nifi.properties -Dnifi.bootstrap.listen.port=63157 -Dapp=NiFi -Dorg.apache.nifi.bootstrap.config.log.dir=D:\Nifi\nifi-1.12.1\bin\..\\logs org.apache.nifi.NiFi 2020-10-11 11:22:27,690 WARN [main] org.apache.nifi.bootstrap.Command Failed to set permissions so that only the owner can read pid file D:\Nifi\nifi-1.12.1\bin\..\run\nifi.pid; 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 2020-10-11 11:22:27,771 WARN [main] org.apache.nifi.bootstrap.Command Failed to set permissions so that only the owner can read status file D:\Nifi\nifi-1.12.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 2020-10-11 11:22:27,804 INFO [main] org.apache.nifi.bootstrap.Command Launched Apache NiFi with Process ID 34236 2020-10-11 11:22:29,066 WARN [NiFi Bootstrap Command Listener] org.apache.nifi.bootstrap.RunNiFi Failed to set permissions so that only the owner can read pid file D:\Nifi\nifi-1.12.1\bin\..\run\nifi.pid; 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 2020-10-11 11:22:29,105 WARN [NiFi Bootstrap Command Listener] org.apache.nifi.bootstrap.RunNiFi Failed to set permissions so that only the owner can read status file D:\Nifi\nifi-1.12.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 2020-10-11 11:22:29,138 INFO [NiFi Bootstrap Command Listener] org.apache.nifi.bootstrap.RunNiFi Apache NiFi now running and listening for Bootstrap requests on port 63159 2020-10-11 11:24:58,493 ERROR [NiFi logging handler] org.apache.nifi.StdErr Failed to start web server: Failed to bind to 0.0.0.0/0.0.0.0:8080 2020-10-11 11:24:58,493 ERROR [NiFi logging handler] org.apache.nifi.StdErr Shutting down... 2020-10-11 11:25:01,892 INFO [main] org.apache.nifi.bootstrap.RunNiFi NiFi never started. Will not restart NiFi 2020-10-11 12:10:46,576 INFO [main] o.a.n.b.NotificationServiceManager Successfully loaded the following 0 services: [] 2020-10-11 12:10:46,576 INFO [main] org.apache.nifi.bootstrap.RunNiFi Registered no Notification Services for Notification Type NIFI_STARTED 2020-10-11 12:10:46,576 INFO [main] org.apache.nifi.bootstrap.RunNiFi Registered no Notification Services for Notification Type NIFI_STOPPED 2020-10-11 12:10:46,576 INFO [main] org.apache.nifi.bootstrap.RunNiFi Registered no Notification Services for Notification Type NIFI_DIED 2020-10-11 12:10:48,612 INFO [main] org.apache.nifi.bootstrap.RunNiFi Runtime Java version: 1.8.0_131 2020-10-11 12:10:48,658 INFO [main] org.apache.nifi.bootstrap.Command Starting Apache NiFi... 2020-10-11 12:10:48,658 INFO [main] org.apache.nifi.bootstrap.Command Working Directory: D:\Nifi\nifi-1.12.1 2020-10-11 12:10:48,658 INFO [main] org.apache.nifi.bootstrap.Command Command: C:\Program Files (x86)\Java\jdk1.8.0_131\bin\java.exe -classpath D:\Nifi\nifi-1.12.1\.\conf;D:\Nifi\nifi-1.12.1\.\lib\javax.servlet-api-3.1.0.jar;D:\Nifi\nifi-1.12.1\.\lib\jcl-over-slf4j-1.7.30.jar;D:\Nifi\nifi-1.12.1\.\lib\jetty-schemas-3.1.jar;D:\Nifi\nifi-1.12.1\.\lib\jul-to-slf4j-1.7.30.jar;D:\Nifi\nifi-1.12.1\.\lib\log4j-over-slf4j-1.7.30.jar;D:\Nifi\nifi-1.12.1\.\lib\logback-classic-1.2.3.jar;D:\Nifi\nifi-1.12.1\.\lib\logback-core-1.2.3.jar;D:\Nifi\nifi-1.12.1\.\lib\nifi-api-1.12.1.jar;D:\Nifi\nifi-1.12.1\.\lib\nifi-framework-api-1.12.1.jar;D:\Nifi\nifi-1.12.1\.\lib\nifi-nar-utils-1.12.1.jar;D:\Nifi\nifi-1.12.1\.\lib\nifi-properties-1.12.1.jar;D:\Nifi\nifi-1.12.1\.\lib\nifi-runtime-1.12.1.jar;D:\Nifi\nifi-1.12.1\.\lib\slf4j-api-1.7.30.jar -Dorg.apache.jasper.compiler.disablejsr199=true -Xmx512m -Xms512m -Dcurator-log-only-first-connection-issue-as-error-level=true -Djavax.security.auth.useSubjectCredsOnly=true -Djava.security.egd=file:/dev/urandom -Dzookeeper.admin.enableServer=false -Dsun.net.http.allowRestrictedHeaders=true -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -Djava.protocol.handler.pkgs=sun.net.www.protocol -Dnifi.properties.file.path=D:\Nifi\nifi-1.12.1\.\conf\nifi.properties -Dnifi.bootstrap.listen.port=59390 -Dapp=NiFi -Dorg.apache.nifi.bootstrap.config.log.dir=D:\Nifi\nifi-1.12.1\bin\..\\logs org.apache.nifi.NiFi 2020-10-11 12:10:49,318 WARN [main] org.apache.nifi.bootstrap.Command Failed to set permissions so that only the owner can read pid file D:\Nifi\nifi-1.12.1\bin\..\run\nifi.pid; 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 2020-10-11 12:10:49,365 WARN [main] org.apache.nifi.bootstrap.Command Failed to set permissions so that only the owner can read status file D:\Nifi\nifi-1.12.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 2020-10-11 12:10:49,412 INFO [main] org.apache.nifi.bootstrap.Command Launched Apache NiFi with Process ID 18924 2020-10-11 12:10:50,187 WARN [NiFi Bootstrap Command Listener] org.apache.nifi.bootstrap.RunNiFi Failed to set permissions so that only the owner can read pid file D:\Nifi\nifi-1.12.1\bin\..\run\nifi.pid; 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 2020-10-11 12:10:50,247 WARN [NiFi Bootstrap Command Listener] org.apache.nifi.bootstrap.RunNiFi Failed to set permissions so that only the owner can read status file D:\Nifi\nifi-1.12.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 2020-10-11 12:10:50,270 INFO [NiFi Bootstrap Command Listener] org.apache.nifi.bootstrap.RunNiFi Apache NiFi now running and listening for Bootstrap requests on port 59392 2020-10-11 12:13:27,609 ERROR [NiFi logging handler] org.apache.nifi.StdErr Failed to start web server: Failed to bind to 0.0.0.0/0.0.0.0:8080 2020-10-11 12:13:27,609 ERROR [NiFi logging handler] org.apache.nifi.StdErr Shutting down... 2020-10-11 12:13:30,964 INFO [main] org.apache.nifi.bootstrap.RunNiFi NiFi never started. Will not restart NiFi