Modify

Ticket #3136 (closed defect: fixed)

Opened 22 months ago

Last modified 22 months ago

Error when enabling Mail Filter on LDAP Slave node.

Reported by: winterheart Owned by: cperez@…
Milestone: Component: mailfilter
Severity: normal Keywords:
Cc:

Description

Hello. I'm trying enable mailfilter to existing mailserver on node with LDAP slave mode, but got these errors in log:

2011/08/16 12:01:48 INFO> Global.pm:535 EBox::Global::saveAllModules - Saving config and restarting services: firewall mailfilter logs
2011/08/16 12:01:48 INFO> Base.pm:151 EBox::Module::Base::save - Restarting service for module: firewall
2011/08/16 12:01:51 INFO> Base.pm:773 EBox::Module::Base::_hook - Running hook: /etc/ebox/hooks/firewall.postservice 1
2011/08/16 12:01:51 INFO> Base.pm:151 EBox::Module::Base::save - Restarting service for module: mailfilter
2011/08/16 12:01:53 ERROR> Ldap.pm:701 EBox::Ldap::_errorOnLdap - $VAR1 = {
          'changes' => [
                         'replace',
                         [
                           'amavisBypassVirusChecks',
                           'FALSE'
                         ]
                       ]
        };
2011/08/16 12:01:53 ERROR> Ldap.pm:703 EBox::Ldap::_errorOnLdap - Unknown error at EBox::Ldap::modifyAttribute attribute 'amavisBypassVirusChecks' not allowed
2011/08/16 12:01:53 INFO> Base.pm:151 EBox::Module::Base::save - Restarting service for module: logs
2011/08/16 12:01:53 ERROR> Global.pm:632 EBox::Global::saveAllModules - The following modules failed while saving their changes, their state is unknown: mailfilter

Attachments

Change History

comment:1 Changed 22 months ago by cperez@…

  • Owner changed from jamor@… to cperez@…

Hi winterheart,

can you post your zentyal's pacakge list? to do so just run:

dpkg -l | grep zentyal

Probably ldap schema for mail filter module was not correctly installed. Did you see any error during enable?

comment:2 Changed 22 months ago by winterheart

Probably you mean dpkg -l | grep ebox

root@mail02:~# dpkg -l | grep ebox
ii  ebox                                 2.0.22                                   Zentyal - Core
ii  ebox-antivirus                       2.0.5                                    Zentyal - Antivirus
ii  ebox-ca                              2.0.5                                    Zentyal - Certification Authority
ii  ebox-ebackup                         2.0.13                                   Zentyal - Backup
ii  ebox-firewall                        2.0.3                                    Zentyal - Firewall
ii  ebox-ftp                             2.0.1                                    Zentyal - FTP
ii  ebox-mail                            2.0.6                                    Zentyal - Mail Service
ii  ebox-mailfilter                      2.0.2                                    Zentyal - Mail Filter
ii  ebox-network                         2.0.8                                    Zentyal - Network Configuration
ii  ebox-ntp                             2.0.3                                    Zentyal - NTP Service
ii  ebox-objects                         2.0                                      Zentyal - Network Objects
ii  ebox-services                        2.0                                      Zentyal - Network Services
ii  ebox-software                        2.0.12                                   Zentyal - Software Management
ii  ebox-squid                           2.0.7                                    Zentyal - HTTP Proxy (Cache and Content Filter)
ii  ebox-usersandgroups                  2.0.12                                   Zentyal - Users and Groups
ii  ebox-webmail                         2.0.1                                    Zentyal - Web Mail Service
ii  ebox-webserver                       2.0.5                                    Zentyal - Web Server
ii  libebox                              2.0.13                                   Zentyal - Common Library
ii  p3scan                               2:2.3.2-7ubuntu1+ebox1                   transparent POP3-proxy with virus- and spam-scanning
ii  roundcube                            0.3.1-3ubuntu1~ebox2~lucid1              skinnable AJAX based webmail solution for IMAP servers 
ii  roundcube-core                       0.3.1-3ubuntu1~ebox2~lucid1              skinnable AJAX based webmail solution for IMAP servers
ii  roundcube-pgsql                      0.3.1-3ubuntu1~ebox2~lucid1              metapackage providing PostgreSQL dependencies for Round
ii  roundcube-sqlite                     0.3.1-3ubuntu1~ebox2~lucid1              metapackage providing sqlite dependencies for RoundCube

During enabling module mailfilter only message I can see is: "Some modules reported error when saving changes . More information on the logs in /var/log/ebox/

The following modules failed while saving their changes, their state is unknown: mailfilter"

comment:3 Changed 22 months ago by cperez@…

Can you please attach your zentyal.log?, I only need the part where you enabled the module (just before the save).

Maybe LDAP schemas were not well imported

comment:4 Changed 22 months ago by winterheart

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

Well, part of log is same as I added first.

Anyway, it seems you are right. I reinstalled and reconfigured module, and now all works fine. Thank you for attention!

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.