Proftpd does not start due to missing /var/run/directory
Bug #34122 reported by
admarginem
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
proftpd (Ubuntu) |
Fix Released
|
Medium
|
Jérémie Corbier |
Bug Description
After failed start during the boot time I tried to start proftpd manually:
ad@sky:~$ sudo /etc/init.d/proftpd start
Starting ProFTPD ftp daemon: sky - mod_delay/0.4: error opening DelayTable '/var /run/proftpd/
Then I have created missing directory:
ad@sky:~$ sudo mkdir /var/proftpd
And started proftpd:
ad@sky:~$ sudo /etc/init.d/proftpd start
Starting ProFTPD ftp daemon: proftpd
Please note, that after restart I have to recreate this (/var/run/proftpd) directory.
Changed in proftpd: | |
status: | Unconfirmed → Confirmed |
To post a comment you must log in.
This is due to /var/run being on a tmpfs. A temporary fix is to add
[ ! -d /var/run/proftpd ] && mkdir /var/run/proftpd
to /etc/init. d/proftpd.