Hi,

I'm having difficulty getting my proftpd to work -

I keep getting this error:

$ sudo /etc/init.d/proftpd restart
* Stopping ftp server proftpd
...done.
* Starting ftp server proftpd
ftp - mod_delay/0.5: error mapping DelayTable
'/var/run/proftpd/proftpd.delay' into memory: Operation not permitted
...done.

When I check the logs it appears a user can log in but then proftpd
craps out -

$ tail /var/log/proftpd/proftpd.log
Jan 03 17:44:57 ftp proftpd[9474] ftp: ProFTPD 1.3.0 (stable) (built Thu
Mar 8 03:01:15 UTC 2007) standalone mode STARTUP
Jan 03 17:45:06 ftp proftpd[9499] ftp (xxx.xxx.xxx[192.168.x.xx]): FTP
session opened.
Jan 03 17:45:10 ftp proftpd[9499] ftp (xxx.xxx.xxx[192.168.x.xx]):
mod_delay/0.5warning: unable to load DelayTable '/var/run/
proftpd/proftpd.delay' into memory: Operation not permitted
Jan 03 17:45:13 ftp proftpd[9499] ftp (xxx.xxx.xxx[192.168.x.xx]): USER
XXX: Login successful.
Jan 03 08:45:13 ftp proftpd[9499] ftp (xxx.xxx.xxx[192.168.x.xx]):
Preparing to chroot to directory '/ftp/XXX'
Jan 03 08:45:13 ftp proftpd[9499] ftp (xxx.xxx.xxx[192.168.x.xx]):
ProFTPD terminating (signal 11)
Jan 03 08:45:13 ftp proftpd[9499] ftp (xxx.xxx.xxx[192.168.x.xx]): FTP
session closed.

From the client side - it asks for a password and then:
421 Service not available, remote server has closed connection
Login failed.
No control connection for command: Permission denied


The config test switch doesn't give any further detail:

$ sudo proftpd -t
Checking syntax of configuration file
ftp - mod_delay/0.5: error mapping DelayTable
'/var/run/proftpd/proftpd.delay' into memory: Operation not permitted
Syntax check complete.
ftp - mod_delay/0.5warning: unable to load DelayTable
'/var/run/proftpd/proftpd.delay' into memory: Operation not permitted

I've googled for "error mapping DelayTable" and looked thru the list
archives and came up with zilch.

I'm using :
$ proftpd -vv
- ProFTPD Version: 1.3.0 (stable)
- Scoreboard Version: 01040002
- Built: Thu Mar 8 03:01:15 UTC 2007
- Module: mod_core.c
- Module: mod_xfer.c
- Module: mod_auth_unix.c
- Module: mod_auth_file.c
- Module: mod_auth.c
- Module: mod_ls.c
- Module: mod_log.c
- Module: mod_site.c
- Module: mod_delay/0.5
- Module: mod_dso/0.4
- Module: mod_auth_pam.c
- Module: mod_readme.c
- Module: mod_cap/1.0
- Module: mod_ctrls/0.9.4

and the relevant bits of my proftpd.conf look like this:

Include /etc/proftpd/modules.conf
UseIPv6 off
ServerName "XXX"
ServerType standalone
DeferWelcome off
MultilineRFC2228 on
DefaultServer on
ShowSymlinks on
TimeoutNoTransfer 600
TimeoutStalled 600
TimeoutIdle 1200
DisplayLogin welcome.msg
DisplayFirstChdir .message
ListOptions "-l"
DenyFilter \*.*/
DefaultRoot ~
Port 21
MaxInstances 30
User proftpd
Group nogroup
Umask 022 022
AllowOverwrite on
TransferLog /var/log/proftpd/xferlog
SystemLog /var/log/proftpd/proftpd.log

TLSEngine off


QuotaEngine on


Ratios on


DelayEngine on


ControlsEngine on
ControlsMaxClients 2
ControlsLog /var/log/proftpd/controls.log
ControlsInterval 5
ControlsSocket /var/run/proftpd/proftpd.sock


AdminControlsEngine on




Can anyone help?

D

--

Douglas Walker
Systems Administrator
Jones Coulter Young Architects
321 Murray St, Perth
WA, 6000


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
ProFTPD Users List
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html