From owner-freebsd-ports@FreeBSD.ORG Wed Oct 12 15:41:08 2005 Return-Path: X-Original-To: ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 68D6716A41F; Wed, 12 Oct 2005 15:41:08 +0000 (GMT) (envelope-from pbrown@beasleyfoodservice.com) Received: from snoopy.kiva.net (snoopy.kiva.net [216.9.137.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0260B43D4C; Wed, 12 Oct 2005 15:41:00 +0000 (GMT) (envelope-from pbrown@beasleyfoodservice.com) Received: from [10.69.100.19] (beasleyfood.bton.kiva.net [216.9.140.86]) by snoopy.kiva.net (Postfix) with ESMTP id 3D3B32C417; Wed, 12 Oct 2005 10:41:00 -0500 (EST) Message-ID: <434D2E8C.4090605@beasleyfoodservice.com> Date: Wed, 12 Oct 2005 10:41:00 -0500 From: "Peter G. Brown" User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dinoex@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: ports@FreeBSD.org Subject: FreeBSD Port: vsftpd-2.0.3 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Oct 2005 15:41:08 -0000 Hello, FreeBSD 5.4 Dell Poweredge 2300 / 700 Dual Processor I proceeded to make install clean the above package. Set up the vsftpd.conf file (in /usr/local/etc/) and everything is working if I start it with /usr/local/libexec/vsftpd &. The problem I am having is I want it to start automatically at start up. I tried: 1. Enabled vsftpd_enable="YES" in rc.conf 2. Copied and chmod +x vsftpd.sh in /usr/ports/ftp/vsftpd/files/ to /usr/local/etc/rc.d so vsftpd server would start on startup - does not. The message I get is .: Can't open %%RC_SUBR%%: No such file or directory. Checking the internet I changed the %%RC_SUBR%% line to read ./etc/rc.subr and got cat: %%PREFIX%%/etc/vsftpd.conf: No such file or directory Corrected that to /usr/local/etc and got set_rcvar: not found load_rc_config: not fond err: not found run_rc_command: not found Is this a bug or my stupidity? Many thanks, Peter Brown