Re: The vsftpd only starts at the second attempt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



> 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@xxxxxxxxx>:
> > try adding background=YES to vsftpd.conf
> >
> > On 07/31/09 at 02:53am, Lucas Salies Brum wrote:
> >> (root@abraham ~):# ps -A | grep vsftpd
> >> (root@abraham ~):# /etc/rc.d/vsftpd start
> >> :: Starting vsftpd FTP Daemon
> >>                          [FAIL]
> >> (root@abraham ~):# /etc/rc.d/vsftpd stop
> >> :: Stopping vsftpd FTP Daemon
> >>                          [DONE]
> >> (root@abraham ~):# /etc/rc.d/vsftpd start
> >> :: Starting vsftpd FTP Daemon
> >>                          [DONE]
> >> (root@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 


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux