Irgendwie scheint es auf meinem Server (Ubuntu 12.04.2 LTS) beim Systemstart Probleme mit Dovecot zu geben. Er scheint zwei Mal zu starten, das zweite Mal schlägt fehl. Hier das boot.log:
Code
fsck from util-linux 2.20.1
fsck from util-linux 2.20.1
/dev/mapper/v220101xxxxxxxxxxx-root: clean, 139988/7397376 files, 1634668/29558784 blocks/dev/vda1: clean, 240/124496 files, 91711/248832 blocks
* Starting Uncomplicated firewall[94G[ OK ]
* Starting configure network device security[94G[ OK ]
* Stopping OpenSSH server[94G[ OK ]
* Starting OpenSSH server[94G[ OK ]
* Starting Mount network filesystems[94G[ OK ]
* Stopping Mount network filesystems[94G[ OK ]
* Starting configure network device security[94G[ OK ]
* Starting Mount network filesystems[94G[ OK ]
* Starting Failsafe Boot Delay[94G[ OK ]
* Stopping Mount network filesystems[94G[ OK ]
* Starting configure network device[94G[ OK ]
* Stopping Failsafe Boot Delay[94G[ OK ]
* Starting System V initialisation compatibility[94G[ OK ]
* Stopping OpenSSH server[94G[ OK ]
* Starting OpenSSH server[94G[ OK ]
* Starting Bridge socket events into upstart[94G[ OK ]
* Starting configure network device[94G[ OK ]
* Starting Mount network filesystems[94G[ OK ]
* Stopping Mount network filesystems[94G[ OK ]
Skipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd
* Starting AppArmor profiles [100G
[94G[ OK ]
* Stopping System V initialisation compatibility[94G[ OK ]
* Starting System V runlevel compatibility[94G[ OK ]
* Starting automatic crash report generation[94G[ OK ]
* Starting deferred execution scheduler[94G[ OK ]
* Starting regular background program processing daemon[94G[ OK ]
* Starting ACPI daemon[94G[ OK ]
* Starting dovecot - pop3/imap mail server[94G[ OK ]
* Starting save kernel messages[94G[ OK ]
* Starting CPU interrupts balancing daemon[94G[ OK ]
* Stopping cold plug devices[94G[ OK ]
* Stopping log initial device creation[94G[ OK ]
* Starting dovecot - pop3/imap mail server[94G[[31mfail[39;49m]
* Starting configure network device security[94G[ OK ]
* Stopping save kernel messages[94G[ OK ]
* Starting PostgreSQL 9.1 database server [100G
[94G[ OK ]
Starting SpamAssassin Mail Filter Daemon: spamd.
* Starting MTA [100G
[94G[ OK ]
Starting nginx: nginx.
* IPv4... [100G * IPv6... [100G * Loading iptables rules... [100G
[94G[ OK ]
* Stopping System V runlevel compatibility[94G[ OK ]
Alles anzeigen
Und das hier steht im Syslog:
Code
May 13 14:15:04 v220101xxxxxxxxxxx dovecot: master: Error: bind(2a03:xxxx:x:xxx::1, 110) failed: Cannot assign requested address
May 13 14:15:04 v220101xxxxxxxxxxx dovecot: master: Error: service(pop3-login): listen(2a03:xxxx:x:xxx::1, 110) failed: Cannot assign requested address
May 13 14:15:04 v220101xxxxxxxxxxx dovecot: master: Error: bind(2a03:xxxx:x:xxx::1, 143) failed: Cannot assign requested address
May 13 14:15:04 v220101xxxxxxxxxxx dovecot: master: Error: service(imap-login): listen(2a03:xxxx:x:xxx::1, 143) failed: Cannot assign requested address
May 13 14:15:04 v220101xxxxxxxxxxx dovecot: master: Fatal: Failed to start listeners
Scheinbar ist die ipv6-Adresse von eth0 zu dem Zeitpunkt noch nicht verfügbar. Seltsamerweise meckert dovecot aber nicht wegen der ebenfalls konfigurierten ipv4-Adresse.
Hier meine /etc/network/interfaces:
Code
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
allow-hotplug eth0
#iface eth0 inet dhcp
iface eth0 inet static
address 46.xx.xxx.xxx
netmask 255.255.248.0
gateway 46.xx.xxx.x
dns-nameservers 46.38.225.225 37.221.199.199 8.8.8.8
iface eth0 inet6 static
address 2a03:xxxx:x:xxx::1
netmask 64
dns-nameservers 46.38.225.225 37.221.199.199 8.8.8.8
Alles anzeigen
Hat jemand eine Idee, an was das liegen könnte, bzw. wie man das lösen kann? Irgendwie steh' ich gerade auf dem Schlauch Vor allem würde mich interessieren, wieso Dovecot gleich doppelt startet.