1

Topic: v0.9.8 upgrade / SOGo update v3.x > 4.x / service fails to start

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.8
- Linux/BSD distribution name and version: Centos 7.4
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): Mysql
- Web server (Apache or Nginx): apache
- Manage mail accounts with iRedAdmin-Pro? NO
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

following your update docs to upgrade sogod from v3.x > 4.x, and now service fails to start. according to journalctl:

kernel: sogod[25074]: segfault at 7ffec6050c78 ip 00007f1b69c139cf sp 00007ffec6050c60 error 6 in libgnustep-base.so.1.24.9[7f1b69881000+4dc000]

also, not sure if this matters, but when running sogo's mysql db update script, it states that it will ask for your password twice, but it only did so once. probably nothing but wanted to mention it.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: v0.9.8 upgrade / SOGo update v3.x > 4.x / service fails to start

all sogo tools are segfaulting (my cron jobs have been trying to run as well):

kernel: sogo-tool[27379]: segfault at 7fff0b3f7d78 ip 00007fdb92c8d9cf sp 00007fff0b3f7d60 error 6 in libgnustep-base.so.1.24.9[7fdb928fb000+4dc000]

kernel: sogo-ealarms-no[27380]: segfault at 7ffcfd184d78 ip 00007fa4f588c9cf sp 00007ffcfd184d60 error 6 in libgnustep-base.so.1.24.9[7fa4f54fa000+4dc000]

and sogo.log is useless:

Apr 04 13:16:35 sogod [3937]: <0x0x562d7071d8d0[WOWatchDogChild]>  (terminated due to signal 15)
Apr 04 13:16:35 sogod [3937]: <0x0x562d7073a110[WOWatchDog]> Terminating with SIGINT or SIGTERM
Apr 04 13:16:35 sogod [3937]: <0x0x562d707035a0[WOWatchDogChild]> child 3963 exited
Apr 04 13:16:35 sogod [3937]: <0x0x562d70703650[WOWatchDogChild]> child 3964 exited
Apr 04 13:16:35 sogod [3937]: <0x0x562d7071bbf0[WOWatchDogChild]> child 3970 exited
Apr 04 13:16:35 sogod [3937]: <0x0x562d70728460[WOWatchDogChild]> child 3975 exited
Apr 04 13:16:35 sogod [3937]: <0x0x562d70728460[WOWatchDogChild]>  (terminated due to signal 15)
Apr 04 13:16:35 sogod [3937]: <0x0x562d7073a110[WOWatchDog]> Terminating with SIGINT or SIGTERM
Apr 04 13:16:35 sogod [3937]: <0x0x562d707cc530[WOWatchDogChild]> child 3965 exited
Apr 04 13:16:35 sogod [3937]: <0x0x562d7073a110[WOWatchDog]> all children exited. We now terminate.

3

Re: v0.9.8 upgrade / SOGo update v3.x > 4.x / service fails to start

Try to upgrade also packages:

gnustep*
libwbxml*

4

Re: v0.9.8 upgrade / SOGo update v3.x > 4.x / service fails to start

they're up to date already.

5

Re: v0.9.8 upgrade / SOGo update v3.x > 4.x / service fails to start

fsantiago06111979 wrote:

kernel: sogod[25074]: segfault at 7ffec6050c78 ip 00007f1b69c139cf sp 00007ffec6050c60 error 6 in libgnustep-base.so.1.24.9[7f1b69881000+4dc000]

Seems caused by gnustep packages.
Try command "rpm -qi gnustep-base" to figure out which yum repository offers the gnustep-base package. If it's offered by official yum repo, try to install the one from SOGo yum repo instead.

6

Re: v0.9.8 upgrade / SOGo update v3.x > 4.x / service fails to start

haha, so yeh, it was installed from epel. and in sogo's official install guide i just found they tell you to do this:

sed -i '/enabled=1/a \
exclude=gnustep*' /etc/yum.repos.d/epel.repo

basically what i just did after removing all gnustep packages. reinstalled from sogo repo but now i get:

Job for sogod.service failed because a timeout was exceeded.

journalctl states:

sogod.service start operation timed out. Terminating.
systemd[1]: Unit sogod.service entered failed state.
systemd[1]: sogod.service failed.

still digging around.

7

Re: v0.9.8 upgrade / SOGo update v3.x > 4.x / service fails to start

i had to kill the cronjobs; when they ran they pegged my cpu at 100% for minutes at a time. i should have done that anyway until this issue is sorted out so now all sogo is disabled. the service start still times out.

8

Re: v0.9.8 upgrade / SOGo update v3.x > 4.x / service fails to start

What's the error message in SOGo log file (/var/log/sogo/sogo.log)?

9

Re: v0.9.8 upgrade / SOGo update v3.x > 4.x / service fails to start

Apr 04 13:16:35 sogod [3937]: <0x0x562d707035a0[WOWatchDogChild]> child 3963 exited
Apr 04 13:16:35 sogod [3937]: <0x0x562d70703650[WOWatchDogChild]> child 3964 exited
Apr 04 13:16:35 sogod [3937]: <0x0x562d7071bbf0[WOWatchDogChild]> child 3970 exited
Apr 04 13:16:35 sogod [3937]: <0x0x562d70728460[WOWatchDogChild]> child 3975 exited
Apr 04 13:16:35 sogod [3937]: <0x0x562d70728460[WOWatchDogChild]>  (terminated due to signal 15)
Apr 04 13:16:35 sogod [3937]: <0x0x562d7073a110[WOWatchDog]> Terminating with SIGINT or SIGTERM
Apr 04 13:16:35 sogod [3937]: <0x0x562d707cc530[WOWatchDogChild]> child 3965 exited
Apr 04 13:16:35 sogod [3937]: <0x0x562d7073a110[WOWatchDog]> all children exited. We now terminate.

