From owner-freebsd-ports@FreeBSD.ORG Fri Jan 6 21:25:04 2006 Return-Path: X-Original-To: freebsd-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 8CA4A16A420 for ; Fri, 6 Jan 2006 21:25:04 +0000 (GMT) (envelope-from jeff@sailorfej.net) Received: from mail.sailorfej.net (mail.sailorfej.net [65.102.14.165]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0510D43D45 for ; Fri, 6 Jan 2006 21:25:03 +0000 (GMT) (envelope-from jeff@sailorfej.net) Received: from [192.168.150.40] (doorwarden.sailorfej.net [65.102.14.161]) (authenticated bits=0) by mail.sailorfej.net (8.13.1/8.12.11) with ESMTP id k06LOx5I099205 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 6 Jan 2006 13:24:59 -0800 (PST) (envelope-from jeff@sailorfej.net) Message-ID: <43BEE026.9020504@sailorfej.net> Date: Fri, 06 Jan 2006 13:24:54 -0800 From: Jeffrey Williams User-Agent: Mozilla Thunderbird 1.0RC1 (X11/20041207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-ports@freebsd.org X-Enigmail-Version: 0.89.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.85.1/1234/Fri Jan 6 05:54:31 2006 on mail.sailorfej.net X-Virus-Status: Clean Subject: Apache13+mod_ssl with mod_snmp 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: Fri, 06 Jan 2006 21:25:04 -0000 I installed the Apache12+mod_ssl port with "WITH_APACHE_MODSNMP" defined. When Apache starts I get the following errors: [Fri Jan 6 13:05:14 2006] [notice] Apache/1.3.34 (Unix) PHP/5.1.1 configured -- resuming normal operations [Fri Jan 6 13:05:14 2006] [notice] Accept mutex: flock (Default: flock) Warning: NO communities defined, SNMP access set to 'public' ! [Fri Jan 6 13:05:14 2006] [notice] SNMP:ap_bucket_open: No such file or directory '/usr/local/logs//bucket.webserver.mysubdomain.mydomain.tld' [Fri Jan 6 13:05:14 2006] [notice] SNMP: agent started and listens on port '0.0.0.0:161' [Fri Jan 6 13:06:44 2006] [error] (2)No such file or directory: No such file or directory [Fri Jan 6 13:08:14 2006] [error] (2)No such file or directory: No such file or directory [Fri Jan 6 13:09:44 2006] [error] (2)No such file or directory: No such file or directory [Fri Jan 6 13:11:14 2006] [error] (2)No such file or directory: No such file or directory [Fri Jan 6 13:12:44 2006] [error] (2)No such file or directory: No such file or directory [Fri Jan 6 13:14:14 2006] [error] (2)No such file or directory: No such file or directory ..... The last error just keeps repeating. Now at initially I had not put in a SNMP configuration directive because I wasn't ready to start using it. However, after seeing the errors (by the way apparently while it is trying to find said directory the initial httpd process pegs the cpu), I tried putting the following in my httpd.conf file (per the mod_snmp website): SNMPbuckets www/buckets SNMPcommunity mycommunity sysContact myemail sysLocation mylocation and I get these errors when trying to start Apache: webserver# apachectl start Syntax error on line 1059 of /usr/local/etc/apache/httpd.conf: Invalid command '