rc script won't start daemon on reboot

Oliver Eikemeier eikemeier at fillmore-labs.com
Wed Jul 21 00:58:27 PDT 2004


Paul Schmehl wrote:

> [...]
> I've written a very simple rc script using the new format and rc.subr.  
> The script works fine from the commandline 
> (start|stop|restart|rcvar|status|poll), but when the server is 
> rebooted, the script fails to start the daemon.  There are no errors in 
> /var/log/messages or in the extractor.log file, and the daemon is too 
> simplistically written to have a debug or verbose switch.  Any ideas 
> what the problem could be?
> [...]

Try
   echo 'rc_debug="YES"' >> /etc/rc.conf

and look at the trace info in /var/log/messages.

-Oliver



More information about the freebsd-rc mailing list