[arch-general] The vsftpd only starts at the second attempt
(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
Yes, this happened to me several times. I didn't solve it. On Fri, Jul 31, 2009 at 2:53 AM, Lucas Salies Brum<lucas@archlinux.com.br> 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
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
Not been successful. 2009/7/31, Patrick Brisbin <pbrisbin@gmail.com>:
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
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@gmail.com>:
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
On Fri, Jul 31, 2009 at 5:08 PM, Patrick Brisbin<pbrisbin@gmail.com> wrote:
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
also see http://bugs.archlinux.org/task/6232
Thank you all, solved for me... 2009/7/31, Xavier <shiningxc@gmail.com>:
On Fri, Jul 31, 2009 at 5:08 PM, Patrick Brisbin<pbrisbin@gmail.com> wrote:
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
also see http://bugs.archlinux.org/task/6232
-- --- Lucas Saliés Brum http://sistematico.org lsbrum @ irc.freenode.org
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
Not having this problem with the default vsftpd.conf. Instead of starting it via the initscripts, can you start vsftpd manually? Does it fail as well? Can you try strace the process? Glenn
can you start vsftpd manually? Yes! (root@abraham lucas):$ vsftpd (root@abraham lucas):$ ps -A | grep vsftpd 7934 ? 00:00:00 vsftpd
Can you try strace the process? How?
2009/8/3, RedShift <redshift@pandora.be>:
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
Not having this problem with the default vsftpd.conf. Instead of starting it via the initscripts, can you start vsftpd manually? Does it fail as well? Can you try strace the process?
Glenn
-- --- Lucas Saliés Brum http://sistematico.org lsbrum @ irc.freenode.org
participants (6)
-
Lucas Salies Brum
-
Patrick Brisbin
-
Ray Kohler
-
RedShift
-
Shridhar Daithankar
-
Xavier