From owner-freebsd-questions Thu Mar 7 6:57: 6 2002 Delivered-To: freebsd-questions@freebsd.org Received: from web1.nexusinternetsolutions.net (web1.nexusinternetsolutions.net [206.47.131.12]) by hub.freebsd.org (Postfix) with SMTP id 5BB7E37B405 for ; Thu, 7 Mar 2002 06:56:43 -0800 (PST) Received: (qmail 64276 invoked from network); 7 Mar 2002 15:03:49 -0000 Received: from unknown (HELO cr159591a) (24.102.18.54) by web1.nexusinternetsolutions.net with SMTP; 7 Mar 2002 15:03:49 -0000 From: "Dave" To: Subject: RE: no longer processing rc.d directives on reboot... Date: Thu, 7 Mar 2002 09:59:15 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Any other takers on this? I don't think adding the line to /etc/rc.conf caused the problem. The system hasn't been rebooted in about 4 months so it could have been anything else duringthat time. the /etc/rc.conf change is the only recent addition (the reboot being to see if that worked... which...) thanks Dave > >no unterminated strings in /etc/rc.conf >the local_startup is contained within the /etc/defaults/rc.conf and is not >overridden in /etc/rc.conf > >/etc/rc.conf contains... ># -- sysinstall generated deltas -- # ># Created: Sat Jun 16 12:51:10 2001 ># Enable network daemons for user convenience. ># This file now contains just the overrides from /etc/defaults/rc.conf ># please make all changes to this file. >defaultrouter="206.47.131.1" >hostname="web1.nexusinternetsolutions.net" >ifconfig_fxp0="inet XXX.XX.XXX.12 netmask 255.255.255.0" >ifconfig_lo0="inet 127.0.0.1" >ifconfig_lo0_alias0="inet XXX.XX.XXX.12" >inetd_enable="YES" >kern_securelevel_enable="NO" >keyrate="fast" >linux_enable="YES" >moused_enable="YES" >sshd_enable="YES" >usbd_enable="YES" >sendmail_enable="NO" >#inetd_flags="-wW -a XXX.XX.XXX.12" >#portmap_enable="NO" >#syslogd_flags="-ss" >#enable_quotas="YES" >quota_enable="YES" >check_quotas="YES" > >in /etc/defaults/rc.conf the line you mentioned is clearly in there > >pccardd_flags="" # Additional flags for pccardd. >pccard_conf="/etc/defaults/pccard.conf" # pccardd(8) config file >local_startup="/usr/local/etc/rc.d /usr/X11R6/etc/rc.d" # startup script dirs. >rc_conf_files="/etc/rc.conf /etc/rc.conf.local" >fsck_y_enable="NO" # Set to YES to do fsck -y if the initial preen fails. > > >and no changes have been made to the permissions of the rc.d directory >web5# pwd ; ls -la >/usr/local/etc/rc.d >total 18 >drwxr-xr-x 2 root wheel 512 Mar 6 16:47 . >drwxr-xr-x 7 root wheel 512 Dec 18 01:41 .. >-rwxr-x--- 1 root wheel 201 Aug 30 2001 00mysql-client.sh >-r-xr-xr-- 1 root pgsql 835 Sep 28 08:19 010.pgsql.sh >-rwxr-x--x 1 root wheel 446 Sep 7 01:36 apache.sh >-rwxr-xr-x 1 root wheel 1434 Jun 26 2001 imapd-ssl.sh >-rwxr-xr-x 1 root wheel 1409 Jun 26 2001 imapd.sh >-rwxr-x--- 1 root wheel 332 Jun 26 2001 mysql-server.sh >-rwxr-xr-x 1 root wheel 1408 Jun 26 2001 pop3d-ssl.sh >-rw-r--r-- 1 root wheel 232 Jul 1 2001 proftpd.sh.sample >-rwxr-x--x 1 root wheel 2131 Aug 30 2001 qmail.sh >-r-xr-xr-x 1 root wheel 513 Jun 26 2001 slapd.sh.sample >-rwxr-x--x 1 root wheel 349 Jan 23 04:06 snmpd.sh > >Totally at a loss here as to why the rc.d directory is not being processed on >reboot. > >Dave > >> >> >>Standard answer is to check all rc.conf lines immediately above/below >>the change (especially for unterminated strings), but specifically look >>for >> >>local_startup="/usr/local/etc/rc.d /usr/X11R6/etc/rc.d" >> >>in your /etc/rc.conf and/or /etc/default/rc.conf file(s). >> >>Also check the permissions on /usr/local/etc/rc.d and all files therein, >>to make sure the execute bit is set. >> >>On Wed, 2002-03-06 at 14:47, Dave wrote: >>> remote machine, 4.3 release >>> recently did a reboot of the server, and had to manually run each >>script in the >>> /usr/local/etc/rc.d directory. The only change made (to my knowledge) was >>> adding enable_quotas="YES" to the rc.conf >>> >>> Nothing in the messages log (AFAIK rc dumps to terminal not to logs >>by default) >>> and the system is about an hours drive away. >>> >>> Anyway to determine the cause of this? >>> >>> Dave To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message