Koozali.org: home of the SME Server
Obsolete Releases => SME 9.x Contribs => Topic started by: fpausp on November 29, 2014, 10:18:11 PM
-
Every minute I get this:
Hi. This is the qmail-send program at mydomain.com.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.
<sogo@sme9.mydomain.com>:
Unable to chdir to maildir. (#4.2.1)
I'm not going to try again; this message has been in the queue too long.
--- Below this line is a copy of the message.
Return-Path: <root@mydomain.com>
Received: (qmail 9436 invoked by alias); 22 Nov 2014 17:37:01 -0000
Delivered-To: alias-localdelivery-sogo@mydomain.com
Received: (qmail 9418 invoked by uid 395); 22 Nov 2014 17:37:01 -0000
Date: 22 Nov 2014 17:37:01 -0000
Message-ID: <20141122173701.9417.qmail@mydomain.com>
From: root@mydomain.com (Cron Daemon)
To: sogo@mydomain.com
Subject: Cron <sogo@sme9> /usr/sbin/sogo-ealarms-notify
Content-Type: text/plain; charset=UTF-8
Auto-Submitted: auto-generated
X-Cron-Env: <LANG=de_DE.UTF-8>
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/var/lib/sogo>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=sogo>
X-Cron-Env: <USER=sogo>
/usr/sbin/sogo-ealarms-notify: error while loading shared libraries: libSOGo.so.2: cannot open shared object file: No such file or directory
How can I stop this ?
-
please report
# config show sogod
-
sogod=service
ACLsSendEMailNotifications=no
ActiveSync=disabled
AdminUsers=admin
DbPassword=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
DraftsFolder=Drafts
EnableEMailAlarms=no
LdapTCPPort=389
MailAuxiliaryUserAccountsEnabled=no
PublicAccess=no
SentFolder=Sent
SessionDuration=1440
TCPPort=20000
TrashFolder=Trash
WOWorkersCount=3
status=enabled
-
The problem seems to come from sogo and not smeserver-sogo
# rpm -qa sogo
which version of sogo you have
what about
# locate libSOGo.so.2
here this is the output
/usr/lib/GNUstep/Frameworks/SOGo.framework/Versions/2/sogo/libSOGo.so.2
/usr/lib/GNUstep/Frameworks/SOGo.framework/Versions/2/sogo/libSOGo.so.2.2.10
/usr/lib/sogo/libSOGo.so.2
/usr/lib/sogo/libSOGo.so.2.2.10
what about permissions
# ll {/usr/lib/GNUstep/Frameworks/SOGo.framework/Versions/2/sogo/libSOGo.so.2,/usr/lib/GNUstep/Frameworks/SOGo.framework/Versions/2/sogo/libSOGo.so.2.2.10,/usr/lib/sogo/libSOGo.so.2,/usr/lib/sogo/libSOGo.so.2.2.10}
lrwxrwxrwx 1 root root 17 30 nov. 11:13 /usr/lib/GNUstep/Frameworks/SOGo.framework/Versions/2/sogo/libSOGo.so.2 -> libSOGo.so.2.2.10
-rwxr-xr-x 1 root root 885780 21 nov. 15:45 /usr/lib/GNUstep/Frameworks/SOGo.framework/Versions/2/sogo/libSOGo.so.2.2.10
lrwxrwxrwx 1 root root 71 30 nov. 11:13 /usr/lib/sogo/libSOGo.so.2 -> ../GNUstep/Frameworks/SOGo.framework/Versions/Current/sogo/libSOGo.so.2
lrwxrwxrwx 1 root root 76 30 nov. 11:13 /usr/lib/sogo/libSOGo.so.2.2.10 -> ../GNUstep/Frameworks/SOGo.framework/Versions/Current/sogo/libSOGo.so.2.2.10
-
sogo-2.2.10-1.centos6.x86_64
/usr/lib64/GNUstep/Frameworks/SOGo.framework/Versions/2/sogo/libSOGo.so.2
/usr/lib64/GNUstep/Frameworks/SOGo.framework/Versions/2/sogo/libSOGo.so.2.2.10
/usr/lib64/sogo/libSOGo.so.2
/usr/lib64/sogo/libSOGo.so.2.2.10
ll {/usr/lib64/GNUstep/Frameworks/SOGo.framework/Versions/2/sogo/libSOGo.so.2,/usr/lib64/GNUstep/Frameworks/SOGo.framework/Versions/2/sogo/libSOGo.so.2.2.10,/usr/lib64/sogo/libSOGo.so.2,/usr/lib64/sogo/libSOGo.so.2.2.10}
lrwxrwxrwx 1 root root 17 22. Nov 06:59 /usr/lib64/GNUstep/Frameworks/SOGo.framework/Versions/2/sogo/libSOGo.so.2 -> libSOGo.so.2.2.10
-rwxr-xr-x 1 root root 1262248 21. Nov 15:54 /usr/lib64/GNUstep/Frameworks/SOGo.framework/Versions/2/sogo/libSOGo.so.2.2.10
lrwxrwxrwx 1 root root 71 22. Nov 06:59 /usr/lib64/sogo/libSOGo.so.2 -> ../GNUstep/Frameworks/SOGo.framework/Versions/Current/sogo/libSOGo.so.2
lrwxrwxrwx 1 root root 76 22. Nov 06:59 /usr/lib64/sogo/libSOGo.so.2.2.10 -> ../GNUstep/Frameworks/SOGo.framework/Versions/Current/sogo/libSOGo.so.2.2.10
-
It seems that I see two problems
a) the sogo user doesn't exist
what about
[root@sme9 ~]# id sogo
uid=391(sogo) gid=391(sogo) groupes=391(sogo)
[root@sme9 ~]# groups sogo
sogo : sogo
[root@sme9 ~]# cat /etc/group|grep sogo
sogo:x:391:
Here I have no errors message if I drop an email to sogo@mydomain.org
b)/usr/sbin/sogo-ealarms-notify
every minute a cron job run, you can temporarily comment this cron job in /etc/e-smith/templates/etc/cron.d/sogo/10base
what I can see it is that we have not the same size of binary libSOGo.so.2.2.10, I don't know if it is interesting.
-
[root@sme9 ~]# id sogo
uid=395(sogo) gid=395(sogo) Gruppen=395(sogo)
[root@sme9 ~]# groups sogo
sogo : sogo
[root@sme9 ~]# cat /etc/group|grep sogo
sogo:x:395:
cat /etc/e-smith/templates/etc/cron.d/sogo/10base
# Sogod cronjobs
# Vacation messages expiration
# Make sure to set authname and authpassword with the credentials of a sieve admin
{
my $pwd = esmith::util::LdapPassword ();
$OUT.="0 0 * * * sogo /usr/sbin/sogo-tool expire-autoreply sogo:$pwd";
}
# Session cleanup - runs every minute
# - Ajust the nbMinutes parameter to suit your needs
# Example: Sessions without activity since 60 minutes will be dropped:
#* * * * * sogo /usr/sbin/sogo-tool expire-sessions 60
# Email alarms - runs every minutes
* * * * * sogo /usr/sbin/sogo-ealarms-notify
# Daily backups
# - writes to /home/sogo/backups/ by default
# - will keep 31 days worth of backups by default
# - runs once a day by default, but can run more frequently
# - make sure to set the path to sogo-backup.sh correctly
#30 0 * * * sogo /usr/share/doc/sogo/sogo-backup.sh
/usr/sbin/sogo-ealarms-notify
/usr/sbin/sogo-ealarms-notify: error while loading shared libraries: libSOGo.so.2: cannot open shared object file: No such file or directory
-
Then you have a user sogo, but can you send it an email, it seems that qmail can't do that. I don't know if this is interesting , but here i can drop an email to the user sogo.
For you problem of /usr/sbin/sogo-ealarms-notify, maybe you should try to reinstall sogo-ealarms-notify, or reinstall all packages of sogo
For the record, smeserver-sogo doesn't provide binary, just an integration of sogo.
-
OK Stephdl, thank you for your work, Its not a production Server, I think I will reinstall SOGo...