From: Jarry <mr.jarry@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] vsftpd & syslog-ng: enemies?
Date: Thu, 09 May 2013 21:16:33 +0200 [thread overview]
Message-ID: <518BF611.6020505@gmail.com> (raw)
Hi Gentoo-users,
I have strange problem: I want to collect vsftpd-logs
by syslog-ng, so I added this single line at the end
of /etc/vsftpd/vsftpd.conf:
syslog_enable=YES
Then I restarted vsftpd, but now I can not connect to it!
I do not get login/password prompt, all I see is:
$ ftp 10.0.0.173
Connected to 10.0.0.173 (10.0.0.173).
500 OOPS: priv_sock_get_cmd
ftp>
I removed that above mentioned line from vsftpd-config,
restarted vsftpd, tried again. And everything works as
expected. So the problem is caused by that single
line. But why "syslog_enable" option does not work?
Apart from that my vsftpd.conf is default as it comes
with vsftpd-installation, nothing changed. The same is
true for syslog-ng.conf.
I noticed one more strange thing: whenever I restart
vsftpd (/etc/init.d/vsftpd restart), I see messages
on the screen but nothing is saved to /var/log/messages
(or to any other log-file). When I restart any other
service (i.e. sshd, sendmail, bind), corresponding
message is recorded to /var/log/messages. Why is it
not so in case of vsftpd? It seems to me vsftpd has
problem accessing /dev/log...
Jarry
--
_______________________________________________________________
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.
reply other threads:[~2013-05-09 19:18 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=518BF611.6020505@gmail.com \
--to=mr.jarry@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox