From owner-freebsd-questions@FreeBSD.ORG Thu Mar 12 19:12:51 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 61D9D106566B for ; Thu, 12 Mar 2009 19:12:51 +0000 (UTC) (envelope-from freebsd@optiksecurite.com) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by mx1.freebsd.org (Postfix) with ESMTP id 3B55C8FC17 for ; Thu, 12 Mar 2009 19:12:50 +0000 (UTC) (envelope-from freebsd@optiksecurite.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=ISO-8859-1; format=flowed Received: from [69.69.69.183] ([69.70.93.206]) by VL-MO-MR002.ip.videotron.ca (Sun Java(tm) System Messaging Server 6.3-4.01 (built Aug 3 2007; 32bit)) with ESMTP id <0KGE00KL8QPDDW50@VL-MO-MR002.ip.videotron.ca> for freebsd-questions@freebsd.org; Thu, 12 Mar 2009 15:12:50 -0400 (EDT) Message-id: <49B95E83.7050002@optiksecurite.com> Date: Thu, 12 Mar 2009 15:12:03 -0400 From: FreeBSD User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) To: "freebsd-questions@freebsd.org" Subject: Error starting Snort via rc.d 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: Thu, 12 Mar 2009 19:12:51 -0000 Hello list! I'm running FreeBSD 7.1-RELEASE-p3 with a fresh ports tree. I just installed Snort 2.8.2.2_2 from the ports. The problem is that I always got an error when I want to start/stop/restart Snort via /usr/local/etc/rc.d/snort. I isolated the part of the script that is outputting the error. The problem comes from the last line : run_rc_command "$1" The error I get is : eval: 1: Syntax error: "(" unexpected (expecting ")") I don't have any problem starting MySQL, so I don't understand why there's a problem with this command only for Snort. Thanks for your precious help, Martin