Modify

Ticket #2594 (closed defect: fixed)

Opened 2 years ago

Last modified 6 months ago

Error when adding an email smarthost on a Zentyal slave

Reported by: anonymous Owned by: cperez@…
Milestone: nice to have someday Component: mail
Severity: normal Keywords:
Cc:

Description

Hi,

I'm trying to add a smarthost on a Zentyal slave when this error ocurred.

Attachments

ebox.log Download (72.4 KB) - added by anonymous 2 years ago.

Change History

Changed 2 years ago by anonymous

comment:1 Changed 2 years ago by anonymous

It seems that the problem is when you try to change a custom server mailname.

comment:2 Changed 2 years ago by jamor@…

  • Owner changed from ejhernandez@… to jamor@…
  • Status changed from new to assigned

Hello,

seeing your logs seems to me more of a general mail error. For example, try to create a mail domain I bet you will get error...

I need a bit more of information to try to nail down the exact error. Could you give me the output of the following two commands?.

# slapcat -F /etc/ldap/slap.d-translucent

# slapcat -F /etc/ldap/slap.d-frontend

Thanks

comment:3 Changed 2 years ago by anonymous

Hi,

Here is the output:

# slapcat -F /etc/ldap/slap.d-translucent invalid config directory /etc/ldap/slap.d-translucent, error 2 slapcat: bad configuration directory!

# slapcat -F /etc/ldap/slap.d-frontend invalid config directory /etc/ldap/slap.d-frontend, error 2 slapcat: bad configuration directory!

And here is the entire error diplayed on the Zentyal Web UI:

##### Sorry, an unexpected error has ocurred Unknown error at EBox::MailVDomainsLdap::vdomains No such object

To show technical details click here.

Trace Unknown error at EBox::MailVDomainsLdap::vdomains No such object at /usr/share/perl5/EBox/Ldap.pm line 699 EBox::Ldap::_errorOnLdap('Net::LDAP::Search=HASH(0x25788028)', 'HASH(0x25758900)') called at /usr/share/perl5/EBox/Ldap.pm line 338 EBox::Ldap::search('EBox::Ldap=HASH(0x245ca168)', 'HASH(0x25758900)') called at /usr/share/perl5/EBox/MailVDomainsLdap.pm line 167 EBox::MailVDomainsLdap::vdomains('EBox::MailVDomainsLdap=HASH(0x257c17f0)') called at /usr/share/perl5/EBox/Mail.pm line 741 EBox::Mail::checkMailname('EBox::Mail=HASH(0x257e2250)', 'mail.zimios.fi') called at /usr/share/perl5/EBox/Mail/Model/SMTPOptions.pm line 367 EBox::Mail::Model::SMTPOptions::_validateMailname('EBox::Mail::Model::SMTPOptions=HASH(0x25376a28)', 'EBox::Types::Union=HASH(0x25756b50)') called at /usr/share/perl5/EBox/Mail/Model/SMTPOptions.pm line 321 EBox::Mail::Model::SMTPOptions::validateTypedRow('EBox::Mail::Model::SMTPOptions=HASH(0x25376a28)', 'update', 'HASH(0x257c9678)', 'HASH(0x258004e0)') called at /usr/share/perl5/EBox/Model/DataForm.pm line 884 EBox::Model::DataForm::_setTypedRow('EBox::Mail::Model::SMTPOptions=HASH(0x25376a28)', 'HASH(0x255003d8)', 'readOnly', undef, 'force', undef) called at /usr/share/perl5/EBox/Model/DataForm.pm line 361 EBox::Model::DataForm::setTypedRow('EBox::Mail::Model::SMTPOptions=HASH(0x25376a28)', , 'HASH(0x255003d8)', 'force', undef, 'readOnly', undef) called at /usr/share/perl5/EBox/Model/DataForm.pm line 340 EBox::Model::DataForm::setRow('EBox::Mail::Model::SMTPOptions=HASH(0x25376a28)', undef, 'mailboxUnlimited', undef, 'deletedExpire_selected', 'neverExpireDeleted', 'none', undef, 'custom', ...) called at /usr/share/perl5/EBox/CGI/Controller/DataTable.pm line 121 EBox::CGI::Controller::DataTable::editField('EBox::CGI::Controller::DataTable?=HASH(0x256e7278)') called at /usr/share/perl5/EBox/CGI/Controller/DataTable.pm line 226 EBox::CGI::Controller::DataTable::_process('EBox::CGI::Controller::DataTable?=HASH(0x256e7278)') called at /usr/share/perl5/EBox/CGI/ClientRawBase.pm line 174 EBox::CGI::ClientRawBase::run('EBox::CGI::Controller::DataTable?=HASH(0x256e7278)') called at /usr/share/perl5/EBox/CGI/Run.pm line 120 EBox::CGI::Run::run('EBox::CGI::Run', 'Mail/Controller?/SMTPOptions', 'EBox') called at /usr/share/ebox/cgi/ebox.cgi line 35 ModPerl::ROOT::ModPerl::Registry::usr_share_ebox_cgi_ebox_2ecgi::handler('Apache2::RequestRec?=SCALAR(0x256db620)') 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(0x256e2fc0)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170 ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0x256e2fc0)') called at /usr/lib/perl5/ModPerl/Registry.pm line 31 ModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec?=SCALAR(0x256db620)') called at -e line 0 eval {...} called at -e line 0 #####

comment:4 Changed 2 years ago by anonymous

Ok, I just figured out that the Mail module was not activated. After activation Zentyal did work normaly. Still that is a small bug.

comment:5 Changed 2 years ago by jacalvo@…

  • Owner changed from jamor@… to cperez@…
  • Status changed from assigned to new
  • Milestone set to 2.0.X

comment:6 Changed 2 years ago by jacalvo@…

  • Component changed from base to mail

comment:7 Changed 2 years ago by cperez@…

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

(In [20196]) NN: don't query vdomains to LDAP if module is not enabled (closes #2594)

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.