[arch-general] The vsftpd only starts at the second attempt

Patrick Brisbin pbrisbin at gmail.com
Fri Jul 31 11:08:20 EDT 2009


> Not been successful.

I'm seeing the same behavior on my system.  the script correctly starts
vsftpd but doesnt get the PID immediately and puts up the FAIL message.

changing /etc/rc.d/vsftpd like this fixes it for me:

  start)
    stat_busy "Starting vsftpd FTP Daemon"
    if [ -z "$PID" ]; then
      /usr/sbin/vsftpd &
      sleep 2
      PID=`...

adjust sleep as desired

> 2009/7/31, Patrick Brisbin <pbrisbin at gmail.com>:
> > try adding background=YES to vsftpd.conf
> >
> > On 07/31/09 at 02:53am, Lucas Salies Brum wrote:
> >> (root at abraham ~):# ps -A | grep vsftpd
> >> (root at abraham ~):# /etc/rc.d/vsftpd start
> >> :: Starting vsftpd FTP Daemon
> >>                          [FAIL]
> >> (root at abraham ~):# /etc/rc.d/vsftpd stop
> >> :: Stopping vsftpd FTP Daemon
> >>                          [DONE]
> >> (root at abraham ~):# /etc/rc.d/vsftpd start
> >> :: Starting vsftpd FTP Daemon
> >>                          [DONE]
> >> (root at abraham ~):# ps -A | grep vsftpd
> >>  6453 pts/3    00:00:00 vsftpd
> >>
> >>
> >> This has happened to someone?
> >>
> >> /etc/vsftpd.conf - http://paste.archlinux-br.org/1241
> >> /etc/rc.conf - http://paste.archlinux-br.org/1242
> >>
> >> Arch Linux i686.
> >>
> >> Thanks.
> >> ---
> >> Lucas Saliés Brum
> >> http://sistematico.org
> >> lsbrum @ irc.freenode.org
> >
> > --
> > patrick brisbin
> >
> 
> 
> -- 
> ---
> Lucas Saliés Brum
> http://sistematico.org
> lsbrum @ irc.freenode.org

-- 
patrick brisbin 


More information about the arch-general mailing list