From owner-freebsd-questions@FreeBSD.ORG Sat Jan 27 20:55:23 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A1FA916A40A for ; Sat, 27 Jan 2007 20:55:23 +0000 (UTC) (envelope-from pmatulis@sympatico.ca) Received: from bay0-omc2-s13.bay0.hotmail.com (bay0-omc2-s13.bay0.hotmail.com [65.54.246.149]) by mx1.freebsd.org (Postfix) with ESMTP id 7FAD613C4A8 for ; Sat, 27 Jan 2007 20:55:18 +0000 (UTC) (envelope-from pmatulis@sympatico.ca) Received: from BAYC1-PASMTP12.CEZ.ICE ([65.54.191.172]) by bay0-omc2-s13.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668); Sat, 27 Jan 2007 12:55:18 -0800 X-Originating-IP: [74.13.200.101] X-Originating-Email: [pmatulis@sympatico.ca] Received: from [192.168.3.10] ([74.13.200.101]) by BAYC1-PASMTP12.CEZ.ICE over TLS secured channel with Microsoft SMTPSVC(6.0.3790.1830); Sat, 27 Jan 2007 13:01:36 -0800 From: Peter Matulis To: freebsd-questions@freebsd.org Date: Sat, 27 Jan 2007 15:55:37 -0500 User-Agent: KMail/1.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200701271555.37416.pmatulis@sympatico.ca> X-OriginalArrivalTime: 27 Jan 2007 21:01:37.0140 (UTC) FILETIME=[55706B40:01C74256] Subject: cannot launch vsftpd at system startup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Jan 2007 20:55:23 -0000 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