• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Redis needs manual start from shell, to get NTOPNG working

Scheduled Pinned Locked Moved pfSense Packages
6 Posts 4 Posters 5.0k Views 2 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    epalzeolithe
    last edited by Apr 9, 2017, 9:49 AM

    Hello

    i've installed Ntopng package.

    It was not working until i start manually in the shell the "redis-server"

    it's probably due to the message during ntopng installation

    _Message from redis-3.2.6:
    ===>  CONFIGURATION NOTE:

    To setup "redis" you need to edit the configuration file:
          /usr/local/etc/redis.conf

    To run redis from startup, add redis_enable="YES"
          in your /etc/rc.conf.

    Cleaning up cache… done._

    What do i do to get redis probably automatic start ? ive not modified rc.conv because there's a message inside telling not to modify the file

    Thanks in advance

    1 Reply Last reply Reply Quote 0
    • D Offline
      doktornotor Banned
      last edited by Apr 14, 2017, 8:43 AM

      No it does need any such thing. Simply configure the package via the GUI and save configuration.

      1 Reply Last reply Reply Quote 0
      • E Offline
        epalzeolithe
        last edited by Apr 15, 2017, 7:57 AM

        Thank you for the answer

        Unfortunateky i've not seen any option in the config pane to solve this

        I saw other people having the same issue

        I do not know on this freeBSD distrib how to make this command run on startup to fix this

        Does anyone have a clue of that ?

        Thanks :)

        1 Reply Last reply Reply Quote 0
        • D Offline
          doktornotor Banned
          last edited by Apr 15, 2017, 8:03 AM

          That message is completely irrelevant on pfSense. Redis is already started via /usr/local/etc/rc.d/ntopng.sh script created by the package. If it doesn't start for you, you have a different problem.

          1 Reply Last reply Reply Quote 0
          • S Offline
            Sefiadem
            last edited by Sep 28, 2018, 8:24 PM

            In case this helps someone else...

            Redis was also failing to start automatically on my install. It turned out that the /var/db/ntopng/ntopng.rdb file was null, which was causing the Redis start command in /usr/local/etc/rc.d/ntopng.sh to fail.

            To fix it, I uninstalled NTOPNG via the GUI and deleted the /var/db/ntopng/ folder:
            cd /var/db/ntopng/
            rm -rf ntopng/

            I then re-installed via te GUI and it's fixed.

            (I'm running pfSense 2.2.4 and NTOPNG 0.8.13)

            R 1 Reply Last reply Jun 8, 2019, 10:28 AM Reply Quote 2
            • R Offline
              Rquiros23 @Sefiadem
              last edited by Jun 8, 2019, 10:28 AM

              @Sefiadem said in Redis needs manual start from shell, to get NTOPNG working:

              rm -rf ntopng/

              That works for me, maybe was a corrupt file then deleting all structure and the deamon start correctly

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                This community forum collects and processes your personal information.
                consent.not_received