Ticket #2761 (closed feature request: fixed)
Adding a new group's policy error (zentyal-squid 2.1)
| Reported by: | lioncub <lioncub@…> | Owned by: | cperez@… |
|---|---|---|---|
| Milestone: | 2.2 | Component: | squid |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Group policies Adding a new group's policy
Sorry, an unexpected error has ocurred Cannot connect to redis server Trace Cannot connect to redis server at /usr/share/perl5/EBox/Config/Redis.pm line 706.
Attachments
Change History
comment:2 Changed 2 years ago by lioncub <lioncub@…>
- Type changed from defect to feature request
error occurs when you do not include the time.
Please add a check for the entire time or default the entire time.
comment:3 Changed 2 years ago by jamor@…
Hello,
the '/etc/init.d/redis-server status' command is of not use there because Zentyal use a different redis server.
To see its state run: status ebox.redis
Check whether restarting it fixes your problem: restart ebox.redis
Cheers,
Javier
comment:4 Changed 2 years ago by lioncub@…
status ebox.redis
ebox.redis start/running, process 1465
type changed from defect to feature request
Please, add a check for the entire time or default the entire time.
Error occurs when the time field empty!
comment:5 Changed 2 years ago by jamor@…
This is not necessary, the 'time' fields is optional, when it is empty is interpreted as not having time limitation. In fact your error was related to redis server not to the parameters of the prfoile.
Have you tried to add it again after executing 'restart ebox.redis' ?.
comment:8 Changed 2 years ago by jamor@…
Hello Lioncub,
thanks for pointing out this error, I was a bit confused because the error message had nothing to do with the real error but now is fixed.
You could wait to the next release or hotfix your server.
To hotfix: 1) Download the new of TimePeriod? -> https :trac.zentyal.org/export/20962/branches/jag/2.1-mar24/squid/src/EBox/Squid/Types/TimePeriod.pm 2) Use it to overwrite /usr/share/EBox/Squid/Types/TimePeriod.pm 3) Restart the web interface with '/etc/init.d/zentyal apache restart'
Cheers,
Javier
comment:9 Changed 2 years ago by jamor@…
The correct address for the new version is:
http://trac.zentyal.org/export/20962/branches/jag/2.1-mar24/squid/src/EBox/Squid/Types/TimePeriod.pm
comment:10 Changed 2 years ago by lioncub@…
Thanks! Only TimePeriod?.pm this:
locate TimePeriod.pm /usr/share/perl5/EBox/Squid/Types/TimePeriod.pm
and overload the Apache does not necessarily!
Please, add this file in new version zentyal-squid 2.1.1
comment:11 Changed 2 years ago by jamor@…
Yes, that is the crorect path
The next zentyal-squid release will include this fix
and