All scripts in /usr/local/etc/rc.d/ fail to start on boot
Octavian Hornoiu
octavianh at gmail.com
Thu Sep 13 02:19:20 PDT 2007
FreeBSD 6.2 using RELENG_6 branch as of 2 days ago
I have a really strange problem with one of my servers where the rc system
is not starting any of the services in /usr/local/etc/rc.d except one that
is an older *.sh format.
The following files are in rc.d/
apache22 (enabled in rc.conf)
mysql-server (enabled in rc.conf)
postgresql (enabled in rc.conf)
snmpd (enabled in rc.conf)
snmptrapd
svnserve
svscan.sh (enabled in rc.conf)
The only one that starts is svscan.sh which is the daemon for the djbdns
tools. The rest simply do nothing on boot. However, once the server is
running, i can manually start them by invoking the full path aka:
/usr/local/etc/rc.d/apache22 start
If i do it manually it works great. This is most perplexing as I have
another server with almost completely identical configuration and it works
just fine.
The services in /etc/rc.d/ appear to work normally as sshd and ntpd start.
I can provide additional information, I'm just completely stumped as to what
to do. I've tried re-installing both the kernel and world, I've removed all
the startup scripts except apache or postgres and neither started even by
themselves. I've disabled ALL options in rc.conf such as aliases and pf,
etc and still no success.
The server with identical configuration also has svscan.sh and the same
daemons in rc.d so hopefully someone on this list that is the guru of RC
will help me figure this one out.
Please CC me, I am not subscribed.
Thank you very much for your time.
--
Octavian Hornoiu
More information about the freebsd-rc
mailing list