Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jul 2004 09:59:21 +0200
From:      Oliver Eikemeier <eikemeier@fillmore-labs.com>
To:        Paul Schmehl <pauls@utdallas.edu>
Cc:        freebsd-rc@freebsd.org
Subject:   Re: rc script won't start daemon on reboot
Message-ID:  <E001044F-DAEB-11D8-BA2D-00039312D914@fillmore-labs.com>
In-Reply-To: <2147483647.1090366876@[192.168.2.102]>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E001044F-DAEB-11D8-BA2D-00039312D914>