Results 1 to 3 of 3

Thread: Bekomme vsftpd nicht zum laufen

  1. #1
    Join Date
    Jul 2007
    Location
    Germany, Bonn
    Posts
    374

    Unhappy Bekomme vsftpd nicht zum laufen

    Hallo zusammen,

    ich habe vsftpd nach mascats tutorial installiert. Leider habe ich keinen Zugriff per FTP auf meinen Router. Weder von intern noch über dyndns-account von extern.

    Vielleicht findet ja jemand den fehler.

    Hier die laufenden Prozesse, denke vsftpd ist dabei ? oder?
    PHP Code:
    [admin@Asus root]$ ps axf
      PID TTY      STAT   TIME COMMAND
        1 
    ?        S      0:01 /sbin/init
        2 
    ?        S      0:00 [keventd]
        
    ?        SN     0:00 [ksoftirqd_CPU0]
        
    ?        S      0:00 [kswapd]
        
    ?        S      0:00 [bdflush]
        
    ?        S      0:00 [kupdated]
        
    ?        S      0:00 [mtdblockd]
       
    59 ?        S      0:00 telnetd
       64 
    ?        S      0:00 httpd vlan1
       71 
    ?        S      0:00 klogd
       72 
    ?        S      0:00 dnsmasq
       74 
    ?        S      0:00 [khubd]
       
    83 ?        Ss     0:00 lpd
       85 
    ?        Ss     0:00 p9100d -/dev/usb/lp0 0
       88 
    ?        Ss     0:00 waveservermain
       90 
    ?        Ss     0:00 rcamdmain
       96 
    ?        Ss     0:00 pppd file /tmp/ppp/options.wan0
       98 
    ?        Ss     0:00 infosvr br0
       99 
    ?        Ss     0:00 watchdog
      101 
    ?        Ss     0:00  \_ ntp
      115 
    ?        S      0:00 dropbear
      207 
    ?        Ss     0:01  \_ dropbear
      209 pts
    /0    Ss     0:00      \-sh
      234 pts
    /0    R+     0:00          \_ ps axf
      126 
    ?        S      0:00 [usb-storage-0]
      
    127 ?        S      0:00 [scsi_eh_0]
      
    132 ?        S      0:00 [kjournald]
      
    147 ?        S      0:00 /sbin/syslogd -m 0 -/opt/var/log/messages --l 7
      152 
    ?        Ss     0:00 /opt/sbin/cron
      166 
    ?        S      0:01 /opt/bin/XMail -SX 1 -Qn 1 -Yt 1 -Ln 1 -PX 1 -CX 1
      191 
    ?        S      0:00  \/opt/bin/XMail -SX 1 -Qn 1 -Yt 1 -Ln 1 -PX 1 -CX
      194 
    ?        S      0:00      \/opt/bin/XMail -SX 1 -Qn 1 -Yt 1 -Ln 1 -PX 1
      192 
    ?        S      0:00      \/opt/bin/XMail -SX 1 -Qn 1 -Yt 1 -Ln 1 -PX 1
      193 
    ?        S      0:00      \/opt/bin/XMail -SX 1 -Qn 1 -Yt 1 -Ln 1 -PX 1
      198 
    ?        S      0:00      \/opt/bin/XMail -SX 1 -Qn 1 -Yt 1 -Ln 1 -PX 1
      195 
    ?        S      0:00      \/opt/bin/XMail -SX 1 -Qn 1 -Yt 1 -Ln 1 -PX 1
      196 
    ?        S      0:00      \/opt/bin/XMail -SX 1 -Qn 1 -Yt 1 -Ln 1 -PX 1
      197 
    ?        S      0:00      \/opt/bin/XMail -SX 1 -Qn 1 -Yt 1 -Ln 1 -PX 1
      199 
    ?        S      0:00      \/opt/bin/XMail -SX 1 -Qn 1 -Yt 1 -Ln 1 -PX 1
      177 
    ?        S      0:00 /usr/sbin/busybox_httpd -/opt/etc/httpd.conf -p 800
      186 
    ?        Ss     0:00 /opt/sbin/smbd -D
      188 
    ?        S      0:00 [kjournald]
      
    190 ?        Ss     0:00 /opt/sbin/nmbd -D
      205 
    ?        S      0:00 upnp --L br0 -W ppp0
      219 
    ?        Ss     0:00 /opt/sbin/xinetd 
    Hier meine /opt/etc/vsftpd.conf
    PHP Code:
    [admin@Asus etc]$ vi /opt/etc/vsftpd.conf
    anonymous_enable
    =YES
    ftp_username
    =oliver
    # All Anonmyous Logins Are treated as Guests
    guest_enable=NO
    guest_username
    =guest
    # User Control
    #no_anon_password=NO
    local_enable=NO
    write_enable
    =NO
    local_umask
    =022
    #anon_upload_enable=YES
    #anon_mkdir_write_enable=YES
    dirmessage_enable=YES
    # Activate logging of uploads/downloads.
    xferlog_enable=YES
    connect_from_port_20
    =YES
    #chown_uploads=YES
    #chown_username=wilco
    vsftpd_log_file=/opt/var/log/vsftpd.log
    # If you want, you can have your log file in standard ftpd xferlog format
    #xferlog_std_format=YES
    #idle_session_timeout=600
    # You may change the default value for timing out a data connection.
    #data_connection_timeout=120
    #nopriv_user=ftpsecure
    #async_abor_enable=YES
    #ascii_upload_enable=YES
    #ascii_download_enable=YES
    ftpd_banner=Welcome to the NSLU2 vsftp daemon.
    #deny_email_enable=YES
    #banned_email_file=/opt/etc/vsftpd.banned_emails
    #chroot_list_enable=NO
    #chroot_list_file=/opt/etc/vsftpd.chroot_list
    #ls_recurse_enable=YES
    #chroot_local_user=YES
    secure_chroot_dir=/opt/usr/share/empty/
    local_root=/tmp/harddisk/ftp/
    #listen=YES 
    Hier meine /opt/etc/xinted.d/vsftpd
    PHP Code:
    [admin@Asus etc]$ vi /opt/etc/xinetd.d/vsftp
    cription
    The vsftpd FTP server serves FTP connections.
    # it uses normal, unencrypted usernames and passwords for auth
    service ftp
    {
    disable no
    socket_type 
    stream
    user 
    gast     gast
    server 
    = /opt/sbin/vsftpd
    server_args 
    = /opt/etc/vsftpd.conf
    wait 
    no
    nice 
    10
    only_from 
    0.0.0.0/0

    Das logfile von vsftpd unter /opt/var/log/vsftpd.log ist leer.....

    Habe ich was übersehen? Habe weder per anonymous noch mit "guest"-user Zugriff. Folgende Fehlermeldung vom FTP-Programm:
    PHP Code:
    Serververbindung kann nicht hergestellt werden
    Für alle die es versuchen wollen:
    PHP Code:
    ftp://polch.homeftp.org 
    Danke für jede Hilfe schon mal im Voraus.
    Grüsse
    Oliver
    Last edited by carterb; 14-10-2007 at 11:46.

  2. #2
    ich denke es liegt an der /opt/etc/xinted.d/vsftp das dort der user falsch angegeben ist sollte admin sein bzw es mit nobody versuchen. den user gast gibt es normal auf dem system nicht.
    /opt/etc/xinted.d/vsftpd
    service ftp
    {
    disable = no
    socket_type = stream
    user = admin
    server = /opt/sbin/vsftpd
    server_args = /opt/etc/vsftpd.conf
    wait = no
    nice = 10
    only_from = 0.0.0.0/0
    }
    falls sonst noch was sein sollte probiers mal mit dieser conf und versuch dich mit dem admin einzuloggen.
    sollte dies auch nicht gehen liegt es wohl an was anderem.
    /opt/etc/vsftpd.conf
    # Example config file /opt/etc/vsftpd.conf
    #
    # The default compiled in settings are fairly paranoid. This sample file
    # loosens things up a bit, to make the ftp daemon more usable.
    # Please see vsftpd.conf.5 for all compiled in defaults.
    #
    # READ THIS: This example file is NOT an exhaustive list of vsftpd options.
    # Please read the vsftpd.conf.5 manual page to get a full idea of vsftpd's
    # capabilities.
    #
    # Allow anonymous FTP? (Beware - allowed by default if you comment this out).
    anonymous_enable=NO
    #
    # Uncomment this to allow local users to log in.
    local_enable=YES
    #
    # Uncomment this to enable any form of FTP write command.
    write_enable=YES
    #
    # Default umask for local users is 077. You may wish to change this to 022,
    # if your users expect that (022 is used by most other ftpd's)
    local_umask=022
    #
    # Uncomment this to allow the anonymous FTP user to upload files. This only
    # has an effect if the above global write enable is activated. Also, you will
    # obviously need to create a directory writable by the FTP user.
    #anon_upload_enable=YES
    #
    # Uncomment this if you want the anonymous FTP user to be able to create
    # new directories.
    #anon_mkdir_write_enable=YES
    #
    # Activate directory messages - messages given to remote users when they
    # go into a certain directory.
    dirmessage_enable=YES
    #
    # Activate logging of uploads/downloads.
    xferlog_enable=YES
    #
    # Make sure PORT transfer connections originate from port 20 (ftp-data).
    connect_from_port_20=YES
    #
    # If you want, you can arrange for uploaded anonymous files to be owned by
    # a different user. Note! Using "root" for uploaded files is not
    # recommended!
    #chown_uploads=YES
    #chown_username=whoever
    #
    # You may override where the log file goes if you like. The default is shown
    # below.
    vsftpd_log_file=/opt/var/log/vsftpd.log
    #
    # If you want, you can have your log file in standard ftpd xferlog format
    #xferlog_std_format=YES
    #
    # You may change the default value for timing out an idle session.
    #idle_session_timeout=600
    #
    # You may change the default value for timing out a data connection.
    #data_connection_timeout=120
    #
    # It is recommended that you define on your system a unique user which the
    # ftp server can use as a totally isolated and unprivileged user.
    #nopriv_user=ftpsecure
    #
    # Enable this and the server will recognise asynchronous ABOR requests. Not
    # recommended for security (the code is non-trivial). Not enabling it,
    # however, may confuse older FTP clients.
    #async_abor_enable=YES
    #
    # By default the server will pretend to allow ASCII mode but in fact ignore
    # the request. Turn on the below options to have the server actually do ASCII
    # mangling on files when in ASCII mode.
    # Beware that turning on ascii_download_enable enables malicious remote parties
    # to consume your I/O resources, by issuing the command "SIZE /big/file" in
    # ASCII mode.
    # These ASCII options are split into upload and download because you may wish
    # to enable ASCII uploads (to prevent uploaded scripts etc. from breaking),
    # without the DoS risk of SIZE and ASCII downloads. ASCII mangling should be
    # on the client anyway..
    #ascii_upload_enable=YES
    #ascii_download_enable=YES
    #
    # You may fully customise the login banner string:
    ftpd_banner=Welcome to the NSLU2 vsftp daemon.
    #
    # You may specify a file of disallowed anonymous e-mail addresses. Apparently
    # useful for combatting certain DoS attacks.
    #deny_email_enable=YES
    # (default follows)
    #banned_email_file=/opt/etc/vsftpd.banned_emails
    #
    # You may specify an explicit list of local users to chroot() to their home
    # directory. If chroot_local_user is YES, then this list becomes a list of
    # users to NOT chroot().
    #chroot_list_enable=YES
    # (default follows)
    #chroot_list_file=/opt/etc/vsftpd.chroot_list
    #
    # You may activate the "-R" option to the builtin ls. This is disabled by
    # default to avoid remote users being able to cause excessive I/O on large
    # sites. However, some broken FTP clients such as "ncftp" and "mirror" assume
    # the presence of the "-R" option, so there is a strong case for enabling it.
    ls_recurse_enable=YES

    secure_chroot_dir=/opt/usr/share/empty
    Last edited by Kunairu; 08-11-2007 at 20:50.

  3. #3
    Join Date
    Jul 2007
    Location
    Germany, Bonn
    Posts
    374
    Danke für die Hilfe,

    ich werde es gleich mal ausprobieren und melde mich wieder. Monentan ist die Zeit knapp und ich komme nicht dazu.

    Bis die Tage
    Oliver

Similar Threads

  1. Windows 98 und wl500g, bekomme es nicht hin
    By hombre2606 in forum German Discussion - Deutsch (DE)
    Replies: 1
    Last Post: 02-02-2007, 19:06
  2. Stupid-Ftpd will nicht / kann nicht ??
    By The Joker in forum German Discussion - Deutsch (DE)
    Replies: 4
    Last Post: 04-11-2006, 15:15
  3. WL-500g im AP-Mode: WLAN funktioniert nicht richtig
    By C65 in forum German Discussion - Deutsch (DE)
    Replies: 2
    Last Post: 07-10-2006, 21:24
  4. Wie bringe ich den FTP Server zum laufen...
    By Astrofreak in forum German Discussion - Deutsch (DE)
    Replies: 0
    Last Post: 14-01-2006, 18:50
  5. Hat schonmal jemand eine WPA PSK Verschlüsselung zum laufen bekommen?
    By Ruediger in forum German Discussion - Deutsch (DE)
    Replies: 4
    Last Post: 11-01-2006, 20:06

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •