Date: Thu, 29 May 2008 21:56:26 -0700 (PDT) From: joe park <hjjp76@yahoo.com> To: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Cc: freebsd-questions@freebsd.org Subject: Re: service (torque) not starting at boot time on 7.0 Message-ID: <128582.16167.qm@web81504.mail.mud.yahoo.com>
next in thread | raw e-mail | index | archive | help
Thanks for a reply. I'm pretty stumped why it's not starting. I feel like I'm missing something very obvious... There is nothing in messages with pbs # awk '/DEBUG/ && /pbs/ && /check/' /var/log/messages # When start it manually, then pbs logs it at messages # /usr/local/etc/rc.d/pbs_mom start /usr/local/etc/rc.d/pbs_mom: DEBUG: checkyesno: pbs_mom_enable is set to YES. Starting pbs_mom. /usr/local/etc/rc.d/pbs_mom: DEBUG: run_rc_command: doit: /usr/local/sbin/pbs_mom Following is debug msg from /var/log/messages # awk '/DEBUG/ && /check/' /var/log/messages May 29 20:42:09 node001 root: /etc/rc.shutdown: DEBUG: checkyesno: hostapd_enable is set to NO. May 29 20:42:09 node001 root: /etc/rc.shutdown: DEBUG: checkyesno: inetd_enable is set to NO. May 29 20:42:09 node001 root: /etc/rc.shutdown: DEBUG: checkyesno: mixer_enable is set to YES. May 29 20:42:09 node001 root: /etc/rc.shutdown: DEBUG: checkyesno: jail_enable is set to NO. May 29 20:42:09 node001 root: /etc/rc.shutdown: DEBUG: checkyesno: cron_dst is set to YES. May 29 20:42:09 node001 root: /etc/rc.shutdown: DEBUG: checkyesno: cron_enable is set to YES. May 29 20:42:09 node001 root: /etc/rc.shutdown: DEBUG: checkyesno: auditd_enable is set to NO. May 29 20:42:09 node001 root: /etc/rc.shutdown: DEBUG: checkyesno: nfs_client_enable is set to NO. May 29 20:42:09 node001 root: /etc/rc.shutdown: DEBUG: checkyesno: named_enable is set to NO. May 29 20:42:09 node001 root: /etc/rc.shutdown: DEBUG: checkyesno: ipfs_enable is set to NO. May 29 20:43:40 node001 root: /etc/rc: DEBUG: checkyesno: ldconfig_insecure is set to NO. May 29 20:43:40 node001 root: /etc/rc: DEBUG: checkyesno: ibcs2_enable is set to NO. May 29 20:43:40 node001 root: /etc/rc: DEBUG: checkyesno: sysvipc_enable is set to NO. May 29 20:43:40 node001 root: /etc/rc: DEBUG: checkyesno: linux_enable is set to YES. May 29 20:43:40 node001 root: /etc/rc: DEBUG: checkyesno: svr4_enable is set to NO. May 29 20:43:40 node001 root: /etc/rc: DEBUG: checkyesno: named_enable is set to NO. May 29 20:43:40 node001 root: /etc/rc: DEBUG: checkyesno: ntpdate_enable is set to NO. May 29 20:43:40 node001 root: /etc/rc: DEBUG: checkyesno: rpcbind_enable is set to NO. May 29 20:43:40 node001 root: /etc/rc: DEBUG: checkyesno: nis_server_enable is set to NO. May 29 20:43:40 node001 root: /etc/rc: DEBUG: checkyesno: nis_ypxfrd_enable is set to NO. May 29 20:43:40 node001 root: /etc/rc: DEBUG: checkyesno: rpc_ypupdated_enable is set to NO. May 29 20:43:40 node001 root: /etc/rc: DEBUG: checkyesno: nis_client_enable is set to NO. May 29 20:43:40 node001 root: /etc/rc: DEBUG: checkyesno: nis_ypset_enable is set to NO. May 29 20:43:40 node001 root: /etc/rc: DEBUG: checkyesno: nis_yppasswdd_enable is set to NO. May 29 20:43:40 node001 root: /etc/rc: DEBUG: checkyesno: accounting_enable is set to NO. May 29 20:43:40 node001 root: /etc/rc: DEBUG: checkyesno: nfs_client_enable is set to NO. May 29 20:43:40 node001 root: /etc/rc: DEBUG: checkyesno: amd_enable is set to NO. May 29 20:43:40 node001 root: /etc/rc: DEBUG: checkyesno: atm_enable is set to NO. May 29 20:43:40 node001 root: /etc/rc: DEBUG: checkyesno: auditd_enable is set to NO. May 29 20:43:40 node001 root: /etc/rc: DEBUG: checkyesno: clear_tmp_enable is set to NO. May 29 20:43:40 node001 root: /etc/rc: DEBUG: checkyesno: clear_tmp_X is set to YES. May 29 20:43:40 node001 root: /etc/rc: DEBUG: checkyesno: clear_tmp_X is set to YES. May 29 20:43:40 node001 root: /etc/rc: DEBUG: checkyesno: dmesg_enable is set to YES. May 29 20:43:40 node001 root: /etc/rc: DEBUG: checkyesno: ipxrouted_enable is set to NO. May 29 20:43:40 node001 root: /etc/rc: DEBUG: checkyesno: kerberos5_server_enable is set to NO. May 29 20:43:40 node001 root: /etc/rc: DEBUG: checkyesno: kadmind5_server_enable is set to NO. May 29 20:43:40 node001 root: /etc/rc: DEBUG: checkyesno: keyserv_enable is set to NO. May 29 20:43:40 node001 root: /etc/rc: DEBUG: checkyesno: kpasswdd_server_enable is set to NO. May 29 20:43:40 node001 root: /etc/rc: DEBUG: checkyesno: enable_quotas is set to NO. May 29 20:43:40 node001 root: /etc/rc: DEBUG: checkyesno: nfs_server_enable is set to NO. May 29 20:43:40 node001 root: /etc/rc: DEBUG: checkyesno: mountd_enable is set to NO. May 29 20:43:40 node001 root: /etc/rc: DEBUG: checkyesno: nfs_server_enable is set to NO. May 29 20:43:40 node001 root: /etc/rc: DEBUG: checkyesno: rpc_statd_enable is set to NO. May 29 20:43:40 node001 root: /etc/rc: DEBUG: checkyesno: rpc_lockd_enable is set to NO. May 29 20:43:40 node001 root: /etc/rc: DEBUG: checkyesno: pppoed_enable is set to NO. May 29 20:43:40 node001 root: /etc/rc: DEBUG: run_rc_command: doit: pwcheck_start May 29 20:43:40 node001 root: /etc/rc: DEBUG: checkyesno: virecover_enable is set to YES. May 29 20:43:40 node001 root: /etc/rc: DEBUG: checkyesno: watchdogd_enable is set to NO. May 29 20:43:40 node001 root: /etc/rc: DEBUG: checkyesno: ugidfw_enable is set to NO. May 29 20:43:40 node001 root: /etc/rc: DEBUG: checkyesno: timed_enable is set to NO. May 29 20:43:40 node001 root: /etc/rc: DEBUG: checkyesno: apm_enable is set to NO. May 29 20:43:40 node001 root: /etc/rc: DEBUG: checkyesno: apmd_enable is set to NO. May 29 20:43:40 node001 root: /etc/rc: DEBUG: checkyesno: bootparamd_enable is set to NO. May 29 20:43:40 node001 root: /etc/rc: DEBUG: checkyesno: hcsecd_enable is set to NO. May 29 20:43:40 node001 root: /etc/rc: DEBUG: checkyesno: bthidd_enable is set to NO. May 29 20:43:40 node001 root: /etc/rc: DEBUG: checkyesno: lpd_enable is set to NO. May 29 20:43:40 node001 root: /etc/rc: DEBUG: checkyesno: update_motd is set to YES. May 29 20:43:40 node001 root: /etc/rc: DEBUG: checkyesno: nscd_enable is set to NO. May 29 20:43:40 node001 root: /etc/rc: DEBUG: checkyesno: ntpd_enable is set to NO. May 29 20:43:40 node001 root: /etc/rc: DEBUG: checkyesno: powerd_enable is set to NO. May 29 20:43:40 node001 root: /etc/rc: DEBUG: checkyesno: rarpd_enable is set to NO. May 29 20:43:40 node001 root: /etc/rc: DEBUG: checkyesno: rtadvd_enable is set to NO. May 29 20:43:40 node001 root: /etc/rc: DEBUG: checkyesno: rwhod_enable is set to NO. May 29 20:43:40 node001 root: /etc/rc: DEBUG: checkyesno: sdpd_enable is set to NO. May 29 20:43:40 node001 root: /etc/rc: DEBUG: checkyesno: sshd_enable is set to YES. May 29 20:43:41 node001 root: /etc/rc: DEBUG: checkyesno: sendmail_enable is set to NO. May 29 20:43:41 node001 root: /etc/rc: DEBUG: checkyesno: sendmail_submit_enable is set to YES. May 29 20:43:41 node001 root: /etc/rc: DEBUG: checkyesno: sendmail_enable is set to NO. May 29 20:43:41 node001 root: /etc/rc: DEBUG: checkyesno: sendmail_submit_enable is set to YES. May 29 20:43:41 node001 root: /etc/rc: DEBUG: checkyesno: sendmail_submit_enable is set to YES. May 29 20:43:41 node001 root: /etc/rc: DEBUG: checkyesno: sendmail_submit_enable is set to YES. May 29 20:43:41 node001 root: /etc/rc: DEBUG: checkyesno: sendmail_rebuild_aliases is set to NO. May 29 20:43:46 node001 root: /etc/rc: DEBUG: checkyesno: sendmail_outbound_enable is set to NO. May 29 20:43:46 node001 root: /etc/rc: DEBUG: checkyesno: sendmail_msp_queue_enable is set to YES. May 29 20:43:46 node001 root: /etc/rc: DEBUG: checkyesno: sendmail_msp_queue_enable is set to YES. May 29 20:43:46 node001 root: /etc/rc: DEBUG: checkyesno: sendmail_rebuild_aliases is set to NO. May 29 20:43:46 node001 root: /etc/rc: DEBUG: checkyesno: cron_dst is set to YES. May 29 20:43:46 node001 root: /etc/rc: DEBUG: checkyesno: cron_enable is set to YES. May 29 20:43:46 node001 root: /etc/rc: DEBUG: checkyesno: jail_enable is set to NO. May 29 20:43:46 node001 root: /etc/rc: DEBUG: checkyesno: kern_securelevel_enable is set to NO. May 29 20:43:46 node001 root: /etc/rc: DEBUG: checkyesno: moused_enable is set to NO. May 29 20:43:46 node001 root: /etc/rc: DEBUG: checkyesno: mixer_enable is set to YES. May 29 20:43:46 node001 root: /etc/rc: DEBUG: checkyesno: inetd_enable is set to NO. May 29 20:43:46 node001 root: /etc/rc: DEBUG: checkyesno: idmapd_enable is set to NO. May 29 20:43:46 node001 root: /etc/rc: DEBUG: checkyesno: hostapd_enable is set to NO. May 29 20:43:46 node001 root: /etc/rc: DEBUG: checkyesno: ftpd_enable is set to NO. May 29 20:43:46 node001 root: /etc/rc: DEBUG: checkyesno: ftpproxy_enable is set to NO. May 29 20:43:46 node001 root: /etc/rc: DEBUG: checkyesno: bsnmpd_enable is set to NO. May 29 20:43:46 node001 root: /etc/rc: DEBUG: checkyesno: background_fsck is set to YES. ----- Original Message ---- From: Sahil Tandon <sahil@tandon.net> To: joe park <hjjp76@yahoo.com> Cc: freebsd-questions@freebsd.org Sent: Thursday, May 29, 2008 9:14:08 PM Subject: Re: service (torque) not starting at boot time on 7.0 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> _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?128582.16167.qm>