1

Topic: SOGo IPv6

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.8
- Linux/BSD distribution name and version: FREEBSD 11.1 64bit
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx):nginx
- Manage mail accounts with iRedAdmin-Pro? no
====

Hey there, it's me again.

I want to setup iredmail in a jail again. The installation was done with the local ip address, but the jail is reachable only by ipv6. So I changed the nginx, which is fine now, but the sogod is dying evertime:

Apr 06 10:06:26 sogod [80799]: All products loaded - current memory usage at 0 MB
Apr 06 10:06:26 sogod [80799]: [WARN] <0x0x80be7ba10[WOWatchDog]> listening socket: attempt 1 failed
Apr 06 10:06:27 sogod [80799]: [WARN] <0x0x80be7ba10[WOWatchDog]> listening socket: attempt 2 failed
Apr 06 10:06:28 sogod [80799]: [WARN] <0x0x80be7ba10[WOWatchDog]> listening socket: attempt 3 failed
Apr 06 10:06:29 sogod [80799]: [WARN] <0x0x80be7ba10[WOWatchDog]> listening socket: attempt 4 failed
Apr 06 10:06:30 sogod [80799]: [WARN] <0x0x80be7ba10[WOWatchDog]> listening socket: attempt 5 failed
Apr 06 10:06:31 sogod [80799]: [ERROR] <0x0x80be7ba10[WOWatchDog]> unable to listen on specified port, check that no other process is already using it

In the sogo.conf I changed WOPort to

WOPort = "[ipv6-address]:20000";

Any idea? Sadly there is no documentation by SOGo regarding ipv6 only setups.

Best,
Arne

----

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

2

Re: SOGo IPv6

Seems you already have a program listening on port 20000? Maybe some orphan sogo child process?

3

Re: SOGo IPv6

mh - thought so as well, but there are no processes related to sogo running and I also restarted the jail several times. pls find my sogo.conf attached

Thanks

Post's attachments

sogo.conf 13.34 kb, 2 downloads since 2018-04-06 

You don't have the permssions to download the attachments of this post.

4

Re: SOGo IPv6

Please run command "ps aux |grep sogo" to check whether there's orphan SOGo child process running, if yes, kill them with 'kill' command, then restart sogo service.

5

Re: SOGo IPv6

nothing there. I also restarted it -> one process come up, but it dies:

root@mail01:/ # ps aux | grep sogo
root       3185  0.0  0.0   14844   2136  0  S+J  09:03   0:00.00 grep sogo
root@mail01:/ # ps aux | grep sogo
sogod      3338  2.8  0.2  241640  57856  1  SJ   09:04   0:00.16 /usr/local/GNUstep/Local/Tools/Admin/sogod
root       3340  0.0  0.0   14844   2136  0  S+J  09:04   0:00.00 grep sogo
root@mail01:/ # ps aux | grep sogo
sogod      3338  2.2  0.2  241640  57856  1  SJ   09:04   0:00.16 /usr/local/GNUstep/Local/Tools/Admin/sogod
root       3342  0.0  0.0   14844   2136  0  S+J  09:04   0:00.00 grep sogo
root@mail01:/ # ps aux | grep sogo
sogod      3338  2.2  0.2  241640  57856  1  SJ   09:04   0:00.16 /usr/local/GNUstep/Local/Tools/Admin/sogod
root       3344  0.0  0.0   14844   2136  0  S+J  09:04   0:00.00 grep sogo
root@mail01:/ # ps aux | grep sogo
sogod      3338  1.9  0.2  241640  57856  1  SJ   09:04   0:00.16 /usr/local/GNUstep/Local/Tools/Admin/sogod
root       3346  0.0  0.0   14844   2112  0  R+J  09:04   0:00.00 grep sogo
root@mail01:/ # ps aux | grep sogo
root       3348  0.0  0.0   14844   2136  0  S+J  09:04   0:00.00 grep sogo
root@mail01:/ #

6

Re: SOGo IPv6

Why the line is:

    WOPort = "[ipv6]:20000";

Why you didn't replace "[ipv6]" by the real IPv6 address? for example:

    WOPort = "[::1]:20000";

7

Re: SOGo IPv6

ZhangHuangbin wrote:

Why the line is:

    WOPort = "[ipv6]:20000";

Why you didn't replace "[ipv6]" by the real IPv6 address? for example:

    WOPort = "[::1]:20000";

It's just a placeholder here to not show my public IP, but If it would help you to help me, I can put it in there.

8

Re: SOGo IPv6

arneboeses wrote:

Apr 06 10:06:31 sogod [80799]: [ERROR] <0x0x80be7ba10[WOWatchDog]> unable to listen on specified port, check that no other process is already using it

According to the error message, some program is listening on port 20000. But your "ps" command says no program. I'm confused now.

Please try to restart it again, and get new error message from sogo log file.

9 (edited by arneboeses 2018-04-10 03:37:40)

Re: SOGo IPv6

Hi,

1) thanks for taking care of my issue
2) still the same result I also restarted the entire server (even if it is not necessary)

Apr 09 04:03:07 sogod [1186]: version 3.2.10 (build root@server 201804061406) -- starting
Apr 09 04:03:07 sogod [1186]: vmem size check enabled: shutting down app when vmem > 500 MB. Currently at 0 MB
Apr 09 04:03:08 sogod [1186]: <0x0x80d7c0bb0[SOGoProductLoader]> SOGo products loaded from '/usr/local/GNUstep/Local/Library/SOGo':
Apr 09 04:03:08 sogod [1186]: <0x0x80d7c0bb0[SOGoProductLoader]>   MainUI.SOGo, MailPartViewers.SOGo, MailerUI.SOGo, Contacts.SOGo, PreferencesUI.SOGo, CommonUI.SOGo, AdministrationUI.SOGo, Mailer.SOGo, ContactsUI.SOGo, ActiveSync.SOGo, Appointments.SOGo, SchedulerUI.SOGo
Apr 09 04:03:10 sogod [1186]: All products loaded - current memory usage at 0 MB
Apr 09 04:03:10 sogod [1186]: [WARN] <0x0x80be7ba10[WOWatchDog]> listening socket: attempt 1 failed
Apr 09 04:03:11 sogod [1186]: [WARN] <0x0x80be7ba10[WOWatchDog]> listening socket: attempt 2 failed
Apr 09 04:03:12 sogod [1186]: [WARN] <0x0x80be7ba10[WOWatchDog]> listening socket: attempt 3 failed
Apr 09 04:03:14 sogod [1186]: [WARN] <0x0x80be7ba10[WOWatchDog]> listening socket: attempt 4 failed
Apr 09 04:03:15 sogod [1186]: [WARN] <0x0x80be7ba10[WOWatchDog]> listening socket: attempt 5 failed
Apr 09 04:03:16 sogod [1186]: [ERROR] <0x0x80be7ba10[WOWatchDog]> unable to listen on specified port, check that no other process is already using it


Best,
Arne