On Wednesday, 02 April, 2014 23:08:01 Noah Meyerhans wrote:
> On Wed, Apr 02, 2014 at 12:32:16PM +0300, David Baron wrote:
> > On start:
> > Starting SpamAssassin Mail Filter Daemon: server socket setup failed,
> > retry 1: spamd: could not create IO::Socket::INET6 socket on [::1]:783:
> > Cannot assign requested address
>
> I've lowered the severity of this bug, since it doesn't seem to impact
> default jessie or sid installations and thus doesn't meet 'grave'
> criteria.
>
> Can you send me the output of the following:
>
> ip addr show dev lo
ip addr show dev lo
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group
default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
> sysctl net.ipv6.bindv6only
sysctl net.ipv6.bindv6only
net.ipv6.bindv6only = 1
> /usr/sbin/spamd -D 2>&1 | grep -i listen
/usr/sbin/spamd -D 2>&1 | grep -i listen
Apr 3 10:00:41.075 [32649] dbg: spamd: attempting to listen on IP addresses:
127.0.0.1, ::1, port 783
Apr 3 10:00:41.075 [32649] dbg: spamd: creating IO::Socket::INET6 socket:
Listen: 128, LocalAddr: 127.0.0.1, LocalPort: 783, Proto: tcp, ReuseAddr: 1,
Type: 1
Apr 3 10:00:41.077 [32649] dbg: spamd: creating IO::Socket::INET6 socket:
Listen: 128, LocalAddr: ::1, LocalPort: 783, Proto: tcp, ReuseAddr: 1, Type: 1
Apr 3 10:00:42.078 [32649] dbg: spamd: attempting to listen on IP addresses:
127.0.0.1, ::1, port 783
Apr 3 10:00:42.079 [32649] dbg: spamd: creating IO::Socket::INET6 socket:
Listen: 128, LocalAddr: 127.0.0.1, LocalPort: 783, Proto: tcp, ReuseAddr: 1,
Type: 1
....
>
> Are you specifying any command line options via
> /etc/default/spamassassin?
# Change to one to enable spamd
ENABLED=1
OPTIONS="--create-prefs --max-children 5 --helper-home-dir"
# Set nice level of spamd
NICE="--nicelevel 19"
# Cronjob
# Set to anything but 0 to enable the cron job to automatically update
# spamassassin's rules on a nightly basis
CRON=1
Note that there had been a post somewhere for using a spamd -4. Adding that
option enables it to start up!
So a workaround for this bug may be to append " -4" to OPTIONS.
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]