Temat: Problem z ftp

Witajcie
Znowu mam problem z ftp. Wyswietla:
220 server ready
530 Permission denied

Probowalem

# /etc/init.d/ftp restart
# /etc/init.d/vsftpd restart

ale nie pomoglo. Ponizej logread:

May 25 20:49:59 Gargoyle daemon.warn openvpn(myvpn)[2360]: NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
May 25 20:49:59 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
May 25 20:49:59 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
May 25 20:49:59 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
May 25 20:49:59 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
May 25 20:49:59 Gargoyle daemon.notice openvpn(myvpn)[2360]: Socket Buffers: R=[114688->131072] S=[114688->131072]
May 25 20:49:59 Gargoyle daemon.notice openvpn(myvpn)[2360]: TUN/TAP device tap0 opened
May 25 20:49:59 Gargoyle daemon.notice openvpn(myvpn)[2360]: TUN/TAP TX queue length set to 100
May 25 20:49:59 Gargoyle daemon.notice openvpn(myvpn)[2360]: Data Channel MTU parms [ L:1576 D:1450 EF:44 EB:4 ET:32 EL:0 ]
May 25 20:49:59 Gargoyle daemon.notice openvpn(myvpn)[2360]: UDPv4 link local (bound): [undef]:1194
May 25 20:49:59 Gargoyle daemon.notice openvpn(myvpn)[2360]: UDPv4 link remote: [undef]
May 25 20:51:01 Gargoyle cron.info crond[2234]: crond: USER root pid 3458 cmd /usr/bin/set_kernel_timezone >/dev/null 2>&1
May 25 20:51:59 Gargoyle daemon.notice openvpn(myvpn)[2360]: Inactivity timeout (--ping-restart), restarting
May 25 20:51:59 Gargoyle daemon.notice openvpn(myvpn)[2360]: TCP/UDP: Closing socket
May 25 20:51:59 Gargoyle daemon.notice openvpn(myvpn)[2360]: Closing TUN/TAP interface
May 25 20:51:59 Gargoyle daemon.notice openvpn(myvpn)[2360]: SIGUSR1[soft,ping-restart] received, process restarting
May 25 20:51:59 Gargoyle daemon.notice openvpn(myvpn)[2360]: Restart pause, 2 second(s)
May 25 20:52:01 Gargoyle daemon.warn openvpn(myvpn)[2360]: NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
May 25 20:52:01 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
May 25 20:52:01 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
May 25 20:52:01 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
May 25 20:52:01 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
May 25 20:52:01 Gargoyle daemon.notice openvpn(myvpn)[2360]: Socket Buffers: R=[114688->131072] S=[114688->131072]
May 25 20:52:01 Gargoyle daemon.notice openvpn(myvpn)[2360]: TUN/TAP device tap0 opened
May 25 20:52:01 Gargoyle daemon.notice openvpn(myvpn)[2360]: TUN/TAP TX queue length set to 100
May 25 20:52:01 Gargoyle daemon.notice openvpn(myvpn)[2360]: Data Channel MTU parms [ L:1576 D:1450 EF:44 EB:4 ET:32 EL:0 ]
May 25 20:52:01 Gargoyle daemon.notice openvpn(myvpn)[2360]: UDPv4 link local (bound): [undef]:1194
May 25 20:52:01 Gargoyle daemon.notice openvpn(myvpn)[2360]: UDPv4 link remote: [undef]
May 25 20:54:01 Gargoyle daemon.notice openvpn(myvpn)[2360]: Inactivity timeout (--ping-restart), restarting
May 25 20:54:01 Gargoyle daemon.notice openvpn(myvpn)[2360]: TCP/UDP: Closing socket
May 25 20:54:01 Gargoyle daemon.notice openvpn(myvpn)[2360]: Closing TUN/TAP interface
May 25 20:54:01 Gargoyle daemon.notice openvpn(myvpn)[2360]: SIGUSR1[soft,ping-restart] received, process restarting
May 25 20:54:01 Gargoyle daemon.notice openvpn(myvpn)[2360]: Restart pause, 2 second(s)
May 25 20:54:03 Gargoyle daemon.warn openvpn(myvpn)[2360]: NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
May 25 20:54:03 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
May 25 20:54:03 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
May 25 20:54:03 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
May 25 20:54:03 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
May 25 20:54:03 Gargoyle daemon.notice openvpn(myvpn)[2360]: Socket Buffers: R=[114688->131072] S=[114688->131072]
May 25 20:54:03 Gargoyle daemon.notice openvpn(myvpn)[2360]: TUN/TAP device tap0 opened
May 25 20:54:03 Gargoyle daemon.notice openvpn(myvpn)[2360]: TUN/TAP TX queue length set to 100
May 25 20:54:03 Gargoyle daemon.notice openvpn(myvpn)[2360]: Data Channel MTU parms [ L:1576 D:1450 EF:44 EB:4 ET:32 EL:0 ]
May 25 20:54:03 Gargoyle daemon.notice openvpn(myvpn)[2360]: UDPv4 link local (bound): [undef]:1194
May 25 20:54:03 Gargoyle daemon.notice openvpn(myvpn)[2360]: UDPv4 link remote: [undef]
May 25 20:54:15 Gargoyle user.info kernel: warning: `smbd' uses 32-bit capabilities (legacy support in use)
May 25 20:56:03 Gargoyle daemon.notice openvpn(myvpn)[2360]: Inactivity timeout (--ping-restart), restarting
May 25 20:56:03 Gargoyle daemon.notice openvpn(myvpn)[2360]: TCP/UDP: Closing socket
May 25 20:56:03 Gargoyle daemon.notice openvpn(myvpn)[2360]: Closing TUN/TAP interface
May 25 20:56:03 Gargoyle daemon.notice openvpn(myvpn)[2360]: SIGUSR1[soft,ping-restart] received, process restarting
May 25 20:56:03 Gargoyle daemon.notice openvpn(myvpn)[2360]: Restart pause, 2 second(s)
May 25 20:56:05 Gargoyle daemon.warn openvpn(myvpn)[2360]: NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
May 25 20:56:05 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
May 25 20:56:05 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
May 25 20:56:05 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
May 25 20:56:05 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
May 25 20:56:05 Gargoyle daemon.notice openvpn(myvpn)[2360]: Socket Buffers: R=[114688->131072] S=[114688->131072]
May 25 20:56:05 Gargoyle daemon.notice openvpn(myvpn)[2360]: TUN/TAP device tap0 opened
May 25 20:56:05 Gargoyle daemon.notice openvpn(myvpn)[2360]: TUN/TAP TX queue length set to 100
May 25 20:56:05 Gargoyle daemon.notice openvpn(myvpn)[2360]: Data Channel MTU parms [ L:1576 D:1450 EF:44 EB:4 ET:32 EL:0 ]
May 25 20:56:05 Gargoyle daemon.notice openvpn(myvpn)[2360]: UDPv4 link local (bound): [undef]:1194
May 25 20:56:05 Gargoyle daemon.notice openvpn(myvpn)[2360]: UDPv4 link remote: [undef]
May 25 20:58:05 Gargoyle daemon.notice openvpn(myvpn)[2360]: Inactivity timeout (--ping-restart), restarting
May 25 20:58:05 Gargoyle daemon.notice openvpn(myvpn)[2360]: TCP/UDP: Closing socket
May 25 20:58:05 Gargoyle daemon.notice openvpn(myvpn)[2360]: Closing TUN/TAP interface
May 25 20:58:06 Gargoyle daemon.notice openvpn(myvpn)[2360]: SIGUSR1[soft,ping-restart] received, process restarting
May 25 20:58:06 Gargoyle daemon.notice openvpn(myvpn)[2360]: Restart pause, 2 second(s)
May 25 20:58:08 Gargoyle daemon.warn openvpn(myvpn)[2360]: NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
May 25 20:58:08 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
May 25 20:58:08 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
May 25 20:58:08 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
May 25 20:58:08 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
May 25 20:58:08 Gargoyle daemon.notice openvpn(myvpn)[2360]: Socket Buffers: R=[114688->131072] S=[114688->131072]
May 25 20:58:08 Gargoyle daemon.notice openvpn(myvpn)[2360]: TUN/TAP device tap0 opened
May 25 20:58:08 Gargoyle daemon.notice openvpn(myvpn)[2360]: TUN/TAP TX queue length set to 100
May 25 20:58:08 Gargoyle daemon.notice openvpn(myvpn)[2360]: Data Channel MTU parms [ L:1576 D:1450 EF:44 EB:4 ET:32 EL:0 ]
May 25 20:58:08 Gargoyle daemon.notice openvpn(myvpn)[2360]: UDPv4 link local (bound): [undef]:1194
May 25 20:58:08 Gargoyle daemon.notice openvpn(myvpn)[2360]: UDPv4 link remote: [undef]
May 25 21:00:01 Gargoyle cron.info crond[2234]: crond: USER root pid 3610 cmd /usr/bin/set_kernel_timezone >/dev/null 2>&1
May 25 21:00:08 Gargoyle daemon.notice openvpn(myvpn)[2360]: Inactivity timeout (--ping-restart), restarting
May 25 21:00:08 Gargoyle daemon.notice openvpn(myvpn)[2360]: TCP/UDP: Closing socket
May 25 21:00:08 Gargoyle daemon.notice openvpn(myvpn)[2360]: Closing TUN/TAP interface
May 25 21:00:08 Gargoyle daemon.notice openvpn(myvpn)[2360]: SIGUSR1[soft,ping-restart] received, process restarting
May 25 21:00:08 Gargoyle daemon.notice openvpn(myvpn)[2360]: Restart pause, 2 second(s)
May 25 21:00:10 Gargoyle daemon.warn openvpn(myvpn)[2360]: NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
May 25 21:00:10 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
May 25 21:00:10 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
May 25 21:00:10 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
May 25 21:00:10 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
May 25 21:00:10 Gargoyle daemon.notice openvpn(myvpn)[2360]: Socket Buffers: R=[114688->131072] S=[114688->131072]
May 25 21:00:10 Gargoyle daemon.notice openvpn(myvpn)[2360]: TUN/TAP device tap0 opened
May 25 21:00:10 Gargoyle daemon.notice openvpn(myvpn)[2360]: TUN/TAP TX queue length set to 100
May 25 21:00:10 Gargoyle daemon.notice openvpn(myvpn)[2360]: Data Channel MTU parms [ L:1576 D:1450 EF:44 EB:4 ET:32 EL:0 ]
May 25 21:00:10 Gargoyle daemon.notice openvpn(myvpn)[2360]: UDPv4 link local (bound): [undef]:1194
May 25 21:00:10 Gargoyle daemon.notice openvpn(myvpn)[2360]: UDPv4 link remote: [undef]
May 25 21:01:01 Gargoyle cron.info crond[2234]: crond: USER root pid 3648 cmd /usr/bin/set_kernel_timezone >/dev/null 2>&1
May 25 21:02:10 Gargoyle daemon.notice openvpn(myvpn)[2360]: Inactivity timeout (--ping-restart), restarting
May 25 21:02:10 Gargoyle daemon.notice openvpn(myvpn)[2360]: TCP/UDP: Closing socket
May 25 21:02:10 Gargoyle daemon.notice openvpn(myvpn)[2360]: Closing TUN/TAP interface
May 25 21:02:10 Gargoyle daemon.notice openvpn(myvpn)[2360]: SIGUSR1[soft,ping-restart] received, process restarting
May 25 21:02:10 Gargoyle daemon.notice openvpn(myvpn)[2360]: Restart pause, 2 second(s)
May 25 21:02:12 Gargoyle daemon.warn openvpn(myvpn)[2360]: NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
May 25 21:02:12 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
May 25 21:02:12 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
May 25 21:02:12 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
May 25 21:02:12 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
May 25 21:02:12 Gargoyle daemon.notice openvpn(myvpn)[2360]: Socket Buffers: R=[114688->131072] S=[114688->131072]
May 25 21:02:12 Gargoyle daemon.notice openvpn(myvpn)[2360]: TUN/TAP device tap0 opened
May 25 21:02:12 Gargoyle daemon.notice openvpn(myvpn)[2360]: TUN/TAP TX queue length set to 100
May 25 21:02:12 Gargoyle daemon.notice openvpn(myvpn)[2360]: Data Channel MTU parms [ L:1576 D:1450 EF:44 EB:4 ET:32 EL:0 ]
May 25 21:02:12 Gargoyle daemon.notice openvpn(myvpn)[2360]: UDPv4 link local (bound): [undef]:1194
May 25 21:02:12 Gargoyle daemon.notice openvpn(myvpn)[2360]: UDPv4 link remote: [undef]
May 25 21:04:12 Gargoyle daemon.notice openvpn(myvpn)[2360]: Inactivity timeout (--ping-restart), restarting
May 25 21:04:12 Gargoyle daemon.notice openvpn(myvpn)[2360]: TCP/UDP: Closing socket
May 25 21:04:12 Gargoyle daemon.notice openvpn(myvpn)[2360]: Closing TUN/TAP interface
May 25 21:04:12 Gargoyle daemon.notice openvpn(myvpn)[2360]: SIGUSR1[soft,ping-restart] received, process restarting
May 25 21:04:12 Gargoyle daemon.notice openvpn(myvpn)[2360]: Restart pause, 2 second(s)
May 25 21:04:14 Gargoyle daemon.warn openvpn(myvpn)[2360]: NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
May 25 21:04:14 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
May 25 21:04:14 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
May 25 21:04:14 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
May 25 21:04:14 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
May 25 21:04:14 Gargoyle daemon.notice openvpn(myvpn)[2360]: Socket Buffers: R=[114688->131072] S=[114688->131072]
May 25 21:04:14 Gargoyle daemon.notice openvpn(myvpn)[2360]: TUN/TAP device tap0 opened
May 25 21:04:14 Gargoyle daemon.notice openvpn(myvpn)[2360]: TUN/TAP TX queue length set to 100
May 25 21:04:14 Gargoyle daemon.notice openvpn(myvpn)[2360]: Data Channel MTU parms [ L:1576 D:1450 EF:44 EB:4 ET:32 EL:0 ]
May 25 21:04:14 Gargoyle daemon.notice openvpn(myvpn)[2360]: UDPv4 link local (bound): [undef]:1194
May 25 21:04:14 Gargoyle daemon.notice openvpn(myvpn)[2360]: UDPv4 link remote: [undef]
May 25 21:06:14 Gargoyle daemon.notice openvpn(myvpn)[2360]: Inactivity timeout (--ping-restart), restarting
May 25 21:06:14 Gargoyle daemon.notice openvpn(myvpn)[2360]: TCP/UDP: Closing socket
May 25 21:06:14 Gargoyle daemon.notice openvpn(myvpn)[2360]: Closing TUN/TAP interface
May 25 21:06:14 Gargoyle daemon.notice openvpn(myvpn)[2360]: SIGUSR1[soft,ping-restart] received, process restarting
May 25 21:06:14 Gargoyle daemon.notice openvpn(myvpn)[2360]: Restart pause, 2 second(s)
May 25 21:06:16 Gargoyle daemon.warn openvpn(myvpn)[2360]: NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
May 25 21:06:16 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
May 25 21:06:16 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
May 25 21:06:16 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
May 25 21:06:16 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
May 25 21:06:16 Gargoyle daemon.notice openvpn(myvpn)[2360]: Socket Buffers: R=[114688->131072] S=[114688->131072]
May 25 21:06:16 Gargoyle daemon.notice openvpn(myvpn)[2360]: TUN/TAP device tap0 opened
May 25 21:06:16 Gargoyle daemon.notice openvpn(myvpn)[2360]: TUN/TAP TX queue length set to 100
May 25 21:06:16 Gargoyle daemon.notice openvpn(myvpn)[2360]: Data Channel MTU parms [ L:1576 D:1450 EF:44 EB:4 ET:32 EL:0 ]
May 25 21:06:16 Gargoyle daemon.notice openvpn(myvpn)[2360]: UDPv4 link local (bound): [undef]:1194
May 25 21:06:16 Gargoyle daemon.notice openvpn(myvpn)[2360]: UDPv4 link remote: [undef]
May 25 21:07:08 Gargoyle authpriv.info dropbear[3758]: Child connection from 192.168.1.100:1146
May 25 21:07:13 Gargoyle authpriv.notice dropbear[3758]: password auth succeeded for 'root' from 192.168.1.100:1146

a takze config ftp:

config 'vsftpd'
        option 'anonmode' 'ro'
        option 'anonroot' '/tmp/usb_mount'
        option 'access' 'local'
        option 'publicroot' '/tmp/usb_mount/abac62d0-0a80-49e3-80f4-38d5089d5e6f'
        option 'privateroot' '/tmp/usb_mount/abac62d0-0a80-49e3-80f4-38d5089d5e6f/udostepniony'

config 'user' 'user_0'
        option 'username' 'aaa'
        option 'password' '****'
        option 'mode' 'rw'

config 'user' 'user_1'
        option 'username' 'bbb'
        option 'password' '****'
        option 'mode' 'private'
[...]
config 'user' 'user_8'
        option 'username' 'xxx'
        option 'password' '****'
        option 'mode' 'private'

i firewall:

config 'defaults'
        option 'syn_flood' '1'
        option 'input' 'ACCEPT'
        option 'output' 'ACCEPT'
        option 'forward' 'REJECT'

config 'zone'
        option 'name' 'lan'
        option 'input' 'ACCEPT'
        option 'output' 'ACCEPT'
        option 'forward' 'REJECT'

config 'zone'
        option 'name' 'wan'
        option 'input' 'REJECT'
        option 'output' 'ACCEPT'
        option 'forward' 'REJECT'
        option 'masq' '1'

config 'forwarding'
        option 'src' 'lan'
        option 'dest' 'wan'

config 'rule'
        option 'src' 'wan'
        option 'proto' 'udp'
        option 'dest_port' '68'
        option 'target' 'ACCEPT'
        option 'family' 'ipv4'

config 'rule'
        option 'src' 'wan'
        option 'proto' 'icmp'
        option 'icmp_type' 'echo-request'
        option 'target' 'ACCEPT'

config 'include'
        option 'path' '/usr/lib/gargoyle_firewall_util/gargoyle_additions.firewall'

config 'rule' 'ftp_wan'
        option 'src' 'wan'
        option 'target' 'ACCEPT'
        option 'proto' 'tcp'
        option 'dest_port' '21'

config 'rule'
        option '_name' 'openvpn'
        option 'src' 'wan'
        option 'target' 'ACCEPT'
        option 'dest_port' '1194'
        option 'proto' 'udp'

config 'remote_accept' 'ra_22_22'
        option 'local_port' '22'
        option 'remote_port' '22'
        option 'proto' 'tcp'
        option 'zone' 'wan'
MiniPC 6xRJ45 2Gb, N100, 16GB DDR5, 1TB NVMe (Gargoyle)
Linksys WRT3200ACM (Gargoyle)
Tp-link 1043NDv2 (Gargoyle)

2

Odp: Problem z ftp

Nie masz pewnie uprawnień do odczytu tego dysku przez użytkownika na którego się łączysz.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3 (edytowany przez badziewiak 2011-05-25 22:01:04)

Odp: Problem z ftp

Ale to dziwne: dzialalo i po restarcie przestalo. Poza tym nawet nie zapytal o uzytkownika, tylko taki komunikat zamiast okienka logowania. Przez otoczenie sieciowe wchodze.

MiniPC 6xRJ45 2Gb, N100, 16GB DDR5, 1TB NVMe (Gargoyle)
Linksys WRT3200ACM (Gargoyle)
Tp-link 1043NDv2 (Gargoyle)

4

Odp: Problem z ftp

Sprawdź te uprawnienia.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

5

Odp: Problem z ftp

hmm... bardziej przemawia do mnie linijka polecen niz ogolny opis wink Jesli mozesz, to zapodaj co wpisac. I powtarzam: Nie pyta sie o uzytkownika.

MiniPC 6xRJ45 2Gb, N100, 16GB DDR5, 1TB NVMe (Gargoyle)
Linksys WRT3200ACM (Gargoyle)
Tp-link 1043NDv2 (Gargoyle)

6

Odp: Problem z ftp

No nie pyta się. vsftpd jest tak zrobiony że jak coś mu nie pasi to od razu się o to drze.

chmod 777 /tmp/usb_mount/
chmod 777 /tmp/usb_mount/abac62d0-0a80-49e3-80f4-38d5089d5e6f
chmod 777 /tmp/usb_mount/abac62d0-0a80-49e3-80f4-38d5089d5e6f/udostepniony
Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

7

Odp: Problem z ftp

Cezary napisał/a:

No nie pyta się. vsftpd jest tak zrobiony że jak coś mu nie pasi to od razu się o to drze.

To tak jak moja zona wink

Cezary napisał/a:
chmod 777 /tmp/usb_mount/
chmod 777 /tmp/usb_mount/abac62d0-0a80-49e3-80f4-38d5089d5e6f
chmod 777 /tmp/usb_mount/abac62d0-0a80-49e3-80f4-38d5089d5e6f/udostepniony

Nie pomoglo. Zapodalem restart ftp i vsftpd i nic...

MiniPC 6xRJ45 2Gb, N100, 16GB DDR5, 1TB NVMe (Gargoyle)
Linksys WRT3200ACM (Gargoyle)
Tp-link 1043NDv2 (Gargoyle)

8

Odp: Problem z ftp

No to zostaje ci włączenie logów w konfigu vsftpd i zobaczenie o co sie buntuje.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

9

Odp: Problem z ftp

Cezary napisał/a:

No to zostaje ci włączenie logów w konfigu vsftpd i zobaczenie o co sie buntuje.

A tak bardziej lopatologicznie? Gdzie tego szukac? Widze /etc/@vsftpd.conf o zawartosci:

dirmessage_enable=yes
download_enable=yes
dirlist_enable=yes
hide_ids=yes
syslog_enable=yes
local_umask=022
chmod_enable=no
chroot_local_user=yes
check_shell=no
user_config_dir=/tmp/vsftpd/users
listen=yes
listen_port=21
background=yes
use_sendfile=no
userlist_file=/tmp/vsftpd/userlist
userlist_enable=yes
userlist_deny=no
ftpd_banner=ftp server ready
anonymous_enable=no
local_enable=yes

Ten sam plik jest w /tmp/vsftpd/vsftpd.conf ale gdzie ustawic sciezke do loga?

MiniPC 6xRJ45 2Gb, N100, 16GB DDR5, 1TB NVMe (Gargoyle)
Linksys WRT3200ACM (Gargoyle)
Tp-link 1043NDv2 (Gargoyle)

10

Odp: Problem z ftp

w /etc/vsftpd.conf.template to zrób.

I google, poszukaj opisu vsftpd.conf

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

11

Odp: Problem z ftp

Zrobilem

vsftpd_log_file=/var/log/vsftpd.log
xferlog_enable=YES

ale chyba nie wyszlo... Nie ma pliku log. Zrestartowalem vsftpd.

MiniPC 6xRJ45 2Gb, N100, 16GB DDR5, 1TB NVMe (Gargoyle)
Linksys WRT3200ACM (Gargoyle)
Tp-link 1043NDv2 (Gargoyle)

12

Odp: Problem z ftp

/etc/init.d/ftp restart zrób, później vsftpd restart. On tworzy konfig z template.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

13

Odp: Problem z ftp

Nie ma logu (/var/log/vsftpd.log)

MiniPC 6xRJ45 2Gb, N100, 16GB DDR5, 1TB NVMe (Gargoyle)
Linksys WRT3200ACM (Gargoyle)
Tp-link 1043NDv2 (Gargoyle)

14

Odp: Problem z ftp

Zamieszczam config vsftpd. Wklepalem

nano /etc/vsftpd.conf

i wyszlo:

dirmessage_enable=yes
download_enable=yes
dirlist_enable=yes
hide_ids=yes
syslog_enable=yes
local_umask=022
chmod_enable=no
chroot_local_user=yes
check_shell=no
user_config_dir=/tmp/vsftpd/users
listen=yes
listen_port=21
background=yes
use_sendfile=no
userlist_file=/tmp/vsftpd/userlist
userlist_enable=yes
userlist_deny=no
ftpd_banner=ftp server ready

xferlog_enable=YES
xferlog_file=/var/log/xferlog.log
xferlog_std_format=YES
anonymous_enable=no
local_enable=yes

Co jest nie tak?

MiniPC 6xRJ45 2Gb, N100, 16GB DDR5, 1TB NVMe (Gargoyle)
Linksys WRT3200ACM (Gargoyle)
Tp-link 1043NDv2 (Gargoyle)

15

Odp: Problem z ftp

Ale z czym? Jeżeli vsftpd nie chce działać to szukasz przyczyny dlaczego. Pisałeś że poprzednio działał, więc coś zmieniło Ci się w systemie że teraz nie chce. Pytanie co? I Ty znasz na to odpowiedź.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

16

Odp: Problem z ftp

Dobra, to inaczej: Jak moge w openwrt sprawdzc system plikow ext3? fsck nie istnieje w openwrt.

MiniPC 6xRJ45 2Gb, N100, 16GB DDR5, 1TB NVMe (Gargoyle)
Linksys WRT3200ACM (Gargoyle)
Tp-link 1043NDv2 (Gargoyle)

17

Odp: Problem z ftp

istnieje. Tylko e2fsprogs zainstaluj.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

18 (edytowany przez badziewiak 2011-05-29 16:13:51)

Odp: Problem z ftp

Z tym ftp to jakas porazka jest. Zainstalowalem najnowszy obraz, ustawilem userow i wszystko smiga. Potrzebowalem dysk, wiec wpisalem w putty halt, odczekalem kilkanascie sekund i wyjalem dysk. Pozniej wlozylem ponownie i to samo. Dalem sprawdzanie dysku, reboot i ten sam problem.

MiniPC 6xRJ45 2Gb, N100, 16GB DDR5, 1TB NVMe (Gargoyle)
Linksys WRT3200ACM (Gargoyle)
Tp-link 1043NDv2 (Gargoyle)

19

Odp: Problem z ftp

Pomoglo:
1. Przywrocenie domyslnej konfiguracji
2. Ustawienie wspoldzielonego dysku
3. Skopiowanie przez winscp pliku /etc/config/ftp
4. Odswiezenie zakladki ftp w gargoyle
5. Zastosowanie zmian.

MiniPC 6xRJ45 2Gb, N100, 16GB DDR5, 1TB NVMe (Gargoyle)
Linksys WRT3200ACM (Gargoyle)
Tp-link 1043NDv2 (Gargoyle)