Zentyal Forum, Linux Small Business Server
Zentyal Server => Installation and Upgrades => Topic started by: azop on April 20, 2008, 06:21:18 am
-
I'm trying to add the first and only virtual domain to Mail/Virtual Domains and receive and error and this is in the ebox server logs:
2008/04/19 23:18:43 ERROR> Ldap.pm:464 EBox::Ldap::_errorOnLdap - $VAR1 = {
'attr' => [
'domainComponent',
'callawayso.org',
'objectclass',
'domain',
'objectclass',
'vdeboxmail'
]
};
2008/04/19 23:18:43 ERROR> Ldap.pm:466 EBox::Ldap::_errorOnLdap - Unknown error at EBox::MailVDomainsLdap::addVDomain objectclass: value #1 invalid per syntax
2008/04/19 23:18:46 INFO> EventDaemon.pm:291 EBox::EventDaemon::_loadModules - EBox::Event::Watcher::Runit loaded from registeredEvents
2008/04/19 23:18:46 WARN> EventDaemon.pm:197 EBox::EventDaemon::__ANON__ - Error executing run from EBox::Event::Watcher::Runit: Can't locate object method "getInstance" via package "EBox::Global" (perhaps you forgot to load "EBox::Global"?) at /var/lib/ebox/conf/events/WatcherEnabled//Runit.pm line 169.
-
Did you enable the ebox-mail module?
-
'Mail' and 'Mail Filter' are enabled in the module status. For kicks I removed and purged them and then ran your ebox-reconfigure.pl script for mail. The same error pops up.
I also noticed that amavis is respawning every second. I don't think this would be causing the error for adding a virtual domain:
Apr 20 08:25:19 justice init: ebox.amavisd-new main process (6896) terminated with status 255
Apr 20 08:25:19 justice init: ebox.amavisd-new main process ended, respawning
Apr 20 08:26:20 justice amavis[8080]: starting. /usr/sbin/amavisd-new at justice amavisd-new-2.5.3 (20071212), Unicode aware
Apr 20 08:26:20 justice amavis[8080]: user=, EUID: 0 (0); group=, EGID: 0 (0)
Apr 20 08:26:20 justice amavis[8080]: Perl version 5.008008
Did you enable the ebox-mail module?
-
Try this if you can:
sudo /usr/share/ebox-mail/ebox-mail-enable
sudo /usr/share/ebox-mailfilter/ebox-mailfilter-enable
And try add a virtual domain.
Hope this helps
-
I forgot something, please make sure you have installed the last ebox package from my ppa repository.
-
I forgot something, please make sure you have installed the last ebox package from my ppa repository.
I'm using: http://ppa.launchpad.net/juruen/ubuntu
Should I use another one?
Thanks
-
That's fine. What I meant is that you should make sure you have installed the last ebox-usersandgroups package:
0.11.99-0ubuntu5~ppa1
Run apt-cache policy ebox-usersandgroups to check it or apt-get install ebox-usersandgroups
-
ebox-usersandgroups:
Installed: 0.11.99-0ubuntu5~ppa1
Candidate: 0.11.99-0ubuntu5~ppa1
Version table:
*** 0.11.99-0ubuntu5~ppa1 0
500 http://ppa.launchpad.net hardy/main Packages
100 /var/lib/dpkg/status
0.11.99-0ubuntu4 0
500 http://us.archive.ubuntu.com hardy/universe Packages
I can remove and purge it and reinstall if you think it won't nuke all my 40+ users :P
That's fine. What I meant is that you should make sure you have installed the last ebox-usersandgroups package:
0.11.99-0ubuntu5~ppa1
Run apt-cache policy ebox-usersandgroups to check it or apt-get install ebox-usersandgroups
-
Have you tried what I suggested in reply #3?
That won't nuke your users. Just in case you can do a quick backup by executing
sudo slapcat > ldapbak.diff
-
Yes I did try that. It appears to be an issue with ldap. I see alot of slap issues in the logs:
Apr 20 13:41:07 justice slapd[5132]: <= bdb_equality_candidates: (sambaSIDList) not indexed
Apr 20 13:41:07 justice last message repeated 3 times
Apr 20 13:41:07 justice slapd[5132]: <= bdb_equality_candidates: (sambaSID) not indexed
Apr 20 13:41:07 justice last message repeated 2 times
Apr 20 13:43:29 justice slapd[5132]: <= bdb_equality_candidates: (uid) not indexed
Apr 20 13:43:29 justice slapd[5132]: <= bdb_equality_candidates: (uid) not indexed
Apr 20 13:43:29 justice slapd[5132]: <= bdb_equality_candidates: (memberUid) not indexed
Apr 20 13:43:29 justice slapd[5132]: <= bdb_equality_candidates: (uid) not indexed
Apr 20 13:43:29 justice slapd[5132]: <= bdb_equality_candidates: (uid) not indexed
Apr 20 13:43:29 justice slapd[5132]: <= bdb_equality_candidates: (memberUid) not indexed
This is what pops up when I run the command from #3:
New certificate file generated
New PEM file generated
All server's certificate files in place
+ mv /etc/postfix/sasl/smtp.key /etc/postfix/sasl/smtp-key.pem
+ mv /etc/postfix/sasl/smtp.cert /etc/postfix/sasl/smtp.pem
+ rm /etc/postfix/sasl/smtp.pem
+ newaliases
+ /usr/share/ebox-usersandgroups/ebox-init-ldap genconfig
+ invoke-rc.d slapd restart
Stopping OpenLDAP: slapd.
Starting OpenLDAP: slapd.
+ /usr/share/ebox-mail/ebox-mail-ldap update
Cant initialize postfix leaf. at /usr/share/ebox-mail/ebox-mail-ldap line 30.
Cant initialize virtual domains leaf. at /usr/share/ebox-mail/ebox-mail-ldap line 40.
Cant initialize mail alias leaf. at /usr/share/ebox-mail/ebox-mail-ldap line 50.
+ /usr/sbin/postalias /etc/aliases
+ invoke-rc.d ebox mail restart
* Restarting eBox module: mail [ OK ]
+ invoke-rc.d saslauthd restart
* Restarting SASL Authentication Daemon saslauthd [ OK ]
root@justice:/var/log/ebox# sudo /usr/share/ebox-mailfilter/ebox-mailfilter-enable
Stopping amavisd: (not running).
Removing any system startup links for /etc/init.d/amavis ...
* Foreground specified, but daemon not found
Removing any system startup links for /etc/init.d/clamav-daemon ...
Removing any system startup links for /etc/init.d/clamav-freshclam ...
Stopping SpamAssassin Mail Filter Daemon: No /usr/bin/perl found running; none killed.
spamd.
Removing any system startup links for /etc/init.d/spamassassin ...
The user `clamav' is already a member of `amavis'.
Stopping OpenLDAP: slapd.
Starting OpenLDAP: slapd.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/HTML/Mason/Component/Subcomponent.pm line 34.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/HTML/Mason/Component/Subcomponent.pm line 34.
Have you tried what I suggested in reply #3?
That won't nuke your users. Just in case you can do a quick backup by executing
sudo slapcat > ldapbak.diff
-
So are you getting the same error when you add a virtual domain after executing that?
-
So are you getting the same error when you add a virtual domain after executing that?
Yep.
If it's easier for local access to the box I can do that. Everything now seems to be dying off slowly...squid and samba are both now respawning and being killed.
-
Could you stop by #ebox in irc.freenode.net?
It woud be easy to try track down your issues.