From owner-freebsd-questions@FreeBSD.ORG Sat Feb 15 20:36:05 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6EEB353B for ; Sat, 15 Feb 2014 20:36:05 +0000 (UTC) Received: from mail-wg0-x236.google.com (mail-wg0-x236.google.com [IPv6:2a00:1450:400c:c00::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 0CA551755 for ; Sat, 15 Feb 2014 20:36:04 +0000 (UTC) Received: by mail-wg0-f54.google.com with SMTP id l18so1291489wgh.9 for ; Sat, 15 Feb 2014 12:36:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:date:message-id:subject:from:to:content-type; bh=IJ5oRelby3cfjgqC8XUBWBup8jDkLfKDcbIpeE77CfY=; b=xeTm/7q8wEsrx659M2rCQeMULW1BWIpP7kTpy5K2zfZ6FTvLMwf9igNUSoWLCDXqqn 6hhiPObjBEtsXfq3X58hQ/HIJqyjNX2i0fJsVfqFTDg7BoG8BKZQclCxEPM9q7a5Twi5 VwzAEmmaIRvmCfxNJXX5UfU767bCKPafQMN4rOxFRoBfTAF6/QBHDmHgEDADYNL3NMkZ ehlFwr359qhqJvDyRjMxWGlfcAn6P//SyekpS6xML5jeCVTxhJ0QO5lIlfG5mKdW860a R+9CJaemLjpcCmdK2TIkcEhfNHYKHTrfj2vDymSkvGWqWmQt1AIETfb15om3L2scjFAV wIrw== MIME-Version: 1.0 X-Received: by 10.180.38.41 with SMTP id d9mr7152058wik.9.1392496563510; Sat, 15 Feb 2014 12:36:03 -0800 (PST) Received: by 10.217.55.201 with HTTP; Sat, 15 Feb 2014 12:36:03 -0800 (PST) Date: Sat, 15 Feb 2014 14:36:03 -0600 Message-ID: Subject: fail2ban errors on start From: David Noel To: FreeBSD Questions Mailing List Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: David.I.Noel@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Feb 2014 20:36:05 -0000 I've been having some trouble with fail2ban this afternoon. After installation, /usr/local/etc/rc.d/fail2ban start gave me "ERROR There is no directory /var/run/fail2ban to contain the socket file /var/run/fail2ban/fail2ban.sock". After some searching for answers and finding no information that seemed relevant I wound up just trying "mkdir /var/run/fail2ban" and that got me past the error. But now I'm encountering another error on startup: "ERROR Could not start server. Maybe an old socket file is still present. Try to remove /var/run/fail2ban/fail2ban.sock. If you used fail2ban-client to start the server, adding the -x option will do it". I've tried what it's suggested, scanned the docs, searched for solutions, tried different methods of starting fail2ban, but haven't found anything that has helped. Has anyone run into this before? How did you manage to get around it?