ispCP - Board - Support
FTP Statisiken (Funktionieren nicht) - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega International Area (/forum-22.html)
+--- Forum: German Corner (/forum-26.html)
+--- Thread: FTP Statisiken (Funktionieren nicht) (/thread-1361.html)

Pages: 1 2 3


RE: FTP Statisiken (Funktionieren nicht) - BeNe - 10-09-2007 05:58 AM

Of course,
check your proftpd.conf about the Global and set the Logs here like this
Code:
<Global>
  RootLogin                             off
  TransferLog                   /var/log/proftpd/xferlog
  ExtendedLog                   /var/log/proftpd/ftp_traff.log read,write traff
  PathDenyFilter                "\.quota$"
</Global>

Greez BeNe


RE: FTP Statisiken (Funktionieren nicht) - hendry - 10-09-2007 06:19 AM

Ok, only xferlog is missing in my config. Changed it and restarted proftpd. Thumbs crossed Smile


RE: FTP Statisiken (Funktionieren nicht) - hendry - 10-09-2007 07:09 AM

Any idea when FTP traffic statistics are being generated? If it's every half an hour then it still isn't generation the statistics right


RE: FTP Statisiken (Funktionieren nicht) - hendry - 10-09-2007 02:15 PM

Checked this morning again. No FTP statistics are being generated. I edited the configfile at /etc/proftpd . This is the right one? Is there a seperate CRON that has to be run to generate FTP statistics?


RE: FTP Statisiken (Funktionieren nicht) - BeNe - 10-09-2007 03:41 PM

If you use Sarge /etc/proftpd.conf and under Etch /etc/proftpd/proftpd.conf.
There will be no Statistic for the past. Because there was no Logfile before.

Greez BeNe


RE: FTP Statisiken (Funktionieren nicht) - hendry - 10-09-2007 04:50 PM

BeNe Wrote:If you use Sarge /etc/proftpd.conf and under Etch /etc/proftpd/proftpd.conf.
There will be no Statistic for the past. Because there was no Logfile before.
Well, I'm using the right configfile then. Any idea when FTP stats are being generated? I used FTP after changing the settings, but this is not shown in the admin panel


RE: FTP Statisiken (Funktionieren nicht) - BeNe - 10-09-2007 05:52 PM

The Cron should start the scripts every half hour
Code:
# Traffic
0,30    *       *       *       *  root /var/www/ispcp/engine/traffic/ispcp-srv-traff &>/var/log/ispcp/ispcp-srv-traff.log
0,30    *       *       *       *  root /var/www/ispcp/engine/traffic/ispcp-vrl-traff &>/var/log/ispcp/ispcp-vrl-traff.log
15,45   *       *       *       *  root /var/www/ispcp/engine/traffic/ispcp-vrl-traff-correction &>/var/log/ispcp/ispcp-vrl-traff-correction.log

Start them manuel and check i again - for testing.

Greez BeNe


RE: FTP Statisiken (Funktionieren nicht) - hendry - 10-10-2007 12:02 AM

I have run them by hand, but still no statistics for FTP.

BeNe Wrote:
Code:
TransferLog                   /var/log/proftpd/xferlog
  ExtendedLog                   /var/log/proftpd/ftp_traff.log read,write traff
  PathDenyFilter                "\.quota$"
These files are available at /var/log/proftpd and also there is data in it containing the FTP information. It looks like ISPCP is not picking the files up when running the statistics. Any idea where to find in the config the place for the logfiles? Is one of the CRON jobs looking at the wrong place?

I now have the idea that one of my users is using all my traffic because of the quota's not used for FTP. Time is ticking now that my server is cut off.. Sad


RE: FTP Statisiken (Funktionieren nicht) - BeNe - 10-10-2007 12:21 AM

Take a look at your /etc/ispcp/ispcp.conf and check the FTP_TRAFF_LOG and DIR
Code:
TRAFF_LOG_DIR = /var/log
FTP_TRAFF_LOG = /proftpd/ftp_traff.log

Hope this helps....

Greez BeNe


RE: FTP Statisiken (Funktionieren nicht) - hendry - 10-11-2007 04:10 AM

Yes! the FTP_TRAFF_LOG had the /proftpd not with it. Changed it and now FTP statistics are being logged. Now I'm going to see if my dataproblem is solved! Thank you very much for your patience!