Score:0

VSFTPD - Service can't start with listen=YES

bd flag

I have troubles with vsftpd service. When I keep default configuration file (vsftpd.conf) systemctl status vsftpd shows output Active: active (running),but when I set only listen=YES the output becomes Active: failed. Why?

hr flag
Does the configuration include `listen_ipv6=YES` as well?
ghostone avatar
bd flag
@steeldriver yes, it does
hr flag
You will need to set that to NO if you want to set `listen` to YES - see below
Score:0
hr flag

If you enable listen, then you must disable listen_ipv6. From man vsftpd.conf:

   listen_ipv6
          Like  the listen parameter, except vsftpd will listen on an IPv6
          socket instead of an IPv4 one. Note that a socket  listening  on
          the  IPv6 "any" address (::) will accept both IPv6 and IPv4 con‐
          nections by default. This parameter and the listen parameter are
          mutually exclusive.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.