From owner-freebsd-questions@FreeBSD.ORG Fri Apr 14 17:24:03 2006 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 754F016A402 for ; Fri, 14 Apr 2006 17:24:03 +0000 (UTC) (envelope-from mrb@bmyster.com) Received: from loqtis.bmyster.com (ns1.bmyster.com [65.175.135.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id 12BC743D4C for ; Fri, 14 Apr 2006 17:24:02 +0000 (GMT) (envelope-from mrb@bmyster.com) Received: from bmyster.com (localhost.bmyster.com [127.0.0.1]) by loqtis.bmyster.com (8.13.3/8.13.3) with ESMTP id k3EHO0kh099167 for ; Fri, 14 Apr 2006 13:24:01 -0400 (EDT) From: "Brent" To: questions@freebsd.org Date: Fri, 14 Apr 2006 13:23:55 -0400 Message-Id: <20060414171158.M88501@bmyster.com> X-Mailer: Open WebMail 2.51 20050228 X-OriginatingIP: 65.175.128.10 (mrb) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Cc: Subject: mailgraph install on Freebsd 5.4 help 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: Fri, 14 Apr 2006 17:24:03 -0000 I went and installed the mailgraph-1.12_1 from a newly cvsup'd ports collection ..it installed fine BUT im running into to things when i try to start mailgraph from the rc scripts this is what i get loqtis# cd /usr/local/etc/rc.d/ loqtis# ./mailgraph.sh start net.inet.tcp.blackhole: 2 -> 2 net.inet.udp.blackhole: 1 -> 1 Starting mailgraph. /usr/local/sbin/mailgraph.pl: not found but i do a ls -al of the mailgraph.pl and IT IS there loqtis# ls -la /usr/local/sbin/mailgraph.pl -r-xr-xr-x 1 root wheel 25164 Apr 14 11:49 /usr/local/sbin/mailgraph.pl Id really like to start this via the rc script ...but how ? So i try to run it by hand by doing; perl /usr/local/sbin/mailgraph.pl --logfile /var/log/maillog --daemon-rrd=/var/db/mailgraph --daemon-pid=/var/db/mailgraph/mailgraph.pid --daemon it does start but how do i access the info ? i tried accessing it at http://servername.com/cgi-bin/mailgraph.cgi and apache gives me this error in my browser. Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, you@your.address and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Apache/1.3.33 Server at new.host.name Port 443 In the apache error logs i see: [Fri Apr 14 13:19:47 2006] [error] (2)No such file or directory: exec of /usr/local/www/cgi-bin/mailgraph.cgi failed [Fri Apr 14 13:19:47 2006] [error] [client x.x.x.x] Premature end of script headers: /usr/local/www/cgi-bin/mailgraph.cgi Im sure this is an apache config related error...but im not sure what Anyone run into this ? any help is really appreciated -- Brent --RIP Brother Dime--