From owner-freebsd-ports@FreeBSD.ORG Wed Feb 4 23:03:57 2004 Return-Path: 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 37AF316A4CE for ; Wed, 4 Feb 2004 23:03:57 -0800 (PST) Received: from ns2.hkis.edu.hk (ns2.hkis.edu.hk [210.177.248.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id D0A2543D39 for ; Wed, 4 Feb 2004 23:03:52 -0800 (PST) (envelope-from amactaggart@hkis.edu.hk) Received: from localhost ([127.0.0.1]) by ns2.hkis.edu.hk for freebsd-ports@freebsd.org; Thu, 5 Feb 2004 15:03:00 +0800 Received: from RBSMTPD1-MTA by rbsmtp1.hkis.edu.hk with Novell_GroupWise; Thu, 05 Feb 2004 15:03:39 +0800 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.1 Date: Thu, 05 Feb 2004 15:02:56 +0800 From: "Andrew MacTaggart" To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: issue with sysutils/msyslog on FreeBSD 5.2 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Feb 2004 07:03:57 -0000 Hello I have been trying to get msyslog installed and functional for a few hours now. I have read the man pages and believe i have installed it correctly. I am trying to port the syslog messages to mysql db, created as define in the man page. I used ports and did a make make install created a shell script using the sample created a syslog.conf file using the mysql sample for the -s I typed localhost as the db resides on same machine. anyway i was getting an error when i load the syslogd for msyslogd which states: WARNING: error on unix input module that's it no other info. now I have found an article that discusses older version of FreeBSD 4.8 stating that im_unix.c module needs to be updated to freebsd's use of /var/run/log as the default logger and not /dev/log. So I changed this and ./configured the source I then read that options for mysql needed to be added so i did a make deinstall edited the Make file with the WITH-MYSQL=yes ran make edited the im_unix.c file for the default logger as /var/run/log ran make install this made the error message go away, but no data is ending up in the db, and there doesn't seem to be enough information for me to go any further. so the daemon appears to load without error and db remains empty - but no PID is created and the application doesn't do anything at all If you can point me to any sources about msyslog on freebsd it would be greatly appreciated. Andrew