Titel: sh: line 1: /etc/init.d/proftpd: No such file or directory Beitrag von: triali am 19. Juni 2003, 20:03:49 Hallo zusammen
Nach langer suche fand ich doch noch ein rpm für Suse ... :-) Mein System ist Suse 8.2 Der FTP ist der ProFTPd version 1.25 Jedoch wenn ich in starten will ( mit Webmin ) bekomme ich die Fehlermeldung: sh: line 1: /etc/init.d/proftpd: No such file or directory Was kann ich tun? .... Danke für die Antworten ... :wink: Titel: Re: sh: line 1: /etc/init.d/proftpd: No such file or directo Beitrag von: stonki am 19. Juni 2003, 20:26:17 Zitat von: "triali" Hallo zusammen Nach langer suche fand ich doch noch ein rpm für Suse ... :-) Mein System ist Suse 8.2 Der FTP ist der ProFTPd version 1.25 Jedoch wenn ich in starten will ( mit Webmin ) bekomme ich die Fehlermeldung: sh: line 1: /etc/init.d/proftpd: No such file or directory Was kann ich tun? .... Danke für die Antworten ... :wink: EINE AKTUELLE PROFTPD VERSION installieren und selber kompilieren. Die ganzen RPMs fuer SuSE (einschliesslich meiner Versuche) waren alle nicht das gelbe vom Ei !! cu stonki Titel: sh: line 1: /etc/init.d/proftpd: No such file or directory Beitrag von: triali am 19. Juni 2003, 20:32:37 Und was mach ich mit diesen tar files ....
./configure funtzt make funtzt nicht make install funtzt auch nicht ... :evil: Unter RedHat was das alles kein Problem, aber Suse 8.2 bringt mich noch um .... :shock: Titel: sh: line 1: /etc/init.d/proftpd: No such file or directory Beitrag von: stonki am 19. Juni 2003, 20:42:02 Zitat von: "triali" Und was mach ich mit diesen tar files .... ./configure funtzt make funtzt nicht make install funtzt auch nicht ... :evil: Unter RedHat was das alles kein Problem, aber Suse 8.2 bringt mich noch um .... :shock: was sagt den make ...... lass Dir doch nicht alles aus der Nase ziehen ! :?! Titel: sh: line 1: /etc/init.d/proftpd: No such file or directory Beitrag von: triali am 19. Juni 2003, 21:00:33 # make
echo \#define BUILD_STAMP \"`date`\" >include/buildstamp.h cd lib/ && make lib make[1]: Entering directory `/home/triali/proftp/proftpd-1.2.8/lib' gcc -DLINUX -I.. -I../include -O2 -Wall -c pr_fnmatch.c gcc -DLINUX -I.. -I../include -O2 -Wall -c strsep.c gcc -DLINUX -I.. -I../include -O2 -Wall -c vsnprintf.c gcc -DLINUX -I.. -I../include -O2 -Wall -c glibc-glob.c gcc -DLINUX -I.. -I../include -O2 -Wall -c glibc-mkstemp.c gcc -DLINUX -I.. -I../include -O2 -Wall -c pr-syslog.c gcc -DLINUX -I.. -I../include -O2 -Wall -c pwgrent.c gcc -DLINUX -I.. -I../include -O2 -Wall -c getopt.c gcc -DLINUX -I.. -I../include -O2 -Wall -c getopt1.c ar rc libsupp.a pr_fnmatch.o strsep.o vsnprintf.o glibc-glob.o glibc-mkstemp.o pr-syslog.o pwgrent.o getopt.o getopt1.o ranlib libsupp.a make[1]: Leaving directory `/home/triali/proftp/proftpd-1.2.8/lib' cd src/ && make src make[1]: Entering directory `/home/triali/proftp/proftpd-1.2.8/src' gcc -DLINUX -I.. -I../include -O2 -Wall -c main.c main.c: In function `cmd_loop': main.c:772: warning: comparison between signed and unsigned main.c: In function `daemon_loop': main.c:1473: warning: comparison between signed and unsigned main.c:1491: warning: comparison between signed and unsigned gcc -DLINUX -I.. -I../include -O2 -Wall -c timers.c gcc -DLINUX -I.. -I../include -O2 -Wall -c sets.c gcc -DLINUX -I.. -I../include -O2 -Wall -c pool.c pool.c: In function `__walk_pools': pool.c:253: warning: comparison between signed and unsigned gcc -DLINUX -I.. -I../include -O2 -Wall -c regexp.c regexp.c: In function `regexp_cleanup': regexp.c:45: warning: comparison between signed and unsigned regexp.c: In function `pr_regexp_free': regexp.c:102: warning: comparison between signed and unsigned gcc -DLINUX -I.. -I../include -O2 -Wall -c dirtree.c dirtree.c: In function `define_exists': dirtree.c:363: warning: comparison between signed and unsigned dirtree.c: In function `match_ip': dirtree.c:1359: warning: comparison between signed and unsigned dirtree.c:1360: warning: signed and unsigned type in conditional expression dirtree.c: In function `_check_limits': dirtree.c:1729: warning: comparison between signed and unsigned dirtree.c:1734: warning: comparison between signed and unsigned dirtree.c: In function `_find_best_dir': dirtree.c:2346: warning: comparison between signed and unsigned dirtree.c:2350: warning: comparison between signed and unsigned dirtree.c: In function `get_full_cmd': dirtree.c:3176: warning: comparison between signed and unsigned gcc -DLINUX -I.. -I../include -O2 -Wall -c support.c support.c: In function `access_check': support.c:516: warning: comparison between signed and unsigned gcc -DLINUX -I.. -I../include -O2 -Wall -c inet.c gcc -DLINUX -I.. -I../include -O2 -Wall -c log.c log.c: In function `log': log.c:437: warning: comparison between signed and unsigned gcc -DLINUX -I.. -I../include -O2 -Wall -c bindings.c bindings.c: In function `pr_ipbind_close': bindings.c:249: warning: comparison between signed and unsigned bindings.c:283: warning: comparison between signed and unsigned bindings.c: In function `pr_ipbind_create': bindings.c:318: warning: comparison between signed and unsigned bindings.c: In function `pr_ipbind_open': bindings.c:526: warning: comparison between signed and unsigned bindings.c: In function `pr_namebind_create': bindings.c:588: warning: comparison between signed and unsigned bindings.c: In function `pr_namebind_find': bindings.c:663: warning: comparison between signed and unsigned gcc -DLINUX -I.. -I../include -O2 -Wall -c scoreboard.c gcc -DLINUX -I.. -I../include -O2 -Wall -c feat.c feat.c: In function `pr_add_feat': feat.c:49: warning: comparison between signed and unsigned feat.c: In function `pr_get_next_feat': feat.c:67: warning: comparison between signed and unsigned gcc -DLINUX -I.. -I../include -O2 -Wall -c netio.c netio.c: In function `pr_netio_read': netio.c:648: warning: comparison between signed and unsigned netio.c: In function `pr_netio_gets': netio.c:758: warning: comparison between signed and unsigned netio.c: In function `pr_netio_telnet_gets': netio.c:824: warning: comparison between signed and unsigned gcc -DLINUX -I.. -I../include -O2 -Wall -c response.c gcc -DLINUX -I.. -I../include -O2 -Wall -c ident.c gcc -DLINUX -I.. -I../include -O2 -Wall -c data.c gcc -DLINUX -I.. -I../include -O2 -Wall -c modules.c gcc -DLINUX -I.. -I../include -O2 -Wall -c auth.c gcc -DLINUX -I.. -I../include -O2 -Wall -c fsio.c fsio.c: In function `pr_unregister_fs': fsio.c:589: warning: comparison between signed and unsigned fsio.c:607: warning: comparison between signed and unsigned fsio.c: In function `pr_get_fs': fsio.c:671: warning: comparison between signed and unsigned fsio.c: In function `pr_fs_interpolate': fsio.c:1017: warning: comparison between signed and unsigned fsio.c:1017: warning: signed and unsigned type in conditional expression fsio.c:1030: warning: comparison between signed and unsigned fsio.c:1030: warning: signed and unsigned type in conditional expression fsio.c:1058: warning: comparison between signed and unsigned fsio.c: In function `pr_fsio_chroot': fsio.c:2321: warning: comparison between signed and unsigned fsio.c: In function `pr_fsio_gets': fsio.c:2376: warning: comparison between signed and unsigned fsio.c: In function `pr_resolve_fs_map': fsio.c:2515: warning: comparison between signed and unsigned gcc -DLINUX -I.. -I../include -O2 -Wall -c mkhome.c make[1]: Leaving directory `/home/triali/proftp/proftpd-1.2.8/src' cd modules/ && make modules make[1]: Entering directory `/home/triali/proftp/proftpd-1.2.8/modules' gcc -DLINUX -I.. -I../include -O2 -Wall -c mod_core.c mod_core.c: In function `set_rlimitmemory': mod_core.c:1046: warning: comparison between signed and unsigned mod_core.c:1049: warning: comparison between signed and unsigned mod_core.c:1061: warning: comparison between signed and unsigned mod_core.c:1064: warning: comparison between signed and unsigned mod_core.c:1096: warning: comparison between signed and unsigned mod_core.c:1099: warning: comparison between signed and unsigned mod_core.c:1111: warning: comparison between signed and unsigned mod_core.c:1114: warning: comparison between signed and unsigned mod_core.c: In function `set_authorder': mod_core.c:2253: warning: comparison between signed and unsigned mod_core.c: In function `core_sess_init': mod_core.c:3796: warning: comparison between signed and unsigned gcc -DLINUX -I.. -I../include -O2 -Wall -c mod_xfer.c gcc -DLINUX -I.. -I../include -O2 -Wall -c mod_auth_unix.c gcc -DLINUX -I.. -I../include -O2 -Wall -c mod_auth_file.c mod_auth_file.c: In function `set_authgroupfile': mod_auth_file.c:941: warning: comparison between signed and unsigned mod_auth_file.c: In function `set_authuserfile': mod_auth_file.c:1042: warning: comparison between signed and unsigned gcc -DLINUX -I.. -I../include -O2 -Wall -c mod_auth.c mod_auth.c: In function `auth_count_scoreboard': mod_auth.c:1527: warning: comparison between signed and unsigned mod_auth.c:1549: warning: comparison between signed and unsigned mod_auth.c:1570: warning: comparison between signed and unsigned mod_auth.c:1590: warning: comparison between signed and unsigned mod_auth.c: In function `auth_pass': mod_auth.c:1820: warning: comparison between signed and unsigned mod_auth.c: In function `set_createhome': mod_auth.c:1996: warning: comparison between signed and unsigned gcc -DLINUX -I.. -I../include -O2 -Wall -c mod_ls.c mod_ls.c: In function `_find_ls_limit': mod_ls.c:103: warning: comparison between signed and unsigned mod_ls.c:113: warning: comparison between signed and unsigned mod_ls.c: In function `sortfiles': mod_ls.c:578: warning: comparison between signed and unsigned mod_ls.c: In function `dolist': mod_ls.c:1162: warning: comparison between signed and unsigned gcc -DLINUX -I.. -I../include -O2 -Wall -c mod_log.c gcc -DLINUX -I.. -I../include -O2 -Wall -c mod_site.c mod_site.c: In function `site_chgrp': mod_site.c:82: warning: comparison between signed and unsigned mod_site.c:120: warning: comparison between signed and unsigned mod_site.c: In function `site_chmod': mod_site.c:152: warning: comparison between signed and unsigned gcc -DLINUX -I.. -I../include -O2 -Wall -c mod_cap.c mod_cap.c: In function `set_caps': mod_cap.c:143: warning: comparison between signed and unsigned srcdir=. ./glue.sh mod_core.o mod_xfer.o mod_auth_unix.o mod_auth_file.o mod_auth.o mod_ls.o mod_log.o mod_site.o mod_cap.o gcc -DLINUX -I.. -I../include -O2 -Wall -c module_glue.c make[1]: Leaving directory `/home/triali/proftp/proftpd-1.2.8/modules' make[1]: Entering directory `/home/triali/proftp/proftpd-1.2.8/lib/libcap' => making cap_names.c from <linux/capability.h> cc -O2 -Wall -Llib _makenames.c -o _makenames ./_makenames > cap_names.h cc -O2 -Wall -c cap_alloc.c -o cap_alloc.o cc -O2 -Wall -c cap_proc.c -o cap_proc.o cc -O2 -Wall -c cap_extint.c -o cap_extint.o cap_extint.c: In function `cap_copy_ext': cap_extint.c:53: warning: comparison between signed and unsigned cap_extint.c:64: warning: comparison between signed and unsigned cap_extint.c: In function `cap_copy_int': cap_extint.c:111: warning: comparison between signed and unsigned cc -O2 -Wall -c cap_flag.c -o cap_flag.o cc -O2 -Wall -c cap_text.c -o cap_text.o cc -O2 -Wall -c cap_sys.c -o cap_sys.o ar rcu libcap.a cap_alloc.o cap_proc.o cap_extint.o cap_flag.o cap_text.o cap_sys.o make[1]: Leaving directory `/home/triali/proftp/proftpd-1.2.8/lib/libcap' gcc -Llib -o proftpd src/main.o src/timers.o src/sets.o src/pool.o src/regexp.o src/dirtree.o src/support.o src/inet.o src/log.o src/bindings.o src/scoreboard.o src/feat.o src/netio.o src/response.o src/ident.o src/data.o src/modules.o src/auth.o src/fsio.o src/mkhome.o modules/mod_core.o modules/mod_xfer.o modules/mod_auth_unix.o modules/mod_auth_file.o modules/mod_auth.o modules/mod_ls.o modules/mod_log.o modules/mod_site.o modules/mod_cap.o modules/module_glue.o -lsupp -lcrypt -Llib/libcap -lcap cd utils/ && make utils make[1]: Entering directory `/home/triali/proftp/proftpd-1.2.8/utils' gcc -DLINUX -I.. -I../include -O2 -Wall -c ftpcount.c gcc -DLINUX -I.. -I../include -O2 -Wall -c scoreboard.c gcc -DLINUX -I.. -I../include -O2 -Wall -c ftpshut.c gcc -DLINUX -I.. -I../include -O2 -Wall -c ftptop.c gcc -DLINUX -I.. -I../include -O2 -Wall -c ftpwho.c gcc -DLINUX -I.. -I../include -O2 -Wall -c misc.c make[1]: Leaving directory `/home/triali/proftp/proftpd-1.2.8/utils' gcc -o ftpcount utils/ftpcount.o utils/scoreboard.o gcc -o ftpshut utils/ftpshut.o gcc -Llib -o ftptop utils/ftptop.o utils/scoreboard.o -lncurses gcc -Llib -o ftpwho utils/ftpwho.o utils/scoreboard.o utils/misc.o -lsupp # make install cd lib/ && make lib make[1]: Entering directory `/home/triali/proftp/proftpd-1.2.8/lib' make[1]: Für das Ziel »lib« ist nichts zu tun. make[1]: Leaving directory `/home/triali/proftp/proftpd-1.2.8/lib' cd src/ && make src make[1]: Entering directory `/home/triali/proftp/proftpd-1.2.8/src' make[1]: Für das Ziel »src« ist nichts zu tun. make[1]: Leaving directory `/home/triali/proftp/proftpd-1.2.8/src' cd modules/ && make modules make[1]: Entering directory `/home/triali/proftp/proftpd-1.2.8/modules' make[1]: Für das Ziel »modules« ist nichts zu tun. make[1]: Leaving directory `/home/triali/proftp/proftpd-1.2.8/modules' make[1]: Entering directory `/home/triali/proftp/proftpd-1.2.8/lib/libcap' make[1]: Für das Ziel »all« ist nichts zu tun. make[1]: Leaving directory `/home/triali/proftp/proftpd-1.2.8/lib/libcap' gcc -Llib -o proftpd src/main.o src/timers.o src/sets.o src/pool.o src/regexp.o src/dirtree.o src/support.o src/inet.o src/log.o src/bindings.o src/scoreboard.o src/feat.o src/netio.o src/response.o src/ident.o src/data.o src/modules.o src/auth.o src/fsio.o src/mkhome.o modules/mod_core.o modules/mod_xfer.o modules/mod_auth_unix.o modules/mod_auth_file.o modules/mod_auth.o modules/mod_ls.o modules/mod_log.o modules/mod_site.o modules/mod_cap.o modules/module_glue.o -lsupp -lcrypt -Llib/libcap -lcap /usr/bin/install -c -s -o root -g root -m 0755 proftpd /usr/local/sbin/proftpd if [ -f /usr/local/sbin/in.proftpd ] ; then \ rm -f /usr/local/sbin/in.proftpd ; \ fi ln -s proftpd /usr/local/sbin/in.proftpd chown -h root:root /usr/local/sbin/in.proftpd /usr/bin/install -c -s -o root -g root -m 0755 ftpcount /usr/local/bin/ftpcount /usr/bin/install -c -s -o root -g root -m 0755 ftpshut /usr/local/sbin/ftpshut /usr/bin/install -c -s -o root -g root -m 0755 ftptop /usr/local/bin/ftptop /usr/bin/install -c -s -o root -g root -m 0755 ftpwho /usr/local/bin/ftpwho if [ ! -f /usr/local/etc/proftpd.conf ] ; then \ /usr/bin/install -c -o root -g root -m 0644 \ ./sample-configurations/basic.conf \ /usr/local/etc/proftpd.conf ; \ fi /usr/bin/install -c -o root -g root -m 0644 ./src/proftpd.8 /usr/local/man/man8 /usr/bin/install -c -o root -g root -m 0644 ./utils/ftpshut.8 /usr/local/man/man8 /usr/bin/install -c -o root -g root -m 0644 ./utils/ftpcount.1 /usr/local/man/man1 /usr/bin/install -c -o root -g root -m 0644 ./utils/ftptop.1 /usr/local/man/man1 /usr/bin/install -c -o root -g root -m 0644 ./utils/ftpwho.1 /usr/local/man/man1 /usr/bin/install -c -o root -g root -m 0644 ./src/xferlog.5 /usr/local/man/man5 Titel: sh: line 1: /etc/init.d/proftpd: No such file or directory Beitrag von: stonki am 19. Juni 2003, 21:06:04 und ? :??
ich sehe keine Fehler, es wird installiert. Was willste denn noch ? Titel: sh: line 1: /etc/init.d/proftpd: No such file or directory Beitrag von: triali am 19. Juni 2003, 21:22:16 Wieso findet den Webmin kein Proftpd mehr ..?
Titel: sh: line 1: /etc/init.d/proftpd: No such file or directory Beitrag von: Wörsty am 19. Juni 2003, 21:41:59 Zum Beispiel weil beim Selbstkompilieren kein Startscript installiert wird?
Guck mal hier: http://www.proftpd.de/index.php?id=15 Titel: sh: line 1: /etc/init.d/proftpd: No such file or directory Beitrag von: triali am 19. Juni 2003, 21:47:39 ok den tesxt vom script habe ich gefunden,
nur was mach ich jetzt damit? In initd ein File erstellen das Proftpd heisst ... ? Das z.b habe ich gemacht ... ( Wer weiss obs stimmt .. ) Dann bekomme ich beim startversuch permisson denied .. Und jetzt?? :roll: Titel: sh: line 1: /etc/init.d/proftpd: No such file or directory Beitrag von: Wörsty am 19. Juni 2003, 21:51:11 Probier mal
Code: chmod 755 proftpd :wait)Titel: sh: line 1: /etc/init.d/proftpd: No such file or directory Beitrag von: Anonymous am 19. Juni 2003, 22:01:06 Guuuut !! Du bist ja gar nicht so schlecht .... hehehe
( Sorry bin ziemlich mit den Nerven fertig ) Ok proftpd läuft suuuuuper ... :shock: Jetzt noch ne kleine Frage: Wie sperre ich einen User in sein Home Verzeichniss ein? Meine Proftpd config: ServerName "ichbins.ch" ServerIdent on "FTP Server ready." ServerAdmin info@ichbins.ch #ServerType standart DefaultServer on AccessGrantMsg "User %u logged in." #DisplayConnect /etc/ftpissue #DisplayLogin /etc/ftpmotd #DisplayGoAway /etc/ftpgoaway #DeferWelcome off # Use this to excude users from the chroot DefaultRoot ~ !adm TimeoutNoTransfer 600 TimeoutStalled 600 TimeoutIdle 1200 Port 21 Umask 002 002 maxInstances 30 User nobody Group nogroup AllowOverwrite no <Limit READ> DenyAll </Limit> <Limit STOR> AllowAll </Limit> # Don't write anonymous accesses to the system wtmp file (good idea!) WtmpLog off <VirtualHost kunde1.ch> DefaultRoot /home/www.kunde1.ch ServerName "www.kunde1.ch" </VirtualHost> <VirtualHost kunde2.ch> DefaultRoot /home/www.kunde2.ch </VirtualHost> <VirtualHost kunde3.ch> DefaultRoot /home/www.kunde3.ch </VirtualHost> <VirtualHost kunde4.ch> DefaultRoot /home/www.kunde4.ch </VirtualHost> usw .... Alle Domains laufen bei mir auf Apache .... Titel: sh: line 1: /etc/init.d/proftpd: No such file or directory Beitrag von: Wörsty am 19. Juni 2003, 22:03:55 MiniFAQ (http://www.proftpd.de/index.php?id=13) :RTFM
Titel: sh: line 1: /etc/init.d/proftpd: No such file or directory Beitrag von: Anonymous am 19. Juni 2003, 22:15:16 Variante A (klappt nicht )
ServerName "ichbins.ch" ServerIdent on "FTP Server ready." ServerAdmin info@ichbins.ch #ServerType standart DefaultServer on AccessGrantMsg "User %u logged in." #DisplayConnect /etc/ftpissue #DisplayLogin /etc/ftpmotd #DisplayGoAway /etc/ftpgoaway #DeferWelcome off # Use this to excude users from the chroot DefaultRoot ~ !adm TimeoutNoTransfer 600 TimeoutStalled 600 TimeoutIdle 1200 Port 21 Umask 002 002 maxInstances 30 User nobody Group nogroup AllowOverwrite no <Limit READ> DenyAll </Limit> <Limit STOR> AllowAll </Limit> # Don't write anonymous accesses to the system wtmp file (good idea!) WtmpLog off <VirtualHost kunde1.ch> DefaultRoot /home/www.kunde1.ch ServerName "www.kunde1.ch" </VirtualHost> <VirtualHost kunde2.ch> DefaultRoot /home/www.kunde2.ch </VirtualHost> <VirtualHost kunde3.ch> DefaultRoot /home/www.kunde3.ch </VirtualHost> <VirtualHost kunde4.ch> ServerName "ichbins.ch" ServerIdent on "FTP Server ready." ServerAdmin info@ichbins.ch #ServerType standart DefaultServer on AccessGrantMsg "User %u logged in." #DisplayConnect /etc/ftpissue #DisplayLogin /etc/ftpmotd #DisplayGoAway /etc/ftpgoaway #DeferWelcome off # Use this to excude users from the chroot DefaultRoot ~ !adm TimeoutNoTransfer 600 TimeoutStalled 600 TimeoutIdle 1200 Port 21 Umask 002 002 maxInstances 30 User nobody Group nogroup AllowOverwrite no <Limit READ> DenyAll </Limit> <Limit STOR> AllowAll </Limit> # Don't write anonymous accesses to the system wtmp file (good idea!) WtmpLog off <VirtualHost kunde1.ch> defaultroot ~ ServerName "www.kunde1.ch" </VirtualHost> <VirtualHost kunde2.ch> defaultroot ~ </VirtualHost> <VirtualHost kunde3.ch> defaultroot ~ </VirtualHost> <VirtualHost kunde4.ch> defaultroot ~ </VirtualHost> Veriante B (klappt auch nicht ) ServerName "ichbins.ch" ServerIdent on "FTP Server ready." ServerAdmin info@ichbins.ch #ServerType standart DefaultServer on AccessGrantMsg "User %u logged in." #DisplayConnect /etc/ftpissue #DisplayLogin /etc/ftpmotd #DisplayGoAway /etc/ftpgoaway #DeferWelcome off # Use this to excude users from the chroot DefaultRoot ~ !adm TimeoutNoTransfer 600 TimeoutStalled 600 TimeoutIdle 1200 Port 21 Umask 002 002 maxInstances 30 User nobody Group nogroup AllowOverwrite no <Limit READ> DenyAll </Limit> <Limit STOR> AllowAll </Limit> # Don't write anonymous accesses to the system wtmp file (good idea!) WtmpLog off <VirtualHost kunde1.ch> DefaultRoot /home/www.kunde1.ch ServerName "www.kunde1.ch" </VirtualHost> <VirtualHost kunde2.ch> DefaultRoot /home/www.kunde2.ch </VirtualHost> <VirtualHost kunde3.ch> DefaultRoot /home/www.kunde3.ch </VirtualHost> <VirtualHost kunde4.ch> DefaultRoot /home/www.kunde4.ch </VirtualHost> Wo ligt der Fehler?? :o/ Titel: sh: line 1: /etc/init.d/proftpd: No such file or directory Beitrag von: Wörsty am 19. Juni 2003, 22:20:10 Hatten wir das diese Woche nicht schon mal :??
Wo landest du denn immer? WAS geht denn nicht? Du weißt, dass alle kunden.ch andere IP's haben müssen? Titel: sh: line 1: /etc/init.d/proftpd: No such file or directory Beitrag von: Wörsty am 19. Juni 2003, 22:25:29 Mal ganz anders angefangen:
Wie viele "Kunden" hast du denn? Ich hätte da ja eine :idea: :lol: Titel: sh: line 1: /etc/init.d/proftpd: No such file or directory Beitrag von: Anonymous am 19. Juni 2003, 22:32:25 Bei RedHat, mit dieser Config funktionierte es aber!
Die grossen Provider haben auch nicht für jeden Kunden eine separate IP .... # This is the ProFTPD configuration file # $Id: proftpd.conf,v 1.3 2002/09/17 08:34:36 dude Exp $ ServerName "ichbins.ch" ServerIdent on "FTP Server ready." ServerAdmin info@ichbins.ch #ServerType standart DefaultServer on AccessGrantMsg "User %u logged in." #DisplayConnect /etc/ftpissue #DisplayLogin /etc/ftpmotd #DisplayGoAway /etc/ftpgoaway DeferWelcome off # Use this to excude users from the chroot DefaultRoot ~ !adm # Use pam to authenticate by default AuthPAMAuthoritative on # Do not perform ident nor DNS lookups (hangs when the port is filtered) IdentLookups off UseReverseDNS off # Port 21 is the standard FTP port. Port 21 # Umask 022 is a good standard umask to prevent new dirs and files # from being group and world writable. Umask 022 # Default to show dot files in directory listings LsDefaultOptions "-a" # See Configuration.html for these (here are the default values) #MultilineRFC2228 off #RootLogin off #LoginPasswordPrompt on #MaxLoginAttempts 3 #MaxClientsPerHost none #AllowForeignAddress off # For FXP # Allow to resume not only the downloads but the uploads too AllowRetrieveRestart on AllowStoreRestart on # To prevent DoS attacks, set the maximum number of child processes # to 30. If you need to allow more than 30 concurrent connections # at once, simply increase this value. Note that this ONLY works # in standalone mode, in inetd mode you should use an inetd server # that allows you to limit maximum number of processes per service # (such as xinetd) MaxInstances 20 # Set the user and group that the server normally runs at. User nobody Group nobody # This is where we want to put the pid file ScoreboardPath /var/run # Normally, we want users to do a few things. <Global> AllowOverwrite yes <Limit ALL SITE_CHMOD> AllowAll </Limit> </Global> # Define the log formats LogFormat default "%h %l %u %t \"%r\" %s %b" LogFormat auth "%v [%P] %h %t \"%r\" %s" # We want 'welcome.msg' displayed at login, '.message' displayed in # each newly chdired directory and tell users to read README* files. DisplayLogin /welcome.msg DisplayFirstChdir .message DisplayReadme README* # Some more cosmetic and not vital stuff DirFakeUser on ftpadm DirFakeGroup on ftpadm # Limit WRITE everywhere in the anonymous chroot <Limit WRITE SITE_CHMOD> DenyAll </Limit> # An upload directory that allows storing files but not retrieving # or creating directories. <Directory uploads/*> AllowOverwrite no <Limit READ> DenyAll </Limit> <Limit STOR> AllowAll </Limit> </Directory> # Don't write anonymous accesses to the system wtmp file (good idea!) WtmpLog off <VirtualHost kunde1.ch> DefaultRoot /home/www.kunde1.ch ServerName "www.kunde1.ch" </VirtualHost> <VirtualHost kunde2.ch> DefaultRoot /home/www.kunde2.ch </VirtualHost> <VirtualHost kunde3.ch> DefaultRoot /home/www.kunde3.ch </VirtualHost> <VirtualHost kunde4.ch> DefaultRoot /home/www.kunde4.ch </VirtualHost> Titel: sh: line 1: /etc/init.d/proftpd: No such file or directory Beitrag von: Wörsty am 19. Juni 2003, 22:35:39 Die trennen ja auch nach Username+Homedir nicht vhost.
Was geht denn nun nicht? Titel: sh: line 1: /etc/init.d/proftpd: No such file or directory Beitrag von: Anonymous am 19. Juni 2003, 22:41:21 genau das möchte ich ja auch tun ...
Nochmals: Der Kunde 1 mit der Domain xyz.ch soll seine Webseite per Ftp ins Verzeichniss www.xyz.ch hinaufladen und ändern können. Und sich nicht über mein ganzes System tumeln können. Der Kunde 2 mit der Domain abc.ch soll seine Webseite per Ftp ins Verzeichniss www.abc.ch hinaufladen und ändern können. Und sich nicht über mein ganzes System tumeln können. Und so weiter .... Bis vor einer Woche hat das auch mit RetHat geklappt ... Aber dort war es auch nicht so eine Zangengeburt den FTP Server zu intallieren wie mit Suse .... Titel: sh: line 1: /etc/init.d/proftpd: No such file or directory Beitrag von: triali am 19. Juni 2003, 22:44:41 genau das möchte ich ja auch tun ...
Nochmals: Der Kunde 1 mit der Domain xyz.ch soll seine Webseite per Ftp ins Verzeichniss www.xyz.ch hinaufladen und ändern können. Und sich nicht über mein ganzes System tumeln können. Der Kunde 2 mit der Domain abc.ch soll seine Webseite per Ftp ins Verzeichniss www.abc.ch hinaufladen und ändern können. Und sich nicht über mein ganzes System tumeln können. Und so weiter .... Bis vor einer Woche hat das auch mit RetHat geklappt ... Aber dort war es auch nicht so eine Zangengeburt den FTP Server zu intallieren wie mit Suse .... Titel: sh: line 1: /etc/init.d/proftpd: No such file or directory Beitrag von: Wörsty am 19. Juni 2003, 22:49:11 :hä?
Du hast meine Fragen nicht beantwortet. Was geht denn nicht? Landest du im falschen Verzeichnis? Kannst du dich gar nicht anmelden? Landest du im richtigen Verzeichnis, kannst es aber verlassen? Wie viele Kunden hast du denn? :arrow: Eventuell lohnt sich mod_sql Wie sehen die Heimatverzeichnisse der Kunden in der passwd aus? *seuftz* Titel: sh: line 1: /etc/init.d/proftpd: No such file or directory Beitrag von: triali am 19. Juni 2003, 22:53:52 Anmelden klappt tiptop...
Ich lande bei jedem Kunden im richtigen Verzeichniss, aber man kann das Verzeichniss verlassen bzw. wechseln, und in ein anderes Verzeichniss gehen. Mit mod_sql möchte ich mich zur Zeit wirklich nicht auch noch befassen. Titel: sh: line 1: /etc/init.d/proftpd: No such file or directory Beitrag von: Wörsty am 19. Juni 2003, 23:00:12 Was passiert, wenn du statt
Zitat DefaultRoot ~ !adm malZitat DefaultRoot ~ benutzt?Titel: sh: line 1: /etc/init.d/proftpd: No such file or directory Beitrag von: triali am 19. Juni 2003, 23:01:23 Genau das gleiche .. komme ins richtige Verzeichniss, kann es aber wechseln ...
:spannend) Titel: sh: line 1: /etc/init.d/proftpd: No such file or directory Beitrag von: Wörsty am 19. Juni 2003, 23:05:03 Versteh ich nicht. :?
Okay - nächster Versuch. Nimm's ganz raus. Und dann testen. Und dann mach's rein und schmeiß mal die vhosts komplett raus. :spannend) :jaja) Titel: sh: line 1: /etc/init.d/proftpd: No such file or directory Beitrag von: triali am 19. Juni 2003, 23:14:30 Also :
Defaultroot weg: "lande im richtigen Verzeichniss, kann es aber wechseln .." Vhost weg: "lande im richtigen Verzeichniss, kann es aber wechseln .." Config nei scheiben mit DefaultRoot und Vhost: "lande im richtigen Verzeichniss, kann es aber wechseln .." Ist irgenwie ein Phänomen ... :oi Titel: sh: line 1: /etc/init.d/proftpd: No such file or directory Beitrag von: Wörsty am 19. Juni 2003, 23:22:56 (http://www.sv650s.info/Forum/images/smiles/scared.gif)(http://www.sv650s.info/Forum/images/smiles/gluck.gif)
1. Startest du den Server auch immer brav neu? 2. Bist du sicher, dass du die richtige proftpd.conf änderst? Titel: sh: line 1: /etc/init.d/proftpd: No such file or directory Beitrag von: triali am 19. Juni 2003, 23:25:47 jepp, starte immer brav neu .. :lol:
Und jepp ich ändere die richtige conf /etc/proftpd.conf :roll: Titel: sh: line 1: /etc/init.d/proftpd: No such file or directory Beitrag von: Wörsty am 19. Juni 2003, 23:33:36 Glaub ich nicht. :roll:
Beende mal proftpd und gib ein: Code: proftpd -nd9 -c /etc/proftpd.conf Titel: sh: line 1: /etc/init.d/proftpd: No such file or directory Beitrag von: triali am 19. Juni 2003, 23:36:55 triali # proftpd -nd9 -c /etc/proftpd.conf
bash: proftpd: command not found :idiot) Titel: sh: line 1: /etc/init.d/proftpd: No such file or directory Beitrag von: Wörsty am 19. Juni 2003, 23:41:17 MACH MICH NICHT SCHWACH!
Eingeben: Code: [root@knowledgebase proftpd]# fuser -n tcp 21 21/tcp: 11522 [root@knowledgebase proftpd]# ps -ef |grep 11522 www 11522 1 0 Jun16 ? 00:00:02 proftpd: (accepting connections) Titel: sh: line 1: /etc/init.d/proftpd: No such file or directory Beitrag von: triali am 19. Juni 2003, 23:47:01 triali # fuser -n tcp 21
address :: address :: computer-durisch:/home/triali # ps -ef | grep 11522 root 21240 21210 0 23:46 pts/1 00:00:00 grep 11522 Titel: sh: line 1: /etc/init.d/proftpd: No such file or directory Beitrag von: Wörsty am 19. Juni 2003, 23:53:18 Zitat von: "triali" fuser -n tcp 21 address :: address :: Das zeigt, wer auf Port 21 lauscht. Niemand?! Zitat von: "triali" # ps -ef | grep 11522 root 21240 21210 0 23:46 pts/1 00:00:00 grep 11522 11522 ist MEINE Prozess-ID aus dem Beispiel. Da muß natürlich deine von fuser hin. Aber da ist ja keine. Gib mal folgendes Kommando ein. Code: ftp localhost Titel: sh: line 1: /etc/init.d/proftpd: No such file or directory Beitrag von: triali am 19. Juni 2003, 23:55:48 triali # ftp localhost
Trying ::1... ftp: connect to address ::1: Connection refused Trying 127.0.0.1... ftp: connect: Connection refused ftp> Titel: sh: line 1: /etc/init.d/proftpd: No such file or directory Beitrag von: Wörsty am 20. Juni 2003, 00:06:11 Für heute geb ich auf.
Bei dir läuft ja gar kein FTP-Server. :N8 Titel: sh: line 1: /etc/init.d/proftpd: No such file or directory Beitrag von: triali am 20. Juni 2003, 00:11:57 Ups Sorry, natürlich läuft er nicht ..
Du hat mir ja ach gesagt ich soll ihn ausschalten ... :idiot) Wenn ich in einschalte sieht es so aus: triali # fuser -n tcp 21 address :: address :: 21/tcp: 21652 triali # ps -ef | grep 21652 nobody 21652 1 0 00:08 ? 00:00:00 [proftpd] root 21670 21663 0 00:08 pts/1 00:00:00 grep 21652 computer-durisch:/home/triali # ftp localhost Trying ::1... ftp: connect to address ::1: Connection refused Trying 127.0.0.1... Connected to localhost. 220 ProFTPD 1.2.8 Server (ProFTPD Default Installation) [meineurl.ch] Titel: sh: line 1: /etc/init.d/proftpd: No such file or directory Beitrag von: Wörsty am 20. Juni 2003, 00:15:44 :?
Naja - ist spät. Ich geh ins Bett. Ist aber schon mal nicht schlecht, dass er wieder geht :oops: Dann versteh ich aber nicht, warum der Debugmodus nicht geht. Da bleibt nur Code: find / -name proftpd -print und dann Code: /pfad/zum/proftp/proftpd -nd9 -c /etc/proftpd.conf Aber nimmer heute. |