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 16th December 2009, 12:32
SupuS SupuS is offline
HowtoForge Supporter
 
Join Date: May 2006
Posts: 202
Thanks: 68
Thanked 14 Times in 12 Posts
Default ftp_logs.php kill proftpd server

Hi all

I have new install of Ubuntu Karmic 9.10 installed with using the perfect setup. Proftpd server is killed every night by ftp_logs.php.

Code:
Dec 15 23:59:01 www.example.com proftpd[12172] www.example.com: ProFTPD killed (signal 15)
Dec 15 23:59:01 www.example.com proftpd[12172] www.example.com: ProFTPD 1.3.2 standalone mode SHUTDOWN
When I run cron command I get:

Code:
# /root/ispconfig/php/php /root/ispconfig/scripts/shell/ftp_logs.php
grep: /var/log/xferlog.0: No such file or directory
and proftpd goes down.

Code:
# ls -l /var/log/ |grep xferlog
-rw-r--r-- 1 root      root          0 Dec 13 01:39 xferlog
Code:
# ls -l /var/log/proftpd/ |grep xferlog
-rw-r----- 1 root adm  248626 Dec 16 10:27 xferlog
-rw-r--r-- 1 root root    833 Dec 13 18:55 xferlog.1
Globally I have only one log file with 0 suffix:

Code:
# find /var/log -name "*.0"
/var/log/dmesg.0
and a lot of files with suffix 1 and higher:

Code:
# find /var/log -name "*.1"
/var/log/proftpd/xferlog.1
/var/log/proftpd/proftpd.log.1
/var/log/mail.info.1
/var/log/kern.log.1
/var/log/mail.err.1
/var/log/debug.1
/var/log/auth.log.1
/var/log/clamav/clamav.log.1
/var/log/clamav/freshclam.log.1
/var/log/apache2/access.log.1
/var/log/apache2/error.log.1
/var/log/apache2/other_vhosts_access.log.1
/var/log/mail.log.1
/var/log/daemon.log.1
/var/log/messages.1
/var/log/syslog.1
/var/log/mail.warn.1
/var/log/user.log.1
Where can I set file names which are checked by ftp_logs.php? Or is it better to set suffix in proftp logrotate config file by start directive?

Thanks

SupuS
Reply With Quote
Sponsored Links
  #2  
Old 17th December 2009, 08:05
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,381
Thanks: 833
Thanked 5,482 Times in 4,316 Posts
Default

I guess you will ahve to edit it directly in ftp_logs.php. Please add a bugreport in the bugtracker so we can check this for the next release.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 17th December 2009, 13:24
SupuS SupuS is offline
HowtoForge Supporter
 
Join Date: May 2006
Posts: 202
Thanks: 68
Thanked 14 Times in 12 Posts
Default

Quote:
Originally Posted by till View Post
I guess you will ahve to edit it directly in ftp_logs.php. Please add a bugreport in the bugtracker so we can check this for the next release.
I added task to bugtracker. Thanks.

SupuS
Reply With Quote
  #4  
Old 7th August 2010, 11:32
savago savago is offline
Member
 
Join Date: May 2008
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Skype™ to savago
Default

Quote:
Originally Posted by SupuS View Post
I added task to bugtracker. Thanks.

SupuS
I confirm that.this bug is working still now in 2.2.36
Reply With Quote
  #5  
Old 10th August 2010, 13:31
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

I've just fixed it.
__________________
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
  #6  
Old 11th August 2010, 13:45
savago savago is offline
Member
 
Join Date: May 2008
Posts: 45
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Skype™ to savago
Default

Quote:
Originally Posted by falko View Post
I've just fixed it.
And how we can fix/patch this ?
Reply With Quote
  #7  
Old 12th August 2010, 12:50
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
 
Default

Till will release ISPConfig 2.2.37 today. Just update your ISPConfig.
__________________
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
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
User unknown in relay recipient table Taxick Installation/Configuration 12 9th April 2013 12:31
Webmail problems with only one domain? compner Installation/Configuration 14 16th February 2010 16:59
Rejecting outbound mail tristanlee85 General 11 20th May 2007 17:04
Im thinking about throwing proftpd to the trashcan danf.1979 Installation/Configuration 2 23rd December 2005 09:27
Email - Ueb-Miau mazhar Installation/Configuration 5 21st December 2005 10:01


All times are GMT +2. The time now is 01:23.


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