Ticket #2391 (closed defect: fixed)
Template antivirus/freshclam.conf.mas failed with Error during compilation
| Reported by: | bjoern.stuetz@… | Owned by: | javier.amor.garcia@… |
|---|---|---|---|
| Milestone: | Component: | antivirus | |
| Severity: | minor | Keywords: | |
| Cc: |
Description
Hi guys, I just updated to ebox-antivirus 2.0.2 and I am getting this error (please see below). Clamd continues running with the old config file. So long, Björn
ERROR> Base.pm:938 EBox::Module::Base::ANON - Template antivirus/freshclam.conf.mas failed with Error during compilation of <anonymous component>: Global symbol "$proxyUser" requires explicit package name at (eval 135) line 105. Global symbol "$proxyPasswd" requires explicit package name at (eval 135) line 105. Global symbol "$proxyUser" requires explicit package name at (eval 135) line 108. Global symbol "$proxyPasswd" requires explicit package name at (eval 135) line 113.
Stack:
usr/share/perl5/HTML/Mason/Interp.pm:636 usr/share/perl5/EBox/Module/Base.pm:934 usr/share/perl5/Error.pm:416 usr/share/perl5/EBox/Module/Base.pm:939 usr/share/perl5/EBox/Module/Service.pm:777 usr/share/perl5/EBox/AntiVirus.pm:275 usr/share/perl5/EBox/Module/Base.pm:840 usr/share/perl5/EBox/Module/Service.pm:679 usr/share/perl5/EBox/Module/Service.pm:707 usr/share/perl5/Error.pm:416 usr/share/perl5/EBox/Module/Service.pm:714 etc/init.d/ebox:99 usr/share/perl5/Error.pm:416 etc/init.d/ebox:110 etc/init.d/ebox:164 etc/init.d/ebox:197 etc/init.d/ebox:213
ERROR> Service.pm:710 EBox::Module::Service::ANON - Error restarting service: Template antivirus/freshclam.conf.mas failed with Error during compilation of <anonymous component>: Global symbol "$proxyUser" requires explicit package name at (eval 135) line 105. Global symbol "$proxyPasswd" requires explicit package name at (eval 135) line 105. Global symbol "$proxyUser" requires explicit package name at (eval 135) line 108. Global symbol "$proxyPasswd" requires explicit package name at (eval 135) line 113.
Stack:
usr/share/perl5/HTML/Mason/Interp.pm:636 usr/share/perl5/EBox/Module/Base.pm:934 usr/share/perl5/Error.pm:416 usr/share/perl5/EBox/Module/Base.pm:939 usr/share/perl5/EBox/Module/Service.pm:777 usr/share/perl5/EBox/AntiVirus.pm:275 usr/share/perl5/EBox/Module/Base.pm:840 usr/share/perl5/EBox/Module/Service.pm:679 usr/share/perl5/EBox/Module/Service.pm:707 usr/share/perl5/Error.pm:416 usr/share/perl5/EBox/Module/Service.pm:714 etc/init.d/ebox:99 usr/share/perl5/Error.pm:416 etc/init.d/ebox:110 etc/init.d/ebox:164 etc/init.d/ebox:197 etc/init.d/ebox:213
Attachments
Change History
comment:2 Changed 3 years ago by javier.amor.garcia@…
- Status changed from assigned to closed
- Resolution set to fixed
comment:3 Changed 3 years ago by javier.amor.garcia@…
Fixed in trunk.
Hotfix instructions: 1) Download new version of freshclam.conf.mas from http://trac.ebox-platform.com/export/19058/trunk/client/antivirus/stubs/freshclam.conf.mas 2) Use it to replace /usr/share/ebox/stubs/antivirus/freshclam.conf.mas 3) Restart antivirus and interface web server:
/etc/init.d/ebox antivirus restart /etc/init.d/ebox apache restart
Thanks to Bjorn and Jari for the bug report
eo