Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 12th December 2006, 06:29
bluethunder82 bluethunder82 is offline
Member
 
Join Date: Sep 2006
Posts: 92
Thanks: 0
Thanked 9 Times in 5 Posts
Question FTP Transfer Statistics

I quick question regarding the FTP Traffic overview. When I go to a statistics page for an account I can view web and mail traffic but I only see 0.00 MB for FTP. I know I have transfered files using an FTP account.

Is this a side effect of having vsftp installed? If not where could I start investigating to get the FTP traffic to work. The only treads I found deal with NO traffic information being present so I'm at a stand still.

Thx
Reply With Quote
Sponsored Links
  #2  
Old 12th December 2006, 11:54
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts
Default

Please check that vsftpd writes a logfile (xferlog) and that the correct path to this logfile is set under management > server > settings in ISPConfig.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 12th December 2006, 18:40
bluethunder82 bluethunder82 is offline
Member
 
Join Date: Sep 2006
Posts: 92
Thanks: 0
Thanked 9 Times in 5 Posts
Default

Within the vsftpd.conf I have xferlog_enabled=YES, and the default log location of /var/log/vsftpd.log.

Looking under Management > Server > Settings > FTP The only path field present is to the conf file. The correct path is present. Save log is also checked.

Within my log folder (/var/log) I do have the ispconfig log file (vsftpd.log.ispconfigsave) which is being populated correctly.
Reply With Quote
  #4  
Old 13th December 2006, 14:21
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

Quote:
Originally Posted by bluethunder82
Within the vsftpd.conf I have xferlog_enabled=YES, and the default log location of /var/log/vsftpd.log.
Please change it to /var/log/xferlog.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 15th December 2006, 06:48
bluethunder82 bluethunder82 is offline
Member
 
Join Date: Sep 2006
Posts: 92
Thanks: 0
Thanked 9 Times in 5 Posts
Default

Hi Falko, I have changed the location to /var/log/xferlog. The new log file is being populated when I upload/download files via ftp. However, the stats are still not being updated in the ispconfig interface. I'm not sure if it is relevant but last night at midnight the vsftpd.log.ispconfigsave file was updated but nothing for the xferlog. Would there be any other changes I need to do?
Reply With Quote
  #6  
Old 16th December 2006, 12:15
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

What's the output of
Code:
mysql -u root -p
mysql> USE <name of your ISPConfig database>;
mysql> SELECT * FROM isp_server;
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 18th December 2006, 02:15
bluethunder82 bluethunder82 is offline
Member
 
Join Date: Sep 2006
Posts: 92
Thanks: 0
Thanked 9 Times in 5 Posts
 
Default

Hi Falco, the output is fairly long but the part that you were looking for read:

vsftpd | /etc/vsftpd.conf | /var/log/vsftpd.log

I have changed the field entry (using phpmyadmin): /var/log/vsftpd.log -> /var/log/xferlog.

After the nighty log rotation the ftp usage was updated in the ispconfig interface. Thanks for the help.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Zone Transfer trouble. vbrookie Installation/Configuration 18 2nd June 2007 21:53
ftp problems tgansert Installation/Configuration 20 27th May 2006 20:06
WEB UI FTP not working gimhan90 Installation/Configuration 2 16th March 2006 09:03
Website users? ctroyp General 25 6th January 2006 19:02
FTP 101 the basics koegies Installation/Configuration 7 17th November 2005 16:55


All times are GMT +2. The time now is 05:59.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.