From owner-freebsd-sparc64@FreeBSD.ORG Mon Oct 11 09:35:44 2004 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9D7B816A4CE for ; Mon, 11 Oct 2004 09:35:44 +0000 (GMT) Received: from mailman1.servecentric.com (mailman1.servecentric.com [212.147.131.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id E4AD243D41 for ; Mon, 11 Oct 2004 09:35:43 +0000 (GMT) (envelope-from imencke@servecentric.com) Received: from sun (unknown [212.147.132.69]) by mailman1.servecentric.com (Postfix) with ESMTP id ABED8234CC for ; Mon, 11 Oct 2004 10:35:42 +0100 (IST) From: Ivo Mencke To: freebsd-sparc64@freebsd.org Content-Type: text/plain Organization: servecentric.com Message-Id: <1097487265.1585.43.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Mon, 11 Oct 2004 10:34:26 +0100 Content-Transfer-Encoding: 7bit Subject: cant do anything to process via cron on 5.2.1-RC X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: imencke@servecentric.com List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Oct 2004 09:35:44 -0000 Hello list members, This should probably go to freebsd-users, but all i run here is freebsd on sparc64 so i thought i'd try this first. I am running the sparc64 port for some time now on sun E220's, and for the first time i have tried to use cron to restart bind daily. All normal commands like "touch /testfile" work fine but anything i try on the named process refuses to work, like to kill it, or just to run "/etc/rc.d/named restart". These commands work fine if i run them from the cli. Could this be because it is running chroot'ed into /etc/namedb ? any help greatly appreciated, thanks, ivo. *note the 2 output lines from "ps" are wrapped NS1# crontab -l 18 10 * * * pkill named NS1# date Mon Oct 11 10:19:18 IST 2004 NS1# ps waux | grep -i named | grep -v grep root 245 0.0 0.4 3672 1072 ?? Ss 3Sep04 0:49.14 /usr/sbin/syslogd -l /etc/namedb/dev/log bind 62915 0.5 4.3 15624 10896 ?? Ss 9:48AM 0:41.88 named -u bind -c /etc/named.conf -t /etc/namedb NS1# tail -3 /var/log/cron Oct 11 10:18:00 NS1 /usr/sbin/cron[63962]: (root) RELOAD (tabs/root) Oct 11 10:18:00 NS1 /usr/sbin/cron[64126]: (root) CMD (pkill named) Oct 11 10:19:16 NS1 crontab[64209]: (root) LIST (root) NS1#