OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • Redis/Notpng reset
« previous next »
  • Print
Pages: [1] 2

Author Topic: Redis/Notpng reset  (Read 9732 times)

Xames81

  • Newbie
  • *
  • Posts: 39
  • Karma: 1
    • View Profile
Redis/Notpng reset
« on: December 18, 2018, 02:38:26 pm »
I have problems with redis, and consequencies notpg plugin, when start firewall in shell say me something about not default parameters and It can't start, how i can reset the plugin because i can't start it.

I try uninstalling and installing again but nothing, how i can change something on shell in console or something like that, i don't know coany mmands over shell.

Thanks.
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • View Profile
Re: Redis/Notpng reset
« Reply #1 on: December 18, 2018, 03:00:21 pm »
Did you set a password in Redis?
Logged
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

xames

  • Full Member
  • ***
  • Posts: 110
  • Karma: 3
    • View Profile
Re: Redis/Notpng reset
« Reply #2 on: December 18, 2018, 05:56:34 pm »
Only ntopng i think
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • View Profile
Re: Redis/Notpng reset
« Reply #3 on: December 18, 2018, 07:04:27 pm »
Reinstall Redis and check config
Logged
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

Xames81

  • Newbie
  • *
  • Posts: 39
  • Karma: 1
    • View Profile
Re: Redis/Notpng reset
« Reply #4 on: December 20, 2018, 01:56:38 pm »
The logs show that:

ntopng: [Redis.cpp:113] ERROR: to specify a redis server other than the default

How i can resolve?
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • View Profile
Re: Redis/Notpng reset
« Reply #5 on: December 20, 2018, 04:13:32 pm »
Can you check if Redis is running on localhost with the correct Port?
Logged
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

xames

  • Full Member
  • ***
  • Posts: 110
  • Karma: 3
    • View Profile
Re: Redis/Notpng reset
« Reply #6 on: December 20, 2018, 07:05:11 pm »
how? what are the default values, and where i have to put it on redis plugin?
Logged

jwestan

  • Newbie
  • *
  • Posts: 12
  • Karma: 0
    • View Profile
Re: Redis/Notpng reset
« Reply #7 on: January 07, 2019, 05:19:40 pm »
I am having this same issue.  I tried uninstalling and reinstalling Redis, do not have a password configured but am seeing this in the system logs.

Any suggestions on a fix?

Thanks.

Jan 7 07:43:47   redis[74835]: Internal error in RDB reading function at rdb.c:1666 -> Unexpected EOF reading RDB file
Jan 7 07:43:47   redis[74835]: Short read or OOM loading DB. Unrecoverable error, aborting now.
Jan 7 07:43:47   redis[74835]: Server initialized
Jan 7 07:43:47   redis-server: Configuration loaded
Jan 7 07:43:47   redis-server: Redis version=4.0.11, bits=64, commit=00000000, modified=0, pid=74803, just started
Jan 7 07:43:47   redis-server: oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
Logged

jwestan

  • Newbie
  • *
  • Posts: 12
  • Karma: 0
    • View Profile
Re: Redis/Notpng reset
« Reply #8 on: January 08, 2019, 07:34:01 pm »
I was able to fix my issue by deleting the Redis folder referenced in another forum post.
Logged

xames

  • Full Member
  • ***
  • Posts: 110
  • Karma: 3
    • View Profile
Re: Redis/Notpng reset
« Reply #9 on: January 08, 2019, 08:32:39 pm »
Please link
Logged

tong2x

  • Full Member
  • ***
  • Posts: 223
  • Karma: 9
    • View Profile
Re: Redis/Notpng reset
« Reply #10 on: January 16, 2019, 03:20:32 am »
hello

2nd the motion,
could you please link here or where is the redis directory located?
Logged

tong2x

  • Full Member
  • ***
  • Posts: 223
  • Karma: 9
    • View Profile
Re: Redis/Notpng reset
« Reply #11 on: January 16, 2019, 03:36:22 am »
in reference to this error, delete to corrupt log file
Jan 7 07:43:47   redis[74835]: Internal error in RDB reading function at rdb.c:1666 -> Unexpected EOF reading RDB file

go to concole #8 "shell"

>> cd /
>> cd /var
>> cd db
>> cd redis
>> lsls
>> rm dump.rdb
(I deleted all rdb)
go back to web UI and run service
« Last Edit: January 16, 2019, 03:38:05 am by tong2x »
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • View Profile
Re: Redis/Notpng reset
« Reply #12 on: January 16, 2019, 05:57:35 am »
We could try to implement a Delete DB Button in UI ..
Logged
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

xames

  • Full Member
  • ***
  • Posts: 110
  • Karma: 3
    • View Profile
Re: Redis/Notpng reset
« Reply #13 on: January 16, 2019, 09:31:43 pm »
Thanks all.
Logged

tong2x

  • Full Member
  • ***
  • Posts: 223
  • Karma: 9
    • View Profile
Re: Redis/Notpng reset
« Reply #14 on: May 03, 2019, 05:09:02 am »
@mimugmail
a GUI button would be really nice as DB can be reset quickly incase of failure, hope it is integrated in the future
Logged

  • Print
Pages: [1] 2
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • Redis/Notpng reset
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2