PDA

Bekijk de volledige versie : stupid-ftpd problem



szatmazs
02-07-2008, 11:01
hi!

The stupid-ftpd don't work since I upgrade my router with 1.9.2.7-10 Oleg firmware.
my stupid-ftpd conf file (/opt/etc/stupid-ftpd.conf) :

mode=daemon
serverroot=/opt/etc/samba/Share
changeroottype=virtual
motd=/opt/etc/stupid-ftpd.motd
byemsg=/opt/etc/stupid-ftpd.bye
banmsg=Hozzáférés tiltva
log=/tmp/stupid-ftpd.log
port=21
maxusers=4
login-timeout=240
timeout=360
# Format: user=<login> <passwd> <subdir> <maxlogins> <flags>
# <flags> D - download
# U - upload + making directories
# O - overwrite existing files
# M - allows multiple logins
# E - allows erase operations
# A - allows EVERYTHING(!)
#
# SEE: ATTENTION remark on the top of this file !!!
user=admin passw /ftp_priv/admin 2 A

my starting script (/opt/etc/init.d/S92sftp):

#!/bin/sh

start() {
echo "Starting stupid-ftpd..."
/usr/sbin/stupid-ftpd -f /opt/etc/stupid-ftpd.conf
echo "done"
}

stop() {
echo "Shutting down stupid-ftpd..."
killall stupid-ftpd
echo "done"
}

case "$1" in
start)
start
;;
stop)
stop
;;
restart)
stop
sleep 1
start
;;
*)
echo "Usage: $0 (start|stop|restart)"
exit 1
;;
esac

The score is the follow:

[admin@WL-001BFC57B61D root]$ /opt/etc/init.d/S92sftp start
Starting stupid-ftpd...
/opt/etc/init.d/S92sftp: /opt/etc/init.d/S92sftp: 31: /usr/sbin/stupid-ftpd: not found
done

what is the problem?

wpte
02-07-2008, 11:27
did you accidently leave the ftp server on the webinterface on?:p

Serpent
02-07-2008, 13:45
The problem is this:
/usr/sbin/stupid-ftpd: not found
Show us an:
ls -la /usr/sbin/stupid-ftpd

szatmazs
02-07-2008, 19:20
The problem is this:
/usr/sbin/stupid-ftpd: not found
Show us an:
ls -la /usr/sbin/stupid-ftpd


[admin@WL-001BFC57B61D root]$ ls -la /usr/sbin/stupid-ftpd
ls: /usr/sbin/stupid-ftpd: No such file or directory

szatmazs
02-07-2008, 19:29
did you accidently leave the ftp server on the webinterface on?:p

no!
"ftp server enable: no"

DrChair
02-07-2008, 21:04
Since 1.9.2.7-9 stupid-ftp is replaced by vsftp

wpte
03-07-2008, 00:16
Since 1.9.2.7-9 stupid-ftp is replaced by vsftp

and I tought it was an ipkg install...:o
anyway, better enable the ftp server then:p