Ticket #3918 (closed defect: fixed)
EBox::EBackup error: Attempt to reload EBox/EBackup.pm aborted: Compilation failed in require at (eval 223) line 2.
| Reported by: | btibuzz@… | Owned by: | jamor@… |
|---|---|---|---|
| Milestone: | 3.0 | Component: | backup |
| Severity: | normal | Keywords: | |
| Cc: | btibuzz@… |
Description (last modified by jamor@…) (diff)
Skipped initial package install, later adding Components one at a time - Added Antivirus OK - needed some dependant packages including interfaces skipped configuration as base server has bridged config, this failure occurred Adding Backup
(System is 12.04 B1) Zentyal installed by adding repositories and sudo apt-get install zentyal.
Cheers
Error
Error loading class: EBox::EBackup error: Attempt to reload EBox/EBackup.pm aborted. Compilation failed in require at (eval 223) line 2. BEGIN failed--compilation aborted at (eval 223) line 2.
Trace
Error loading class: EBox::EBackup error: Attempt to reload EBox/EBackup.pm aborted.
Compilation failed in require at (eval 223) line 2.
BEGIN failed--compilation aborted at (eval 223) line 2.
at /usr/share/perl5/EBox/GlobalImpl.pm line 836
EBox::GlobalImpl::modInstance('EBox::GlobalImpl=HASH(0x7ffbcc415f50)', 1, 'ebackup') called at /usr/share/perl5/EBox/Global.pm line 92
EBox::Global::AUTOLOAD('EBox::Global=HASH(0x7ffbcbf68b20)', 'ebackup') called at /usr/share/perl5/EBox/CGI/Dashboard/Index.pm line 70
EBox::CGI::Dashboard::Index::masonParameters('EBox::CGI::Dashboard::Index=HASH(0x7ffbac136660)') called at /usr/share/perl5/EBox/CGI/Base.pm line 521
EBox::CGI::Base::_process('EBox::CGI::Dashboard::Index=HASH(0x7ffbac136660)') called at /usr/share/perl5/EBox/CGI/Base.pm line 274
EBox::CGI::Base::run('EBox::CGI::Dashboard::Index=HASH(0x7ffbac136660)') called at /usr/share/perl5/EBox/CGI/Run.pm line 129
EBox::CGI::Run::run('EBox::CGI::Run', '', 'EBox') called at /usr/share/zentyal/cgi/ebox.cgi line 34
ModPerl::ROOT::ModPerl::Registry::usr_share_zentyal_cgi_ebox_2ecgi::handler('Apache2::RequestRec=SCALAR(0x7ffbac0a35d8)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 204
eval {...} called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 204
ModPerl::RegistryCooker::run('ModPerl::Registry=HASH(0x7ffbace625a0)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170
ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0x7ffbace625a0)') called at /usr/lib/perl5/ModPerl/Registry.pm line 31
ModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec=SCALAR(0x7ffbac0a35d8)') called at -e line 0
eval {...} called at -e line 0
Attachments
Change History
Changed 15 months ago by anonymous
-
attachment
zentyal.log
added
comment:1 Changed 15 months ago by jamor@…
- Component changed from base to backup
- Description modified (diff)
- Summary changed from Bug report from Zentyal Server to EBox::EBackup error: Attempt to reload EBox/EBackup.pm aborted: Compilation failed in require at (eval 223) line 2.
Hello Btibuzz,
please upgrade all zentyal packages to the latest available version. If after that this bug continues to hit you, please report back the output of this command:
perl -MEBox::EBackup -e 1
Regards,
Javier
comment:2 Changed 15 months ago by btibuzz@…
Javier - sorry had re-installed system as as I was unable to get out of failure loop in zentyal.
Just been through same process, (reinstall of 12.04 b1) and get a similar crash at the same point again installing the backup module... (Very similar just a different failure line no) So will leave system at this point for a few days now if required. Output from requested command is...
See output below for proof of upgrade status and perl module command requested...
buzz@hp:~$ sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done The following packages have been kept back:
linux-headers-server linux-image-server linux-server
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. buzz@hp:~$ sudo apt-get upgrade zentyal Reading package lists... Done Building dependency tree Reading state information... Done The following packages have been kept back:
linux-headers-server linux-image-server linux-server
buzz@hp:~$ buzz@hp:~$ buzz@hp:~$ perl -MEBox::EBackup -e 1 Can't locate Date/Calc?.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /usr/share/perl5/EBox/EBackup/Subscribed.pm line 33. BEGIN failed--compilation aborted at /usr/share/perl5/EBox/EBackup/Subscribed.pm line 33. Compilation failed in require at /usr/share/perl5/EBox/EBackup.pm line 40. BEGIN failed--compilation aborted at /usr/share/perl5/EBox/EBackup.pm line 40. Compilation failed in require. BEGIN failed--compilation aborted. buzz@hp:~$
comment:3 Changed 15 months ago by btibuzz@…
- Cc btibuzz@… added
non-production testbed - ssh available if req - email for details
comment:4 Changed 15 months ago by jamor@…
- Status changed from new to closed
- Resolution set to fixed
Hello Btibuzz,
this is a packaging error, the zentyal-ebackup is missing a dependency that normally is provided by other Zentyal packages. This is already fixed in the repository, but meanwhile you can add the dependency manually with the following command:
apt-get install libdate-calc-perl
Then reload the interface with:
sudo /etc/init.d/zentyal apache restart
Regards,
Javier
zentyal.log