Current time: 05-04-2024, 03:27 PM Hello There, Guest! (LoginRegister)


Post Reply 
FTP Statisiken (Funktionieren nicht)
Author Message
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #11
RE: FTP Statisiken (Funktionieren nicht)
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
10-09-2007 05:58 AM
Visit this user's website Find all posts by this user Quote this message in a reply
hendry Offline
Junior Member
*

Posts: 77
Joined: Jul 2007
Reputation: 0
Post: #12
RE: FTP Statisiken (Funktionieren nicht)
Ok, only xferlog is missing in my config. Changed it and restarted proftpd. Thumbs crossed Smile
10-09-2007 06:19 AM
Visit this user's website Find all posts by this user Quote this message in a reply
hendry Offline
Junior Member
*

Posts: 77
Joined: Jul 2007
Reputation: 0
Post: #13
RE: FTP Statisiken (Funktionieren nicht)
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
10-09-2007 07:09 AM
Visit this user's website Find all posts by this user Quote this message in a reply
hendry Offline
Junior Member
*

Posts: 77
Joined: Jul 2007
Reputation: 0
Post: #14
RE: FTP Statisiken (Funktionieren nicht)
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?
10-09-2007 02:15 PM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #15
RE: FTP Statisiken (Funktionieren nicht)
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
10-09-2007 03:41 PM
Visit this user's website Find all posts by this user Quote this message in a reply
hendry Offline
Junior Member
*

Posts: 77
Joined: Jul 2007
Reputation: 0
Post: #16
RE: FTP Statisiken (Funktionieren nicht)
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
10-09-2007 04:50 PM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #17
RE: FTP Statisiken (Funktionieren nicht)
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
10-09-2007 05:52 PM
Visit this user's website Find all posts by this user Quote this message in a reply
hendry Offline
Junior Member
*

Posts: 77
Joined: Jul 2007
Reputation: 0
Post: #18
RE: FTP Statisiken (Funktionieren nicht)
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
10-10-2007 12:02 AM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #19
RE: FTP Statisiken (Funktionieren nicht)
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
10-10-2007 12:21 AM
Visit this user's website Find all posts by this user Quote this message in a reply
hendry Offline
Junior Member
*

Posts: 77
Joined: Jul 2007
Reputation: 0
Post: #20
RE: FTP Statisiken (Funktionieren nicht)
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!
10-11-2007 04:10 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)