Modify

Ticket #4002 (closed defect: fixed)

Opened 15 months ago

Last modified 15 months ago

Error in LogObserver Event

Reported by: mburillo@… Owned by: jamor@…
Milestone: 2.2.X Component: base
Severity: normal Keywords: logovserver modelInstance
Cc:

Description

Sorry, an unexpected error has occurred modelInstance /events/LogWatcherFiltering/dhcp does not exist.

You can reproduce it installing antivirus and filesharing, enabling these two modules and the going to Maintenance -> Events -> LogObserver? config.

And probably, in a lot of other different ways.

Attachments

Change History

comment:1 Changed 15 months ago by mburillo@…

modelInstance /events/LogWatcherFiltering/dhcp does not exist. at /usr/share/perl5/EBox/Model/ModelManager.pm line 862 EBox::Model::ModelManager::_chooseModelUsingParameters('EBox::Model::ModelManager?=HASH(0x7f5a67c1aa28)', '/events/LogWatcherFiltering/dhcp') called at /usr/share/perl5/EBox/Model/ModelManager.pm line 150 EBox::Model::ModelManager::model('EBox::Model::ModelManager?=HASH(0x7f5a67c1aa28)', '/events/LogWatcherFiltering/dhcp') called at /usr/share/perl5/EBox/Types/HasMany.pm line 146 EBox::Types::HasMany::foreignModelInstance('EBox::Types::HasMany?=HASH(0x7f5a68dad870)') called at /usr/share/perl5/EBox/Types/HasMany.pm line 381 EBox::Types::HasMany::filesPaths('EBox::Types::HasMany?=HASH(0x7f5a68dad870)') called at /usr/share/perl5/EBox/Model/Row.pm line 677 EBox::Model::Row::filesPaths('EBox::Model::Row=HASH(0x7f5a68d963a0)') called at /usr/share/perl5/EBox/Model/DataTable.pm line 4822 EBox::Model::DataTable::filesPathsForRow('EBox::Events::Model::Watcher::Log=HASH(0x7f5a6846c5a8)', 'EBox::Model::Row=HASH(0x7f5a68d963a0)') called at /usr/share/perl5/EBox/Model/DataTable.pm line 925 EBox::Model::DataTable::addTypedRow('EBox::Events::Model::Watcher::Log=HASH(0x7f5a6846c5a8)', 'HASH(0x7f5a65cacd18)', 'readOnly', undef, 'id', undef) called at /usr/share/perl5/EBox/Model/DataTable.pm line 819 EBox::Model::DataTable::addRow('EBox::Events::Model::Watcher::Log=HASH(0x7f5a6846c5a8)', 'domain', 'dhcp', 'enabled', 0) called at /usr/share/perl5/EBox/Events/Model/Watcher/Log.pm line 176 EBox::Events::Model::Watcher::Log::syncRows('EBox::Events::Model::Watcher::Log=HASH(0x7f5a6846c5a8)', 'ARRAY(0x7f5a6845a968)') called at /usr/share/perl5/EBox/Model/DataTable.pm line 1606 EBox::Model::DataTable::ids('EBox::Events::Model::Watcher::Log=HASH(0x7f5a6846c5a8)') called at line 59 HTML::Mason::Commands::ANON('model', 'EBox::Events::Model::Watcher::Log=HASH(0x7f5a6846c5a8)', 'data', undef, 'dataTable', 'HASH(0x7f5a68480960)', 'model', 'EBox::Events::Model::Watcher::Log=HASH(0x7f5a6846c5a8)', 'hasChanged', ...) called at /usr/share/perl5/HTML/Mason/Component.pm line 135 HTML::Mason::Component::run('HTML::Mason::Component::Subcomponent=HASH(0x7f5a68d9da58)', 'model', 'EBox::Events::Model::Watcher::Log=HASH(0x7f5a6846c5a8)', 'data', undef, 'dataTable', 'HASH(0x7f5a68480960)', 'model', 'EBox::Events::Model::Watcher::Log=HASH(0x7f5a6846c5a8)', ...) called at /usr/share/perl5/HTML/Mason/Request.pm line 1302 eval {...} called at /usr/share/perl5/HTML/Mason/Request.pm line 1292 HTML::Mason::Request::comp(undef, undef, 'model', 'EBox::Events::Model::Watcher::Log=HASH(0x7f5a6846c5a8)', 'data', undef, 'dataTable', 'HASH(0x7f5a68480960)', 'model', ...) called at /usr/share/zentyal/templates/ajax/modelViewer.mas line 161 HTML::Mason::Commands::ANON('model', 'EBox::Events::Model::Watcher::Log=HASH(0x7f5a6846c5a8)') called at /usr/share/perl5/HTML/Mason/Component.pm line 135 HTML::Mason::Component::run('HTML::Mason::Component::Subcomponent=HASH(0x7f5a68b69370)', 'model', 'EBox::Events::Model::Watcher::Log=HASH(0x7f5a6846c5a8)') called at /usr/share/perl5/HTML/Mason/Request.pm line 1302 eval {...} called at /usr/share/perl5/HTML/Mason/Request.pm line 1292 HTML::Mason::Request::comp(undef, undef, 'model', 'EBox::Events::Model::Watcher::Log=HASH(0x7f5a6846c5a8)') called at /usr/share/zentyal/templates/ajax/modelViewer.mas line 75 HTML::Mason::Commands::ANON('model', 'EBox::Events::Model::Watcher::Log=HASH(0x7f5a6846c5a8)', 'hasChanged', undef) called at /usr/share/perl5/HTML/Mason/Component.pm line 135 HTML::Mason::Component::run('HTML::Mason::Component::Subcomponent=HASH(0x7f5a68b69568)', 'model', 'EBox::Events::Model::Watcher::Log=HASH(0x7f5a6846c5a8)', 'hasChanged', undef) called at /usr/share/perl5/HTML/Mason/Request.pm line 1302 eval {...} called at /usr/share/perl5/HTML/Mason/Request.pm line 1292 HTML::Mason::Request::comp(undef, undef, 'model', 'EBox::Events::Model::Watcher::Log=HASH(0x7f5a6846c5a8)', 'hasChanged', undef) called at /usr/share/zentyal/templates/ajax/modelViewer.mas line 28 HTML::Mason::Commands::ANON('data', undef, 'dataTable', 'HASH(0x7f5a68480960)', 'model', 'EBox::Events::Model::Watcher::Log=HASH(0x7f5a6846c5a8)', 'hasChanged', undef, 'tpages', ...) called at /usr/share/perl5/HTML/Mason/Component.pm line 135 HTML::Mason::Component::run('HTML::Mason::Component::FileBased?=HASH(0x7f5a68b69730)', 'data', undef, 'dataTable', 'HASH(0x7f5a68480960)', 'model', 'EBox::Events::Model::Watcher::Log=HASH(0x7f5a6846c5a8)', 'hasChanged', undef, ...) called at /usr/share/perl5/HTML/Mason/Request.pm line 1302 eval {...} called at /usr/share/perl5/HTML/Mason/Request.pm line 1292 HTML::Mason::Request::comp(undef, undef, undef, 'data', undef, 'dataTable', 'HASH(0x7f5a68480960)', 'model', 'EBox::Events::Model::Watcher::Log=HASH(0x7f5a6846c5a8)', ...) called at /usr/share/perl5/HTML/Mason/Request.pm line 483 eval {...} called at /usr/share/perl5/HTML/Mason/Request.pm line 483 eval {...} called at /usr/share/perl5/HTML/Mason/Request.pm line 433 HTML::Mason::Request::exec('HTML::Mason::Request=HASH(0x7f5a68d98a40)') called at /usr/share/perl5/HTML/Mason/Interp.pm line 342 HTML::Mason::Interp::exec(undef, undef, 'data', undef, 'dataTable', 'HASH(0x7f5a68480960)', 'model', 'EBox::Events::Model::Watcher::Log=HASH(0x7f5a6846c5a8)', 'hasChanged', ...) called at /usr/share/perl5/EBox/CGI/Base.pm line 148 EBox::CGI::Base::_body('EBox::CGI::View::DataTable?=HASH(0x7f5a6894d0d8)') called at /usr/share/perl5/EBox/CGI/Base.pm line 192 EBox::CGI::Base::_print('EBox::CGI::View::DataTable?=HASH(0x7f5a6894d0d8)') called at /usr/share/perl5/EBox/CGI/Base.pm line 348 EBox::CGI::Base::run('EBox::CGI::View::DataTable?=HASH(0x7f5a6894d0d8)') called at /usr/share/perl5/EBox/CGI/Run.pm line 129 EBox::CGI::Run::run('EBox::CGI::Run', 'Events/View/LogWatcherConfiguration?', '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(0x7f5a6456f218)') 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(0x7f5a68a49a38)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170 ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0x7f5a68a49a38)') called at /usr/lib/perl5/ModPerl/Registry.pm line 31 ModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec?=SCALAR(0x7f5a6456f218)') called at -e line 0 eval {...} called at -e line 0

comment:2 Changed 15 months ago by jamor@…

See also #3929

comment:3 Changed 15 months ago by jamor@…

  • Status changed from new to accepted

comment:4 Changed 15 months ago by jamor@…

See also #4020

comment:5 Changed 15 months ago by jamor@…

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

Fixed in [d2d0ab7f24]

Anyway this is a temporal error that in most cases can be fixed restarting the web interface with 'sudo /etc/init.d/zentyal apache restart'

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.