FTP not starting after reboot.

  • When I enable FTP from GUI, FTP works fine.

    When I reboot my Debian FTP is not anymoe started (RED in the table) and ProFTPD FTP Server fails to start;


    The problem is here since my first install and I need to restart manually every time.

  • My version is 6.0.37-1 (Shaitan).


    If I use that command FTP starts but if I reboot the problem is again there.


    The point here is that the path

    Code
    /run/proftpd/ban.tab

    is not existing in the system after reboot

  • got same problem.


    omv-salt deploy run proftpd - solves the issue, but after OMV restart proftpd not launching again, so i`m thinking to add omv-salt deploy run proftpd in cron on @reboot

    • Offizieller Beitrag

    Do have this file?


    /srv/salt/omv/deploy/proftpd/default.sls


    and does it contain this section?

  • After having sent

    Code
    omv-salt deploy run proftpd

    the folder /run/proftpd is created but after reboot it is not anymore present:

    Code
    root@debian:/run# ls
    .              blkid            credentials        dmeventd-client  initramfs  minidlna      mysqld           php           rpcbind.sock     shm                sudo        user
    ..             blkmapd.pid      crond.pid          dmeventd-server  lock       monit.pid     network          redis         rrdcached.pid    snapd-snap.socket  sysconfig   utmp
    agetty.reload  chrony           crond.reboot       esekeyd.pid      log        monit.sock    nginx.pid        rpc_pipefs    rrdcached.sock   snapd.socket       systemd     wsdd
    apache2        chrony-dhcp      dbus               fsck             lvm        motd.dynamic  ntp.conf.dhcp    rpcbind       samba            sshd               tmpfiles.d
    avahi-daemon   collectd.socket  dhclient.eth0.pid  initctl          mdadm      mount         omv-engined.pid  rpcbind.lock  sendsigs.omit.d  sshd.pid           udev

    Yes, the file /srv/salt/omv/deploy/proftpd/default.sls exists:


    I do not understand why after reboot it is not available.

  • got same problem.


    omv-salt deploy run proftpd - solves the issue, but after OMV restart proftpd not launching again, so i`m thinking to add omv-salt deploy run proftpd in cron on @reboot

    This is not the right solution even if it should work in rc.local.

    There should be a config file on OMV that is not set correctly and at reboot this folder is not created.

    • Offizieller Beitrag

    Yes, can confirmed that in a virtual machine. Without ban rule everything is working, but with a ban rule the service does not start.

    Code
    mod_ban/0.8: unable to open BanTable '/run/proftpd/ban.tab': No such file or directory

    Would you create an issue on github?


    https://github.com/openmediavault/openmediavault/issues

  • update is available now

    Code
    via the CLI command 'omv-upgrade'

    and the issue is solved : after reboot FTP service is available.


    Now when I enter in dignastic for FTP service I get an error:

    Code
    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; ftpdctl -s /run/proftpd/proftpd.sock ban info -v -e 2>&1' with exit code '1': no users connected ftpdctl: error contacting server using '/run/proftpd/proftpd.sock': No such file or directory

    diagnostic for smb and ssh is ok instead and all the rest looks ok.


    I seems that:

    Code
    /run/proftpd/proftpd.sock

    does not exists.


    Code
    root@debian:/run# ls
    .              blkmapd.pid      crond.reboot       faillock   lvm           mount            php                     rpc_pipefs      samba              sshd.pid    user
    ..             chrony           dbus               fsck       mdadm         mysqld           proftpd.ban.tab         rpcbind         sendsigs.omit.d    sudo        utmp
    agetty.reload  chrony-dhcp      dhclient.eth0.pid  initctl    minidlna      network          proftpd.pid             rpcbind.lock    shm                sysconfig   wsdd
    apache2        collectd.socket  dmeventd-client    initramfs  monit.pid     nginx.pid        proftpd.scoreboard      rpcbind.sock    snapd-snap.socket  systemd
    avahi-daemon   credentials      dmeventd-server    lock       monit.sock    ntp.conf.dhcp    proftpd.scoreboard.lck  rrdcached.pid   snapd.socket       tmpfiles.d
    blkid          crond.pid        esekeyd.pid        log        motd.dynamic  omv-engined.pid  redis                   rrdcached.sock  sshd               udev
  • Fixed in openmediavault 6.0.39, see https://github.com/openmediava…bb95d932a6f74ec051b27fb90.

    This upgrade is still not available with omv-upgrade:

    • Offizieller Beitrag

    This upgrade is still not available with omv-upgrade:

    Please be patience, updates will be released asap and based on their importance. The issue you are talking about has lower priority because it is not mission critical.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!