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 24th February 2009, 17:16
t-mug t-mug is offline
Member
 
Join Date: Jun 2007
Posts: 70
Thanks: 11
Thanked 6 Times in 5 Posts
Default no statistics for ftp

If I execute on CLI:
Code:
server:~# /root/ispconfig/php/php /root/ispconfig/scripts/shell/ftp_logs.php
then I get an error:
Code:
grep: /var/log/xferlog.0: file or folder not found
Otherwise the TransferLog variable in the proftpd.conf says:
Code:
TransferLog /var/log/proftpd/xferlog
and all the log files in fact residing there. This is the default config log path for proftpd by installation (Ubuntu, Debian).

All the stuff was working until November 2008. Starting at Dec. no statistics anymore. I guess, because of the path misconfiguration.

The perfect setup does not adjust the log path - so what to do?
Whithin the ISPConfig-Panel I cannot find a log path for Proftpd to configure. There is on the corresponding tab only the proftpd.conf path for adjustments available. Otherwise the ftp_logs.php seems to get the value from the $server["server_proftpd_log"] array key, which is obviously catched from the database.

Can anybody give me an advice what to do?
Reply With Quote
Sponsored Links
  #2  
Old 24th February 2009, 19:07
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,958
Thanks: 825
Thanked 5,362 Times in 4,209 Posts
Default

Change the location of the xferlog in your proftpd.conf file and restart proftpd.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 24th February 2009, 19:55
t-mug t-mug is offline
Member
 
Join Date: Jun 2007
Posts: 70
Thanks: 11
Thanked 6 Times in 5 Posts
 
Default

Quote:
Originally Posted by till View Post
Change the location of the xferlog in your proftpd.conf file and restart proftpd.
Thanks, it was my first thought as well. But how is it intended? The Perfect Setup does not change the path inside the /etc/proftpd.confg. And the "/var/log/xferlog" value seems hardcoded into the database.
Is the proftpd config file value changed by any ISPC script to "/var/log/xferlog" later then?

Sorry for my stupid questions, I appreciate your practical support. It is because I hate driving while seeing nothing. I try to understand how a configured behaviour of proftpd suddenly can change and how to make my settings more reliable.
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
debian etch courier pop3 issue docean Installation/Configuration 6 20th March 2008 15:38
Reseller statistics cryptic Feature Requests 4 27th August 2007 18:29
Traffic Statistics Not Working tsj5j Installation/Configuration 11 21st February 2007 22:38
Email Statistics for Postfix on ISPConfig rafaelenrike Feature Requests 5 7th April 2006 19:00
Webalizer - Usage by Country statistics leno Installation/Configuration 3 28th April 2005 18:12


All times are GMT +2. The time now is 12:16.


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