Date: Fri, 30 May 2008 00:14:08 -0400 From: Sahil Tandon <sahil@tandon.net> To: joe park <hjjp76@yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: service (torque) not starting at boot time on 7.0 Message-ID: <20080530041408.GC49359@shepherd> In-Reply-To: <775238.5923.qm@web81505.mail.mud.yahoo.com> References: <775238.5923.qm@web81505.mail.mud.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
joe park <hjjp76@yahoo.com> 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 <sahil@tandon.net>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080530041408.GC49359>
