SOGo - not starting

Hello.

I might have ruined my server.
Was trying to fix blank page after login on SOGo, and after 2 attemps of reinstalling I’m now stuck with a non working SOGo.

If I go to applications and save SOGo settings I get this error:

(I ran the command on terminal)

echo ‘{“action”:“configuration”,“status”:“enabled”,“ActiveSync”:“enabled”,“Dav”:“enabled”,“AdminUsers”:“admin,aplima”,“VirtualHost”:"",“WOWorkersCount”:“10”,“SOGoInternalSyncInterval”:“30”,“Notifications”:“Appointment,EMail,ACLs,Folders”,“MailAuxiliaryUserAccountsEnabled”:“YES”}’ | /usr/bin/setsid /usr/bin/sudo /usr/libexec/nethserver/api/nethserver-sogo/update | jq
{
“steps”: 9,
“pid”: 25948,
“args”: “”,
“event”: “nethserver-sogo-update”
}
{
“step”: 1,
“pid”: 25948,
“action”: “S00initialize-default-databases”,
“event”: “nethserver-sogo-update”,
“state”: “running”
}
{
“progress”: “0.11”,
“time”: “0.223764”,
“exit”: 0,
“event”: “nethserver-sogo-update”,
“state”: “done”,
“step”: 1,
“pid”: 25948,
“action”: “S00initialize-default-databases”
}
{
“step”: 2,
“pid”: 25948,
“action”: “S05generic_template_expand”,
“event”: “nethserver-sogo-update”,
“state”: “running”
}
{
“progress”: “0.22”,
“time”: “0.117073”,
“exit”: 0,
“event”: “nethserver-sogo-update”,
“state”: “done”,
“step”: 2,
“pid”: 25948,
“action”: “S05generic_template_expand”
}
{
“step”: 3,
“pid”: 25948,
“action”: “S10nethserver-sogo-mysqlsetup”,
“event”: “nethserver-sogo-update”,
“state”: “running”
}
{
“progress”: “0.33”,
“time”: “0.007196”,
“exit”: 0,
“event”: “nethserver-sogo-update”,
“state”: “done”,
“step”: 3,
“pid”: 25948,
“action”: “S10nethserver-sogo-mysqlsetup”
}
{
“step”: 4,
“pid”: 25948,
“action”: “S20nethserver-sogo-gnustepsetup”,
“event”: “nethserver-sogo-update”,
“state”: “running”
}
{
“progress”: “0.44”,
“time”: “0.001786”,
“exit”: 0,
“event”: “nethserver-sogo-update”,
“state”: “done”,
“step”: 4,
“pid”: 25948,
“action”: “S20nethserver-sogo-gnustepsetup”
}
{
“step”: 5,
“pid”: 25948,
“action”: “S30nethserver-sogo-MigrationV3.2.10ToV4.0.0”,
“event”: “nethserver-sogo-update”,
“state”: “running”
}
{
“progress”: “0.56”,
“time”: “0.591616”,
“exit”: 0,
“event”: “nethserver-sogo-update”,
“state”: “done”,
“step”: 5,
“pid”: 25948,
“action”: “S30nethserver-sogo-MigrationV3.2.10ToV4.0.0”
}
{
“step”: 6,
“pid”: 25948,
“action”: “S40nethserver-sogo-create-selfHost”,
“event”: “nethserver-sogo-update”,
“state”: “running”
}
{
“progress”: “0.67”,
“time”: “5.877508”,
“exit”: 0,
“event”: “nethserver-sogo-update”,
“state”: “done”,
“step”: 6,
“pid”: 25948,
“action”: “S40nethserver-sogo-create-selfHost”
}
{
“step”: 7,
“pid”: 25948,
“action”: “S50nethserver-sogo-disable-webtop-activesync”,
“event”: “nethserver-sogo-update”,
“state”: “running”
}
{
“progress”: “0.78”,
“time”: “0.033717”,
“exit”: 0,
“event”: “nethserver-sogo-update”,
“state”: “done”,
“step”: 7,
“pid”: 25948,
“action”: “S50nethserver-sogo-disable-webtop-activesync”
}
{
“step”: 8,
“pid”: 25948,
“action”: “S60nethserver-sogo-remove-slice-messages”,
“event”: “nethserver-sogo-update”,
“state”: “running”
}
{
“progress”: “0.89”,
“time”: “0.001883”,
“exit”: 0,
“event”: “nethserver-sogo-update”,
“state”: “done”,
“step”: 8,
“pid”: 25948,
“action”: “S60nethserver-sogo-remove-slice-messages”
}
{
“step”: 9,
“pid”: 25948,
“action”: “S90adjust-services”,
“event”: “nethserver-sogo-update”,
“state”: “running”
}
{
“progress”: “1.00”,
“time”: “1.866291”,
“exit”: 256,
“event”: “nethserver-sogo-update”,
“state”: “done”,
“step”: 9,
“pid”: 25948,
“action”: “S90adjust-services”
}
{
“pid”: 25948,
“status”: “failed”,
“event”: “nethserver-sogo-update”
}
{
“type”: “EventError”,
“id”: 1635177832,
“message”: “update_action_failed”

=====================================================

from /var/log/sogo/sogo.log:

Oct 25 15:25:51 sogod [1811]: <0x0x564141344b70[WOWatchDog]> Terminating with SIGINT or SIGTERM
Oct 25 15:25:51 sogod [1811]: <0x0x564141344b70[WOWatchDog]> Terminating with SIGINT or SIGTERM
Oct 25 15:25:51 sogod [1811]: <0x0x564141344b70[WOWatchDog]> Terminating with SIGINT or SIGTERM
Oct 25 15:25:51 sogod [1811]: <0x0x564141344b70[WOWatchDog]> Terminating with SIGINT or SIGTERM
Oct 25 15:25:52 sogod [1811]: <0x0x564141344b70[WOWatchDog]> Terminating with SIGINT or SIGTERM
Oct 25 15:25:52 sogod [1811]: <0x0x564141344b70[WOWatchDog]> Terminating with SIGINT or SIGTERM
Oct 25 15:25:52 sogod [1811]: <0x0x564141344b70[WOWatchDog]> Terminating with SIGINT or SIGTERM
Oct 25 15:25:52 sogod [1811]: <0x0x564141344b70[WOWatchDog]> Terminating with SIGINT or SIGTERM
Oct 25 15:25:52 sogod [1811]: <0x0x564141344b70[WOWatchDog]> Terminating with SIGINT or SIGTERM
Oct 25 15:25:52 sogod [1811]: <0x0x564141344b70[WOWatchDog]> Terminating with SIGINT or SIGTERM

At this point I see that removing from applications and installing from software center will do nothing but to lead me to the same error…

Service sogod does not start, period.

Can someone help? Thank you

Still struggling.

On /var/log/messages:

Oct 25 19:13:01 servidor kernel: sogo-ealarms-no[21060]: segfault at 7ffce469cd28 ip 00007f60a75909cf sp 00007ffce469cd10 error 6 in libgnustep-base.so.1.24.9[7f60a71fe000+4dc000]
Oct 25 19:13:13 servidor httpd: [NOTICE] Nethgui\Utility\Session: Session terminated after 3600 seconds of inactivity
Oct 25 19:13:14 servidor httpd: [ERROR] Nethgui\Framework: [1327492764] rule#1327570195: Deny access to everyone on everything (score = 0.00) :: AppliedTo :: subject Anonymous resource NethServer\Module\LogViewer action INSTANTIATE
Oct 25 19:13:20 servidor httpd: [NOTICE] Nethgui\Authorization\User: user root authenticated
Oct 25 19:13:27 servidor dnsmasq-dhcp[13778]: DHCPREQUEST(br0) 192.168.1.160 00:5f:67:af:36:4b
Oct 25 19:13:27 servidor dnsmasq-dhcp[13778]: DHCPACK(br0) 192.168.1.160 00:5f:67:af:36:4b TL-WPA8631P
Oct 25 19:14:01 servidor kernel: sogo-ealarms-no[21318]: segfault at 7ffe95203a48 ip 00007f8c427039cf sp 00007ffe95203a30 error 6 in libgnustep-base.so.1.24.9[7f8c42371000+4dc000]
Oct 25 19:14:33 servidor systemd: Reloading.
Oct 25 19:14:33 servidor systemd: Configuration file /usr/lib/systemd/system/mssql-server.service is marked executable. Please remove executable permission bits. Proceeding anyway.
Oct 25 19:14:33 servidor systemd: [/usr/lib/systemd/system/netdata.service:72] Unknown lvalue ‘ProtectControlGroups’ in section ‘Service’
Oct 25 19:14:34 servidor dnsmasq-dhcp[13778]: DHCPREQUEST(br0) 192.168.1.160 00:5f:67:af:36:4b
Oct 25 19:14:34 servidor dnsmasq-dhcp[13778]: DHCPACK(br0) 192.168.1.160 00:5f:67:af:36:4b TL-WPA8631P
Oct 25 19:14:38 servidor systemd: Starting SOGo is a groupware server…
Oct 25 19:14:38 servidor kernel: sogod[22592]: segfault at 7ffef01a7d68 ip 00007f021a0759cf sp 00007ffef01a7d50 error 6 in libgnustep-base.so.1.24.9[7f0219ce3000+4dc000]
Oct 25 19:14:38 servidor systemd: sogod.service: control process exited, code=killed status=11
Oct 25 19:14:38 servidor systemd: Failed to start SOGo is a groupware server.
Oct 25 19:14:38 servidor systemd: Unit sogod.service entered failed state.
Oct 25 19:14:38 servidor systemd: sogod.service failed.

New update.

By deleting from ~/sogo/GNUstep

I’m no able to save settings in cockpit.
Service does not start yet with diferent error:

sogod[322:322] unable to get status of descriptor 2 - Bad file descriptor
Oct 25 20:15:26 servidor systemd: New main PID 322 does not exist or is a zombie.
Oct 25 20:15:26 servidor systemd: Failed to start SOGo is a groupware server.
Oct 25 20:15:26 servidor systemd: Unit sogod.service entered failed state.
Oct 25 20:15:26 servidor systemd: sogod.service failed.

Oct 26 02:13:24 servidor systemd: Starting SOGo is a groupware server…
Oct 26 02:13:25 servidor systemd: Started SOGo is a groupware server.

It is working…

After many trials and readings.

My final step was to copy entire /usr/lib64/GNUstep folder from another working nethserver to the problematic one.

If I find the time I will try to go deeper on what caused this.

1 Like

Hi @aplima ,
welcome as a new member of the community and sorry for the late response.
Thanks for sharing your solution, this could help others too.
If there are more questions you want to ask don’t hesitate. The motto of this forum is:

Only a not asked question is a stupid question.

2 Likes