ftp_logs.php kill proftpd server

Discussion in 'General' started by SupuS, Dec 16, 2009.

  1. SupuS

    SupuS HowtoForge Supporter

    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.

    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:

    # /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.

    # ls -l /var/log/ |grep xferlog
    -rw-r--r-- 1 root      root          0 Dec 13 01:39 xferlog
    # 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:

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

    # find /var/log -name "*.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?


  2. till

    till Super Moderator

    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.
  3. SupuS

    SupuS HowtoForge Supporter

    I added task to bugtracker. Thanks.

  4. savago

    savago New Member

    I confirm that.this bug is working still now in 2.2.36
  5. falko

    falko Super Moderator

    I've just fixed it.
  6. savago

    savago New Member

    And how we can fix/patch this ?
  7. falko

    falko Super Moderator

    Till will release ISPConfig 2.2.37 today. Just update your ISPConfig.

Share This Page