Ticket #3222 (closed defect: fixed)
Monitor error: events do not found EBox::Event::Watcher::Monitor identifier
| Reported by: | bendersky@… | Owned by: | ejhernandez@… |
|---|---|---|---|
| Milestone: | 2.2.X | Component: | bwmonitor |
| Severity: | major | Keywords: | |
| Cc: |
Description
identifier EBox::Event::Watcher::Monitor does not exist.
Because of this error, can start server monitoring.
Attachments
Change History
comment:1 Changed 20 months ago by jamor@…
Do you had installad zentyal-monitor and unistalled it later?
comment:2 Changed 20 months ago by bendersky@…
I installed from scratch. I didn't not reinstalled. Here some log file.
2011/09/23 02:37:05 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: monitor 2011/09/23 02:37:07 DEBUG> DataTable.pm:4631 EBox::Model::DataTable::_autoloadGetId - identifier EBox::Event::Watcher::Monitor does not exist. 2011/09/23 02:37:07 ERROR> Service.pm:721 EBox::Module::Service::__ANON__ - Error restarting service: identifier EBox::Event::Watcher::Monitor does not exist. 2011/09/23 02:37:07 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: ntp 2011/09/23 02:37:10 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: openvpn 2011/09/23 02:37:10 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: remoteservices 2011/09/23 02:37:43 DEBUG> Base.pm:241 EBox::RemoteServices::Base::_queryServicesNameserver - Server backup.internal.cloud.zentyal.com not found via DNS server 10.200.0.4. Reason: query timed out 2011/09/23 02:37:43 ERROR> RemoteServices.pm:1506 EBox::RemoteServices::__ANON__ - Cannot contact to Zentyal Cloud: Server backup.internal.cloud.zentyal.com not found via DNS server 10.200.0.4. Reason: query timed out 2011/09/23 02:37:44 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: trafficshaping 2011/09/23 02:37:44 DEBUG> TrafficShaping.pm:1110 EBox::TrafficShaping::_checkInterface - Iface not configured virbr0 2011/09/23 02:37:44 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: users 2011/09/23 02:37:44 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: virt 2011/09/23 02:37:44 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: bwmonitor 2011/09/23 02:37:44 ERROR> Service.pm:39 EBox::Service::manage - No such daemon: zentyal.bwmonitor-eth1
comment:3 Changed 20 months ago by jamor@…
Thanks a lot for your feedback Bendersky.
We have confirmed the problem.
Until we fix it, maybe reinstalling zentyal-monitor could workaround it. It is worth a try.
Cheers,
Javier
comment:4 Changed 20 months ago by jamor@…
- Summary changed from Some Perl module error to Monitor error: events do not found EBox::Event::Watcher::Monitor identifier
comment:6 Changed 20 months ago by ejhernandez@…
Hi there,
Could you provide the output of the Maintenance -> Events screen? Also, you may post the output of the following command?
$ sudo ls -l /var/lib/zentyal/conf/events/WatcherEnabled
Thanks very much for your feedback.
comment:7 Changed 20 months ago by bendersky@…
XXXXX@XXXXXX:~$ sudo ls -l /var/lib/zentyal/conf/events/WatcherEnabled [sudo] password for XXXXXX: total 0 lrwxrwxrwx 1 ebox ebox 46 2011-09-15 12:58 EBackup.pm -> /usr/share/perl5/EBox/Event/Watcher/EBackup.pm lrwxrwxrwx 1 ebox ebox 46 2011-09-15 12:58 Updates.pm -> /usr/share/perl5/EBox/Event/Watcher/Updates.pm
comment:8 Changed 20 months ago by bendersky@…
Hi, Ignore last message just forgot insert code break.
XXXXXX@XXXXXX:~$ sudo ls -l /var/lib/zentyal/conf/events/WatcherEnabled [sudo] password for XXXXXX: total 0 lrwxrwxrwx 1 ebox ebox 46 2011-09-15 12:58 EBackup.pm -> /usr/share/perl5/EBox/Event/Watcher/EBackup.pm lrwxrwxrwx 1 ebox ebox 46 2011-09-15 12:58 Updates.pm -> /usr/share/perl5/EBox/Event/Watcher/Updates.pm
comment:9 Changed 20 months ago by ejhernandez@…
Sorry for bothering you, but if it will be nice to have access to your host to diagnose the problem throughfully.
If this is possible, please provide the details at ejhernandez at zentyal.com
Best,
comment:10 Changed 20 months ago by ejhernandez@…
- Status changed from new to assigned
Hi Slava,
I think we have found the root of your problem.
Could you run these commands and see if that fixes your problem?
sudo apt-get install --reinstall zentyal-core ; sudo /usr/share/zentyal/clean-conf events
Then, try to restart monitor module and it should work now.
comment:11 Changed 20 months ago by bendersky@…
Reinstall core, did the trick. Thank you very match on time and help.
{{{XXXXXX@XXXXX:~$ sudo apt-get install --reinstall zentyal-core ; sudo /usr/share/zentyal/clean-conf events Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required:
libtalloc2 smbldap-tools samba-vscan libunicode-string-perl libwbclient0 acl samba-common samba libunicode-map-perl libunicode-map8-perl samba-common-bin libjcode-pm-perl libunicode-maputf8-perl
Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 21 not upgraded. Need to get 0B/521kB of archives. After this operation, 0B of additional disk space will be used. Do you want to continue [Y/n]? y WARNING: The following packages cannot be authenticated!
zentyal-core
Install these packages without verification [y/N]? y Preconfiguring packages ... (Reading database ... 51740 files and directories currently installed.) Preparing to replace zentyal-core 2.2.2 (using .../zentyal-core_2.2.2_all.deb) ... Unpacking replacement zentyal-core ... Processing triggers for man-db ... Processing triggers for ureadahead ... Setting up zentyal-core (2.2.2) ...
Processing triggers for zentyal-core ...
- Restarting Zentyal module: apache [ OK ]
- Restarting Zentyal module: logs [ OK ]
- Restarting Zentyal module: events [ OK ]
2011/10/07 12:19:10 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: monitor 2011/10/07 12:19:11 WARN> Monitor.pm:611 EBox::Monitor::_setThresholdConf - No threshold configuration is saved since monitor watcher or events module are not enabled 2011/10/07 12:20:04 INFO> notify-job:62 EBox::RemoteServices::Job::Notifier::ANON - Job 14 finished with exit value 0 CC will be notified
}}}
P.S. I so open ticket about LDAP slave implementation, but no any resolution about it. I will need open another ticket or wait until existing is will be resolved ?
Again thank you for you time and help.
comment:12 Changed 20 months ago by ejhernandez@…
- Status changed from assigned to closed
- Resolution set to fixed
You were a very good user keeping the scenario for us to debug :).
Kudos for you.
I close this ticket but regarding to the LDAP slave. Please, explain in that ticket your pbs.
