Yes, I checked them. I tried using gdb and start sogo with another user.
You are right, nothing in sogo.log.
Yes, I checked them. I tried using gdb and start sogo with another user.
You are right, nothing in sogo.log.
do a list of every rpm needed with a fresh installation, then remove them and reinstall sogo ?
already done ?
sorry for the delay, the bike season has started
I’ll try that, thank you.
fun I hit this issue too, can you recall what you did ?
I couldn’t solve it, I still have the issue…
I tried complete reinstall with all dependencies/delete db without success.
EDIT: First I thought it was about switching mail servers but I reinstalled complete sogo and mailserver…
got it workable, I used a bazzoka, feel free to use it … maybe only removing rpm and cleaning temp is necessary
yum remove sogo* sope* gnustep* libwbxml* lasso* libobjc* libwbxml* memcached* nethserver-memcached* xmlsec1* xmlsec1-openssl* zip* -y
SYSTEMD_LOG_TARGET=console SYSTEMD_LOG_LEVEL=debug /usr/bin/systemd-tmpfiles --remove
SYSTEMD_LOG_TARGET=console SYSTEMD_LOG_LEVEL=debug /usr/bin/systemd-tmpfiles --clean
rm -rf /etc/sogo/
rm -rf /usr/lib64/GNUstep/
rm -rf /etc/rsyslog.d/ignore-systemd-session-slice-sogo.conf
rm -rf /var/lib/sogo/GNUstep
rm -rf /usr/lib64/sogo
rm -rf /etc/sysconfig/sogo.rpmsave
rm -rf /etc/e-smith/events/nethserver-sogo-update
reboot
yum install nethserver-sogo
After that, maybe I messed up some permissions (before or now) I got the service unavailable to start with this error message
2018-08-25 10:24:14.552 sogod[8247:8247] unable to get status of descriptor 2 - Bad file descriptor
this is because the user sogo doesn’t own the /var/log/sogo
folder/file, then
chown sogo:sogo -R /var/log/sogo/
normally signal-event nethserver-sogo-update
and your service should be up
check also opendkim, the socket was gone so
systemctl restart opendkim
tried to reproduce too, but failed to do so.
On the vm where the old nethserver-mail packages where installed (ldap account provider):
yum remove nethserver-mail-disclaimer nethserver-mail-common nethserver-mail-server
Loaded plugins: changelog, fastestmirror, nethserver_events
Resolving Dependencies
--> Running transaction check
---> Package nethserver-mail-common.noarch 0:1.6.7-1.ns7 will be erased
---> Package nethserver-mail-disclaimer.noarch 0:1.6.7-1.ns7 will be erased
---> Package nethserver-mail-server.noarch 0:1.12.3-1.ns7 will be erased
--> Processing Dependency: nethserver-mail-server >= 1.1.0-2 for package: nethserver-sogo-1.7.5-1.ns7.noarch
--> Running transaction check
---> Package nethserver-sogo.noarch 0:1.7.5-1.ns7 will be erased
--> Finished Dependency Resolution
Dependencies Resolved
===================================================================================================================================================================================================================
Package Arch Version Repository Size
===================================================================================================================================================================================================================
Removing:
nethserver-mail-common noarch 1.6.7-1.ns7 @nethserver-base 103 k
nethserver-mail-disclaimer noarch 1.6.7-1.ns7 @nethserver-base 37 k
nethserver-mail-server noarch 1.12.3-1.ns7 @nethserver-updates 188 k
Removing for dependencies:
nethserver-sogo noarch 1.7.5-1.ns7 @nethforge 65 k
Transaction Summary
===================================================================================================================================================================================================================
Remove 3 Packages (+1 Dependent package)
note nethserver-sogo is removed not sogo itself nor nethserver-memcached
then yum install nethserver-mail2-filter nethserver-mail2-server
then yum install nethserver-sogo
sogo is up and running just fine, old mails are visible and can send a reply on them.
Noteworthy is: did not make any appointments, nor contacts, nor ACL’s.
# rpm -qa | grep nethserver-mail
nethserver-mail2-filter-2.2.7-1.ns7.noarch
nethserver-mail2-common-2.2.7-1.ns7.noarch
nethserver-mail-smarthost-1.0.1-1.ns7.noarch
nethserver-mail2-server-2.2.7-1.ns7.noarch
# rpm -qa | grep sogo
sogo-4.0.2-1.ns7.x86_64
sogo-ealarms-notify-4.0.2-1.ns7.x86_64
sogo-activesync-4.0.2-1.ns7.x86_64
nethserver-sogo-1.7.5-1.ns7.noarch
sogo-tool-4.0.2-1.ns7.x86_64
Thanks, the bazooka worked
Maybe only cleaning systemd temp files would be enough, all other things I tried before without success. It worked without reboot. I had to restart opendkim too.
Didn’t worked for me Sogo used to work on my server. I gave roundcube a try, hated it, zapped it and tried to reinstall SOGo.
To be continued…
PS / Also tried Mail app for nextcloud but it looks ressource hungry. Doesn’t work well on my poor 2Gb server.
What happens?
are there sogo left-overs for a former installation?
rpm -qa | grep sogo
Nope, no leftovers.
I made progress anyway : that post put me on the track : I have epel repo enabled. So I excluded the gnustep* libraries as suggested, and another version coming from nethforge installed.
No more segfaults
I guess that’s the solution : wrong library version installed.
That said, it’s still not working : timeout starting the daemon. But I believe that’s another story.
that should not be a problem, we do not exclude epel packages on any installation.
Some how you seem to have old packeges / leftovers somewhere
Maybe it is time for the “bazzoka” @stephdl suggested above
Nope. I tried the bazooka method before. It didn’t work.
And as a matter of a fact I ended with different versions gnustep versions:
Without epel :
yum[8984]: Installed: gnustep-base-libs-1.24.6-6.el7.centos.x86_64
yum[8984]: Installed: gnustep-base-1.24.6-6.el7.centos.x86_64
With epel, after bazooka :
yum[11593]: Installed: gnustep-base-libs-1.24.9-1.el7.x86_64
yum[11593]: Installed: gnustep-base-1.24.9-1.el7.x86_64
I do not understand from which repo this packages come from,
Looking at the change log gnustep-base-1.24.9-1.el7.x86_64
in the epel is unchanged since 2016-08-21.
It does not live in nethserver-repo’s.
EDIT: no other centos repo seem to have this version
Do you have other repositories enabled?
I checked my sogo installation that’s working with 1.24.9-1 from epel and did a downgrade of gnustep-base
and it expects it to come from nethforge.
Error: Package: gnustep-base-1.24.6-6.el7.centos.x86_64 (nethforge)
Requires: gnustep-base-libs = 1.24.6-6.el7.centos
Installed: gnustep-base-libs-1.24.9-1.el7.x86_64 (@epel)
gnustep-base-libs = 1.24.9-1.el7
Available: gnustep-base-libs-1.24.6-6.el7.centos.x86_64 (nethforge)
gnustep-base-libs = 1.24.6-6.el7.centos
Maybe it came from initial install long time ago and/or was cached somehow?
It is really strange not not see it in the nethserver-repository…
this or one off the sogo packages ‘provides’ the older version.
Does that help ?
rpm -qi gnustep-base
Name : gnustep-base
Version : 1.24.6
Release : 6.el7.centos
Architecture: x86_64
Install Date: Wed 20 May 2020 08:43:54 PM CEST
Group : Development/Libraries
Size : 2586189
License : LGPLv2+ and GPLv2+ and GPLv3+
Signature : RSA/SHA1, Mon 18 Jul 2016 02:26:56 PM CEST, Key ID 9cb28ea039baf5c1
Source RPM : gnustep-base-1.24.6-6.el7.centos.src.rpm
Build Date : Wed 15 Oct 2014 09:03:30 PM CEST
Build Host : shiva.inverse
Relocations : (not relocatable)
URL : http://www.gnustep.org/
Summary : GNUstep Base library package
and
# yum repoinfo
Loaded plugins: changelog, fastestmirror, nethserver_events, remove-with-leaves
Loading mirror speeds from cached hostfile
* ce-base: mirrors.coreix.net
* ce-extras: mirrors.coreix.net
* ce-sclo-rh: mirrors.coreix.net
* ce-sclo-sclo: mirrors.coreix.net
* ce-updates: mirrors.coreix.net
* epel: mirrors.n-ix.net
* nethforge: mirror.alpix.eu
* nethserver-base: mirror.alpix.eu
* nethserver-updates: mirror.alpix.eu
Repo-id : ce-base/7/x86_64
Repo-name : CE-Base-7.8.2003
Repo-revision: 1587512243
Repo-updated : Wed Apr 22 01:37:50 2020
Repo-pkgs : 10,070
Repo-size : 8.9 G
Repo-mirrors : http://mirrorlist.nethserver.org/?release=7&repo=ce-base&arch=x86_64&nsrelease=7.8.2003
Repo-baseurl : http://mirrors.coreix.net/centos/7.8.2003/os/x86_64/ (9 more)
Repo-expire : 21,600 second(s) (last: Wed May 20 19:13:20 2020)
Filter : read-only:present
Repo-filename: /etc/yum.repos.d/NethServer.repo
Repo-id : ce-extras/7/x86_64
Repo-name : CE-Extras-7.8.2003
Repo-revision: 1588115200
Repo-updated : Wed Apr 29 01:06:41 2020
Repo-pkgs : 392
Repo-size : 571 M
8.2003
Repo-baseurl : http://mirrors.coreix.net/centos/7.8.2003/extras/x86_64/ (9 more)
Repo-expire : 21,600 second(s) (last: Wed May 20 19:13:20 2020)
Filter : read-only:present
Repo-filename: /etc/yum.repos.d/NethServer.repo
Repo-id : ce-sclo-rh/7/x86_64
Repo-name : CE-SCLo-rh-7.8.2003
Repo-revision: 1587378242
Repo-updated : Mon Apr 20 12:24:02 2020
Repo-pkgs : 6,509
Repo-size : 6.0 G
Repo-mirrors : http://mirrorlist.nethserver.org/?release=7&repo=ce-sclo-rh&arch=x86_64&nsrelease=7.8.2003
Repo-baseurl : http://mirrors.coreix.net/centos/7.8.2003/sclo/x86_64/rh/ (9 more)
Repo-expire : 21,600 second(s) (last: Wed May 20 19:13:20 2020)
Filter : read-only:present
Repo-filename: /etc/yum.repos.d/NethServer.repo
Repo-id : ce-sclo-sclo/7/x86_64
Repo-name : CE-SCLo-sclo-7.8.2003
Repo-revision: 1589804896
Repo-updated : Mon May 18 14:28:16 2020
Repo-pkgs : 796
Repo-size : 271 M
Repo-mirrors : http://mirrorlist.nethserver.org/?release=7&repo=ce-sclo-sclo&arch=x86_64&nsrelease=7.8.2003
Repo-baseurl : http://mirrors.coreix.net/centos/7.8.2003/sclo/x86_64/sclo/ (9 more)
Repo-expire : 21,600 second(s) (last: Wed May 20 19:13:20 2020)
Filter : read-only:present
Repo-filename: /etc/yum.repos.d/NethServer.repo
Repo-id : ce-updates/7/x86_64
Repo-name : CE-Updates-7.8.2003
Repo-revision: 1589552075
Repo-updated : Fri May 15 16:14:40 2020
Repo-pkgs : 671
Repo-size : 2.7 G
Repo-mirrors : http://mirrorlist.nethserver.org/?release=7&repo=ce-updates&arch=x86_64&nsrelease=7.8.2003
Repo-baseurl : http://mirrors.coreix.net/centos/7.8.2003/updates/x86_64/ (9 more)
Repo-expire : 21,600 second(s) (last: Wed May 20 19:13:20 2020)
Filter : read-only:present
Repo-filename: /etc/yum.repos.d/NethServer.repo
Repo-id : epel/x86_64
Repo-name : Extra Packages for Enterprise Linux 7 - x86_64
Repo-revision: 1589935208
Repo-updated : Wed May 20 02:41:44 2020
Repo-pkgs : 13,269
Repo-size : 15 G
Repo-metalink: https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=stock&content=centos
Updated : Wed May 20 02:41:44 2020
Repo-baseurl : https://mirrors.n-ix.net/fedora-epel/7/x86_64/ (100 more)
Repo-expire : 21,600 second(s) (last: Wed May 20 20:42:52 2020)
Filter : read-only:present
Repo-exclude : gnustep*
Repo-excluded: 7
Repo-filename: /etc/yum.repos.d/epel.repo
Repo-id : nethforge/7/x86_64
Repo-name : NethForge 7
Repo-revision: 1589655575
Repo-updated : Sat May 16 20:59:36 2020
Repo-pkgs : 171
Repo-size : 729 M
Repo-mirrors : http://mirrorlist.nethserver.org/?release=7&repo=nethforge&arch=x86_64&nsrelease=7.8.2003
Repo-baseurl : https://mirror.alpix.eu/nethserver/7.8.2003/nethforge/x86_64/ (17 more)
Repo-expire : 21,600 second(s) (last: Wed May 20 19:13:21 2020)
Filter : read-only:present
Repo-filename: /etc/yum.repos.d/NethForge.repo
Repo-id : nethserver-base/7/x86_64
Repo-name : NethServer-7.8.2003 - Base
Repo-revision: 1588949715
Repo-updated : Fri May 8 16:55:20 2020
Repo-pkgs : 363
Repo-size : 1.3 G
Repo-mirrors : http://mirrorlist.nethserver.org/?release=7&repo=base&arch=x86_64&nsrelease=7.8.2003
Repo-baseurl : https://mirror.alpix.eu/nethserver/7.8.2003/base/x86_64/ (17 more)
Repo-expire : 21,600 second(s) (last: Wed May 20 19:13:21 2020)
Filter : read-only:present
Repo-filename: /etc/yum.repos.d/NethServer.repo
Repo-id : nethserver-updates/7/x86_64
Repo-name : NethServer-7.8.2003 - Updates
Repo-revision: 1589880763
Repo-updated : Tue May 19 11:32:44 2020
Repo-pkgs : 35
Repo-size : 378 M
Repo-mirrors : http://mirrorlist.nethserver.org/?release=7&repo=updates&arch=x86_64&nsrelease=7.8.2003
Repo-baseurl : https://mirror.alpix.eu/nethserver/7.8.2003/updates/x86_64/ (17 more)
Repo-expire : 21,600 second(s) (last: Wed May 20 19:13:21 2020)
Filter : read-only:present
Repo-filename: /etc/yum.repos.d/NethServer.repo
Repo-id : stephdl/7
Repo-name : Stephdl (Stephane de Labrusse) repository for nethserver 7 - x86_64
Repo-revision: 1589994001
Repo-updated : Wed May 20 19:00:19 2020
Repo-pkgs : 198
Repo-size : 266 M
Repo-baseurl : http://mirror.de-labrusse.fr/NethServer/7/
Repo-expire : 21,600 second(s) (last: Wed May 20 19:13:21 2020)
Filter : read-only:present
Repo-excluded: 189
Repo-filename: /etc/yum.repos.d/stephdl.repo
repolist: 32,474
Yep I remember having read that Sogo provides that library. And it seems to me that I saw that my (working) version is coming from nethforge.
Will try to hunt it down later, however are you settled now?
Probably one of the AutoReqProv: off in the SPEC files sheds light on this mystery.
To be frank just learned about the Automatic Dependencies option;
This while I am responsible for porting the Spec files from upstream Sogo to NethForge.
Do not want to change it. It worked pretty good last years, @stephdl what do you think?
BTW next time we build SOGo we should update libwbxml. This may improve / introduce ActiveSync (EAS) 16 support.