Date: Tue, 12 Oct 2004 14:04:48 -0500 From: Bob Martin <bob@buckhorn.net> To: Umar Draz <tearrs@msn.com> Cc: freebsd-isp@freebsd.org Subject: Re: Question about Syslogd (urgent) Message-ID: <416C2AD0.4040405@buckhorn.net> In-Reply-To: <BAY3-F18TiyhGvDpEDi00000ea2@hotmail.com> References: <BAY3-F18TiyhGvDpEDi00000ea2@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?416C2AD0.4040405>