Modify

Ticket #2761 (closed feature request: fixed)

Opened 2 years ago

Last modified 2 years ago

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:1 Changed 2 years ago by lioncub <lioncub@…>

and

/etc/init.d/redis-server status
redis-server is running

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:6 Changed 2 years ago by lioncub@…

yes of course

comment:7 Changed 2 years ago by jamor@…

  • Status changed from new to closed
  • Resolution set to fixed

(In [20962]) BP: Avoid call to set_string with undefined value closes #2761

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: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

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.