<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Nifi start not working but nifi run is in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Nifi-start-not-working-but-nifi-run-is/m-p/386428#M246041</link>
    <description>&lt;P&gt;There is enough space, the Mac was just re-imaged so there is nothing on it other than the few applications I've installed. I did set a login, and I can successfully use that login when I have nifi running through "nifi.sh run". I have searched through the logs using grep for errors and warnings, and haven't seen any. When I run nifi.sh start, once I actually see something listening on port 8443 (which takes about 5-10 minutes), if I try to load nifi it will just get stuck loading and not do anything. No errors, no warnings.&lt;/P&gt;</description>
    <pubDate>Thu, 11 Apr 2024 18:08:11 GMT</pubDate>
    <dc:creator>tmarkfeld</dc:creator>
    <dc:date>2024-04-11T18:08:11Z</dc:date>
    <item>
      <title>Nifi start not working but nifi run is</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-start-not-working-but-nifi-run-is/m-p/386421#M246036</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I recently installed Nifi on a Mac with an M1 chip, Sonoma 14.4.1. I am able to run "nifi.sh run" successfully and navigate to localhost port 8443/nifi. However, when I run "nifi.sh start" it fails to open localhost 8443/nifi. The logs do not throw any errors, I have checked (see screenshot below). I am running openjdk 21.0.2 and nifi 2.0.0-M2. My environment variables for java (&lt;SPAN&gt;/Library/Java/JavaVirtualMachines/jdk-21.0.2.jdk/Contents/Home)&lt;/SPAN&gt;, nifi (&lt;SPAN&gt;/Users/RZO4145/nifi-2.0.0-M2)&lt;/SPAN&gt;, and apache maven have been set.&lt;/P&gt;&lt;P&gt;I have also checked when doing the nifi.sh start, it looks like there is nothing listening on 8443 (and I checked nifi.properties, it is still set to 8443). I've also tried setting the host to 0.0.0.0 instead of 127.0.0.1 and changing the port.&amp;nbsp;&lt;/P&gt;&lt;P&gt;After about 5-10 minutes of running, I will finally be able to see it on localhost 8443 (see attached), but the page will still not load.&lt;/P&gt;&lt;P&gt;Is there something I'm missing?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-04-11 at 9.31.48 AM.png" style="width: 667px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/40317i873F58F74CEB2171/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-04-11 at 9.31.48 AM.png" alt="Screenshot 2024-04-11 at 9.31.48 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-04-11 at 9.46.08 AM.png" style="width: 570px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/40318iD1F42ACD31BBF84B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-04-11 at 9.46.08 AM.png" alt="Screenshot 2024-04-11 at 9.46.08 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 15:00:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-start-not-working-but-nifi-run-is/m-p/386421#M246036</guid>
      <dc:creator>tmarkfeld</dc:creator>
      <dc:date>2024-04-11T15:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi start not working but nifi run is</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-start-not-working-but-nifi-run-is/m-p/386424#M246037</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/109988"&gt;@tmarkfeld&lt;/a&gt;&amp;nbsp;Welcome to the Cloudera Community!&lt;BR /&gt;&lt;BR /&gt;To help you get the best possible solution, I have tagged our NiFi expert&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/95503"&gt;@steven-matison&lt;/a&gt;&amp;nbsp;&amp;nbsp;who may be able to assist you further.&lt;BR /&gt;&lt;BR /&gt;Please keep us updated on your post, and we hope you find a satisfactory solution to your query.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 14:50:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-start-not-working-but-nifi-run-is/m-p/386424#M246037</guid>
      <dc:creator>DianaTorres</dc:creator>
      <dc:date>2024-04-11T14:50:00Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi start not working but nifi run is</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-start-not-working-but-nifi-run-is/m-p/386425#M246038</link>
      <description>&lt;P&gt;We need to see your nifi configuration files and how much ram is used.&amp;nbsp; &amp;nbsp;Also is there enough disk space?&lt;/P&gt;&lt;P&gt;What is in the logs?&lt;/P&gt;&lt;P&gt;Being able to run in the foreground and not background usually means your user may have diminished privileges.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you set a login?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See:&amp;nbsp; &amp;nbsp;&lt;A href="https://community.cloudera.com/t5/Support-Questions/start-nifi-automatically-when-system-boots/m-p/372241" target="_blank"&gt;https://community.cloudera.com/t5/Support-Questions/start-nifi-automatically-when-system-boots/m-p/372241&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 16:28:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-start-not-working-but-nifi-run-is/m-p/386425#M246038</guid>
      <dc:creator>TimothySpann</dc:creator>
      <dc:date>2024-04-11T16:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi start not working but nifi run is</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-start-not-working-but-nifi-run-is/m-p/386428#M246041</link>
      <description>&lt;P&gt;There is enough space, the Mac was just re-imaged so there is nothing on it other than the few applications I've installed. I did set a login, and I can successfully use that login when I have nifi running through "nifi.sh run". I have searched through the logs using grep for errors and warnings, and haven't seen any. When I run nifi.sh start, once I actually see something listening on port 8443 (which takes about 5-10 minutes), if I try to load nifi it will just get stuck loading and not do anything. No errors, no warnings.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 18:08:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-start-not-working-but-nifi-run-is/m-p/386428#M246041</guid>
      <dc:creator>tmarkfeld</dc:creator>
      <dc:date>2024-04-11T18:08:11Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi start not working but nifi run is</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-start-not-working-but-nifi-run-is/m-p/386465#M246055</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/95503"&gt;@steven-matison&lt;/a&gt;&amp;nbsp;it looks like it gets stuck here:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[main] org.apache.nifi.nar.NarUnpacker Expanding 115 NAR files started&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2024 15:05:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-start-not-working-but-nifi-run-is/m-p/386465#M246055</guid>
      <dc:creator>tmarkfeld</dc:creator>
      <dc:date>2024-04-12T15:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi start not working but nifi run is</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-start-not-working-but-nifi-run-is/m-p/386489#M246060</link>
      <description>&lt;P&gt;Remember NiFi 2.0.0-M2 is an alpha release 2 branch is not yet released.&lt;/P&gt;&lt;P&gt;That tends to happen if you don't have enough RAM.&amp;nbsp; &amp;nbsp;How much did you specify in your configuration.&amp;nbsp; &amp;nbsp;Post logs, configuration, how much RAM, how much RAM assigned to JDK.&lt;/P&gt;&lt;P&gt;You probably need at least 4Gig of RAM assigned.&lt;/P&gt;&lt;P&gt;bootstrap config&lt;/P&gt;&lt;P&gt;# JVM memory settings&lt;BR /&gt;java.arg.2=-Xms6g&lt;BR /&gt;java.arg.3=-Xmx7g&lt;/P&gt;&lt;P&gt;conf/nifi.properties&lt;/P&gt;&lt;P&gt;nifi.web.https.host=127.0.0.1&lt;BR /&gt;nifi.web.https.port=8443&lt;BR /&gt;nifi.web.https.network.interface.default=&lt;BR /&gt;nifi.web.https.application.protocols=h2 http/1.1&lt;BR /&gt;nifi.web.jetty.working.directory=./work/jetty&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 13 Apr 2024 16:03:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-start-not-working-but-nifi-run-is/m-p/386489#M246060</guid>
      <dc:creator>TimothySpann</dc:creator>
      <dc:date>2024-04-13T16:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi start not working but nifi run is</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-start-not-working-but-nifi-run-is/m-p/386576#M246083</link>
      <description>&lt;P&gt;I currently have 6gb of ram assigned. I upped it from 1 and still nothing. Logs have no errors, I put them in debug mode as well and nothing out of the ordinary happened, just took forever to start (20 minutes if not more)&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2024 13:55:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-start-not-working-but-nifi-run-is/m-p/386576#M246083</guid>
      <dc:creator>tmarkfeld</dc:creator>
      <dc:date>2024-04-15T13:55:50Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi start not working but nifi run is</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-start-not-working-but-nifi-run-is/m-p/386590#M246087</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/109988"&gt;@tmarkfeld&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The NiFi UI will not be avialable until you see the following lines in the nifi-app.log:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;2024-03-17 16:39:59,500 INFO [main] org.apache.nifi.web.server.JettyServer NiFi has started. The UI is available at the following URLs:
2024-03-17 16:39:59,500 INFO [main] org.apache.nifi.web.server.JettyServer https://localhost:8443/nifi&lt;/LI-CODE&gt;&lt;P&gt;Up until this time NiFi is still loading.&lt;BR /&gt;I see you mentioned it stalls at unpacking the nars but eventually completes as you also said eventually you see NiFi listening on port 8443.&lt;BR /&gt;&lt;BR /&gt;You can use developer tools within your browser to see what calls have been made when you try to access your NiFi,&amp;nbsp; you could then share what calls were made and which it appears to be hanging on.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;Matt&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2024 16:52:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-start-not-working-but-nifi-run-is/m-p/386590#M246087</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2024-04-15T16:52:39Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi start not working but nifi run is</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-start-not-working-but-nifi-run-is/m-p/386670#M246109</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/109988"&gt;@tmarkfeld&lt;/a&gt;&amp;nbsp;Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future.&amp;nbsp; Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2024 01:30:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-start-not-working-but-nifi-run-is/m-p/386670#M246109</guid>
      <dc:creator>DianaTorres</dc:creator>
      <dc:date>2024-04-17T01:30:43Z</dc:date>
    </item>
  </channel>
</rss>

