Ticket #3403 (closed defect: duplicate)
Error on Configuration Report
| Reported by: | marco@… | Owned by: | jamor@… |
|---|---|---|---|
| Milestone: | nice to have someday | Component: | base |
| Severity: | normal | Keywords: | Backup.pm, HasMany.pm, export, configuration, report |
| Cc: |
Description
Hi,
I have problem on both following tasks
- [System] [Configuration Report]
- [System] [Import-Export Configuration] when performing "Backup the Current State".
The problem occurs several month ago, probably due a module remove.
The current environment is:
Core version 2.0.23
The debug mode is already set in /etc/ebox/99ebox.conf
root@gpcf-proxy:/var/log/ebox# dpkg -l | grep ebox rc asterisk 1:1.6.2.7-1+ebox2 Open Source Private Branch Exchange (PBX) rc asterisk-config 1:1.6.2.7-1+ebox2 Configuration files for Asterisk ii ebox 2.0.23 Zentyal - Core ii ebox-ca 2.0.5 Zentyal - Certification Authority ii ebox-dhcp 2.0.6 Zentyal - DHCP Service ii ebox-dns 2.0.5 Zentyal - DNS Service ii ebox-ebackup 2.0.13 Zentyal - Backup ii ebox-firewall 2.0.3 Zentyal - Firewall ii ebox-monitor 2.0.5 Zentyal - Monitor ii ebox-network 2.0.10 Zentyal - Network Configuration ii ebox-ntp 2.0.3 Zentyal - NTP Service ii ebox-objects 2.0 Zentyal - Network Objects ii ebox-openvpn 2.0.11 Zentyal - VPN Service ii ebox-remoteservices 2.0.18 Zentyal - Zentyal Cloud Client ii ebox-samba 2.0.12 Zentyal - File Sharing ii ebox-services 2.0 Zentyal - Network Services ii ebox-software 2.0.12 Zentyal - Software Management ii ebox-usersandgroups 2.0.12 Zentyal - Users and Groups ii ebox-webserver 2.0.5 Zentyal - Web Server ii john 1.7.6-1~ebox0~lucid0 active password cracking tool ii john-data 1.7.6-1~ebox0~lucid0 active password cracking tool - character se ii libebox 2.0.13 Zentyal - Common Library rc p3scan 2:2.3.2-7ubuntu1+ebox1 transparent POP3-proxy with virus- and spam- rc roundcube 0.3.1-3ubuntu1~ebox2~lucid1 skinnable AJAX based webmail solution for IM rc roundcube-core 0.3.1-3ubuntu1~ebox2~lucid1 skinnable AJAX based webmail solution for IM ii samba-vscan 0.3.6cbeta5ebox4-2 Samba virus scanning VFS module
The ebox.log reports: 2011/10/25 19:32:33 DEBUG> Backup.pm:146 EBox::Backup::ANON - Dumping sysinfo backup data 2011/10/25 19:32:33 DEBUG> Backup.pm:146 EBox::Backup::ANON - Dumping network backup data 2011/10/25 19:32:33 DEBUG> Backup.pm:146 EBox::Backup::ANON - Dumping firewall backup data 2011/10/25 19:32:33 DEBUG> Backup.pm:146 EBox::Backup::ANON - Dumping apache backup data 2011/10/25 19:32:33 DEBUG> Backup.pm:146 EBox::Backup::ANON - Dumping ca backup data 2011/10/25 19:32:34 DEBUG> Backup.pm:146 EBox::Backup::ANON - Dumping dhcp backup data 2011/10/25 19:32:34 DEBUG> Backup.pm:146 EBox::Backup::ANON - Dumping dns backup data 2011/10/25 19:32:34 DEBUG> Backup.pm:146 EBox::Backup::ANON - Dumping ebackup backup data 2011/10/25 19:32:34 DEBUG> Backup.pm:146 EBox::Backup::ANON - Dumping events backup data
The error.log reports: Use of uninitialized value $time in localtime at /usr/share/perl5/EBox/Backup.pm line 71. Use of uninitialized value $logDomain in concatenation (.) or string at /usr/share/perl5/EBox/Events/Model/Watcher/Log.pm line 320, <GEN46> line 1033. Trace begun at /usr/share/ebox/cgi/ebox.cgi line 42 ModPerl::ROOT::ModPerl::Registry::usr_share_ebox_cgi_ebox_2ecgi::ANON('Error::Simple=HASH(0x7f4ec3819880)', 'SCALAR(0x7f4ebe2ec4c0)') called at /usr/share/perl5/Error.pm line 375 eval {...} at /usr/share/perl5/Error.pm line 365 Error::subs::run_clauses('HASH(0x7f4ebf12c1c8)', 'Error::Simple=HASH(0x7f4ec3819880)', undef, 'ARRAY(0x7f4ebe2ec850)') called at /usr/share/perl5/Error.pm line 427 Error::subs::try('CODE(0x7f4ebf17d540)', 'HASH(0x7f4ebf12c1c8)') called at /usr/share/ebox/cgi/ebox.cgi line 108 ModPerl::ROOT::ModPerl::Registry::usr_share_ebox_cgi_ebox_2ecgi::handler('Apache2::RequestRec?=SCALAR(0x7f4ec370be30)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 204 eval {...} at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 204 ModPerl::RegistryCooker::run('ModPerl::Registry=HASH(0x7f4ebf19cce8)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170 ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0x7f4ebf19cce8)') called at /usr/lib/perl5/ModPerl/Registry.pm line 31 ModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec?=SCALAR(0x7f4ec370be30)') called at -e line 0 eval {...} at -e line 0 $VAR1 = bless( {
'-file' => '/usr/share/perl5/EBox/Types/HasMany.pm', '-text' => 'Can\'t call method "setDirectory" on unblessed reference', '-line' => '151', '-package' => 'Error'
}, 'Error::Simple' );
Regards, Marco
Attachments
Change History
comment:1 Changed 19 months ago by jamor@…
Hello Marco and thanks for your report,
Do you remember what module you removed?.
Anyway, we could try this workaround. Go to Events -> Configure Watchers. Select configuration of Log Observer. Look around if it is something strange. Then try again the configuration report.
Please, reply back whether it continues to fail or it works correctly.
Regards,
Javier
comment:2 Changed 19 months ago by marco@…
I removed all unnecessary modules, including Watchers.
Please note I removed the Zential Cloud and VPN module due the server reports it was not able to reach the cloud infrastructure on network 10.x.x.x (due a DNS error ???).
root@gpcf-proxy:/var/log/ebox# dpkg -l | grep ebox rc asterisk 1:1.6.2.7-1+ebox2 Open Source Private Branch Exchange (PBX) rc asterisk-config 1:1.6.2.7-1+ebox2 Configuration files for Asterisk ii ebox 2.0.23 Zentyal - Core ii ebox-ca 2.0.5 Zentyal - Certification Authority ii ebox-dhcp 2.0.6 Zentyal - DHCP Service ii ebox-dns 2.0.5 Zentyal - DNS Service ii ebox-firewall 2.0.3 Zentyal - Firewall ii ebox-network 2.0.10 Zentyal - Network Configuration ii ebox-objects 2.0 Zentyal - Network Objects ii ebox-samba 2.0.12 Zentyal - File Sharing ii ebox-services 2.0 Zentyal - Network Services ii ebox-software 2.0.12 Zentyal - Software Management ii ebox-usersandgroups 2.0.12 Zentyal - Users and Groups ii ebox-webserver 2.0.5 Zentyal - Web Server ii john 1.7.6-1~ebox0~lucid0 active password cracking tool ii john-data 1.7.6-1~ebox0~lucid0 active password cracking tool - character se ii libebox 2.0.13 Zentyal - Common Library rc p3scan 2:2.3.2-7ubuntu1+ebox1 transparent POP3-proxy with virus- and spam- rc roundcube 0.3.1-3ubuntu1~ebox2~lucid1 skinnable AJAX based webmail solution for IM rc roundcube-core 0.3.1-3ubuntu1~ebox2~lucid1 skinnable AJAX based webmail solution for IM ii samba-vscan 0.3.6cbeta5ebox4-2 Samba virus scanning VFS module
at the moment, when I click on to "configuration report" , on error.log I get: Use of uninitialized value $time in localtime at /usr/share/perl5/EBox/Backup.pm line 71. Use of uninitialized value $logDomain in concatenation (.) or string at /usr/share/perl5/EBox/Events/Model/Watcher/Log.pm line 320, <GEN1> line 36759. Trace begun at /usr/share/ebox/cgi/ebox.cgi line 42 ModPerl::ROOT::ModPerl::Registry::usr_share_ebox_cgi_ebox_2ecgi::ANON('Error::Simple=HASH(0x7f3c03d0ee60)', 'SCALAR(0x7f3bffe814f0)') called at /usr/share/perl5/Error.pm line 375 eval {...} at /usr/share/perl5/Error.pm line 365 Error::subs::run_clauses('HASH(0x7f3c03b7c608)', 'Error::Simple=HASH(0x7f3c03d0ee60)', undef, 'ARRAY(0x7f3bffe81880)') called at /usr/share/perl5/Error.pm line 427 Error::subs::try('CODE(0x7f3c00d129d0)', 'HASH(0x7f3c03b7c608)') called at /usr/share/ebox/cgi/ebox.cgi line 108 ModPerl::ROOT::ModPerl::Registry::usr_share_ebox_cgi_ebox_2ecgi::handler('Apache2::RequestRec?=SCALAR(0x7f3c03c98e58)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 204 eval {...} at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 204 ModPerl::RegistryCooker::run('ModPerl::Registry=HASH(0x7f3c03b9d5c8)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170 ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0x7f3c03b9d5c8)') called at /usr/lib/perl5/ModPerl/Registry.pm line 31 ModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec?=SCALAR(0x7f3c03c98e58)') called at -e line 0 eval {...} at -e line 0 $VAR1 = bless( {
'-file' => '/usr/share/perl5/EBox/Types/HasMany.pm', '-text' => 'Can\'t call method "setDirectory" on unblessed reference', '-line' => '151', '-package' => 'Error'
}, 'Error::Simple' );
and on ebox log: 2011/10/28 17:31:40 DEBUG> Backup.pm:146 EBox::Backup::ANON - Dumping sysinfo backup data 2011/10/28 17:31:40 DEBUG> Backup.pm:146 EBox::Backup::ANON - Dumping network backup data 2011/10/28 17:31:40 DEBUG> Backup.pm:146 EBox::Backup::ANON - Dumping firewall backup data 2011/10/28 17:31:40 DEBUG> Backup.pm:146 EBox::Backup::ANON - Dumping apache backup data 2011/10/28 17:31:40 DEBUG> Backup.pm:146 EBox::Backup::ANON - Dumping ca backup data 2011/10/28 17:31:41 DEBUG> Backup.pm:146 EBox::Backup::ANON - Dumping dhcp backup data 2011/10/28 17:31:41 DEBUG> Backup.pm:146 EBox::Backup::ANON - Dumping dns backup data 2011/10/28 17:31:41 DEBUG> Backup.pm:146 EBox::Backup::ANON - Dumping events backup data
I have NO PHYSICAL ACCESS to the server also.
Is there any configuration files I can send you? or can you provide me some detailed suggestions where see and what you consider "something strange"? Unfortunately I have no background on Perl.
In the dumping sequence, which is the module next events? (just to focus on it)
Regards, Marco
comment:3 Changed 19 months ago by jamor@…
Hello Marco,
I cannot say what is the module next for events because this is not a fixed sequence.
Could you try to go to the Configure Watches -> Log Observer configuration screen and look for something strange?. For something strange I mean a listed module which is not installed or any out of range value. In fact just going there could trigger a reevaluation of present modules and if we are lucky, fix the problem.
For this last reason, I suggest also to do a trivial change in the Log Observe configuration, save changes and try the configuration report again.
Regards,
Javier
