OPNsense Forum

English Forums => General Discussion => Topic started by: Xames81 on December 18, 2018, 02:38:26 pm

Title: Redis/Notpng reset
Post by: Xames81 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.
Title: Re: Redis/Notpng reset
Post by: mimugmail on December 18, 2018, 03:00:21 pm
Did you set a password in Redis?
Title: Re: Redis/Notpng reset
Post by: xames on December 18, 2018, 05:56:34 pm
Only ntopng i think
Title: Re: Redis/Notpng reset
Post by: mimugmail on December 18, 2018, 07:04:27 pm
Reinstall Redis and check config
Title: Re: Redis/Notpng reset
Post by: Xames81 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?
Title: Re: Redis/Notpng reset
Post by: mimugmail on December 20, 2018, 04:13:32 pm
Can you check if Redis is running on localhost with the correct Port?
Title: Re: Redis/Notpng reset
Post by: xames on December 20, 2018, 07:05:11 pm
how? what are the default values, and where i have to put it on redis plugin?
Title: Re: Redis/Notpng reset
Post by: jwestan 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
Title: Re: Redis/Notpng reset
Post by: jwestan 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.
Title: Re: Redis/Notpng reset
Post by: xames on January 08, 2019, 08:32:39 pm
Please link
Title: Re: Redis/Notpng reset
Post by: tong2x on January 16, 2019, 03:20:32 am
hello

2nd the motion,
could you please link here or where is the redis directory located?
Title: Re: Redis/Notpng reset
Post by: tong2x 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
Title: Re: Redis/Notpng reset
Post by: mimugmail on January 16, 2019, 05:57:35 am
We could try to implement a Delete DB Button in UI ..
Title: Re: Redis/Notpng reset
Post by: xames on January 16, 2019, 09:31:43 pm
Thanks all.
Title: Re: Redis/Notpng reset
Post by: tong2x 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
Title: Re: Redis/Notpng reset
Post by: mimugmail on May 23, 2019, 11:59:46 am
One of the next version will include the button
Title: Re: Redis/Notpng reset
Post by: franco on May 23, 2019, 01:35:49 pm
19.1.9 actually ;)
Title: Re: Redis/Notpng reset
Post by: tong2x on August 16, 2019, 06:36:17 pm
i think i found it before but cant seem to remember were?

where is it located?
Title: Re: Redis/Notpng reset
Post by: mimugmail on August 16, 2019, 08:15:57 pm
On the right beneath Apply button
Title: Re: Redis/Notpng reset
Post by: tong2x on August 17, 2019, 01:52:49 am
oh right... now I remember...

maybe the button should be rename Reset DB, Reset config so it will be much more clear