proftpd shutdown but no restart

Discussion in 'Installation/Configuration' started by jmroth, Oct 25, 2006.

  1. jmroth

    jmroth ISPConfig Developer ISPConfig Developer

    Hi there,
    it happened to me 2 or 3 times now that proftp just shut down at 23:59 without ever coming back up. :( Thankfully there's nagios...

    Oct 24 23:59:02 matrix proftpd[4668]: localhost.localdomain - ProFTPD 1.2.10 standalone mode SHUTDOWN
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    If you run:

    /etc/init.d/proftp restart


    /etc/init.d/proftp stop
    /etc/init.d/proftp start

    does proftpd come up properly again? (The script might be named proftpd on your system).
  3. jmroth

    jmroth ISPConfig Developer ISPConfig Developer

    Yeah sure it sometimes just takes a moment when doing a restart, maybe I'll troubleshoot that. As I said, nothing too bad here, just 2 or 3 times it didn't work in the last 6 months...

    # date; /etc/init.d/proftpd restart; date             
    Wed Oct 25 11:31:10 CEST 2006
    Restarting ProFTPD ftp daemon.proftpd.
    .. - setting default address to
    Wed Oct 25 11:31:45 CEST 2006
  4. falko

    falko Super Moderator ISPConfig Developer

    You can check the proftpd init script. Sometimes it helps to put something like
    sleep 3
    in the restart section (after stop and before start).

    You could also install monit, it willl start a service if it notices it's down:

Share This Page