Zentyal Forum, Linux Small Business Server
Zentyal Server => Other modules => Topic started by: maximilianobeltritti on July 27, 2017, 12:49:25 pm
-
Hi, we have an issue with Zentyal 5, the failover isnt working. In the logs we can see that the check script run with cron each minute (/usr/share/zentyal-network/failover-checker) give us this error message:
Can't locate TryCatch/Lite.pm in @INC (you may need to install the TryCatch::Lite module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /usr/share/zentyal-network/failover-checker line 28.
BEGIN failed--compilation aborted at /usr/share/zentyal-network/failover-checker line 28.
How can we resolve this problem? Maybe we can try to install the Perl module called TryCatch with cpan console?
Thanks in advance!
-
Solved!!! After a long research i do this:
Edit the file:
/usr/share/zentyal-network/failover-checker
At line 28 we change:
use TryCatch::Lite;
With this:
use TryCatch;
Save and exit. Done all works fine only have a warning that said:"my" variable $network masks earlier declaration in same scope at /usr/share/zentyal-network/failover-checker line 42.
-
I have this last error you say, it fills up my mailbox with cron errors:
-
Solved!!! After a long research i do this:
Edit the file:
/usr/share/zentyal-network/failover-checker
At line 28 we change:
use TryCatch::Lite;
With this:
use TryCatch;
Save and exit. Done all works fine only have a warning that said:"my" variable $network masks earlier declaration in same scope at /usr/share/zentyal-network/failover-checker line 42.
This issue was fixed on Zentyal 5.1 version