Modify

Ticket #4099 (closed defect: duplicate)

Opened 14 months ago

Last modified 14 months ago

Error loading class: EBox::Samba error: Can't load '/usr/lib/perl5/auto/LDB/LDB.so' for module LDB

Reported by: jayform@… Owned by: jamor@…
Milestone: 3.0 Component: base
Severity: normal Keywords:
Cc:

Description

Installed all main packages on a fresh install, but there were a lot of errors that did not install correctly. The proposed solution to it messed it up a lot more (sudo dpkg --configure -a). This is a fresh install of Zentyal in VirtualBox?. ============== Zentyal.log ============== 2012/04/06 21:14:42 INFO> Redis.pm:764 EBox::Config::Redis::_initRedis - Starting redis server 2012/04/06 21:14:44 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: apache 2012/04/06 21:14:47 INFO> Base.pm:229 EBox::Module::Base::save - Restarting service for module: sysinfo 2012/04/06 21:14:48 INFO> Base.pm:251 EBox::Module::Base::ANON - Saving config for module: logs 2012/04/06 21:14:48 INFO> Base.pm:251 EBox::Module::Base::ANON - Saving config for module: events 2012/04/06 21:14:49 INFO> Base.pm:229 EBox::Module::Base::save - Restarting service for module: software 2012/04/06 21:14:50 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: apache 2012/04/06 21:14:50 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: logs 2012/04/06 21:14:51 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: events 2012/04/06 21:17:44 DEBUG> Progress.pm:137 EBox::CGI::Progress::loadAds - Loading ads from: /usr/share/zentyal-software/ads/ads_en 2012/04/06 21:17:44 INFO> install-packages:59 main::ANON - Starting package installation process 2012/04/06 21:21:24 INFO> Base.pm:229 EBox::Module::Base::save - Restarting service for module: objects 2012/04/06 21:21:25 ERROR> GlobalImpl?.pm:843 EBox::GlobalImpl::modInstance - Error loading class: EBox::Samba error: Can't load '/usr/lib/perl5/auto/LDB/LDB.so' for module LDB: /usr/lib/i386-linux-gnu/samba/libldbsamba.so: version `SAMBA_4.0.0ALPHA19_UNKNOWN' not found (required by /usr/lib/perl5/auto/LDB/LDB.so) at /usr/share/perl/5.14/XSLoader.pm line 71.

at /usr/lib/perl5/LDB.pm line 31

Compilation failed in require at /usr/share/perl5/EBox/Ldb.pm line 25. BEGIN failed--compilation aborted at /usr/share/perl5/EBox/Ldb.pm line 25. Compilation failed in require at /usr/share/perl5/EBox/Samba.pm line 48. BEGIN failed--compilation aborted at /usr/share/perl5/EBox/Samba.pm line 48. Compilation failed in require at (eval 288) line 2. BEGIN failed--compilation aborted at (eval 288) line 2. 2012/04/06 21:21:26 INFO> Base.pm:251 EBox::Module::Base::ANON - Saving config for module: ca 2012/04/06 21:21:27 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: ca 2012/04/06 21:21:27 ERROR> GlobalImpl?.pm:843 EBox::GlobalImpl::modInstance - Error loading class: EBox::Samba error: Can't load '/usr/lib/perl5/auto/LDB/LDB.so' for module LDB: /usr/lib/i386-linux-gnu/samba/libldbsamba.so: version `SAMBA_4.0.0ALPHA19_UNKNOWN' not found (required by /usr/lib/perl5/auto/LDB/LDB.so) at /usr/share/perl/5.14/XSLoader.pm line 71.

at /usr/lib/perl5/LDB.pm line 31

