[Techtalk] vsftpd startup nogo

Anne Wainwright anotheranne at fables.co.za
Fri Mar 5 12:49:29 UTC 2010


Hello, Sonja,

Thanks for the suggestion which made me think. I could put a mkdir line
somewhere unless the empty /var/run is a necessity as may

I'll certainly try that this evening.

Anne


On Fri, 5 Mar 2010 11:59:55 +0100
Sonja Krause-Harder <krauseha at gmail.com> wrote:

> Hi Anne,
> 
> 
> On Mar 4, 2010, at 9:11 PM, Anne Wainwright wrote:
> >
> > It then runs fine. BUT, when i restart the server /var/run/vsftpd
> > has disappeared and has to be recreated. The ftp connect error
> > message at that time is:
> >
> > anotheranne at pandora:~$ ftp jason
> > Connected to jason.fables.co.za.
> > 500 OOPS: vsftpd: not found: directory given in
> > 'secure_chroot_dir':/var/run/vsftpd
> >
> > I tried to chattr +i the directory, but seems only files can have
> > that set. The directory is owned by root as i have to sudo to
> > create it.
> >
> > Any ideas? Why does /vsftpd go awol?
> 
> It seems to me that ubuntu likes to clean up /var/run on reboot.  
> Debian doesn't. So, you have two options: either find out how to
> keep ubuntu from deleting and recreating /var/run, or just put the  
> secure_chroot_dir elsewhere, like /var/vsftpd or whereever you like
> it.
> 
> I wouldn't try and change the system behaviour in this case, maybe  
> other services on ubuntu rely on /var/run being empty on reboot. You  
> never know :)
> 
> cheers,
> Sonja
> 


More information about the Techtalk mailing list