Start ftp service error

  • There is no attempt to run the ftp service. An error appears.


    Error #0:OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; omv-salt deploy run proftpd 2>&1' with exit code '1': debian:---------- ID: configure_proftpd_mod_core Function: file.managed Name: /etc/proftpd/proftpd.conf Result: True Comment: File /etc/proftpd/proftpd.conf updated Started: 11:51:20.178820 Duration: 167.134 ms

    • Official Post

    Please provide more information how we can reproduce this, because i do not see any problems when testing this.

    My OMV 5 system is running the latest git code. To reproduce:


    Enable ftp in ftp settings tab by only checking Enable checkbox.
    Click Save
    Click Apply and get the follow error:

    omv 7.4.9-2 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.14 | compose 7.2.13 | k8s 7.3.1-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Official Post
    Quote

    proftpd[16533]: Starting ftp server: proftpdstart-stop-daemon: matching on world-writable pidfile /run/proftpd.pid is insecure

    Deleting the PID file seems to fix the problem. After that i do not see that the PID file is recreated, so i assume that the proftpd package has been changed some days ago and the old installed one has a different behaviour.

    • Official Post

    Deleting the PID file seems to fix the problem. After that i do not see that the PID file is recreated, so i assume that the proftpd package has been changed some days ago and the old installed one has a different behaviour.

    I can confirm that removing the PID file fixes the issue.

    omv 7.4.9-2 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.14 | compose 7.2.13 | k8s 7.3.1-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!