Fix Koloxo not logged DC FTP, FTP can not log Koloxo

Method 1: quick, easy
touch /var/log/kloxo/pureftpd.log
vim /etc/xinetd.d/pureftp

Edit the old information into the new information as follows:

service ftp
{
disable = no
socket_type = stream
wait = no
user = root
server = / usr / sbin / pure-ftpd
# server = /usr/sbin/pure-config.pl
server_args = /etc/pure-ftpd/pure-ftpd.conf
# server_args = -A -c5000 – C8-H -D -fftp -I15 -lpuredb: /etc/pure-ftpd/pureftpd.pdb -lunix -L2000: 8 -m4 -s -p30000: 50000 -U133: 022 -u100 -Oclf -E: / var / log / kloxo / pureftpd.log -g / var / run / pure-ftpd.pid -k99 -Z
log_on_success + = DURATION uSERID
log_on_failure + = uSERID
nice = 10
# groups = yes
# flags = REUSE
}

Press “i” to edit press: qw to escape + save
Finally:
service xinetd restart

Method 2: Slightly too complex
You can not login inspite of resetting passwords in Kloxo?

First check the logs

tail -n 200 / var / log / messages | grep ftp

See if you get the most common error

[ERROR] Unable to switch Capabilities: Operation not cho

Follow the below steps

Remove the pure-ftpd

yum remove pure-ftpd

download Latest FTP from  http://download.pureftpd.org/pub / pure-ftpd / releases /

vinastar.net the zipped file FTP

cd pure-ftpd

./configure -with-everything -with-paranoidmsg -without-Capabilities -with-virtualchroot

make && make install

Now cd /etc/xinetd.d/

of pure-ftp.conf

remove all entries and add the below entries,

service ftp
{
disable = no
socket_type = stream
wait = no
user = root
server = / usr / local / sbin / pure-ftpd
server_args = -A -c5000 -C8 -D -H -fftp -I15 -lpuredb: /etc/pure-ftpd/pureftpd.pdb -lunix -L2000: 8 -m4 -s -p30000: 50000 -U133: 022 -u100 -Oclf -E: / var / log /kloxo/pureftpd.log -g / var / run / pure-ftpd.pid -k99 -Z
groups = yes
flags = REUSE
}

Once done restart using the command

“service xinetd restart”

Now FTP should work

Add Comment