Sogo couldn't start

NethServer Version: 7.9
Module: Sogo

In Services Sogo show Stopped.
I check sogo status Found it’s fails
systemd[1]: Starting SOGo is a groupware server…
systemd[1]: sogod.service: control process exited, code=killed status=11
systemd[1]: Failed to start SOGo is a groupware server.
systemd[1]: Unit sogod.service entered failed state.
systemd[1]: sogod.service failed.

and out put show
#rpm -qa | grep sogo
sogo-tool-5.8.2-1.ns7.x86_64
nethserver-sogo-1.8.5-1.16.g1eb9c6c.ns7.noarch
sogo-ealarms-notify-5.8.2-1.ns7.x86_64
sogo-5.8.2-1.ns7.x86_64
sogo-activesync-5.8.2-1.ns7.x86_64
#rpm -qa | grep sope
sogo-tool-5.8.2-1.ns7.x86_64
nethserver-sogo-1.8.5-1.16.g1eb9c6c.ns7.noarch
sogo-ealarms-notify-5.8.2-1.ns7.x86_64
sogo-5.8.2-1.ns7.x86_64
sogo-activesync-5.8.2-1.ns7.x86_64
[root@mail ~]# rpm -qa | grep sope
sope49-ldap-4.9-5.8.2.1.ns7.x86_64
sope49-appserver-4.9-5.8.2.1.ns7.x86_64
sope49-core-4.9-5.8.2.1.ns7.x86_64
sope49-gdl1-mysql-4.9-5.8.2.1.ns7.x86_64
sope49-cards-5.8.2-1.ns7.x86_64
sope49-gdl1-4.9-5.8.2.1.ns7.x86_64
sope49-gdl1-contentstore-5.8.2-1.ns7.x86_64
sope49-mime-4.9-5.8.2.1.ns7.x86_64
sope49-xml-4.9-5.8.2.1.ns7.x86_64
sope49-sbjson-2.3.1-5.8.2.1.ns7.x86_64

In Database I can found sogo

Please advise what should I future check.
Thanks

UPDATE
In Cockpid UI Application Configuration, I press Save there is Error Show

Error

The settings have not well updated
The following command has failed:
nethserver-sogo/update
Unfortunately we couldn’t catch the exact error. If you want to help, please click on the button below to copy the failed command to the clipboard, paste it into the Terminal and submit command output to the developers.

Did you gave that a try?

Hello Reply as following

[root@mail ~]# echo ‘{“action”:“configuration”,“status”:“enabled”,“ActiveSync”:“enabled”,“Dav”:“enabled”,“webAccess”:“public”,“AdminUsers”:“admin”,“VirtualHost”:“”,“WOWorkersCount”:“10”,“SOGoInternalSyncInterval”:“30”,“Notifications”:“Appointment,EMail”,“MailAuxiliaryUserAccountsEnabled”:“YES”}’ | /usr/bin/setsid /usr/bin/sudo /usr/libexec/nethserver/api/nethserver-sogo/update | jq
{
“steps”: 10,
“pid”: 5374,
“args”: “”,
“event”: “nethserver-sogo-update”
}
{
“step”: 1,
“pid”: 5374,
“action”: “S00initialize-default-databases”,
“event”: “nethserver-sogo-update”,
“state”: “running”
}
{
“progress”: “0.10”,
“time”: “0.186468”,
“exit”: 0,
“event”: “nethserver-sogo-update”,
“state”: “done”,
“step”: 1,
“pid”: 5374,
“action”: “S00initialize-default-databases”
}
{
“step”: 2,
“pid”: 5374,
“action”: “S05generic_template_expand”,
“event”: “nethserver-sogo-update”,
“state”: “running”
}
{
“progress”: “0.20”,
“time”: “0.098845”,
“exit”: 0,
“event”: “nethserver-sogo-update”,
“state”: “done”,
“step”: 2,
“pid”: 5374,
“action”: “S05generic_template_expand”
}
{
“step”: 3,
“pid”: 5374,
“action”: “S10nethserver-sogo-mysqlsetup”,
“event”: “nethserver-sogo-update”,
“state”: “running”
}
{
“progress”: “0.30”,
“time”: “0.006666”,
“exit”: 0,
“event”: “nethserver-sogo-update”,
“state”: “done”,
“step”: 3,
“pid”: 5374,
“action”: “S10nethserver-sogo-mysqlsetup”
}
{
“step”: 4,
“pid”: 5374,
“action”: “S20nethserver-sogo-gnustepsetup”,
“event”: “nethserver-sogo-update”,
“state”: “running”
}
{
“progress”: “0.40”,
“time”: “0.00151”,
“exit”: 0,
“event”: “nethserver-sogo-update”,
“state”: “done”,
“step”: 4,
“pid”: 5374,
“action”: “S20nethserver-sogo-gnustepsetup”
}
{
“step”: 5,
“pid”: 5374,
“action”: “S30nethserver-sogo-MigrationV3.2.10ToV4.0.0”,
“event”: “nethserver-sogo-update”,
“state”: “running”
}
{
“progress”: “0.50”,
“time”: “2.989862”,
“exit”: 0,
“event”: “nethserver-sogo-update”,
“state”: “done”,
“step”: 5,
“pid”: 5374,
“action”: “S30nethserver-sogo-MigrationV3.2.10ToV4.0.0”
}
{
“step”: 6,
“pid”: 5374,
“action”: “S31nethserver-sogo-MigrationV5.3.0ToV5.6.0”,
“event”: “nethserver-sogo-update”,
“state”: “running”
}
{
“progress”: “0.60”,
“time”: “0.010215”,
“exit”: 0,
“event”: “nethserver-sogo-update”,
“state”: “done”,
“step”: 6,
“pid”: 5374,
“action”: “S31nethserver-sogo-MigrationV5.3.0ToV5.6.0”
}
{
“step”: 7,
“pid”: 5374,
“action”: “S40nethserver-sogo-create-selfHost”,
“event”: “nethserver-sogo-update”,
“state”: “running”
}
{
“progress”: “0.70”,
“time”: “1.757792”,
“exit”: 0,
“event”: “nethserver-sogo-update”,
“state”: “done”,
“step”: 7,
“pid”: 5374,
“action”: “S40nethserver-sogo-create-selfHost”
}
{
“step”: 8,
“pid”: 5374,
“action”: “S50nethserver-sogo-disable-webtop-activesync”,
“event”: “nethserver-sogo-update”,
“state”: “running”
}
{
“progress”: “0.80”,
“time”: “0.031458”,
“exit”: 0,
“event”: “nethserver-sogo-update”,
“state”: “done”,
“step”: 8,
“pid”: 5374,
“action”: “S50nethserver-sogo-disable-webtop-activesync”
}
{
“step”: 9,
“pid”: 5374,
“action”: “S60nethserver-sogo-remove-slice-messages”,
“event”: “nethserver-sogo-update”,
“state”: “running”
}
{
“progress”: “0.90”,
“time”: “0.001633”,
“exit”: 0,
“event”: “nethserver-sogo-update”,
“state”: “done”,
“step”: 9,
“pid”: 5374,
“action”: “S60nethserver-sogo-remove-slice-messages”
}
{
“step”: 10,
“pid”: 5374,
“action”: “S90adjust-services”,
“event”: “nethserver-sogo-update”,
“state”: “running”
}
{
“progress”: “1.00”,
“time”: “0.945561”,
“exit”: 256,
“event”: “nethserver-sogo-update”,
“state”: “done”,
“step”: 10,
“pid”: 5374,
“action”: “S90adjust-services”
}
{
“pid”: 5374,
“status”: “failed”,
“event”: “nethserver-sogo-update”
}
{
“type”: “EventError”,
“id”: 1684918557,
“message”: “update_action_failed”
}
[root@mail ~]#

I feel like no one help, and I’m sad.
Did you agree?

1 Like

Hi @i_combo,

may be @stephdl is the right man for your problem.

Regards…

Uwe

It seems you’re using a testing version, most recent is 1.8.6.

Did you try to update in Software Center or on command line by executing

yum update

If that’s not working, could you please share the relevant log entries of /var/log/messages and /var/log/sogo/sogo.log

EDIT:

Maybe a complete reinstallation could help (deletes all sogo data):

2 Likes

You should also go to /var/log/messages and sogo logs and report us what are the exact failure messages. Without details we cannot help

Dear Markus
yes it is sogo 1.8.5. Can I uninstall and reinstall to 1.8.6?
I’m using Nethserver Enterprise ver 7.9.2009. look like SoGo do not have link to install.

yum update : No packages marked for update
In /var/log/messages I found

kernel: sogo-ealarms-no[21775]: segfault at 7ffd0bf19a78 ip 00007f250f55a9cf sp 00007ffd0bf19a60 error 6 in libgnustep-base.so.1.24.9[7f250f1c8000+4dc000]

But there is nothing in /var/log/sogo/sogo.log

For your uninstall guide, I’ll try after working hour.

Thanks and Best Regards,

Maybe this post may help a bit:

https://bugs.sogo.nu/view.php?id=5074

Yes but you will loose the data when you do the full reinstall method.

Sogo is provided by Nethforge repo, maybe you need to enable it?

yum --enablerepo=nethforge install nethserver-sogo

BTW, Sogo isn’t supported in Nethserver Enterprise but it should be possible to install I think.
See also SOGo — NethServer 7 Final

2 Likes

Dear Markuz, Stephdl

Regarding your instruction about Uninstall and Reinstall (SOGo does not start - segfault error 6 in libgnustep-base - #10 by stephdl)

I do separate into 12 Session and your 2 important remarks
Session 1:
yum remove sogo* sope* gnustep* libwbxml* lasso* libobjc* libwbxml* memcached* nethserver-memcached* xmlsec1* xmlsec1-openssl* zip* -y

Session 2:
SYSTEMD_LOG_TARGET=console SYSTEMD_LOG_LEVEL=debug /usr/bin/systemd-tmpfiles --remove

Session 3:
SYSTEMD_LOG_TARGET=console SYSTEMD_LOG_LEVEL=debug /usr/bin/systemd-tmpfiles --clean

Session 4 to 10
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

Session 11:
reboot

Session 12:

yum install nethserver-sogo

Mine is Enterprise version then enable nethforge repo with install
[root@mail ~]# yum --enablerepo=nethforge install nethserver-sogo

Before remark I see /var/log/message shown
/var/log/message show
May 26 23:31:28 mail systemd: Starting SOGo is a groupware server…
May 26 23:31:28 mail sogod: 2023-05-26 23:31:28.556 sogod[4153:4153] unable to get status of descriptor 2 - Bad file descriptor

And Web UI also show :
Service Unavailable - (Server temporarily unable to service …)

Below is needed.

Remark 1:
chown sogo:sogo -R /var/log/sogo/

Remark 2:
signal-event nethserver-sogo-update

Then Sogo now available to operate.

Thank you for your great suggestion. All work for me.

i_combo

3 Likes

Thank you for your patience and detailed feedback!

1 Like