FTP Statistics not shown

Funny2k

Verified User
Joined
Sep 19, 2006
Messages
10
Hello,

I have a customer with a owned IP addres. So i made a vhost for the FTP account.

Everything is working fine but in DA the ftp usage is not shown.

Has somebody a solution to this problem?

Kind regards,

Maarten
 
What does the vhost you created look like?
You'd need to make sure you have an ExtendedLog entry for that IP address, eg:
Code:
ExtendedLog             /var/log/proftpd/1.2.3.4.bytes WRITE,READ userlog
where 1.2.3.4 is the IP of the domain.

John
 
My vhost config file has a line

ExtendedLog /var/log/proftpd/1.2.3.4.bytes WRITE,READ userlog

but my problem is that Direct Admin not count the FTP traffic made by this IP. Shoul i make some changes in DA for this?
 
It *should* be working if that IP is the IP assigned to the User...

Your other option is to change the IP to be the server IP for the log (set 1.2.3.4 for the log IP) ... as DA will figure that one out no matter what.

John
 
I'm a little further now. When i restart the proftpd service the file is filled up with the right values. But when the DA crondjob finished his job to count everything the file is not filled anymore.

When i try the button "update disk usage" the file is completely gone. I have to restart the proftpd deamon to get is back.
 
Back
Top