10

Re: v0.9.8 upgrade / SOGo update v3.x > 4.x / service fails to start

What's the error log lines ABOVE the lines you pasted?

11

Re: v0.9.8 upgrade / SOGo update v3.x > 4.x / service fails to start

i emailed you a share link to the entire log file from yesterday, from when it was working under v3.x until now with v4.x.

12

Re: v0.9.8 upgrade / SOGo update v3.x > 4.x / service fails to start

What's the log in SOGo log file RIGHT AFTER you restarted sogo service? paste it here please.

13

Re: v0.9.8 upgrade / SOGo update v3.x > 4.x / service fails to start

The lines you have in your possession already show what's logged after a restart; the later ones. It's reported as a timeout. To me, the log tells me little to nothing.

14

Re: v0.9.8 upgrade / SOGo update v3.x > 4.x / service fails to start

fsantiago06111979 wrote:

The lines you have in your possession already show what's logged after a restart; the later ones. It's reported as a timeout.

What log? I didn't see the "timeout" log.

15

Re: v0.9.8 upgrade / SOGo update v3.x > 4.x / service fails to start

The later lines towards the end of the file is what I interpreted as the log lines related to the timeouts.

16

Re: v0.9.8 upgrade / SOGo update v3.x > 4.x / service fails to start

Could you please simply paste it here?

17

Re: v0.9.8 upgrade / SOGo update v3.x > 4.x / service fails to start

Apr 04 13:16:35 sogod [3937]: <0x0x562d70896560[WOWatchDogChild]> child 3966 exited
Apr 04 13:16:35 sogod [3937]: <0x0x562d707039d0[WOWatchDogChild]> child 3967 exited
Apr 04 13:16:35 sogod [3937]: <0x0x562d707039d0[WOWatchDogChild]>  (terminated due to signal 15)
Apr 04 13:16:35 sogod [3937]: <0x0x562d7071b640[WOWatchDogChild]> child 3968 exited
Apr 04 13:16:35 sogod [3937]: <0x0x562d7071b640[WOWatchDogChild]>  (terminated due to signal 15)
Apr 04 13:16:35 sogod [3937]: <0x0x562d7071ba40[WOWatchDogChild]> child 3969 exited
Apr 04 13:16:35 sogod [3937]: <0x0x562d7071d8d0[WOWatchDogChild]> child 3972 exited
Apr 04 13:16:35 sogod [3937]: <0x0x562d7071d8d0[WOWatchDogChild]>  (terminated due to signal 15)
Apr 04 13:16:35 sogod [3937]: <0x0x562d7073a110[WOWatchDog]> Terminating with SIGINT or SIGTERM
Apr 04 13:16:35 sogod [3937]: <0x0x562d707035a0[WOWatchDogChild]> child 3963 exited
Apr 04 13:16:35 sogod [3937]: <0x0x562d70703650[WOWatchDogChild]> child 3964 exited
Apr 04 13:16:35 sogod [3937]: <0x0x562d7071bbf0[WOWatchDogChild]> child 3970 exited
Apr 04 13:16:35 sogod [3937]: <0x0x562d70728460[WOWatchDogChild]> child 3975 exited
Apr 04 13:16:35 sogod [3937]: <0x0x562d70728460[WOWatchDogChild]>  (terminated due to signal 15)
Apr 04 13:16:35 sogod [3937]: <0x0x562d7073a110[WOWatchDog]> Terminating with SIGINT or SIGTERM
Apr 04 13:16:35 sogod [3937]: <0x0x562d707cc530[WOWatchDogChild]> child 3965 exited
Apr 04 13:16:35 sogod [3937]: <0x0x562d7073a110[WOWatchDog]> all children exited. We now terminate.

18

Re: v0.9.8 upgrade / SOGo update v3.x > 4.x / service fails to start

This log is not enough for troubleshooting. Is it possible to give me direct ssh access for troubleshooting?

19

Re: v0.9.8 upgrade / SOGo update v3.x > 4.x / service fails to start

Sure. Give me some time but I'll need to send you an ssh key. What's the best way to get it to you?

20

Re: v0.9.8 upgrade / SOGo update v3.x > 4.x / service fails to start

Mail me: zhb _at_ iredmail _dot_ org

21

Re: v0.9.8 upgrade / SOGo update v3.x > 4.x / service fails to start

i sent you an email. thanks.

22

Re: v0.9.8 upgrade / SOGo update v3.x > 4.x / service fails to start

strange oddity now; reverting to v3.x and restoring an old DB backup prior to the db update script also fails to start the service with a similar error. so what happened i wonder?

23

Re: v0.9.8 upgrade / SOGo update v3.x > 4.x / service fails to start

Nothing from sogo people yet. Have you had any further insight?

24

Re: v0.9.8 upgrade / SOGo update v3.x > 4.x / service fails to start

No idea, sorry. sad