Discussion:
kolab 16 and ubuntu 14.04.4
Pietro Vassalli
2016-07-26 09:31:59 UTC
Permalink
Clean installation of ubuntu 14.04.4.
My user receives a "can't connect to imap server".
If I check roundcubemail configuration I see:

*// IMAP Server Settings
$config['default_host'] = 'tls://localhost';
$config['default_port'] = 143;
$config['imap_delimiter'] = '/';
$config['imap_force_lsub'] = true;*

cyrus-imapd configuration I see:

SERVICES {
imaps cmd="imapd -s" listen="127.0.0.1:9993" prefork=5
sieve cmd="timsieved" listen="sieve" prefork=0
ptloader cmd="ptloader" listen="/var/lib/imap/ptclient/ptsock"
prefork=0
lmtpunix cmd="lmtpd" listen="/var/lib/imap/socket/lmtp" prefork=1
notify cmd="notifyd" listen="/var/lib/imap/socket/notify" proto="udp"
prefork=1
}

So, the system is not listening to 143. If I check open ports, I see
that my consideration is true:

netstat -taunnnp
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program
name
_tcp 0 0 127.0.0.1:783 0.0.0.0:_ LISTEN 1299/spamd.pid
tcp 0 0 0.0.0.0:22 0.0.0.0: LISTEN 940/sshd
tcp 0 0 0.0.0.0:25 0.0.0.0: LISTEN 1914/master
tcp 0 0 0.0.0.0:4190 0.0.0.0: LISTEN 1807/cyrus-master
tcp 0 0 127.0.0.1:10024 0.0.0.0: LISTEN 1198/amavisd-new (m
tcp 0 0 127.0.0.1:10025 0.0.0.0: LISTEN 1914/master
_tcp 0 0 127.0.0.1:9993 0.0.0.0:_ LISTEN 1807/cyrus-master
tcp 0 0 127.0.0.1:10026 0.0.0.0: LISTEN 2602/python
tcp 0 0 127.0.0.1:3306 0.0.0.0: LISTEN 1059/mysqld
_tcp 0 0 127.0.0.1:10027 0.0.0.0:_ LISTEN 1914/master
tcp 0 0 0.0.0.0:587 0.0.0.0: LISTEN 1914/master
tcp 53 0 127.0.0.1:37978 127.0.0.1:10025 CLOSE_WAIT 1226/amavisd-new (c
tcp 0 0 192.168.4.19:22 192.168.4.10:51239 ESTABLISHED 2220/0
tcp6 0 0 ::1:783 ::: LISTEN 1299/spamd.pid
_tcp6 0 0 :::80 :::_ LISTEN 2013/apache2
tcp6 0 0 :::22 ::: LISTEN 940/sshd
tcp6 0 0 :::25 ::: LISTEN 1914/master
_tcp6 0 0 :::4190 :::_ LISTEN 1807/cyrus-master
tcp6 0 0 :::389 ::: LISTEN 1142/ns-slapd
tcp6 0 0 :::587 ::: LISTEN 1914/master
tcp6 0 0 ::1:389 ::1:60920 ESTABLISHED 1142/ns-slapd
tcp6 0 0 ::1:60920 ::1:389 ESTABLISHED 2616/python
tcp6 0 0 ::1:389 ::1:60912 TIME_WAIT -
tcp6 0 0 192.168.4.19:80 192.168.4.10:53754 TIME_WAIT -
tcp6 0 0 192.168.4.19:80 192.168.4.10:53753 TIME_WAIT -
tcp6 0 0 192.168.4.19:80 192.168.4.10:53751 TIME_WAIT -
tcp6 0 0 ::1:60904 ::1:389 TIME_WAIT -
udp 0 0 0.0.0.0:68 0.0.0.0: 610/dhclient
udp 0 0 0.0.0.0:57544 0.0.0.0: 610/dhclient
udp6 0 0 :::45885 ::: 610/dhclient

Where should I modify the confs?
Pietro Vassalli
2016-07-27 08:23:16 UTC
Permalink
Ok, I got the problem.

kolab-guam is not starting.

If I manually start it I get this error:

_/opt/kolab_guam/bin/kolab_guam console
/opt/kolab_guam/releases/0.8.3/sys.config_
_Exec: /opt/kolab_guam/erts-5.10.4/bin/erlexec -boot
/opt/kolab_guam/releases/0.8.3/kolab_guam -mode embedded -config
/opt/kolab_guam/releases/0.8.3/sys.config -args_file
/opt/kolab_guam/releases/0.8.3/vm.args -- console
/opt/kolab_guam/releases/0.8.3/sys.config_
_Root: /opt/kolab_guam_
_{"init terminating in do_boot",{'cannot
load',hipe_amd64_ra,get_files}}_

_Crash dump was written to: erl_crash.dump_
_init terminating in do_boot ()_

In erl_crash.dump I can't find any referral to errors.

Can anyone help?

Regards,

Pietro
On Kolab 16, guam interposes between roundcube and imapd, so guam service should be running and listening on port 143.
Post by Pietro Vassalli
Clean installation of ubuntu 14.04.4.
My user receives a "can't connect to imap server".
*// IMAP Server Settings
$config['default_host'] = 'tls://localhost';
$config['default_port'] = 143;
$config['imap_delimiter'] = '/';
$config['imap_force_lsub'] = true;*
SERVICES {
imaps cmd="imapd -s" listen="127.0.0.1:9993" prefork=5
sieve cmd="timsieved" listen="sieve" prefork=0
ptloader cmd="ptloader" listen="/var/lib/imap/ptclient/ptsock" prefork=0
lmtpunix cmd="lmtpd" listen="/var/lib/imap/socket/lmtp" prefork=1
notify cmd="notifyd" listen="/var/lib/imap/socket/notify" proto="udp" prefork=1
}
netstat -taunnnp
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
_tcp 0 0 127.0.0.1:783 0.0.0.0:_ LISTEN 1299/spamd.pid
tcp 0 0 0.0.0.0:22 0.0.0.0: LISTEN 940/sshd
tcp 0 0 0.0.0.0:25 0.0.0.0: LISTEN 1914/master
tcp 0 0 0.0.0.0:4190 0.0.0.0: LISTEN 1807/cyrus-master
tcp 0 0 127.0.0.1:10024 0.0.0.0: LISTEN 1198/amavisd-new (m
tcp 0 0 127.0.0.1:10025 0.0.0.0: LISTEN 1914/master
_tcp 0 0 127.0.0.1:9993 0.0.0.0:_ LISTEN 1807/cyrus-master
tcp 0 0 127.0.0.1:10026 0.0.0.0: LISTEN 2602/python
tcp 0 0 127.0.0.1:3306 0.0.0.0: LISTEN 1059/mysqld
_tcp 0 0 127.0.0.1:10027 0.0.0.0:_ LISTEN 1914/master
tcp 0 0 0.0.0.0:587 0.0.0.0: LISTEN 1914/master
tcp 53 0 127.0.0.1:37978 127.0.0.1:10025 CLOSE_WAIT 1226/amavisd-new (c
tcp 0 0 192.168.4.19:22 192.168.4.10:51239 ESTABLISHED 2220/0
tcp6 0 0 ::1:783 ::: LISTEN 1299/spamd.pid
_tcp6 0 0 :::80 :::_ LISTEN 2013/apache2
tcp6 0 0 :::22 ::: LISTEN 940/sshd
tcp6 0 0 :::25 ::: LISTEN 1914/master
_tcp6 0 0 :::4190 :::_ LISTEN 1807/cyrus-master
tcp6 0 0 :::389 ::: LISTEN 1142/ns-slapd
tcp6 0 0 :::587 ::: LISTEN 1914/master
tcp6 0 0 ::1:389 ::1:60920 ESTABLISHED 1142/ns-slapd
tcp6 0 0 ::1:60920 ::1:389 ESTABLISHED 2616/python
tcp6 0 0 ::1:389 ::1:60912 TIME_WAIT -
tcp6 0 0 192.168.4.19:80 192.168.4.10:53754 TIME_WAIT -
tcp6 0 0 192.168.4.19:80 192.168.4.10:53753 TIME_WAIT -
tcp6 0 0 192.168.4.19:80 192.168.4.10:53751 TIME_WAIT -
tcp6 0 0 ::1:60904 ::1:389 TIME_WAIT -
udp 0 0 0.0.0.0:68 0.0.0.0: 610/dhclient
udp 0 0 0.0.0.0:57544 0.0.0.0: 610/dhclient
udp6 0 0 :::45885 ::: 610/dhclient
Where should I modify the confs?
_______________________________________________
users mailing list
https://lists.kolab.org/mailman/listinfo/users [1]
Links:
------
[1] https://lists.kolab.org/mailman/listinfo/users

Loading...