From owner-freebsd-questions@FreeBSD.ORG Fri May 30 04:14:14 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E8CCD106573C for ; Fri, 30 May 2008 04:14:14 +0000 (UTC) (envelope-from sahil@tandon.net) Received: from bulwark.hamla.org (bulwark.hamla.org [69.55.228.210]) by mx1.freebsd.org (Postfix) with ESMTP id C3C988FC1B for ; Fri, 30 May 2008 04:14:14 +0000 (UTC) (envelope-from sahil@tandon.net) Received: from localhost (bulwark [69.55.228.210]) by bulwark.hamla.org (Postfix) with ESMTP id 947EE1CD31; Thu, 29 May 2008 21:14:14 -0700 (PDT) X-Virus-Scanned: by ClamAV at bulwark.hamla.org Received: from bulwark.hamla.org ([69.55.228.210]) by localhost (bulwark.hamla.org [69.55.228.210]) (amavisd-new, port 10024) with LMTP id uW5H+erGkmhk; Thu, 29 May 2008 21:14:11 -0700 (PDT) Date: Fri, 30 May 2008 00:14:08 -0400 From: Sahil Tandon To: joe park Message-ID: <20080530041408.GC49359@shepherd> Mail-Followup-To: joe park , freebsd-questions@freebsd.org References: <775238.5923.qm@web81505.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <775238.5923.qm@web81505.mail.mud.yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: service (torque) not starting at boot time on 7.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "freebsd-questions@freebsd.org" List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 May 2008 04:14:15 -0000 joe park wrote: > I've searched the mailing list, but it didn't help the issue I'm seeing. I > did fresh install of 7.0, downloaded latest ports.tar.gz, and installed > torque (portable batch system) from ports. Everything works fine once the > deamon is running, but the services (namely, pbs_mom, pbs_server, and > pbs_sched) are not started automatically when the system boots. I can > manually start them without a problem with > > /usr/local/etc/rc.d/pbs_mom start > /usr/local/etc/rc.d/pbs_server start > /usr/local/etc/rc.d/pbs_sched start > > The /etc/rc.conf file correctly has following entries : > > pbs_mom_enable="YES" > pbs_server_enable="YES" > pbs_sched_enable="YES" > > When I added "rc_debug="YES", I see that it's not processing any of pbs > related process. I cannot reproduce this problem on a fresh install of 7.0 with the latest version of torque. Do you see any clues in /var/log/messages? On my system, with rc_debug="YES" in /etc/rc.conf (with some truncation to allow for wrapping): % awk '/DEBUG/ && /pbs/ && /check/' /var/log/messages beast root: /etc/rc: DEBUG: checkyesno: pbs_server_enable is set to YES. beast root: /etc/rc: DEBUG: checkyesno: pbs_sched_enable is set to YES. beast root: /etc/rc: DEBUG: checkyesno: pbs_mom_enable is set to YES. The pbs_* lines are processed at boot. -- Sahil Tandon