Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Mar 2002 13:42:44 -0500
From:      "Dave" <dave@hawk-systems.com>
To:        <freebsd-isp@freebsd.org>
Subject:   server no longer processing /usr/local/etc/rc.d on startup
Message-ID:  <DBEIKNMKGOBGNDHAAKGNMEGGMPAA.dave@hawk-systems.com>

next in thread | raw e-mail | index | archive | help
posted this to questions with no solution...

the only recent change was the addition of a line to /etc/rc.conf  did a reboot
to see if itworked as expected, and found the server rebooted fine but was not
processing the /usr/local/etc/rc.d directory

The last reboot for this server was over 4 months ago...  am unaware of any
other changes that may have caused this to cease working.  I can remotely SSH
into the server after reboot and manually execute each of the scripts in the
/usr/local/etc/rc.d directory and the server operates as normal...  the only one
that requires anything extra is the postgres script which I have to include an &
so it releases after executing.

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="XXX.XX.XXX.1"
hostname="web5.XXXXXXXX.XXX"
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
<snip>
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.
<snip>

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.  Logs are not showing anything of interest that I can see though if
memory serves, rc dumps to console rather than logs (am managing server
remotely, about an hour drive away, so console output is not available).

Appreciate any insight, help, or ideas.

Dave


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DBEIKNMKGOBGNDHAAKGNMEGGMPAA.dave>