From owner-freebsd-isp@FreeBSD.ORG Tue Oct 12 19:04:59 2004 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3C60516A4CE for ; Tue, 12 Oct 2004 19:04:59 +0000 (GMT) Received: from whitehall.lin-tech.net (whitehall.lin-tech.net [66.118.35.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id F32BC43D3F for ; Tue, 12 Oct 2004 19:04:58 +0000 (GMT) (envelope-from bob@buckhorn.net) Received: from [209.169.69.87] (lfkn-adsl-209-169-69-87.txucom.net [209.169.69.87]) by whitehall.lin-tech.net (Postfix) with ESMTP id 2FE86FDB4; Tue, 12 Oct 2004 14:05:02 -0500 (CDT) Message-ID: <416C2AD0.4040405@buckhorn.net> Date: Tue, 12 Oct 2004 14:04:48 -0500 From: Bob Martin User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8a3) Gecko/20040926 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Umar Draz References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd and fprot cc: freebsd-isp@freebsd.org Subject: Re: Question about Syslogd (urgent) X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Oct 2004 19:04:59 -0000 When you jail a process, you must log to a directory inside of the jailed space. If Apache is in /opt/httpd, then the logs must also be there. You also need to be sure that the user the process runs under has write permissions to the file/directory. (e.g. the bind user has write permissions to the DNS log directory) Bob Martin Umar Draz wrote: > HI Dear Members! > > i have a Freebsd 4.10 Machine there i have configure DNS (chroot) , > apache+php+mysql (chroot) enviornment also i have configure ipfilter > for firewall. > > i have a question about syslogd > > i already mentiond that i have configure DNS with chroot and > apache+php+mysql with chroot > > for dns i have add this line in my rc.conf > syslogd_flags="-s -l /var/named/dev/log" > > for apache i have add this line in my rc.conf > syslogd_flags="-l /opt/httpd/dev/log" > > for ipfilter firewall i have add this line in my rc.conf > syslogd_flags="-ss" > > now my question is that this method is ok or wrong because when i see > my /opt/httpd/dev directory there is no log and same like in > /var/named/dev > > so plz help me what i can to do for because i have a one machine and i > want run (DNS with chroot, apache+php+mysql with chroot and also > ipfilter firewall) > > thanks and regards > > umar Draz > _________________________________________________________________ > > Express yourself instantly with MSN Messenger! [1]MSN Messenger > Download today it's FREE! > > References > > 1. http://g.msn.com/8HMAEN/2743??PS=47575 > _______________________________________________ > freebsd-isp@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-isp > To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"