Proftpd does not start due to missing /var/run/directory

Bug #34122 reported by admarginem
12
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/proftpd.delay': No such file or directory

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.

Ben (b3nw)
Changed in proftpd:
status: Unconfirmed → Confirmed
Revision history for this message
Jérémie Corbier (jcorbier) wrote :

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.

Changed in proftpd:
assignee: nobody → jcorbier
status: Confirmed → In Progress
Revision history for this message
Jérémie Corbier (jcorbier) wrote : Debdiff to create /var/run/proftpd with the init script

It creates /var/run/proftpd just as apache2 does for /var/run/apache2 for example.

Revision history for this message
Jérémie Corbier (jcorbier) wrote : The same debdiff without the utf-8 hidden char in the comment

There's a nasty AltGr+Space utf-8 french non-breaking space in the previous debdiff...

Revision history for this message
Sebastian Dröge (slomo) wrote :

ok, uploaded it some minutes ago... thanks :)

Changed in proftpd:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.