public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] vsftpd & syslog-ng: enemies?
@ 2013-05-09 19:16 Jarry
  0 siblings, 0 replies; only message in thread
From: Jarry @ 2013-05-09 19:16 UTC (permalink / raw
  To: gentoo-user

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.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-05-09 19:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-09 19:16 [gentoo-user] vsftpd & syslog-ng: enemies? Jarry

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox