Gentoo Archives: gentoo-user

From: Jarry <mr.jarry@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] vsftpd & syslog-ng: enemies?
Date: Thu, 09 May 2013 19:18:34
1 Hi Gentoo-users,
3 I have strange problem: I want to collect vsftpd-logs
4 by syslog-ng, so I added this single line at the end
5 of /etc/vsftpd/vsftpd.conf:
7 syslog_enable=YES
9 Then I restarted vsftpd, but now I can not connect to it!
10 I do not get login/password prompt, all I see is:
12 $ ftp
13 Connected to (
14 500 OOPS: priv_sock_get_cmd
15 ftp>
17 I removed that above mentioned line from vsftpd-config,
18 restarted vsftpd, tried again. And everything works as
19 expected. So the problem is caused by that single
20 line. But why "syslog_enable" option does not work?
22 Apart from that my vsftpd.conf is default as it comes
23 with vsftpd-installation, nothing changed. The same is
24 true for syslog-ng.conf.
26 I noticed one more strange thing: whenever I restart
27 vsftpd (/etc/init.d/vsftpd restart), I see messages
28 on the screen but nothing is saved to /var/log/messages
29 (or to any other log-file). When I restart any other
30 service (i.e. sshd, sendmail, bind), corresponding
31 message is recorded to /var/log/messages. Why is it
32 not so in case of vsftpd? It seems to me vsftpd has
33 problem accessing /dev/log...
35 Jarry
37 --
38 _______________________________________________________________
39 This mailbox accepts e-mails only from selected mailing-lists!
40 Everything else is considered to be spam and therefore deleted.