Proftpd crash every night after cronjob

Discussion in 'Installation/Configuration' started by jorizzzz, Jun 18, 2010.

  1. jorizzzz

    jorizzzz New Member

    For the past few months, my proftpd crashes every night at the exact same time. Today i finally found the problem, but i hope somebody can help me with a solution.

    in the proftpd.log, i see this message:

    Code:
    localhost: ProFTPD killed (signal 15)
    localhost: ProFTPD 1.3.2c standalone mode SHUTDOWN
    
    I've been testing the cronjobs, and it seems that the job /root/ispconfig/scripts/shell/ftp_logs.php is crashing the problem..

    When i manually run the job, I can see the following error:

    Code:
    grep: /var/log/xferlog.0: No such file or directory
    
    Could anybody help me with this issue?

    Thank you!
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    What is the name of the FTP logfile on this server? Maybe it is not /var/log/xferlog and this causes the problems when the log is processed.
     
  3. jorizzzz

    jorizzzz New Member

    Hi Till,

    It is xferlog, only it is nog in /var/log/ but in /var/log/proftpd/
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Please take a look in ispconfig in the server settings, the path to the xferlog must be set there somewhere. Please change the path so that it matches the path on your system.
     
  5. jorizzzz

    jorizzzz New Member

    Till,

    There isn't a path to the xferlog. only a path to the proftpd config file, that path was wrong.. It was set to /etc/proftpd.conf but my system is using /etc/proftpd/proftpd.conf.

    I've changed the path, let's hope this is solved now.
     

Share This Page