Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jan 2007 15:55:37 -0500
From:      Peter Matulis <pmatulis@sympatico.ca>
To:        freebsd-questions@freebsd.org
Subject:   cannot launch vsftpd at system startup
Message-ID:  <200701271555.37416.pmatulis@sympatico.ca>

next in thread | raw e-mail | index | archive | help
Hi gang,

I have read quite a few articles on how to start vsftpd at system bootup 
but nothing seems to work on my new and updated 6.2 STABLE machine.

I have copied /usr/ports/ftp/vsftpd/files/vsftpd.sh.in 
to /usr/local/etc/rc.d/vsftpd.sh and it is executable.

In /etc/rc.conf I am placing:

vsftpd_enable="YES"

and in vsftpd.conf:

listen=YES
background=YES

I can't see the error when my machine boots but when I attempt to run 
the rc.d script manually I get:

.: Can't open %%RC_SUBR%%: No such file or directory

I can start the daemon at the command line:

/usr/local/libexec/vsftpd &

I installed the port sysutils/rc_subr thinking it may help but it does 
not.  I also reinstalled vsftpd with the make option RC_NG but it 
doesn't seem to do anything (isn't it supposed to install the rc.d 
script?).

Any comments?

Peter



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701271555.37416.pmatulis>