Compilation failed in require at /usr/share/perl5/EBox/Ldb.pm line 25. BEGIN failed--compilation aborted at /usr/share/perl5/EBox/Ldb.pm line 25. Compilation failed in require at /usr/share/perl5/EBox/Samba.pm line 48. BEGIN failed--compilation aborted at /usr/share/perl5/EBox/Samba.pm line 48. Compilation failed in require at (eval 269) line 2. BEGIN failed--compilation aborted at (eval 269) line 2. 2012/04/06 21:21:27 ERROR> Service.pm:721 EBox::Module::Service::ANON - Error restarting service: Error loading class: EBox::Samba error: Can't load '/usr/lib/perl5/auto/LDB/LDB.so' for module LDB: /usr/lib/i386-linux-gnu/samba/libldbsamba.so: version `SAMBA_4.0.0ALPHA19_UNKNOWN' not found (required by /usr/lib/perl5/auto/LDB/LDB.so) at /usr/share/perl/5.14/XSLoader.pm line 71.

at /usr/lib/perl5/LDB.pm line 31

Compilation failed in require at /usr/share/perl5/EBox/Ldb.pm line 25. BEGIN failed--compilation aborted at /usr/share/perl5/EBox/Ldb.pm line 25. Compilation failed in require at /usr/share/perl5/EBox/Samba.pm line 48. BEGIN failed--compilation aborted at /usr/share/perl5/EBox/Samba.pm line 48. Compilation failed in require at (eval 269) line 2. BEGIN failed--compilation aborted at (eval 269) line 2. 2012/04/06 21:21:29 INFO> Base.pm:229 EBox::Module::Base::save - Restarting service for module: ebackup 2012/04/06 21:21:32 INFO> Base.pm:229 EBox::Module::Base::save - Restarting service for module: monitor 2012/04/06 21:21:33 ERROR> install-packages:92 main::ANON - Sub-process /usr/bin/dpkg returned an error code (1) 2012/04/06 21:21:33 INFO> install-packages:119 main::ANON - Package installation process finished 2012/04/06 21:31:38 DEBUG> ProgressIndicator?.pm:41 EBox::ProgressIndicator::create - Invalid value for Total ticks: 0. It must be a non-zero positive number 2012/04/06 21:32:15 INFO> install-packages:59 main::ANON - Starting package installation process 2012/04/06 21:35:12 DEBUG> ServiceTable?.pm:360 EBox::Services::Model::ServiceTable::setService - This service has no protocols configured 2012/04/06 21:35:38 ERROR> install-packages:92 main::ANON - Sub-process /usr/bin/dpkg returned an error code (1) 2012/04/06 21:35:38 INFO> install-packages:119 main::ANON - Package installation process finished 2012/04/06 21:40:36 DEBUG> ProgressIndicator?.pm:41 EBox::ProgressIndicator::create - Invalid value for Total ticks: 0. It must be a non-zero positive number 2012/04/06 21:41:47 INFO> Redis.pm:764 EBox::Config::Redis::_initRedis - Starting redis server 2012/04/06 21:41:50 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: audit 2012/04/06 21:41:50 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: ca 2012/04/06 21:41:50 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: ebackup 2012/04/06 21:41:50 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: events 2012/04/06 21:41:50 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: logs 2012/04/06 21:41:50 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: monitor 2012/04/06 21:41:50 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: apache 2012/04/06 21:48:41 DEBUG> ModelProvider?.pm:253 EBox::Model::ModelProvider::AUTOLOAD - Trace begun at /usr/share/perl5/EBox/Model/ModelProvider.pm line 252 EBox::Model::ModelProvider::AUTOLOAD('/sys/fs/cgroup/perf_event', 1) called at /usr/share/perl5/EBox/SysInfo.pm line 419 EBox::SysInfo::logReportInfo('EBox::SysInfo?=HASH(0x9e63964)') called at /usr/share/zentyal/gather-reportinfo line 29 2012/04/06 21:48:41 ERROR> ModelProvider?.pm:255 EBox::Model::ModelProvider::AUTOLOAD - Undefined method df 2012/04/06 21:54:14 DEBUG> ServiceTable?.pm:360 EBox::Services::Model::ServiceTable::setService - This service has no protocols configured 2012/04/06 21:54:27 ERROR> GlobalImpl?.pm:843 EBox::GlobalImpl::modInstance - Error loading class: EBox::Samba error: Can't load '/usr/lib/perl5/auto/LDB/LDB.so' for module LDB: /usr/lib/i386-linux-gnu/samba/libldbsamba.so: version `SAMBA_4.0.0ALPHA19_UNKNOWN' not found (required by /usr/lib/perl5/auto/LDB/LDB.so) at /usr/share/perl/5.14/XSLoader.pm line 71.

at /usr/lib/perl5/LDB.pm line 31

Compilation failed in require at /usr/share/perl5/EBox/Ldb.pm line 25. BEGIN failed--compilation aborted at /usr/share/perl5/EBox/Ldb.pm line 25. Compilation failed in require at /usr/share/perl5/EBox/Samba.pm line 48. BEGIN failed--compilation aborted at /usr/share/perl5/EBox/Samba.pm line 48. Compilation failed in require at (eval 545) line 2. BEGIN failed--compilation aborted at (eval 545) line 2. 2012/04/06 21:54:27 DEBUG> Base.pm:576 EBox::CGI::Base::setErrorFromException - Error loading class: EBox::Samba error: Can't load '/usr/lib/perl5/auto/LDB/LDB.so' for module LDB: /usr/lib/i386-linux-gnu/samba/libldbsamba.so: version `SAMBA_4.0.0ALPHA19_UNKNOWN' not found (required by /usr/lib/perl5/auto/LDB/LDB.so) at /usr/share/perl/5.14/XSLoader.pm line 71.

at /usr/lib/perl5/LDB.pm line 31

Compilation failed in require at /usr/share/perl5/EBox/Ldb.pm line 25. BEGIN failed--compilation aborted at /usr/share/perl5/EBox/Ldb.pm line 25. Compilation failed in require at /usr/share/perl5/EBox/Samba.pm line 48. BEGIN failed--compilation aborted at /usr/share/perl5/EBox/Samba.pm line 48. Compilation failed in require at (eval 545) line 2. BEGIN failed--compilation aborted at (eval 545) line 2. $VAR1 = bless( {

'-stacktrace' => 'Error loading class: EBox::Samba error: Can\'t load \'/usr/lib/perl5/auto/LDB/LDB.so\' for module LDB: /usr/lib/i386-linux-gnu/samba/libldbsamba.so: version `SAMBA_4.0.0ALPHA19_UNKNOWN\' not found (required by /usr/lib/perl5/auto/LDB/LDB.so) at /usr/share/perl/5.14/XSLoader.pm line 71.

at /usr/lib/perl5/LDB.pm line 31

Compilation failed in require at /usr/share/perl5/EBox/Ldb.pm line 25. BEGIN failed--compilation aborted at /usr/share/perl5/EBox/Ldb.pm line 25. Compilation failed in require at /usr/share/perl5/EBox/Samba.pm line 48. BEGIN failed--compilation aborted at /usr/share/perl5/EBox/Samba.pm line 48. Compilation failed in require at (eval 545) line 2. BEGIN failed--compilation aborted at (eval 545) line 2.

at /usr/share/perl5/EBox/GlobalImpl.pm line 843

EBox::GlobalImpl::modInstance(\'EBox::GlobalImpl?=HASH(0xb9c97834)\', 1, \'samba\') called at /usr/share/perl5/EBox/GlobalImpl.pm line 788 EBox::GlobalImpl::modInstancesOfType(\'EBox::GlobalImpl?=HASH(0xb9c97834)\', 1, \'EBox::Mail::FilterProvider?\') called at /usr/share/perl5/EBox/Global.pm line 92 EBox::Global::AUTOLOAD(\'EBox::Global=HASH(0xbab0e2cc)\', \'EBox::Mail::FilterProvider?\') called at /usr/share/perl5/EBox/Mail.pm line 1592 EBox::Mail::menu(\'EBox::Mail=HASH(0xbab0142c)\', \'EBox::Menu::Root=HASH(0xba6c3320)\') called at /usr/share/perl5/EBox/Html.pm line 112 EBox::Html::menu(\'Software\') called at /usr/share/perl5/EBox/HtmlBlocks.pm line 72 EBox::HtmlBlocks::menu(\'EBox::HtmlBlocks?\', \'Software\') called at /usr/share/perl5/EBox/CGI/ClientBase.pm line 116 EBox::CGI::ClientBase::_menu(\'EBox::CGI::Software::EBox=HASH(0xba6bfe40)\', \'EBox::CGI::Software::EBox=HASH(0xba6bfe40)\') called at /usr/share/perl5/EBox/CGI/Software/EBox.pm line 97 EBox::CGI::Software::EBox::_menu(\'EBox::CGI::Software::EBox=HASH(0xba6bfe40)\') called at /usr/share/perl5/EBox/CGI/Base.pm line 187 EBox::CGI::Base::_print(\'EBox::CGI::Software::EBox=HASH(0xba6bfe40)\') called at /usr/share/perl5/EBox/CGI/Base.pm line 347 EBox::CGI::Base::run(\'EBox::CGI::Software::EBox=HASH(0xba6bfe40)\') called at /usr/share/perl5/EBox/CGI/Run.pm line 133 EBox::CGI::Run::run(\'EBox::CGI::Run\', \'Software/EBox/\', \'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(0xb9d8ca2c)\') 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(0xba6bf9cc)\') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170 ModPerl::RegistryCooker::default_handler(\'ModPerl::Registry=HASH(0xba6bf9cc)\') called at /usr/lib/perl5/ModPerl/Registry.pm line 31 ModPerl::Registry::handler(\'ModPerl::Registry\', \'Apache2::RequestRec?=SCALAR(0xb9d8ca2c)\') called at -e line 0 eval {...} called at -e line 0

',

'-file' => '/usr/share/perl5/EBox/GlobalImpl.pm', '-text' => 'Error loading class: EBox::Samba error: Can\'t load \'/usr/lib/perl5/auto/LDB/LDB.so\' for module LDB: /usr/lib/i386-linux-gnu/samba/libldbsamba.so: version `SAMBA_4.0.0ALPHA19_UNKNOWN\' not found (required by /usr/lib/perl5/auto/LDB/LDB.so) at /usr/share/perl/5.14/XSLoader.pm line 71.

at /usr/lib/perl5/LDB.pm line 31

Compilation failed in require at /usr/share/perl5/EBox/Ldb.pm line 25. BEGIN failed--compilation aborted at /usr/share/perl5/EBox/Ldb.pm line 25. Compilation failed in require at /usr/share/perl5/EBox/Samba.pm line 48. BEGIN failed--compilation aborted at /usr/share/perl5/EBox/Samba.pm line 48. Compilation failed in require at (eval 545) line 2. BEGIN failed--compilation aborted at (eval 545) line 2. ',

'-line' => 843, '-package' => 'EBox::GlobalImpl?', 'silent' => 0

}, 'EBox::Exceptions::Internal' );

2012/04/06 21:54:32 ERROR> GlobalImpl?.pm:843 EBox::GlobalImpl::modInstance - Error loading class: EBox::Samba error: Attempt to reload EBox/Samba.pm aborted. Compilation failed in require at (eval 577) line 2. BEGIN failed--compilation aborted at (eval 577) line 2. 2012/04/06 21:54:32 DEBUG> Base.pm:576 EBox::CGI::Base::setErrorFromException - Error loading class: EBox::Samba error: Attempt to reload EBox/Samba.pm aborted. Compilation failed in require at (eval 577) line 2. BEGIN failed--compilation aborted at (eval 577) line 2. $VAR1 = bless( {

'-stacktrace' => 'Error loading class: EBox::Samba error: Attempt to reload EBox/Samba.pm aborted.

Compilation failed in require at (eval 577) line 2. BEGIN failed--compilation aborted at (eval 577) line 2.

at /usr/share/perl5/EBox/GlobalImpl.pm line 843

EBox::GlobalImpl::modInstance(\'EBox::GlobalImpl?=HASH(0xb9c97834)\', 1, \'samba\') called at /usr/share/perl5/EBox/GlobalImpl.pm line 788 EBox::GlobalImpl::modInstancesOfType(\'EBox::GlobalImpl?=HASH(0xb9c97834)\', 1, \'EBox::Mail::FilterProvider?\') called at /usr/share/perl5/EBox/Global.pm line 92 EBox::Global::AUTOLOAD(\'EBox::Global=HASH(0xbaf374dc)\', \'EBox::Mail::FilterProvider?\') called at /usr/share/perl5/EBox/Mail.pm line 1592 EBox::Mail::menu(\'EBox::Mail=HASH(0xbab0142c)\', \'EBox::Menu::Root=HASH(0xbaf370b8)\') called at /usr/share/perl5/EBox/Html.pm line 112 EBox::Html::menu(\'Software\') called at /usr/share/perl5/EBox/HtmlBlocks.pm line 72 EBox::HtmlBlocks::menu(\'EBox::HtmlBlocks?\', \'Software\') called at /usr/share/perl5/EBox/CGI/ClientBase.pm line 116 EBox::CGI::ClientBase::_menu(\'EBox::CGI::Software::EBox=HASH(0xb9d93db8)\', \'EBox::CGI::Software::EBox=HASH(0xb9d93db8)\') called at /usr/share/perl5/EBox/CGI/Software/EBox.pm line 97 EBox::CGI::Software::EBox::_menu(\'EBox::CGI::Software::EBox=HASH(0xb9d93db8)\') called at /usr/share/perl5/EBox/CGI/Base.pm line 187 EBox::CGI::Base::_print(\'EBox::CGI::Software::EBox=HASH(0xb9d93db8)\') called at /usr/share/perl5/EBox/CGI/Base.pm line 347 EBox::CGI::Base::run(\'EBox::CGI::Software::EBox=HASH(0xb9d93db8)\') called at /usr/share/perl5/EBox/CGI/Run.pm line 133 EBox::CGI::Run::run(\'EBox::CGI::Run\', \'Software/EBox/\', \'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(0xb9d93d2c)\') 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(0xb9d8ca54)\') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170 ModPerl::RegistryCooker::default_handler(\'ModPerl::Registry=HASH(0xb9d8ca54)\') called at /usr/lib/perl5/ModPerl/Registry.pm line 31 ModPerl::Registry::handler(\'ModPerl::Registry\', \'Apache2::RequestRec?=SCALAR(0xb9d93d2c)\') called at -e line 0 eval {...} called at -e line 0

',

'-file' => '/usr/share/perl5/EBox/GlobalImpl.pm', '-text' => 'Error loading class: EBox::Samba error: Attempt to reload EBox/Samba.pm aborted.

Compilation failed in require at (eval 577) line 2. BEGIN failed--compilation aborted at (eval 577) line 2. ',

'-line' => 843, '-package' => 'EBox::GlobalImpl?', 'silent' => 0

}, 'EBox::Exceptions::Internal' );

Attachments

zentyal.log Download (15.3 KB) - added by anonymous 14 months ago.
logfile

Change History

Changed 14 months ago by anonymous

logfile

comment:1 Changed 14 months ago by half_life1052@…

  • Milestone set to 3.0

comment:2 Changed 14 months ago by jamor@…

  • Status changed from new to closed
  • Resolution set to duplicate
  • Summary changed from Packages did not install properly after a fresh install to Error loading class: EBox::Samba error: Can't load '/usr/lib/perl5/auto/LDB/LDB.so' for module LDB

Hello Jayform,

we will use the ticket #4097 to work on this problem.

Regards,

Javier

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.