FTP Server problem

  • Hallo zusammen
    Ich hoffe diesmal bin ich im richtigen Bereich des Forums :)
    Ich habe nach einer Anleitung den FTP-Server ProFTPd installiert leider startet er nicht. Bin was Linux / Raspberian anbelangt noch Newby und daher auf die Tutorials angewiesen ......
    Ausserdem ein alter Knochen und daher nicht mehr ganz so gut in der Auffassung von Neuem;) Ich bitte daher um Nachsicht.

    Folgende Meldungen bekomme ich vom FTP-Programm

    pi@xyz:~ $ sudo /etc/init.d/proftpd
    Usage: /etc/init.d/proftpd {start|status|force-start|stop|force-stop|reload|restart|force-reload|check-config}
    pi@xyz:~ $ sudo /etc/init.d/proftpd status
    ● proftpd.service - LSB: Starts ProFTPD daemon
    Loaded: loaded (/etc/init.d/proftpd)
    Active: failed (Result: exit-code) since Di 2016-11-15 22:53:13 CET; 4min 12s ago
    Process: 536 ExecStart=/etc/init.d/proftpd start (code=exited, status=1/FAILURE)

    Nov 15 22:53:10 xyz systemd[1]: Starting LSB: Starts ProFTPD daemon...
    Nov 15 22:53:12 xyz proftpd[536]: Starting ftp server: proftpderror: u...on
    Nov 15 22:53:13 xyz proftpd[536]: 2016-11-15 22:53:13,197 xyz pro...en
    Nov 15 22:53:13 xyz proftpd[536]: 2016-11-15 22:53:13,197 xyz pro...f'
    Nov 15 22:53:13 xyz proftpd[536]: failed!
    Nov 15 22:53:13 xyz systemd[1]: proftpd.service: control process exite...=1
    Nov 15 22:53:13 xyz systemd[1]: Failed to start LSB: Starts ProFTPD daemon.
    Nov 15 22:53:13 xyz systemd[1]: Unit proftpd.service entered failed state.
    Hint: Some lines were ellipsized, use -l to show in full.
    pi@xyz:~ $ sudo /etc/init.d/proftpd start
    [....] Starting proftpd (via systemctl): proftpd.serviceJob for proftpd.service failed. See 'systemctl status proftpd.service' and 'journalctl -xn' for details.
    failed!
    pi@xyz:~ $ systemctl status proftpd.service
    ● proftpd.service - LSB: Starts ProFTPD daemon
    Loaded: loaded (/etc/init.d/proftpd)
    Active: failed (Result: exit-code) since Di 2016-11-15 22:57:57 CET; 42s ago
    Process: 1674 ExecStart=/etc/init.d/proftpd start (code=exited, status=1/FAILURE)
    pi@xyz:~ $ systemctl status proftpd.journalctl -xn
    systemctl: Ungültige Option -- x
    pi@xyz:~ $ systemctl status proftpd.journalctl -n
    systemctl: Diese Option benötigt ein Argument -- »n«
    pi@xyz:~ $ systemctl status proftpd.journalctl --xn
    systemctl: Unbekannte Option »--xn«
    pi@xyz:~ $ systemctl status proftpd.journalctl
    ● proftpd.journalctl.service
    Loaded: not-found (Reason: No such file or directory)
    Active: inactive (dead)
    pi@xyz:~ $
    pi@xyz:~ $ sudo apt-get install proftpd-basic
    Paketlisten werden gelesen... Fertig
    Abhängigkeitsbaum wird aufgebaut.
    Statusinformationen werden eingelesen.... Fertig
    proftpd-basic ist schon die neueste Version.
    0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.

    Für eine erschöpfende Hilfe wäre ich sehr dankbar.

    Zum Projekt das ich vor habe...
    Eine Gewächshaus und Haussteuerung was der Rechenzwerg erledigen soll da mit die Industireteile nicht flexibel genug sind aussdem sehe ich etwas Spass dabei etwas Neues zu lernen

    Gruss aus Schweden
    Jörg

  • Code
    pi@xyz:~ $ systemctl status proftpd.service
    ● proftpd.service - LSB: Starts ProFTPD daemon
       Loaded: loaded (/etc/init.d/proftpd)
       Active: failed (Result: exit-code) since Di 2016-11-15 22:57:57 CET; 42s ago
      Process: 1674 ExecStart=/etc/init.d/proftpd start (code=exited, status=1/FAILURE)

    Wie sind auf deinem PI, die Ausgaben von:

    Code
    systemctl list-units --all | grep -i proftpd
    systemctl is-enabled proftpd


    ?


  • Das steht komplett bei

    Code
    Nov 15 22:53:12 xyz proftpd[536]: Starting ftp server: proftpderror: u...on


    Denn hier steht, was für ein Problem besteht


    Öhm ....
    Danke für den Hinweis ....
    Und das heisst ?

    LG
    Jörg
    Automatisch zusammengefügt:

    Wie sind auf deinem PI, die Ausgaben von:

    Code
    systemctl list-units --all | grep -i proftpd
    systemctl is-enabled proftpd


    ?

    Hej
    Da kommt folgendes

    pi@xyz:~ $ systemctl list-units --all | grep -i proftpd
    ● proftpd.service loaded failed failed LSB: Starts ProFTPD daemon
    pi@xyz:~ $ systemctl is-enabled proftpd
    Failed to get unit file state for proftpd.service: No such file or directory
    LG
    Jörg
    Automatisch zusammengefügt:

    Ich nehme mal an das eine Verzeichnis oder eine Datei fehlt nur ist mir nicht klar was oder welche

    Edited once, last by JMGSE (November 16, 2016 at 1:26 PM).

  • Code
    pi@xyz:~ $ systemctl is-enabled proftpd
    Failed to get unit file state for proftpd.service: No such file or directory

    Ist das jessie auf deinem PI eine Neuinstallation, oder ein upgrade von wheezy?

    EDIT:

    Evtl auch die Ausgabe von:

    Code
    systemctl status proftpd -l


    posten.

    Wi-Fi_Signal_Strength  txpower
    iptables chains order scheme iptables-diagram
    nftables-diagram

    Meine PIs

    PI4B/8GB (border device) FreeBSD 15.0R-p4 (arm64): SSH-Server, WireGuard-Server, ircd-hybrid-Server, Mumble-Server

    PI4B/4GB FreeBSD 14.4R-p0 (arm64): SSH-Serv., WireGuard-Serv., ngircd-Serv., Mumble-Serv., ddclient

    PI4B/8GB Bookworm-lite (64bit; modifiziert): SSH-Server, WireGuard-Server, ircd-hybrid-Server, Mumble-Server, botamusique, ample

    Edited once, last by rpi444 (November 16, 2016 at 1:37 PM).

  • Ist das jessie auf deinem PI eine Neuinstallation, oder ein upgrade von wheezy?

    EDIT:

    Evtl auch die Ausgabe von:

    Code
    systemctl status proftpd -l


    posten.


    Gute Frage, Jessie ist es wohl jetzt habe es mit NOOBS installiert. Bei Updates wurden dann Jessie Dateien heran gezogen
    Hier die Ausgabe der von Dir vorgeschlagenen Abfrage
    pi@xyz:~ $ systemctl status proftpd -l
    ● proftpd.service - LSB: Starts ProFTPD daemon
    Loaded: loaded (/etc/init.d/proftpd)
    Active: failed (Result: exit-code) since Di 2016-11-15 22:57:57 CET; 21h ago
    Process: 1674 ExecStart=/etc/init.d/proftpd start (code=exited, status=1/FAILURE)

    Danke zunächst einmal für die tolle Unterstützung
    Jörg
    Automatisch zusammengefügt:

    Code
    get unit file state for proftpd.service: No such file or directory

    sagt ja, dass er die Beschreibung nicht findet, die für den Start benötigt wird.

    Was sagt eigentlich

    Code
    systemctl enable proftpd


    ??

    Auch Dir zunächst herzlichen Dank

    Die Antwort auf die Anfrage
    pi@xyz:~ $ systemctl enable proftpd
    Synchronizing state for proftpd.service with sysvinit using update-rc.d...
    Executing /usr/sbin/update-rc.d proftpd defaults

    insserv: fopen(.depend.stop): Permission denied
    Failed to execute operation: Access denied
    Executing /usr/sbin/update-rc.d proftpd enable
    insserv: fopen(.depend.stop): Permission denied
    Failed to execute operation: Access denied

    Das sieht nun wieder nach fehlenden Rechten aus. :(

    Gruss aus Schweden
    Jörg

    Edited once, last by JMGSE (November 16, 2016 at 9:36 PM).

  • Quote

    Aber etwas anderes wo kann ich definieren das ich per FTP rootzugriff habe ?


    Hoffentlich nirgendwo.
    Du willst ftp nicht als root benutzen, eigentlich willst du nicht mal ftp benutzen (Stichwort: sftp).
    Und wenn du doch unbedingt ftp nutzen willst, übertrage deine Dateien als User und verschiebe sie später als root (per ssh-session).

    Wenn du nichts zu sagen hast, sag einfach nichts.

Participate now!

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