proftpd on raspberry -> illegal instruction

  • Hi all


    I tried to setup proftpd with omv-1.0.23 (latest image from sourceforge) on a raspberry.


    Out of the box it does not start up. It gives the following error message:
    root@openmediavault:/etc/proftpd# proftpd -n
    Illegal instruction


    If I disable mod_vroot by editing/commenting /etc/proftpd/proftpd.conf where vroot occours
    # LoadModule mod_vroot.c
    ...
    # <IfModule mod_vroot.c>
    # VRootEngine on
    # VRootLog /var/log/proftpd/vroot.log
    # </IfModule>


    and /etc/proftpd/virtuals.conf
    #<IfModule mod_vroot.c>
    #VRootEngine on


    #DefaultRoot ~
    #VRootAlias upload /var/ftp/upload
    #
    #<VirtualHost a.b.c.d>
    #VRootEngine on
    #VRootServerRoot /etc/ftpd/a.b.c.d/
    #VRootOptions allowSymlinks
    #DefaultRoot ~
    #</VirtualHost>
    #
    #</IfModule>



    Then proftpd works:
    root@openmediavault:/etc/proftpd# proftpd -n
    openmediavault proftpd[11628] 127.0.1.1: ProFTPD 1.3.4a (maint) (built Sat Oct 18 2014 15:39:50 UTC) standalone mode STARTUP


    mod-vroot comes from the openmediavault repo
    http://packages.openmediavault…main/p/proftpd-mod-vroot/


    It seems that the package was compiled with options not supported by raspberry pi.


    How can we rebuild this package that it does not give anymore this issue and so work out of the box?


    Best,
    Reinhard

    • Offizieller Beitrag

    I will compile a package in a little bit...

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


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


    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!

    • Offizieller Beitrag

    Download from here

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


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


    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!

  • With the new package it works.


    Thanks a lot.
    rnd


    Currently logged in users:
    15637 pi [ 9m56s] 0m28s idle
    client: 192.168.1.215 [192.168.1.215]
    server: ::ffff:192.168.1.152:21 (pi)
    protocol: ftp
    location: /


    Service class - 1 user

    • Offizieller Beitrag

    None. I just compiled your packages directly on the RPi. While it is armhf, it doesn't have hardware floating point. Lots of packages don't need it but I guess proftpd-mod-vroot does. I was going to notify you of this once he tested it. You were too fast :)

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


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


    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!

Jetzt mitmachen!

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